41 lines
652 B
Plaintext
41 lines
652 B
Plaintext
meta {
|
|
name: List Users
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
get {
|
|
url: {{base_url}}/api/auth/users
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## List Users
|
|
|
|
Retrieves a list of all users.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/auth/users
|
|
|
|
**Authentication:** Required
|
|
|
|
**Response:** Array of user objects
|
|
- `id` (string): User ID
|
|
- `email` (string): Email
|
|
- `username` (string): Username
|
|
- `theme` (string): User theme preference
|
|
- `created_at` (string): Creation timestamp
|
|
- `updated_at` (string): Last update timestamp
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
}
|