Request
Header
Name |
Type |
Value |
Authorization |
String |
access Token |
Response
Name |
Type |
Description |
message |
text |
|
data |
|
|
- id |
int |
유저 고유 번호 |
- username |
char |
유저 아이디 |
- nickname |
char |
유저 닉네임 |
- is_booth |
boolean |
부스,공연 관리자 여부 |
- is_tf |
boolean |
TF여부 |
- booth_id |
int |
부스 아이디(is_booth==true일때만) |
200
{
"message": "프로필 조회 성공",
"data": {
"id": 2,
"nickname": "부스",
"is_booth": true,
"is_tf": false,
"booth_id": 1
}
}
{
"message": "프로필 조회 성공",
"data": {
"id": 3,
"nickname": "일반유저",
"is_booth": false,
"is_tf": false,
"booth_id": null
}
}
401
로그인 하지 않고 접근하였을 경우
{
"detail": "자격 인증데이터(authentication credentials)가 제공되지 않았습니다."
}