Release / build-and-push (push) Successful in 2m49s
Create/Update Media Note request docs still said "1-10000 chars"; update both to match the raised validator cap.
42 lines
920 B
YAML
42 lines
920 B
YAML
info:
|
|
name: Update Media Note
|
|
type: http
|
|
seq: 4
|
|
http:
|
|
method: PUT
|
|
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes/{{note_id}}'
|
|
auth: inherit
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"content": "This is the updated note content.",
|
|
"position": "page:47"
|
|
}
|
|
|
|
docs: |-
|
|
## Update Media Note
|
|
|
|
Updates an existing note.
|
|
|
|
**Method:** PUT
|
|
|
|
**Endpoint:** /api/media-items/:id/notes/:noteId
|
|
|
|
**Path Parameters:**
|
|
- `id` (string): Media item ID
|
|
- `noteId` (string): Note ID
|
|
|
|
**Request Body:**
|
|
- `content` (string): Updated note content (required, 1-100000 chars)
|
|
- `position` (string): Updated position reference (optional, max 100 chars)
|
|
|
|
**Response:**
|
|
- Updated note object with all fields
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 400: Invalid request
|
|
- 401: Unauthorized
|
|
- 404: Note not found
|