Skip to content

유저정보갱신

Youngwoo Yoo edited this page May 12, 2021 · 13 revisions

유저정보갱신

URL

메소드 경로 설명
PUT /user/{token} 회원가입

Params Description

변수 타입 설명
token INT 유저 고유아이디

Request

Header

Content-Type: application/json

Body

변수 타입 설명
score INT 점수
money INT 게임머니
stage1 BOOLEAN 스테이지 클리어여부
stage2 BOOLEAN 스테이지 클리어여부
stage3 BOOLEAN 스테이지 클리어여부
{
  
}

Response

Body

SUCCESS

{
   "code":200,
   "message":"유저 정보가 갱신되었습니다"   
}

FAIL

{
  "code": 400,
  "message": "존재하지 않는 계정입니다"
}
{
   "code":500,
   "message":"error가 발생하였습니다"
}

Example

Clone this wiki locally