-
Notifications
You must be signed in to change notification settings - Fork 0
β Member
YEJI edited this page Sep 25, 2023
·
3 revisions
URI | Description |
---|---|
π GET /members/me | κ³ κ° κ³μ μ 보 μ‘°ν |
π PUT /members/setting | κ³ κ° κ³μ μ 보 μμ |
π Request Parameters
- Headers: Authorization
Response Parameters
Field | Type | Description |
---|---|---|
role | string |
ROLE_PHOTOGRAPHER νΉμ ROLE_MEMBER μ κ°μ κ°μ§. μ¬μ©μμ μν μ λνλ |
string | μ¬μ©μμ email | |
profile | string | μ¬μ©μμ νλ‘ν μ¬μ§ url |
nickname | string | μ¬μ©μμ νλ μ΄λ¦ |
μμ μμ²/μλ΅
π Request
Response
{
"email": "[email protected]",
"nickname": "traveler",
"profile" : null,
"role": "ROLE_MEMBER"
}
π Request Parameters
- Headers: Authorization
Field | Type | Description |
---|---|---|
string | μ¬μ©μμ email. νλλ§ μ‘΄μ¬ν μ μμ | |
nickname | string | μ¬μ©μμ νλ μ΄λ¦. μ¬λ¬ κ° μ‘΄μ¬ κ°λ₯ |
profileImage | string | μ¬μ©μμ νλ‘ν μ¬μ§ url |
password | string | μ¬μ©μμ λΉλ°λ²νΈμ μΌμΉνμ§ μμΌλ©΄ 500 μλ¬ λ°μ |
Response Parameters
Field | Type | Description |
---|---|---|
role | string |
ROLE_PHOTOGRAPHER νΉμ ROLE_MEMBER μ κ°μ κ°μ§. μ¬μ©μμ μν μ λνλ |
string | μ¬μ©μμ email | |
profile | string | μ¬μ©μμ νλ‘ν μ¬μ§ url |
nickname | string | μ¬μ©μμ νλ μ΄λ¦ |
μμ μμ²/μλ΅
π Request
{
"email" : "[email protected]",
"nickname" : "μμ§",
"profileImage" : "http://profile.com/profile123",
"password" : "yeji"
}
Response
{
"email": "[email protected]",
"nickname": "μμ§",
"profile": "http://profile.com/profile123",
"role": "ROLE_MEMBER"
}