- 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
35 lines
884 B
YAML
35 lines
884 B
YAML
info:
|
|
name: Get Library Types
|
|
type: http
|
|
seq: 1
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/libraries/types'
|
|
auth: inherit
|
|
body:
|
|
type: none
|
|
headers:
|
|
- key: Content-Type
|
|
value: application/json
|
|
|
|
docs: |-
|
|
## Get Library Types
|
|
|
|
Retrieves all available library types that can be used when creating libraries.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/libraries/types
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Response:** Array of library type objects
|
|
- `id` (string): Type identifier (e.g., "ebooks", "audiobooks", "videos", "other")
|
|
- `name` (string): Display name for the type (e.g., "Ebooks", "Audiobooks", "Videos", "Other")
|
|
- `description` (string, optional): Description of what this type is used for
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 500: Internal server error
|