projects
variants
Create a variant
Changed onCreate 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.
- Authnone declared
Path parameters
benchmarkstring required
The slug or UUID for a benchmark.
projectstring required
The slug or UUID for a project.
Request body
Response
successful creation
Changes
- breaking
the
//////request property's minLength was increased from0to1 - warning
the
//////request property's maxLength was set to64
- breaking
- info
endpoint added
- info