projects
variants

Create a variant

Changed on

Create a variant for a benchmark. The user must have create permissions for the project, or provide a valid project key for the project. A variant that already exists for the benchmark is a conflict, so this endpoint never returns an existing variant.

post/v0/projects/{project}/benchmarks/{benchmark}/variants

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

benchmarkstring required

The slug or UUID for a benchmark.

projectstring required

The slug or UUID for a project.

Request body

parametersParameterSet required

Response

successful creation

archivedstring date-time
benchmarkstring uuid required
createdstring date-time required
modifiedstring date-time required
parametersParameterSet required
uuidstring uuid required

Changes

    • breaking

      the ////// request property's minLength was increased from 0 to 1

    • warning

      the ////// request property's maxLength was set to 64

    • info

      endpoint added