Files
bookhoard/bruno-yaml/media-items/Get Media Rating.yml
T

28 lines
602 B
YAML

info:
name: Get Media Rating
type: http
seq: 4
http:
method: GET
url: '{{base_url}}/api/media-items/{{media_item_id}}/rating'
auth: inherit
body:
type: none
headers:
- key: Content-Type
value: application/json
runtime:
scripts:
- type: tests
code: "test_get_media_rating_success(status, headers, body) {\n if (status\
\ !== 200) {\n throw new Error(\"Expected status 200, got \" + status);"
docs: |-
## Get Media Rating
Retrieves a user's rating for a specific media item.
**Method:** GET
**Endpoint:** /api/media-items/{id