💥

본인 정보 read

URL
/user/my
유저
method
GET

Request Headers

Header
Type
Description
Authorization
String
Bearer {JWT_ACCESS_TOKEN}
Example Request
GET /my HTTP/1.1 Host: api.yourdomain.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Plain Text
복사

Response

Field
Type
Description
nickname
String
The updated nickname of the user.
description
String
The updated description of the user.
univName
String
The university name of the user.
profileImage
String
The URL of the updated profile image.
Example Response (200 OK)
{ "nickname": "new_nickname", "description": "Updated description of the user", "univName": "Example University", "profileImage": "https://example.com/new-image.png" }
JSON
복사

Error Responses

401 Unauthorized: When the JWT token is missing, invalid, or expired.
{ "status": 401, "error": "Unauthorized", "message": "Invalid JWT token." }
JSON
복사