Apply edit commands
Applies a batch of commands and saves a new version. The batch applies whole or not at all. A bad command changes nothing and answers 422 with what to send instead. Free.
Applies a batch of commands and saves a new version. The batch applies whole or not at all. A bad command changes nothing and answers 422 with what to send instead. Free.
Authorization
bearerAuth API key authentication. Use your API key as the bearer token: Authorization: Bearer roasos_sk_...
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/edits/497f6eca-6276-4993-bfeb-53cbbbba6f08/commands" \ -H "Content-Type: application/json" \ -d '{ "commands": [ { "type": "insert_clip", "property1": null, "property2": null } ] }'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "version": 0, "latest_version": 0, "length_seconds": 0, "property1": null, "property2": null }}