Files
bookhoard/bruno-yaml/library/Get Library Types.yml
T

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