Files
bookhoard/bruno/library/Update Library.yml
T
john-okeefe f859b2714d refactor(bruno): reorganize file structure from bruno-yaml to flat bruno directory
- Move all files from bruno-yaml/* to bruno/*
- Maintains existing directory structure within categories
- Updates bruno/user/auth files with OAuth2 refresh token flow
- Updates bruno/user/profile files for user profile management
- Adds bruno/dashboard/ directory with dashboard API tests
- Preserves all existing test scenarios and OpenCollection YAML format
- No functional changes - file reorganization only
2026-02-17 20:22:21 -05:00

31 lines
662 B
YAML

info:
name: Update Library
type: http
seq: 2
http:
method: PUT
url: '{{base_url}}/api/libraries/{{library_id}}'
auth: inherit
body:
type: json
json:
name: Updated Library Name
description: Updated library description
headers:
- key: Content-Type
value: application/json
runtime:
scripts:
- type: tests
code: "test_update_library_success(status, headers, body) {\n if (status !==\
\ 200) {\n throw new Error(\"Expected status 200, got \" + status);"
docs: |-
## Update Library
Updates an existing library's information.
**Method:** PUT
**Endpoint:** /api/libraries/{id