projects
benchmarks

Update a benchmark

Changed on

Update a benchmark for a project. The user must have edit permissions for the project, or provide a valid project key for the project (no rename).

patch/v0/projects/{project}/benchmarks/{benchmark}

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

archivedboolean nullable

Set whether the benchmark is archived.

namestring
slugstring

Response

successful operation

archivedstring date-time
createdstring date-time required
modifiedstring date-time required
namestring required
projectstring uuid required
slugstring required
uuidstring uuid required

Changes

    • info

      for the path request parameter benchmark, the type was generalized from string to no type

    • info

      for the path request parameter project, the type was generalized from string to no type

    • breaking

      added to the request property allOf list

    • breaking

      the response's property type changed from string to no type for status

    • warning

      removed from the request property allOf list