Files
bookhoard/bruno/library/Get User Visible Libraries.yml
T
john-okeefe e2d2dbecab chore(bruno): update library API collection and add dev DB setup
Update all library API request files to the current Bruno format
with proper settings blocks, updated sequence numbers, and cleaner
YAML formatting.

Add NewDevDBSetup collection with requests for creating comic, ebook,
and manga libraries, user registration, and folder configuration to
speed up development environment setup.
2026-04-19 14:27:35 -04:00

44 lines
1.0 KiB
YAML

info:
name: Get User Visible Libraries
type: http
seq: 7
http:
method: GET
url: "{{base_url}}/api/libraries/visible"
headers:
- name: ""
value: application/json
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
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