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?