보스레이드 API

보스레이드 상태 조회 API

GET http://localhost:3000/bossRaid

{
    "canEnter": true
}

보스레이드 시작 API

POST http://localhost:3000/bossRaid/enter

Request Body

Name
Type
Description

userId*

Number

10

level*

Number

1 - 3

{
    "statusCode": 400,
    "message": [
        "level must not be greater than 3",
        "level must not be less than 1",
        "level must be a number conforming to the specified constraints"
    ],
    "error": "Bad Request"
}

보스레이드 종료 API

PATCH http://localhost:3000/bossRaid/end

Request Body

Name
Type
Description

userId*

Number

raidRecordId*

Number

{
    "statusCode": 400,
    "timestamp": "2022-07-15T06:35:25.094Z",
    "path": "/bossRaid/end"
}

보스레이드 랭킹 조회 API

GET http://localhost:3000/bossRaid/topRankerList

Request Body

Name
Type
Description

userId*

Number

{
    "topRankerInfoList": [
        {
            "ranking": 0,
            "userId": "10",
            "totalScore": "20"
        },
        {
            "ranking": 1
        }
    ],
    "myRankingInfo": {
        "ranking": null,
        "userId": null,
        "totalScore": null
    }
}

Last updated