Codemode Runs

Activate or roll back an immutable Artifact view revision

Changed on

Makes revisionId the active revision of the Artifact view and marks the view active; selecting an older revision performs a rollback without changing its bytes. The revision must have built successfully and not be retired (artifact_view_revision_not_ready), and its output schema digest must match the Workflow's current version (artifact_view_schema_incompatible). Requires manager access to the Workflow.

post/v1/artifact-views/{artifactViewId}/revisions/{revisionId}/activate

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/artifact-views/{artifactViewId}/revisions/{revisionId}/activate
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

artifactViewIdstring required
revisionIdstring required

Response

Artifact view activated.

dataMode'live' | 'snapshot'
idstring required
configObjectIdstring required
titlestring required
descriptionstring nullable required
status'active' | 'retired' required
activeRevisionIdstring nullable required
useInWorkflowboolean
createdAtstring date-time required
updatedAtstring date-time required

Changes