-
Notifications
You must be signed in to change notification settings - Fork 1
유저정보갱신
Youngwoo Yoo edited this page May 12, 2021
·
13 revisions
메소드 | 경로 | 설명 |
---|---|---|
PUT | /user/{token} | 회원가입 |
변수 | 타입 | 설명 |
---|---|---|
token | INT | 유저 고유아이디 |
Content-Type: application/json
변수 | 타입 | 설명 |
---|---|---|
score | INT | 점수 |
money | INT | 게임머니 |
stage1 | BOOLEAN | 스테이지 클리어여부 |
stage2 | BOOLEAN | 스테이지 클리어여부 |
stage3 | BOOLEAN | 스테이지 클리어여부 |
{
}
SUCCESS
{
"code":200,
"message":"유저 정보가 갱신되었습니다"
}
FAIL
{
"code": 400,
"message": "존재하지 않는 계정입니다"
}
{
"code":500,
"message":"error가 발생하였습니다"
}
