- 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
42 lines
675 B
Plaintext
42 lines
675 B
Plaintext
meta {
|
|
name: Delete Media Highlight
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
delete {
|
|
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 {
|
|
## Delete Media Highlight
|
|
|
|
Deletes a specific highlight.
|
|
|
|
**Method:** DELETE
|
|
|
|
**Endpoint:** /api/media-items/:id/highlights/:highlightId
|
|
|
|
**Path Parameters:**
|
|
- `id` (string): Media item ID
|
|
- `highlightId` (string): Highlight ID
|
|
|
|
**Response:**
|
|
- 204 No Content on success
|
|
|
|
**Status Codes:**
|
|
- 204: Success
|
|
- 401: Unauthorized
|
|
- 404: Highlight not found
|
|
} |