Testsets

Create Testset Revision

Changed on

Create and commit the initial revision for a testset variant.

Most callers instead use /testsets/revisions/commit, which writes the testcases and the revision together. This endpoint commits an initial revision with the initial guard, preventing duplicate initial revisions for the same variant.

post/testsets/revisions/

Request

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

Request body

include_testcasesboolean nullable

Include full testcase objects in the response. Defaults to true when the response would carry revision data.

Response

Successful Response

countinteger

1 if a revision was returned, 0 otherwise.

Changes