menuhwang / pubg-analyzer

1 stars 1 forks source link

[Feat] 플레이어 조회, 매치 리포트 REST API 구현 #88

Closed menuhwang closed 1 year ago

menuhwang commented 1 year ago

기능

ref : #76

menuhwang commented 1 year ago

플레이어 조회 REST API

Request

Endpoint: GET /api/players/{nickname}?page={number}&size={number}

Response

Body

{
    "status": 200,
    "success": true,
    "result": {
        "player": "nickname",
        "matches": "PageDTO<ParticipantRes>"
}
menuhwang commented 1 year ago

리포트 REST API

Request

Endpoint: GET /api/report/match/{matchId}/player/{nickname}

Response

Body

{
    "status": 200,
    "success": true,
    "result": "ReportRes"