Files
bookhoard/bruno/highlights/Get Single Media Highlight.bru
T
john-okeefe 78851a940a feat: add comprehensive Bruno API tests for annotations
- Add complete Bruno collection for notes API (5 endpoints)
- Add complete Bruno collection for highlights API (5 endpoints)
- Include detailed request/response documentation
- Add proper validation examples and error cases
- Support both media-items and ebook endpoint testing
- Add environment variable support for dynamic IDs
2026-01-28 15:43:05 -05:00

42 lines
692 B
Plaintext

meta {
name: Get Single Media Highlight
type: http
seq: 3
}
get {
url: {{base_url}}/api/media-items/{{media_item_id}}/highlights/{{highlight_id}}
body: none
auth: inherit
}
script:post-response {
onResponse(res);
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Get Single Media Highlight
Retrieves a specific highlight by ID.
**Method:** GET
**Endpoint:** /api/media-items/:id/highlights/:highlightId
**Path Parameters:**
- `id` (string): Media item ID
- `highlightId` (string): Highlight ID
**Response:**
- Highlight object with all fields
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 404: Highlight not found
}