Codemode Runs

Activate or roll back an immutable Artifact view revision

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

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

Changed in 5 of the 51 revisions of this API.9

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      the endpoint scheme security bearerAuth was added to the API

      api-security-added

    • ○

      the endpoint scheme security denApiKey was added to the API

      api-security-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      endpoint added

      endpoint-added