-
Notifications
You must be signed in to change notification settings - Fork 1
랭킹조회
Youngwoo Yoo edited this page Jun 10, 2021
·
11 revisions
친구추가
Method | Path | Description |
---|---|---|
GET | /user/ranking | Ranking inquiry |
Content-Type: application/json
Authorization: Bearer jwt
SUCCESS
{
"code":200,
"message":"success"
"data":
top10:[
{
"userId": "ajouFlight1112",
"score": 700
},
{
"userId": "InYongShin1111",
"score": 690
},
{
"userId": "ajouFlight11222",
"score": 600
},
{
"userId": "InYongShin",
"score": 500
},
{
"userId": "fbduddn97",
"score": 200
},
{
"userId": "ajouflight",
"score": 200
},
{
"userId": "InYongShin1113",
"score": 150
},
{
"userId": "fbduddn123",
"score": 100
},
{
"userId": "ajouFlight1001",
"score": 100
},
{
"userId": "ajouFlight1111",
"score": 50
}
],
"totalNum": 24,
"myRanking": 10
}
FAIL
{
"code":400,
"message":"This account does not exist"
}
{
"code":500,
"message":"An unknown error has occurred"
}