2. Request
Headers
Name | Type | Description |
Content-Type | string | application/json |
Body Parameters
Name | Type | Required | Description |
oauthUserToken | string | Yes | The token received from OAuth login |
nickname | string | Yes | The nickname for the user |
description | string | No | An optional description for the user |
profileImage | string | Yes | URL to the user's profile image |
univName | string | Yes | University name of the user |
Example Request
{
"oauthUserToken": "abcd1234-5678-efgh-ijkl-9876mnop5432",
"nickname": "user123",
"description": "Software Developer",
"profileImage": "https://example.com/images/user123.png",
"univName": "Seoul National University"
}
JSON
복사
3. Response
Headers
Name | Type | Description |
Authorization | string | JWT Access Token (Bearer format) |
Refresh-Token | string | JWT Refresh Token |
Response Body
Name | Type | Description |
nickname | string | User's nickname |
description | string | User's description |
univName | string | University name |
profileImage | string | URL to user's profile image |
Example Response
{
"nickname": "user123",
"description": "Software Developer",
"univName": "Seoul National University",
"profileImage": "https://example.com/images/user123.png"
}
JSON
복사
4. Error Responses
HTTP Status Code | Error Code | Message |
401 | OAUTH_NOT_PREPARED | "Oauth 등록이 수행되지 않았습니다." |
Example Error Response
{
"errorCode": "OAUTH_NOT_PREPARED",
"message": "Oauth 등록이 수행되지 않았습니다."
}
JSON
복사