Skip to navigation

Republish automation version

Beta

Make a published version current again. The version’s definition passes every publish check first; one that no longer publishes is refused with 400 and every problem in detail.issues, and the draft is left as it was. Otherwise the current draft is kept as a snapshot, the version’s definition is written into the draft and published the ordinary way, so the result is a new version (none when the latest version already is this definition by this publisher). Answers as POST /automations/{asset_id}/publish does, 202 included when the workspace’s approval policy parks the publish.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
Unique identifier of the automation asset
versionintegerRequired>=1
The sequential number of the version to republish

Headers

X-Athena-Session-CredentialstringOptional

Response

Republished; version and fingerprint returned

asset_idstring
created_versionboolean
False when the latest version already had this fingerprint
fingerprintstring
issueslist of objects

Compile warnings and post-commit provisioning errors

trigger_rowslist of objects
versioninteger
version_idstring

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error