Files
bookhoard/bruno/library/Get User Visible Libraries.bru
T
john-okeefe ba31e1491e refactor: update Bruno API collection for media-items system
- Remove all ebook-specific API requests (15 files deleted)
- Rename Scan Ebooks.bru to Scan Media Items.bru
- Update API paths from /api/ebooks to /api/media-items
- Update base URL and environment configuration
- Maintain all existing media-items, library, auth, and progress tests

Aligns Bruno collection with unified media-items API architecture
2026-01-30 13:52:06 -05:00

47 lines
959 B
Plaintext

meta {
name: Get User Visible Libraries
type: http
seq: 1
}
get {
url: {{base_url}}/api/libraries/visible
body: none
auth: inherit
}
headers {
Content-Type: application/json
}
settings {
encodeUrl: true
timeout: 0
}
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
}