Files
bookhoard/bruno/library/Get Library.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

36 lines
657 B
YAML

info:
name: Get Library
type: http
seq: 4
http:
method: GET
url: "{{base_url}}/api/libraries/{{library_id}}"
headers:
- name: ""
value: application/json
auth: inherit
runtime:
scripts:
- type: tests
code: |-
test_get_library_success(status, headers, body) {
if (status !== 200) {
throw new Error("Expected status 200, got " + status);
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
## Get Library
Retrieves detailed information about a specific library by ID.
**Method:** GET
**Endpoint:** /api/libraries/{id