Profile API
프로필 관련 API
GET /staff/profile
내 프로필 조회
Request-Header
Name
Type
Description
*x-auth-token
String
user jwt token
Response Body
Name
Type
Description
realName
String
이름
phoneNumber
String
핸드폰 번호
birthDate
String
생년월일
imageUrl
String
프로필 이미지 url
{
"realName": "김다은",
"phoneNumber": "01012345678",
"birthDate": "1999-12-25",
"imageUrl": "http://"
}POST /staff/profile
내 프로필 등록
Request-Header
Name
Type
Description
*x-auth-token
String
user jwt token
Request-Body
Name
Type
Description
*profile
Object
프로필 등록 데이터
*realName
String
이름
*phoneNumber
String
전화번호
*birthDate
String
생년월일
imageFile
MultiPartFile
프로필 이미지 파일
{
"profile": {
"realName": "김나은",
"phoneNumber": "01087654321",
"birthDate": "1999-12-25"
},
"imageFile": "${이미지 파일}"
}PUT /staff/profile
내 프로필 수정
Request-Header
Name
Type
Description
*x-auth-token
String
user jwt token
Request-Body
Name
Type
Description
*profile
Object
프로필 수정 데이터
*realName
String
이름
*phoneNumber
String
전화번호
*birthDate
String
생년월일
prevImageUrl
String
수정 전 프로필 이미지 url
imageFile
MultiPartFile
프로필 이미지 파일
{
"profile": {
"realName": "김나은",
"phoneNumber": "01087654321",
"birthDate": "1999-12-25",
"prevImageUrl": "https://coalba.abc/imageFile.png"
},
"imageFile": "${이미지 파일}"
}Last updated