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

28 lines
609 B
YAML

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