Files
bookhoard/bruno/notes/Create Media Note.yml
T
John O'Keefe ad1ad11fb5
Release / build-and-push (push) Successful in 2m49s
docs(bruno): document the 100k note content limit
Create/Update Media Note request docs still said "1-10000 chars";
update both to match the raised validator cap.
2026-10-02 21:31:18 -04:00

41 lines
917 B
YAML

info:
name: Create Media Note
type: http
seq: 2
http:
method: POST
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes'
auth: inherit
body:
type: json
data: |-
{
"content": "This is a test note about this media item.",
"position": "page:45"
}
docs: |-
## Create Media Note
Creates a new note for a specific media item.
**Method:** POST
**Endpoint:** /api/media-items/:id/notes
**Path Parameters:**
- `id` (string): Media item ID
**Request Body:**
- `content` (string): Note content (required, 1-100000 chars)
- `position` (string): Optional position reference (max 100 chars)
**Response:**
- Note object with all fields including generated ID and timestamps
**Status Codes:**
- 201: Created
- 400: Invalid request
- 401: Unauthorized
- 404: Media item not found