marker_upsert
Create or replace typed markers with frame, scope, color, note, duration, and custom payload; idempotent on payload ID ensures no duplicate markers.
Instructions
Create or replace typed markers. Idempotent on payload.id.
Each marker: type/name, frame, optional scope (timeline|item|clip), color, note, duration, unique_id (item), media_id (clip), payload {id, type, source, attrs}. If payload is omitted, pass type and id and the server will still store customData JSON if you include payload. Prefer markers_from_metadata for mapping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |