- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
39 lines
918 B
YAML
39 lines
918 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
|
|
jsonBody: "{\n \"content\": \"This is the updated note content.\",\n \"\
|
|
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-10000 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
|