-
Notifications
You must be signed in to change notification settings - Fork 2
5.3. 이달의 디토 조회
YeongWoooo edited this page Jan 2, 2020
·
4 revisions
영우
메소드 | 경로 | 기능 설명 |
---|---|---|
GET | BASEURL/friend/fund/ | 이달의 디토 조회 |
Content-Type: application/json
token: "token 값"
{
"status": 200,
"success": true,
"message": "피드 조회 성공",
"data": [
{
"user_idx": 96,
"id": "2601277390000959",
"name": "문명주",
"nickname": "asdasd",
"photo": "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=2601277390000959&height=50&width=50&ext=1580579104&hash=AeSNSQQ9jZ3kD7An",
"fund": [
{
"storefund_idx": 40,
"store_idx": 28,
"margin_percent": 0.3,
"register_time": "2019-11-30T16:14:44.000Z",
"due_date": "2019-12-31T16:14:44.000Z",
"regular_sales": 10800000,
"goal_sales": 14040000,
"current_sales": 14040000,
"contributer_count": 650,
"fund_status": 1
},
{
"storefund_idx": 38,
"store_idx": 26,
"margin_percent": 0.3,
"register_time": "2019-12-23T15:59:37.000Z",
"due_date": "2020-01-23T15:59:37.000Z",
"regular_sales": 9800000,
"goal_sales": 13720000,
"current_sales": 2940000,
"contributer_count": 21,
"fund_status": 0
}
]
},
{
"user_idx": 97,
"id": "2374990052813535",
"name": "이성은",
"nickname": "하이",
"photo": "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=2374990052813535&height=50&width=50&ext=1580579368&hash=AeROqTu3hV3dgkX2",
"fund": []
},
{
"user_idx": 30,
"id": "2000388206774604",
"name": "이소희",
"nickname": "서버찌질이",
"photo": null,
"fund": []
},
{
"user_idx": 28,
"id": "1864348733699455",
"name": "조수민",
"nickname": "서버 멋쟁이",
"photo": null,
"fund": []
}
]
}
불러온 값이 없을 때
{
"status" : 400,
"message" : "가진 정보가 없음"
}
INTERNAL SERVER ERROR
{
"status" : 500,
"message" : "서버 내부 에러"
}