Files
bookhoard/bruno-yaml/user/profile/Get Profile.yml
T

34 lines
674 B
YAML

info:
name: Get Profile
type: http
seq: 1
http:
method: GET
url: '{{base_url}}/api/auth/profile'
auth: inherit
body:
type: none
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
- `theme` (string): User theme preference
- `first_name` (string, optional): First name
- `last_name` (string, optional): Last name
**Status Codes:**
- 200: Success
- 401: Unauthorized