관심분야별 유저 랭킹 읽어오기 [GET]
query로 전달된 관심분야에서의 유저 순위 반환
동점자들의 경우 같은 순위로 처리되고 바로 다음 순위가 이어진다.
1, 2, 3, 3, 3, 4, ...
GET
http://3.135.231.171/api/ranking
URI Parameter
Name | In | Required | Type | Description |
---|---|---|---|---|
interest_id | query | true | Long | 관심분야 id |
Response
Status code | Type | Description |
---|---|---|
200 OK | Long | 관심분야에서 유저의 랭킹 |
예제
Sample Request
GET
http://3.135.231.171/api/ranking?interest_id=1
Sample Response
Status code: 200
1