Workflows

Create Workflow Variant

Changed on

Create a new variant under an existing workflow.

Variants are branches of an artifact's history; each maintains its own revision log. Variant slugs are unique within the project — reuse of a slug already in use returns a 409 conflict.

See: Versioning.

post/workflows/variants/

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/workflows/variants/
  • Auth
    API key in header Authorization

Request body

Response

Successful Response

countinteger

1 when a variant is returned, 0 when none matched.

Changes

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status