gameDuo
보스레이드 PVE 컨텐츠 서비스
Users
POST유저 생성
http://localhost:3000/user
- 중복되지 않는 userId 생성
- 생성된 userId 응답
Example Request
유저 생성
201 Created
Example Response
X-Powered-By
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive
GET유저 조회
http://localhost:3000/user/1
- 해당 유저의 보스레이드 총 점수와 참여기록 응답
- 예외처리
- 유저 존재 유무 확인
- 존재하는 유저의 레이드 기록 유무 확인
Example Request
유저 조회
200 OK
Example Response
X-Powered-By
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive
bossRaids
GET보스레이드 상태 조회
http://localhost:3000/bossRaid
- 보스레이드 진행시 userId 함께 응답
- 입장 가능 조건
- 한번에 한 명의 유저만 보스레이드 진행 가능
- 아무도 보스레이드를 시작한 기록이 없다면 시작 가능
- 시작한 기록이 있다면 마지막으로 시작한 유저가 보스레이드를 종료했거나, 시작한 시간으로부터 레이드 제한시간만큼 경과시 시작 가능
Example Request
입장 가능
200 OK
Example Response
X-Powered-By
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive
POST보스레이드 시작
http://localhost:3000/bossRaid/enter
- 보스레이드 시작시 중복되지 않는 raidRecordId 생성
- 레이드 시작 가능 여부 isEntered로 응답
- 예외처리
- 정의된 level 외 입장 불가능
Bodyraw (json)
Example Request
보스레이드 시작
201 Created
Example Response
X-Powered-By
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive