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

28 lines
583 B
YAML

info:
name: Get Library
type: http
seq: 1
http:
method: GET
url: '{{base_url}}/api/libraries/{{library_id}}'
auth: inherit
body:
type: none
headers:
- key: Content-Type
value: application/json
runtime:
scripts:
- type: tests
code: "test_get_library_success(status, headers, body) {\n if (status !== 200)\
\ {\n throw new Error(\"Expected status 200, got \" + status);"
docs: |-
## Get Library
Retrieves detailed information about a specific library by ID.
**Method:** GET
**Endpoint:** /api/libraries/{id