Skip to navigation

Publish automation

Beta

Compile the draft definition into an immutable, fingerprinted version and materialise its triggers. Idempotent: an unchanged fingerprint records no new version and reconciles the trigger rows in place; triggers that left the definition are paused, never deleted. A definition that does not compile is refused with 400 and every problem listed in detail.issues. When the workspace’s approval policy asks for a second person, nothing is published: 202 answers with the publish approval’s id, and the draft is published as the caller once that approval is approved.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
Unique identifier of the automation asset

Headers

X-Athena-Session-CredentialstringOptional

Response

Published; 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
422
Unprocessable Entity Error