Skip to main content
Create a new workflow or playground definition.

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

Request Body

ParameterTypeRequiredDescription
enginestringYesMust be workflow_blobhub.
commandstringYesMust be create_definition.
aliasstringYesUnique alias for the definition (6-32 chars).
categorystringYesworkflow or playground.

Response

ParameterTypeDescription
definitionobjectThe created definition object.

Example

{
  "engine": "workflow_blobhub",
  "command": "create_definition",
  "alias": "data-process",
  "category": "workflow"
}