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

39 lines
683 B
YAML

info:
name: Update Library
type: http
seq: 11
http:
method: PUT
url: "{{base_url}}/api/libraries/{{library_id}}"
headers:
- name: ""
value: application/json
body:
type: json
data: ""
auth: inherit
runtime:
scripts:
- type: tests
code: |-
test_update_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: |-
## Update Library
Updates an existing library's information.
**Method:** PUT
**Endpoint:** /api/libraries/{id