Skip to main content
Upload/Save the content of a definition.

POST /revisions/:id/data/command (Command: upload_definition)

Request Body

Response

Returns {"status": "success"} — no body beyond the status. A listener body is validated when it is uploaded, unlike a workflow document, and is stored with its defaults filled in. An untemplated workflow target is resolved as the uploader, so a reference the uploader cannot reach is refused. The uploader becomes the listener’s principal: it acts as the user who uploaded last, who must still hold write access to the blob. A listener takes effect once the router sees the upload, up to about ten seconds later. Check Definition validates a stored body without changing it.

Errors

Example