User
user API
get User Info
GET
/api/user/find/:id
์ ์ ์ ๋ณด๋ฅผ ์ฐพ์
Path Parameters
Name
Type
Description
id
number
1
{
"data":{
"id":1,
"user_id": "test01",
"name": "์ด๋ฆ",
"status_msg": "์ํ ๋ฉ์์ง",
"profile_img_url": "ํ๋กํ ์ด๋ฏธ์ง url",
"background_img_url": "ํ๋กํ ๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง url"
},
"msg":"์ฌ์ฉ์๋ฅผ ์ฐพ์์ต๋๋ค."
}
Update my profile
POST
/api/user/profile/change
Request Body
Name
Type
Description
id
number
1
name
string
ํ๊ธธ๋
status_msg
string
์ํ ๋ฉ์์ง
profile_img_url
string
https://server.com/image.jpg
background_img_url
string
https://server.com/bg.jpg
{
data: true,
msg: "ํ๋กํ ๋ณ๊ฒฝ ์๋ฃ."
}
Last updated
Was this helpful?