update_motion_composition
Updates a motion composition's TSX files and/or manifest (name, duration, schema…). Same compile-and-test gate as create; files given here MERGE over the existing set. Every clip playing the composition re-renders. preview:true returns one large frame of the result with the reply.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| name | No | ||
| files | No | File name → TSX source (merged). | |
| token | Yes | The session token `connect` returned. Pass it on every call — it says which browser to drive. | |
| width | No | ||
| height | No | ||
| schema | No | ||
| preview | No | Return one large frame (≤1560 px) with the reply. Media is not loaded in a preview: media slots draw empty and the reply says how many. | |
| projectId | Yes | Project id from get_projects. | |
| previewFrame | No | Frame to preview (default 0). | |
| previewProps | No | Merged over the schema defaults for the preview picture only, e.g. {partsBoard:true}. Nothing saved changes. | |
| compositionId | Yes | From create/list_motion_compositions. | |
| durationInFrames | No |