canvas-actions

Apply Canvas Edit

Changed on

Atomically apply Edit operations — composition and uploaded-media clips, visual and audio tracks — through the shared runtime validator.

post/canvases/{canvas_ref}/edit/apply

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/canvases/{canvas_ref}/edit/apply
  • Auth
    HTTP bearer

Path parameters

canvas_refstring required

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Request body

expected_revisionstring required

Revision token from an Edit read or validation response.

idempotency_keystring nullable

Example request

{
  "operations": [
    {
      "clip": {
        "audio": {
          "mode": "follow-source"
        }
      }
    }
  ]
}

Response

Successful Response

object required

Changes