Republish automation version
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_id
Unique identifier of the automation asset
version
The sequential number of the version to republish
Headers
X-Athena-Session-Credential
Response
Republished; version and fingerprint returned
asset_id
created_version
False when the latest version already had this fingerprint
fingerprint
issues
Compile warnings and post-commit provisioning errors
trigger_rows
version
version_id
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error
