38 lines
502 B
Plaintext
38 lines
502 B
Plaintext
meta {
|
|
name: Get Profile
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{base_url}}/api/auth/profile
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## Get User Profile
|
|
|
|
Retrieves the authenticated user's profile.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/auth/profile
|
|
|
|
**Authentication:** Required
|
|
|
|
**Response:**
|
|
- `id` (string): User ID
|
|
- `email` (string): Email
|
|
- `username` (string): Username
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
}
|