- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
34 lines
674 B
YAML
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
|