Skip to content

유저정보갱신

Youngwoo Yoo edited this page Jun 10, 2021 · 13 revisions

유저정보갱신

URL

Method Path Description
PUT /user renew user's information

Request

Header

Content-Type: application/json
Authorization: Bearer jwt

Body

Variable Type Description
score INT Score
money INT Game money
stage INT Stage clear
skin INT Skin
{
  "score" : 100,
  "money": 1000,
  "stage": 2,
  "skin": 2
}

Response

Body

SUCCESS

{
   "code":200,
   "message":"success"   
}

FAIL

{
  "code": 400,
  "message": "This account does not exist"
}
{
   "code":500,
   "message":"An unknown error has occurred"
}

Example

Clone this wiki locally