-
Notifications
You must be signed in to change notification settings - Fork 3
[GET] 그룹 유저 랭킹 조회
dk-master edited this page Jul 14, 2020
·
3 revisions
동관 -
Issue #77
메소드 | 경로 | 짧은 설명 |
---|---|---|
GET | /auth/groups/userlist/:groupIdx | 그룹 유저 랭킹 조회 |
Content-Type: application/json
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjMsIm5hbWUiOiLstZzsmIHtm4giLCJpYXQiOjE1OTM2OTkxODMsImV4cCI6MTU5NjI5MTE4MywiaXNzIjoicGxhY2VwaWMifQ.rmFbeBfviyEzbMlMM4b3bMMiRcNDDbiX8bQtwL_cuN0
key | 설명 | 타입 | 비고 |
---|---|---|---|
groupIdx | 그룹 고유번호 | INTEGER | NON-NULL |
{baseURL}/auth/groups/userlist/1
- statusCode : 200
{
"status": 200,
"success": true,
"message": "내 그룹 랭킹 유저 불러오기 성공",
"data": {
"userCnt": 11,
"userList": [
{
"groupIdx": 1,
"userIdx": 3,
"userName": "최영훈",
"profileImageUrl": "https://user-images.githubusercontent.com/61861809/86873001-6b317280-c118-11ea-941c-731a60d322dd.png",
"state": 1,
"part": "sopt",
"postCount": 8
},
{
"groupIdx": 1,
"userIdx": 79,
"userName": "이정연",
"profileImageUrl": null,
"state": 0,
"part": "PM",
"postCount": 5
},
{
"groupIdx": 1,
"userIdx": 90,
"userName": "김동관",
"profileImageUrl": null,
"state": 1,
"part": "서버",
"postCount": 1
},
{
"groupIdx": 1,
"userIdx": 80,
"userName": "유희수",
"profileImageUrl": null,
"state": 1,
"part": "TI",
"postCount": 1
},
{
"groupIdx": 1,
"userIdx": 77,
"userName": "김다혜",
"profileImageUrl": null,
"state": 1,
"part": "안드로이드",
"postCount": 0
},
{
"groupIdx": 1,
"userIdx": 83,
"userName": "박진수",
"profileImageUrl": null,
"state": 1,
"part": "안드로이드",
"postCount": 0
},
{
"groupIdx": 1,
"userIdx": 81,
"userName": "배민주",
"profileImageUrl": null,
"state": 1,
"part": "디자이너",
"postCount": 0
},
{
"groupIdx": 1,
"userIdx": 91,
"userName": "윤혁",
"profileImageUrl": null,
"state": 1,
"part": "안드",
"postCount": 0
},
{
"groupIdx": 1,
"userIdx": 84,
"userName": "이수정",
"profileImageUrl": null,
"state": 1,
"part": "안드로이드",
"postCount": 0
},
{
"groupIdx": 1,
"userIdx": 85,
"userName": "이승호",
"profileImageUrl": null,
"state": 1,
"part": "iOS",
"postCount": 0
},
{
"groupIdx": 1,
"userIdx": 89,
"userName": "홍준엽",
"profileImageUrl": null,
"state": 1,
"part": "서버",
"postCount": 0
}
]
}
}
- 서버 내부 에러 statusCode : 500
{
"status": 500,
"success": false,
"message": "서버 내부 에러"
}