Tasks (Legacy)

Publish Task Version (Legacy)

Publishes a specific version of a task. This creates a new version if it doesn't exist, or updates an existing version's metadata.

If you are using the new Task Builder, see the Tasks V2 endpoints in this API reference.

post/v1/task/{taskId}/{taskVersion}

Path parameters

taskIdstring uuid required

The ID of the task

taskVersionstring required

The version to publish (cannot be draft)

Request body

codestring

Base64 encoded task code (required for new versions)

language'typescript'

Programming language for the task

descriptionstring

Optional description of the version

Response

Task version published successfully

Changes