- 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
39 lines
993 B
YAML
39 lines
993 B
YAML
info:
|
|
name: Get User Visible Libraries
|
|
type: http
|
|
seq: 1
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/libraries/visible'
|
|
auth: inherit
|
|
body:
|
|
type: none
|
|
headers:
|
|
- key: Content-Type
|
|
value: application/json
|
|
|
|
docs: |-
|
|
## Get User Visible Libraries
|
|
|
|
Retrieves all libraries that are visible to regular users.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/libraries/visible
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Response:** Array of visible library objects
|
|
- `id` (string): Library UUID
|
|
- `name` (string): Library name
|
|
- `description` (string, optional): Library description
|
|
- `type` (string): Library type (ebooks, audiobooks, videos, other)
|
|
- `is_visible` (boolean): Always true for this endpoint
|
|
- `media_count` (number): Number of media items in library
|
|
- `created_at` (string): Creation timestamp
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 500: Internal server error
|