Testsets

Create Testset Variant

Changed on

Create a variant (history branch) on a testset.

Most testsets only need one variant. Create additional variants to maintain parallel revision histories (for example, a staging branch separate from the main one).

post/testsets/variants/

Request

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

Request body

Response

Successful Response

countinteger

1 if a variant was returned, 0 otherwise.

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status

    • info

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

    • info

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