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

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

Request Body

ParameterTypeRequiredDescription
enginestringYesMust be workflow_blobhub.
commandstringYesMust be upload_definition.
definition_idstringYesThe ID of the definition.
definitionobjectYesThe JSON body of the definition.

Response

Returns an empty JSON object upon success.

Example

{
  "engine": "workflow_blobhub",
  "command": "upload_definition",
  "definition_id": "def_001",
  "definition": {
    "steps": [...]
  }
}