From 22abfbc5e48ef1cbcb8e1e6d46586efe8510a6bc Mon Sep 17 00:00:00 2001 From: Everett Pompeii Date: Sat, 16 Dec 2023 19:42:05 -0500 Subject: [PATCH] Release v0.3.24 --- Cargo.lock | 30 +++++++++---------- Cargo.toml | 2 +- lib/bencher_valid/swagger.json | 2 +- services/action/dist/index.js | 2 +- services/console/package-lock.json | 4 +-- services/console/package.json | 2 +- .../src/chunks/reference/en/changelog.mdx | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ff7d0563a..da6082bd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -833,7 +833,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "bencher_adapter" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "criterion", @@ -850,7 +850,7 @@ dependencies = [ [[package]] name = "bencher_api" -version = "0.3.23" +version = "0.3.24" dependencies = [ "async-compression", "async-trait", @@ -897,7 +897,7 @@ dependencies = [ [[package]] name = "bencher_billing" -version = "0.3.23" +version = "0.3.24" dependencies = [ "async-stripe", "bencher_json", @@ -912,7 +912,7 @@ dependencies = [ [[package]] name = "bencher_boundary" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "bencher_logger", @@ -926,7 +926,7 @@ dependencies = [ [[package]] name = "bencher_cli" -version = "0.3.23" +version = "0.3.24" dependencies = [ "assert_cmd", "async-trait", @@ -954,7 +954,7 @@ dependencies = [ [[package]] name = "bencher_client" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "chrono", @@ -973,7 +973,7 @@ dependencies = [ [[package]] name = "bencher_comment" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "url", @@ -981,7 +981,7 @@ dependencies = [ [[package]] name = "bencher_json" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_valid", "chrono", @@ -1004,7 +1004,7 @@ dependencies = [ [[package]] name = "bencher_license" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "chrono", @@ -1018,7 +1018,7 @@ dependencies = [ [[package]] name = "bencher_logger" -version = "0.3.23" +version = "0.3.24" dependencies = [ "slog", "slog-term", @@ -1026,7 +1026,7 @@ dependencies = [ [[package]] name = "bencher_plot" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "chrono", @@ -1041,7 +1041,7 @@ dependencies = [ [[package]] name = "bencher_rbac" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "literally", @@ -1052,7 +1052,7 @@ dependencies = [ [[package]] name = "bencher_token" -version = "0.3.23" +version = "0.3.24" dependencies = [ "bencher_json", "chrono", @@ -1065,7 +1065,7 @@ dependencies = [ [[package]] name = "bencher_valid" -version = "0.3.23" +version = "0.3.24" dependencies = [ "base64 0.21.5", "chrono", @@ -6845,7 +6845,7 @@ checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4" [[package]] name = "xtask" -version = "0.3.23" +version = "0.3.24" dependencies = [ "anyhow", "async-openai", diff --git a/Cargo.toml b/Cargo.toml index 3877dd65b..597616167 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["services/api", "services/cli", "lib/*", "plus/*", "xtask"] resolver = "2" [workspace.package] -version = "0.3.23" +version = "0.3.24" authors = ["Everett Pompeii "] edition = "2021" diff --git a/lib/bencher_valid/swagger.json b/lib/bencher_valid/swagger.json index d594e3c8a..8d3a1ccfb 100644 --- a/lib/bencher_valid/swagger.json +++ b/lib/bencher_valid/swagger.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Bencher API", - "version": "0.3.23" + "version": "0.3.24" }, "paths": { "/": { diff --git a/services/action/dist/index.js b/services/action/dist/index.js index a17f227c8..9ce24b1fb 100644 --- a/services/action/dist/index.js +++ b/services/action/dist/index.js @@ -30091,7 +30091,7 @@ module.exports = parseParams /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"openapi":"3.0.3","info":{"title":"Bencher API","version":"0.3.23"},"paths":{"/":{"get":{"tags":["server"],"operationId":"server_root_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Null","type":"string","enum":[null]}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/confirm":{"post":{"tags":["auth"],"operationId":"auth_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuthToken"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuthUser"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/login":{"post":{"tags":["auth"],"operationId":"auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonLogin"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuth"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/signup":{"post":{"tags":["auth"],"operationId":"auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonSignup"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuth"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations":{"get":{"tags":["organizations"],"operationId":"organizations_get","parameters":[{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/OrganizationsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganizations"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations"],"operationId":"organization_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewOrganization"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganization"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}":{"get":{"tags":["organizations"],"operationId":"organization_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganization"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["organizations"],"operationId":"organization_patch","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateOrganization"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganization"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/allowed/{permission}":{"get":{"tags":["organizations","allowed"],"operationId":"org_allowed_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"permission","required":true,"schema":{"$ref":"#/components/schemas/OrganizationPermission"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAllowed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/members":{"get":{"tags":["organizations","members"],"operationId":"org_members_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/OrgMembersSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/UserName"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMembers"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations","members"],"operationId":"org_member_post","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewMember"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuth"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/members/{user}":{"get":{"tags":["organizations","members"],"operationId":"org_member_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMember"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["organizations","members"],"operationId":"org_member_delete","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["organizations","members"],"operationId":"org_member_patch","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateMember"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMember"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/plan":{"get":{"tags":["organizations","plan"],"operationId":"org_plan_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPlan"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations","plan"],"operationId":"org_plan_post","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewPlan"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPlan"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["organizations","plan"],"operationId":"org_plan_delete","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/projects":{"get":{"tags":["organizations","projects"],"operationId":"org_projects_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/OrgProjectsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProjects"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations","projects"],"operationId":"org_project_post","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewProject"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProject"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/usage":{"get":{"tags":["organizations","usage"],"operationId":"org_usage_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUsage"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects":{"get":{"tags":["projects"],"operationId":"projects_get","parameters":[{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjectsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}},{"in":"query","name":"public","schema":{"nullable":true,"type":"boolean"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProjects"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}":{"get":{"tags":["projects"],"operationId":"project_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProject"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects"],"operationId":"project_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects"],"operationId":"project_patch","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateProject"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProject"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/alerts":{"get":{"tags":["projects","alerts"],"operationId":"proj_alerts_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjAlertsSort"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlerts"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/alerts/{alert}":{"get":{"tags":["projects","alerts"],"operationId":"proj_alert_get","parameters":[{"in":"path","name":"alert","required":true,"schema":{"$ref":"#/components/schemas/AlertUuid"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlert"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","alerts"],"operationId":"proj_alert_patch","parameters":[{"in":"path","name":"alert","required":true,"schema":{"$ref":"#/components/schemas/AlertUuid"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateAlert"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlert"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/allowed/{permission}":{"get":{"tags":["projects","allowed"],"operationId":"proj_allowed_get","parameters":[{"in":"path","name":"permission","required":true,"schema":{"$ref":"#/components/schemas/ProjectPermission"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAllowed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/benchmarks":{"get":{"tags":["projects","benchmarks"],"operationId":"proj_benchmarks_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjBenchmarksSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/BenchmarkName"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmarks"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewBenchmark"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmark"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/benchmarks/{benchmark}":{"get":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_get","parameters":[{"in":"path","name":"benchmark","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmark"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_delete","parameters":[{"in":"path","name":"benchmark","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_patch","parameters":[{"in":"path","name":"benchmark","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateBenchmark"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmark"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/branches":{"get":{"tags":["projects","branches"],"operationId":"proj_branches_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjBranchesSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/BranchName"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranches"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","branches"],"operationId":"proj_branch_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewBranch"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/branches/{branch}":{"get":{"tags":["projects","branches"],"operationId":"proj_branch_get","parameters":[{"in":"path","name":"branch","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","branches"],"operationId":"proj_branch_delete","parameters":[{"in":"path","name":"branch","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","branches"],"operationId":"proj_branch_patch","parameters":[{"in":"path","name":"branch","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateBranch"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/measures":{"get":{"tags":["projects","measures"],"operationId":"proj_measures_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjMeasuresSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasures"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","measures"],"operationId":"proj_measure_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewMeasure"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasure"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/measures/{measure}":{"get":{"tags":["projects","measures"],"operationId":"proj_measure_get","parameters":[{"in":"path","name":"measure","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasure"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","measures"],"operationId":"proj_measure_delete","parameters":[{"in":"path","name":"measure","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","measures"],"operationId":"proj_measure_patch","parameters":[{"in":"path","name":"measure","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateMeasure"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasure"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/perf":{"get":{"tags":["projects","perf"],"operationId":"proj_perf_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"benchmarks","required":true,"schema":{"type":"string"}},{"in":"query","name":"branches","required":true,"schema":{"type":"string"}},{"in":"query","name":"end_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"measures","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"testbeds","required":true,"schema":{"type":"string"}},{"in":"query","name":"title","schema":{"nullable":true,"type":"string"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPerf"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/perf/img":{"get":{"tags":["projects","perf"],"operationId":"proj_perf_img_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"benchmarks","required":true,"schema":{"type":"string"}},{"in":"query","name":"branches","required":true,"schema":{"type":"string"}},{"in":"query","name":"end_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"measures","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"testbeds","required":true,"schema":{"type":"string"}},{"in":"query","name":"title","schema":{"nullable":true,"type":"string"}}],"responses":{"default":{"description":"","content":{"*/*":{"schema":{}}}}}}},"/v0/projects/{project}/reports":{"get":{"tags":["projects","reports"],"operationId":"proj_reports_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjReportsSort"}},{"in":"query","name":"branch","schema":{"nullable":true,"type":"string"}},{"in":"query","name":"end_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"start_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"testbed","schema":{"nullable":true,"type":"string"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonReports"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","reports"],"operationId":"proj_report_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewReport"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonReport"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/reports/{report}":{"get":{"tags":["projects","reports"],"operationId":"proj_report_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"report","required":true,"schema":{"$ref":"#/components/schemas/ReportUuid"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonReport"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","reports"],"operationId":"proj_report_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"report","required":true,"schema":{"$ref":"#/components/schemas/ReportUuid"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/statistics/{statistic}":{"get":{"tags":["projects","statistics"],"operationId":"proj_statistic_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"statistic","required":true,"schema":{"$ref":"#/components/schemas/StatisticUuid"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonStatistic"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/stats/alerts":{"get":{"tags":["projects","alerts"],"operationId":"proj_alert_stats_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlertStats"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/testbeds":{"get":{"tags":["projects","testbeds"],"operationId":"proj_testbeds_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjTestbedsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbeds"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","testbeds"],"operationId":"proj_testbed_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewTestbed"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/testbeds/{testbed}":{"get":{"tags":["projects","testbeds"],"operationId":"proj_testbed_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"testbed","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","testbeds"],"operationId":"proj_testbed_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"testbed","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","testbeds"],"operationId":"proj_testbed_patch","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"testbed","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateTestbed"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/thresholds":{"get":{"tags":["projects","thresholds"],"operationId":"proj_thresholds_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjThresholdsSort"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThresholds"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","thresholds"],"operationId":"proj_threshold_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewThreshold"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThreshold"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/thresholds/{threshold}":{"get":{"tags":["projects","thresholds"],"operationId":"proj_threshold_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"threshold","required":true,"schema":{"$ref":"#/components/schemas/ThresholdUuid"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThreshold"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["projects","thresholds"],"operationId":"proj_threshold_put","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"threshold","required":true,"schema":{"$ref":"#/components/schemas/ThresholdUuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateThreshold"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThreshold"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","thresholds"],"operationId":"proj_threshold_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"threshold","required":true,"schema":{"$ref":"#/components/schemas/ThresholdUuid"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/backup":{"post":{"tags":["server"],"operationId":"server_backup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBackup"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonCreated"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/config":{"get":{"tags":["server","config"],"operationId":"server_config_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonConfig"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["server","config"],"operationId":"server_config_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateConfig"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonConfig"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/endpoint":{"get":{"tags":["server","endpoint"],"operationId":"server_endpoint_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonEndpoint"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/ping":{"get":{"tags":["server","ping"],"operationId":"server_ping_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPing"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/restart":{"post":{"tags":["server"],"operationId":"server_restart_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRestart"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Null","type":"string","enum":[null]}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/spec":{"get":{"tags":["server","spec"],"operationId":"server_spec_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonSpec"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/stats":{"get":{"tags":["server","stats"],"operationId":"server_stats_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonServerStats"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["server","stats"],"operationId":"server_stats_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonServerStats"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Null","type":"string","enum":[null]}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/version":{"get":{"tags":["server","version"],"operationId":"server_version_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonApiVersion"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/users/{user}":{"get":{"tags":["users"],"operationId":"user_get","parameters":[{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUser"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/users/{user}/tokens":{"get":{"tags":["users","tokens"],"operationId":"user_tokens_get","parameters":[{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/UserTokensSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTokens"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["users","tokens"],"operationId":"user_token_post","parameters":[{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewToken"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/users/{user}/tokens/{token}":{"get":{"tags":["users","tokens"],"operationId":"user_token_get","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["users","tokens"],"operationId":"user_token_patch","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateToken"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}}},"components":{"schemas":{"Adapter":{"type":"string","enum":["magic","json","rust","rust_bench","rust_criterion","rust_iai","cpp","cpp_google","cpp_catch2","go","go_bench","java","java_jmh","c_sharp","c_sharp_dot_net","js","js_benchmark","js_time","python","python_asv","python_pytest","ruby","ruby_benchmark","shell","shell_hyperfine"]},"AlertStatus":{"type":"string","enum":["active","dismissed"]},"AlertUuid":{"type":"string","format":"uuid"},"BenchmarkName":{"type":"string"},"BenchmarkUuid":{"type":"string","format":"uuid"},"BigInt":{"type":"integer","format":"uint64","minimum":0},"Boundary":{"type":"number","format":"double"},"BoundaryLimit":{"type":"string","enum":["lower","upper"]},"BranchName":{"type":"string"},"BranchUuid":{"type":"string","format":"uuid"},"CardBrand":{"type":"string","enum":["amex","diners","discover","jcb","mastercard","unionpay","visa","unknown"]},"CardCvc":{"type":"string"},"CardNumber":{"type":"string"},"DataStore":{"oneOf":[{"type":"object","properties":{"access_key_id":{"type":"string"},"access_point":{"type":"string"},"secret_access_key":{"$ref":"#/components/schemas/Secret"},"service":{"type":"string","enum":["aws_s3"]}},"required":["access_key_id","access_point","secret_access_key","service"]}]},"DateTime":{"type":"string","format":"date-time"},"Email":{"type":"string"},"Entitlements":{"type":"integer","format":"uint32","minimum":0},"Error":{"description":"Error information from a response.","type":"object","properties":{"error_code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["message","request_id"]},"ExpirationMonth":{"type":"integer","format":"int32"},"ExpirationYear":{"type":"integer","format":"int32"},"GitHash":{"type":"string"},"IfExists":{"type":"string","enum":["fail","truncate","append"]},"Iteration":{"type":"integer","format":"uint32","minimum":0},"JsonAlert":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmarkMetric"},"created":{"$ref":"#/components/schemas/DateTime"},"iteration":{"$ref":"#/components/schemas/Iteration"},"limit":{"$ref":"#/components/schemas/BoundaryLimit"},"modified":{"$ref":"#/components/schemas/DateTime"},"report":{"$ref":"#/components/schemas/ReportUuid"},"status":{"$ref":"#/components/schemas/AlertStatus"},"threshold":{"$ref":"#/components/schemas/JsonThreshold"},"uuid":{"$ref":"#/components/schemas/AlertUuid"}},"required":["benchmark","created","iteration","limit","modified","report","status","threshold","uuid"]},"JsonAlertStats":{"type":"object","properties":{"active":{"$ref":"#/components/schemas/BigInt"}},"required":["active"]},"JsonAlerts":{"type":"array","items":{"$ref":"#/components/schemas/JsonAlert"}},"JsonAllowed":{"type":"object","properties":{"allowed":{"type":"boolean"}},"required":["allowed"]},"JsonApiVersion":{"type":"object","properties":{"version":{"type":"string"}},"required":["version"]},"JsonAuth":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"}},"required":["email"]},"JsonAuthToken":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/Jwt"}},"required":["token"]},"JsonAuthUser":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/Jwt"},"user":{"$ref":"#/components/schemas/JsonUser"}},"required":["token","user"]},"JsonAverage":{"type":"string","enum":["mean","median"]},"JsonBackup":{"type":"object","properties":{"compress":{"nullable":true,"type":"boolean"},"data_store":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonDataStore"}]},"rm":{"nullable":true,"type":"boolean"}}},"JsonBenchmark":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BenchmarkUuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBenchmarkMetric":{"type":"object","properties":{"boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonBoundary"}]},"created":{"$ref":"#/components/schemas/DateTime"},"metric":{"$ref":"#/components/schemas/JsonMetric"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BenchmarkUuid"}},"required":["created","metric","modified","name","project","slug","uuid"]},"JsonBenchmarks":{"type":"array","items":{"$ref":"#/components/schemas/JsonBenchmark"}},"JsonBilling":{"type":"object","properties":{"products":{"$ref":"#/components/schemas/JsonProducts"},"secret_key":{"$ref":"#/components/schemas/Secret"}},"required":["products","secret_key"]},"JsonBoundary":{"type":"object","properties":{"baseline":{"type":"number","format":"double"},"lower_limit":{"nullable":true,"type":"number","format":"double"},"upper_limit":{"nullable":true,"type":"number","format":"double"}},"required":["baseline"]},"JsonBranch":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BranchUuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBranchVersion":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BranchUuid"},"version":{"$ref":"#/components/schemas/JsonVersion"}},"required":["created","modified","name","project","slug","uuid","version"]},"JsonBranches":{"type":"array","items":{"$ref":"#/components/schemas/JsonBranch"}},"JsonCard":{"type":"object","properties":{"cvc":{"$ref":"#/components/schemas/CardCvc"},"exp_month":{"$ref":"#/components/schemas/ExpirationMonth"},"exp_year":{"$ref":"#/components/schemas/ExpirationYear"},"number":{"$ref":"#/components/schemas/CardNumber"}},"required":["cvc","exp_month","exp_year","number"]},"JsonCardDetails":{"type":"object","properties":{"brand":{"$ref":"#/components/schemas/CardBrand"},"exp_month":{"$ref":"#/components/schemas/ExpirationMonth"},"exp_year":{"$ref":"#/components/schemas/ExpirationYear"},"last_four":{"$ref":"#/components/schemas/LastFour"}},"required":["brand","exp_month","exp_year","last_four"]},"JsonCloud":{"type":"object","properties":{"billing":{"$ref":"#/components/schemas/JsonBilling"},"license_pem":{"$ref":"#/components/schemas/Secret"},"sentry":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Secret"}]}},"required":["billing","license_pem"]},"JsonCohort":{"type":"object","properties":{"month":{"type":"integer","format":"uint64","minimum":0},"total":{"type":"integer","format":"uint64","minimum":0},"week":{"type":"integer","format":"uint64","minimum":0}},"required":["month","total","week"]},"JsonCohortAvg":{"type":"object","properties":{"month":{"type":"number","format":"double"},"total":{"type":"number","format":"double"},"week":{"type":"number","format":"double"}},"required":["month","total","week"]},"JsonConfig":{"type":"object","properties":{"console":{"$ref":"#/components/schemas/JsonConsole"},"database":{"$ref":"#/components/schemas/JsonDatabase"},"logging":{"$ref":"#/components/schemas/JsonLogging"},"plus":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPlus"}]},"security":{"$ref":"#/components/schemas/JsonSecurity"},"server":{"$ref":"#/components/schemas/JsonServer"},"smtp":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonSmtp"}]}},"required":["console","database","logging","security","server"]},"JsonConsole":{"type":"object","properties":{"url":{"$ref":"#/components/schemas/Url"}},"required":["url"]},"JsonCreated":{"description":"A pre-`v1.0` future proof way to check the result of most create and update operations.","type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"}},"required":["created"]},"JsonCustomer":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"name":{"$ref":"#/components/schemas/NonEmpty"},"uuid":{"$ref":"#/components/schemas/UserUuid"}},"required":["email","name","uuid"]},"JsonDataStore":{"type":"string","enum":["aws_s3"]},"JsonDatabase":{"type":"object","properties":{"data_store":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DataStore"}]},"file":{"type":"string"}},"required":["file"]},"JsonEndpoint":{"type":"object","properties":{"endpoint":{"$ref":"#/components/schemas/Url"}},"required":["endpoint"]},"JsonFold":{"type":"string","enum":["min","max","mean","median"]},"JsonLicense":{"type":"object","properties":{"entitlements":{"$ref":"#/components/schemas/Entitlements"},"expiration":{"$ref":"#/components/schemas/DateTime"},"issued_at":{"$ref":"#/components/schemas/DateTime"},"key":{"$ref":"#/components/schemas/Jwt"},"level":{"$ref":"#/components/schemas/PlanLevel"},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"self_hosted":{"type":"boolean"}},"required":["entitlements","expiration","issued_at","key","level","organization","self_hosted"]},"JsonLogging":{"type":"object","properties":{"log":{"$ref":"#/components/schemas/ServerLog"},"name":{"type":"string"}},"required":["log","name"]},"JsonLogin":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"invite":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"plan":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PlanLevel"}]}},"required":["email"]},"JsonMeasure":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"units":{"$ref":"#/components/schemas/NonEmpty"},"uuid":{"$ref":"#/components/schemas/MeasureUuid"}},"required":["created","modified","name","project","slug","units","uuid"]},"JsonMeasures":{"type":"array","items":{"$ref":"#/components/schemas/JsonMeasure"}},"JsonMember":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"email":{"$ref":"#/components/schemas/Email"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/UserName"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/UserUuid"}},"required":["created","email","modified","name","role","slug","uuid"]},"JsonMembers":{"type":"array","items":{"$ref":"#/components/schemas/JsonMember"}},"JsonMetric":{"type":"object","properties":{"lower_value":{"nullable":true,"type":"number","format":"double"},"upper_value":{"nullable":true,"type":"number","format":"double"},"value":{"type":"number","format":"double"}},"required":["value"]},"JsonNewBenchmark":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/BenchmarkName"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["name"]},"JsonNewBranch":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/BranchName"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"soft":{"nullable":true,"type":"boolean"},"start_point":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonStartPoint"}]}},"required":["name"]},"JsonNewMeasure":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"units":{"$ref":"#/components/schemas/NonEmpty"}},"required":["name","units"]},"JsonNewMember":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserName"}]},"role":{"$ref":"#/components/schemas/OrganizationRole"}},"required":["email","role"]},"JsonNewOrganization":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["name"]},"JsonNewPlan":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/JsonCard"},"customer":{"$ref":"#/components/schemas/JsonCustomer"},"entitlements":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Entitlements"}]},"i_agree":{"description":"I agree to the Bencher Subscription Agreement (https://bencher.dev/legal/subscription)","type":"boolean"},"level":{"$ref":"#/components/schemas/PlanLevel"},"organization":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OrganizationUuid"}]}},"required":["card","customer","i_agree","level"]},"JsonNewProject":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"visibility":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Visibility"}]}},"required":["name"]},"JsonNewReport":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"end_time":{"$ref":"#/components/schemas/DateTime"},"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"results":{"type":"array","items":{"type":"string"}},"settings":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonReportSettings"}]},"start_time":{"$ref":"#/components/schemas/DateTime"},"testbed":{"$ref":"#/components/schemas/ResourceId"}},"required":["branch","end_time","results","start_time","testbed"]},"JsonNewTestbed":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["name"]},"JsonNewThreshold":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"lower_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"max_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"measure":{"$ref":"#/components/schemas/ResourceId"},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/StatisticKind"},"testbed":{"$ref":"#/components/schemas/ResourceId"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Window"}]}},"required":["branch","measure","test","testbed"]},"JsonNewToken":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"ttl":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["name"]},"JsonOrganization":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/OrganizationUuid"}},"required":["created","modified","name","slug","uuid"]},"JsonOrganizationPatch":{"type":"object","properties":{"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonOrganizationPatchNull":{"type":"object","properties":{"license":{"type":"string","enum":[null]},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["license"]},"JsonOrganizations":{"type":"array","items":{"$ref":"#/components/schemas/JsonOrganization"}},"JsonPerf":{"type":"object","properties":{"end_time":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DateTime"}]},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetrics"}},"start_time":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DateTime"}]}},"required":["project","results"]},"JsonPerfAlert":{"type":"object","properties":{"limit":{"$ref":"#/components/schemas/BoundaryLimit"},"modified":{"$ref":"#/components/schemas/DateTime"},"status":{"$ref":"#/components/schemas/AlertStatus"},"uuid":{"$ref":"#/components/schemas/AlertUuid"}},"required":["limit","modified","status","uuid"]},"JsonPerfMetric":{"type":"object","properties":{"alert":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPerfAlert"}]},"boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonBoundary"}]},"end_time":{"$ref":"#/components/schemas/DateTime"},"iteration":{"$ref":"#/components/schemas/Iteration"},"metric":{"$ref":"#/components/schemas/JsonMetric"},"report":{"$ref":"#/components/schemas/ReportUuid"},"start_time":{"$ref":"#/components/schemas/DateTime"},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]},"version":{"$ref":"#/components/schemas/JsonVersion"}},"required":["end_time","iteration","metric","report","start_time","version"]},"JsonPerfMetrics":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmark"},"branch":{"$ref":"#/components/schemas/JsonBranch"},"measure":{"$ref":"#/components/schemas/JsonMeasure"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetric"}},"testbed":{"$ref":"#/components/schemas/JsonTestbed"}},"required":["benchmark","branch","measure","metrics","testbed"]},"JsonPing":{"type":"string","enum":["pong"]},"JsonPlan":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/JsonCardDetails"},"current_period_end":{"$ref":"#/components/schemas/DateTime"},"current_period_start":{"$ref":"#/components/schemas/DateTime"},"customer":{"$ref":"#/components/schemas/JsonCustomer"},"level":{"$ref":"#/components/schemas/PlanLevel"},"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonLicense"}]},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"status":{"$ref":"#/components/schemas/PlanStatus"},"unit_amount":{"$ref":"#/components/schemas/BigInt"}},"required":["card","current_period_end","current_period_start","customer","level","organization","status","unit_amount"]},"JsonPlus":{"type":"object","properties":{"cloud":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonCloud"}]},"stats":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonStats"}]}}},"JsonProduct":{"type":"object","properties":{"id":{"type":"string"},"licensed":{"type":"object","additionalProperties":{"type":"string"}},"metered":{"type":"object","additionalProperties":{"type":"string"}}},"required":["id","licensed","metered"]},"JsonProducts":{"type":"object","properties":{"enterprise":{"$ref":"#/components/schemas/JsonProduct"},"team":{"$ref":"#/components/schemas/JsonProduct"}},"required":["enterprise","team"]},"JsonProject":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"uuid":{"$ref":"#/components/schemas/ProjectUuid"},"visibility":{"$ref":"#/components/schemas/Visibility"}},"required":["created","modified","name","organization","slug","uuid","visibility"]},"JsonProjectPatch":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"visibility":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Visibility"}]}}},"JsonProjectPatchNull":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"url":{"type":"string","enum":[null]},"visibility":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Visibility"}]}},"required":["url"]},"JsonProjects":{"type":"array","items":{"$ref":"#/components/schemas/JsonProject"}},"JsonReport":{"type":"object","properties":{"adapter":{"$ref":"#/components/schemas/Adapter"},"alerts":{"type":"array","items":{"$ref":"#/components/schemas/JsonAlert"}},"branch":{"$ref":"#/components/schemas/JsonBranchVersion"},"created":{"$ref":"#/components/schemas/DateTime"},"end_time":{"$ref":"#/components/schemas/DateTime"},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/JsonReportResult"}}},"start_time":{"$ref":"#/components/schemas/DateTime"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"user":{"$ref":"#/components/schemas/JsonUser"},"uuid":{"$ref":"#/components/schemas/ReportUuid"}},"required":["adapter","alerts","branch","created","end_time","project","results","start_time","testbed","user","uuid"]},"JsonReportResult":{"type":"object","properties":{"benchmarks":{"type":"array","items":{"$ref":"#/components/schemas/JsonBenchmarkMetric"}},"measure":{"$ref":"#/components/schemas/JsonMeasure"},"metric_kind":{"nullable":true,"description":"TODO remove in due time","allOf":[{"$ref":"#/components/schemas/JsonMeasure"}]},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]}},"required":["benchmarks","measure"]},"JsonReportSettings":{"type":"object","properties":{"adapter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Adapter"}]},"average":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonAverage"}]},"fold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonFold"}]}}},"JsonReports":{"type":"array","items":{"$ref":"#/components/schemas/JsonReport"}},"JsonRestart":{"type":"object","properties":{"delay":{"nullable":true,"type":"integer","format":"uint64","minimum":0}}},"JsonSecurity":{"type":"object","properties":{"issuer":{"nullable":true,"type":"string"},"secret_key":{"$ref":"#/components/schemas/Secret"}},"required":["secret_key"]},"JsonServer":{"type":"object","properties":{"bind_address":{"type":"string"},"request_body_max_bytes":{"type":"integer","format":"uint","minimum":0},"tls":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonTls"}]}},"required":["bind_address","request_body_max_bytes"]},"JsonServer2":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"uuid":{"$ref":"#/components/schemas/ServerUuid"}},"required":["created","uuid"]},"JsonServerStats":{"type":"object","properties":{"active_projects":{"$ref":"#/components/schemas/JsonCohort"},"metrics":{"$ref":"#/components/schemas/JsonCohort"},"metrics_per_report":{"$ref":"#/components/schemas/JsonCohortAvg"},"organizations":{"$ref":"#/components/schemas/JsonOrganizations"},"projects":{"$ref":"#/components/schemas/JsonCohort"},"reports":{"$ref":"#/components/schemas/JsonCohort"},"reports_per_project":{"$ref":"#/components/schemas/JsonCohortAvg"},"server":{"$ref":"#/components/schemas/JsonServer2"},"timestamp":{"$ref":"#/components/schemas/DateTime"},"users":{"$ref":"#/components/schemas/JsonCohort"}},"required":["active_projects","metrics","metrics_per_report","organizations","projects","reports","reports_per_project","server","timestamp","users"]},"JsonSignup":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"i_agree":{"description":"I agree to the Bencher Terms of Use (https://bencher.dev/legal/terms-of-use), Privacy Policy (https://bencher.dev/legal/privacy), and License Agreement (https://bencher.dev/legal/license)","type":"boolean"},"invite":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"name":{"$ref":"#/components/schemas/UserName"},"plan":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PlanLevel"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["email","i_agree","name"]},"JsonSmtp":{"type":"object","properties":{"from_email":{"$ref":"#/components/schemas/Email"},"from_name":{"$ref":"#/components/schemas/NonEmpty"},"hostname":{"$ref":"#/components/schemas/NonEmpty"},"port":{"nullable":true,"type":"integer","format":"uint16","minimum":0},"secret":{"$ref":"#/components/schemas/Secret"},"starttls":{"nullable":true,"type":"boolean"},"username":{"$ref":"#/components/schemas/NonEmpty"}},"required":["from_email","from_name","hostname","secret","username"]},"JsonSpec":{},"JsonStartPoint":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"thresholds":{"nullable":true,"type":"boolean"}},"required":["branch"]},"JsonStatistic":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"lower_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"max_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/StatisticKind"},"threshold":{"$ref":"#/components/schemas/ThresholdUuid"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"uuid":{"$ref":"#/components/schemas/StatisticUuid"},"window":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Window"}]}},"required":["created","test","threshold","uuid"]},"JsonStats":{"type":"object","properties":{"enabled":{"nullable":true,"type":"boolean"},"offset":{"nullable":true,"type":"integer","format":"uint32","minimum":0}}},"JsonTestbed":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/TestbedUuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonTestbeds":{"type":"array","items":{"$ref":"#/components/schemas/JsonTestbed"}},"JsonThreshold":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/JsonBranch"},"created":{"$ref":"#/components/schemas/DateTime"},"measure":{"$ref":"#/components/schemas/JsonMeasure"},"metric_kind":{"nullable":true,"description":"TODO remove in due time","allOf":[{"$ref":"#/components/schemas/JsonMeasure"}]},"modified":{"$ref":"#/components/schemas/DateTime"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"uuid":{"$ref":"#/components/schemas/ThresholdUuid"}},"required":["branch","created","measure","modified","project","statistic","testbed","uuid"]},"JsonThresholdStatistic":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"uuid":{"$ref":"#/components/schemas/ThresholdUuid"}},"required":["created","project","statistic","uuid"]},"JsonThresholds":{"type":"array","items":{"$ref":"#/components/schemas/JsonThreshold"}},"JsonTls":{"oneOf":[{"type":"object","properties":{"cert_file":{"type":"string"},"key_file":{"type":"string"},"type":{"type":"string","enum":["as_file"]}},"required":["cert_file","key_file","type"]},{"type":"object","properties":{"certs":{"type":"array","items":{"type":"integer","format":"uint8","minimum":0}},"key":{"type":"array","items":{"type":"integer","format":"uint8","minimum":0}},"type":{"type":"string","enum":["as_bytes"]}},"required":["certs","key","type"]}]},"JsonToken":{"type":"object","properties":{"creation":{"$ref":"#/components/schemas/DateTime"},"expiration":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"token":{"$ref":"#/components/schemas/Jwt"},"user":{"$ref":"#/components/schemas/UserUuid"},"uuid":{"$ref":"#/components/schemas/TokenUuid"}},"required":["creation","expiration","name","token","user","uuid"]},"JsonTokens":{"type":"array","items":{"$ref":"#/components/schemas/JsonToken"}},"JsonUpdateAlert":{"type":"object","properties":{"status":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AlertStatus"}]}}},"JsonUpdateBenchmark":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BenchmarkName"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonUpdateBranch":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BranchName"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonUpdateConfig":{"type":"object","properties":{"config":{"$ref":"#/components/schemas/JsonConfig"},"delay":{"nullable":true,"type":"integer","format":"uint64","minimum":0}},"required":["config"]},"JsonUpdateMeasure":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"units":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]}}},"JsonUpdateMember":{"type":"object","properties":{"role":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OrganizationRole"}]}}},"JsonUpdateOrganization":{"anyOf":[{"$ref":"#/components/schemas/JsonOrganizationPatch"},{"$ref":"#/components/schemas/JsonOrganizationPatchNull"}]},"JsonUpdateProject":{"anyOf":[{"$ref":"#/components/schemas/JsonProjectPatch"},{"$ref":"#/components/schemas/JsonProjectPatchNull"}]},"JsonUpdateTestbed":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonUpdateThreshold":{"type":"object","properties":{"lower_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"max_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/StatisticKind"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Window"}]}},"required":["test"]},"JsonUpdateToken":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]}}},"JsonUsage":{"type":"object","properties":{"end_time":{"$ref":"#/components/schemas/DateTime"},"kind":{"$ref":"#/components/schemas/UsageKind"},"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonLicense"}]},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"plan":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPlan"}]},"start_time":{"$ref":"#/components/schemas/DateTime"},"usage":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["end_time","kind","organization","start_time"]},"JsonUser":{"type":"object","properties":{"admin":{"type":"boolean"},"email":{"$ref":"#/components/schemas/Email"},"locked":{"type":"boolean"},"name":{"$ref":"#/components/schemas/UserName"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/UserUuid"}},"required":["admin","email","locked","name","slug","uuid"]},"JsonVersion":{"type":"object","properties":{"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"number":{"$ref":"#/components/schemas/VersionNumber"}},"required":["number"]},"Jwt":{"type":"string"},"LastFour":{"type":"string"},"LogLevel":{"type":"string","enum":["trace","debug","info","warn","error","critical"]},"MeasureUuid":{"type":"string","format":"uuid"},"NonEmpty":{"type":"string"},"OrganizationRole":{"type":"string","enum":["leader"]},"OrganizationUuid":{"type":"string","format":"uuid"},"PlanLevel":{"type":"string","enum":["free","team","enterprise"]},"PlanStatus":{"type":"string","enum":["active","canceled","incomplete","incomplete_expired","past_due","paused","trialing","unpaid"]},"ProjectUuid":{"type":"string","format":"uuid"},"ReportUuid":{"type":"string","format":"uuid"},"ResourceId":{"type":"string"},"SampleSize":{"type":"integer","format":"uint32","minimum":0},"Secret":{"type":"string"},"ServerLog":{"oneOf":[{"type":"object","properties":{"stderr_terminal":{"type":"object","properties":{"level":{"$ref":"#/components/schemas/LogLevel"}},"required":["level"]}},"required":["stderr_terminal"],"additionalProperties":false},{"type":"object","properties":{"file":{"type":"object","properties":{"if_exists":{"$ref":"#/components/schemas/IfExists"},"level":{"$ref":"#/components/schemas/LogLevel"},"path":{"type":"string"}},"required":["if_exists","level","path"]}},"required":["file"],"additionalProperties":false}]},"ServerUuid":{"type":"string","format":"uuid"},"Slug":{"type":"string"},"StatisticKind":{"type":"string","enum":["z","t"]},"StatisticUuid":{"type":"string","format":"uuid"},"TestbedUuid":{"type":"string","format":"uuid"},"ThresholdUuid":{"type":"string","format":"uuid"},"TokenUuid":{"type":"string","format":"uuid"},"Url":{"type":"string"},"UsageKind":{"type":"string","enum":["cloud_free","cloud_metered","cloud_licensed","cloud_self_hosted_licensed","self_hosted_free","self_hosted_licensed"]},"UserName":{"type":"string"},"UserUuid":{"type":"string","format":"uuid"},"VersionNumber":{"type":"integer","format":"uint32","minimum":0},"Visibility":{"type":"string","enum":["public","private"]},"Window":{"type":"integer","format":"uint32","minimum":0},"JsonDirection":{"type":"string","enum":["asc","desc"]},"OrganizationsSort":{"type":"string","enum":["name"]},"OrganizationPermission":{"type":"string","enum":["view","create","edit","delete","manage","view_role","create_role","edit_role","delete_role"]},"OrgMembersSort":{"type":"string","enum":["name"]},"OrgProjectsSort":{"type":"string","enum":["name"]},"ProjectsSort":{"type":"string","enum":["name"]},"ProjAlertsSort":{"type":"string","enum":["created","modified"]},"ProjectPermission":{"type":"string","enum":["view","create","edit","delete","manage","view_role","create_role","edit_role","delete_role"]},"ProjBenchmarksSort":{"type":"string","enum":["name"]},"ProjBranchesSort":{"type":"string","enum":["name"]},"ProjMeasuresSort":{"type":"string","enum":["name"]},"DateTimeMillis":{"$ref":"#/components/schemas/TimestampMillis"},"TimestampMillis":{"type":"integer","format":"int64"},"ProjReportsSort":{"type":"string","enum":["date_time"]},"ProjTestbedsSort":{"type":"string","enum":["name"]},"ProjThresholdsSort":{"type":"string","enum":["created","modified"]},"UserTokensSort":{"type":"string","enum":["name"]}},"responses":{"Error":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"tags":[{"name":"alerts","description":"Alerts"},{"name":"allowed"},{"name":"auth","description":"Auth"},{"name":"benchmarks","description":"Benchmarks"},{"name":"branches","description":"Branches"},{"name":"config"},{"name":"endpoint"},{"name":"measures","description":"Measures"},{"name":"members"},{"name":"organizations","description":"Organizations"},{"name":"perf","description":"Perf Metrics"},{"name":"ping"},{"name":"plan"},{"name":"projects","description":"Projects"},{"name":"reports","description":"Reports"},{"name":"server","description":"Server"},{"name":"spec","description":"OpenAPI Spec"},{"name":"statistics","description":"Statistics"},{"name":"stats"},{"name":"testbeds","description":"Testbeds"},{"name":"thresholds","description":"Thresholds"},{"name":"tokens","description":"API Tokens"},{"name":"usage"},{"name":"users","description":"Users"},{"name":"version"}]}'); +module.exports = JSON.parse('{"openapi":"3.0.3","info":{"title":"Bencher API","version":"0.3.24"},"paths":{"/":{"get":{"tags":["server"],"operationId":"server_root_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Null","type":"string","enum":[null]}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/confirm":{"post":{"tags":["auth"],"operationId":"auth_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuthToken"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuthUser"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/login":{"post":{"tags":["auth"],"operationId":"auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonLogin"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuth"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/signup":{"post":{"tags":["auth"],"operationId":"auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonSignup"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuth"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations":{"get":{"tags":["organizations"],"operationId":"organizations_get","parameters":[{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/OrganizationsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganizations"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations"],"operationId":"organization_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewOrganization"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganization"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}":{"get":{"tags":["organizations"],"operationId":"organization_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganization"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["organizations"],"operationId":"organization_patch","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateOrganization"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonOrganization"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/allowed/{permission}":{"get":{"tags":["organizations","allowed"],"operationId":"org_allowed_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"permission","required":true,"schema":{"$ref":"#/components/schemas/OrganizationPermission"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAllowed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/members":{"get":{"tags":["organizations","members"],"operationId":"org_members_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/OrgMembersSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/UserName"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMembers"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations","members"],"operationId":"org_member_post","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewMember"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuth"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/members/{user}":{"get":{"tags":["organizations","members"],"operationId":"org_member_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMember"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["organizations","members"],"operationId":"org_member_delete","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["organizations","members"],"operationId":"org_member_patch","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateMember"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMember"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/plan":{"get":{"tags":["organizations","plan"],"operationId":"org_plan_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPlan"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations","plan"],"operationId":"org_plan_post","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewPlan"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPlan"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["organizations","plan"],"operationId":"org_plan_delete","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/projects":{"get":{"tags":["organizations","projects"],"operationId":"org_projects_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/OrgProjectsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProjects"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["organizations","projects"],"operationId":"org_project_post","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewProject"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProject"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/{organization}/usage":{"get":{"tags":["organizations","usage"],"operationId":"org_usage_get","parameters":[{"in":"path","name":"organization","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUsage"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects":{"get":{"tags":["projects"],"operationId":"projects_get","parameters":[{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjectsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}},{"in":"query","name":"public","schema":{"nullable":true,"type":"boolean"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProjects"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}":{"get":{"tags":["projects"],"operationId":"project_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProject"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects"],"operationId":"project_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects"],"operationId":"project_patch","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateProject"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonProject"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/alerts":{"get":{"tags":["projects","alerts"],"operationId":"proj_alerts_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjAlertsSort"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlerts"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/alerts/{alert}":{"get":{"tags":["projects","alerts"],"operationId":"proj_alert_get","parameters":[{"in":"path","name":"alert","required":true,"schema":{"$ref":"#/components/schemas/AlertUuid"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlert"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","alerts"],"operationId":"proj_alert_patch","parameters":[{"in":"path","name":"alert","required":true,"schema":{"$ref":"#/components/schemas/AlertUuid"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateAlert"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlert"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/allowed/{permission}":{"get":{"tags":["projects","allowed"],"operationId":"proj_allowed_get","parameters":[{"in":"path","name":"permission","required":true,"schema":{"$ref":"#/components/schemas/ProjectPermission"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAllowed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/benchmarks":{"get":{"tags":["projects","benchmarks"],"operationId":"proj_benchmarks_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjBenchmarksSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/BenchmarkName"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmarks"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewBenchmark"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmark"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/benchmarks/{benchmark}":{"get":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_get","parameters":[{"in":"path","name":"benchmark","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmark"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_delete","parameters":[{"in":"path","name":"benchmark","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","benchmarks"],"operationId":"proj_benchmark_patch","parameters":[{"in":"path","name":"benchmark","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateBenchmark"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBenchmark"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/branches":{"get":{"tags":["projects","branches"],"operationId":"proj_branches_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjBranchesSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/BranchName"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranches"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","branches"],"operationId":"proj_branch_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewBranch"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/branches/{branch}":{"get":{"tags":["projects","branches"],"operationId":"proj_branch_get","parameters":[{"in":"path","name":"branch","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","branches"],"operationId":"proj_branch_delete","parameters":[{"in":"path","name":"branch","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","branches"],"operationId":"proj_branch_patch","parameters":[{"in":"path","name":"branch","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateBranch"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/measures":{"get":{"tags":["projects","measures"],"operationId":"proj_measures_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjMeasuresSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasures"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","measures"],"operationId":"proj_measure_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewMeasure"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasure"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/measures/{measure}":{"get":{"tags":["projects","measures"],"operationId":"proj_measure_get","parameters":[{"in":"path","name":"measure","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasure"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","measures"],"operationId":"proj_measure_delete","parameters":[{"in":"path","name":"measure","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","measures"],"operationId":"proj_measure_patch","parameters":[{"in":"path","name":"measure","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateMeasure"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonMeasure"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/perf":{"get":{"tags":["projects","perf"],"operationId":"proj_perf_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"benchmarks","required":true,"schema":{"type":"string"}},{"in":"query","name":"branches","required":true,"schema":{"type":"string"}},{"in":"query","name":"end_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"measures","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"testbeds","required":true,"schema":{"type":"string"}},{"in":"query","name":"title","schema":{"nullable":true,"type":"string"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPerf"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/perf/img":{"get":{"tags":["projects","perf"],"operationId":"proj_perf_img_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"benchmarks","required":true,"schema":{"type":"string"}},{"in":"query","name":"branches","required":true,"schema":{"type":"string"}},{"in":"query","name":"end_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"measures","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"testbeds","required":true,"schema":{"type":"string"}},{"in":"query","name":"title","schema":{"nullable":true,"type":"string"}}],"responses":{"default":{"description":"","content":{"*/*":{"schema":{}}}}}}},"/v0/projects/{project}/reports":{"get":{"tags":["projects","reports"],"operationId":"proj_reports_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjReportsSort"}},{"in":"query","name":"branch","schema":{"nullable":true,"type":"string"}},{"in":"query","name":"end_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"start_time","schema":{"$ref":"#/components/schemas/DateTimeMillis"}},{"in":"query","name":"testbed","schema":{"nullable":true,"type":"string"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonReports"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","reports"],"operationId":"proj_report_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewReport"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonReport"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/reports/{report}":{"get":{"tags":["projects","reports"],"operationId":"proj_report_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"report","required":true,"schema":{"$ref":"#/components/schemas/ReportUuid"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonReport"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","reports"],"operationId":"proj_report_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"report","required":true,"schema":{"$ref":"#/components/schemas/ReportUuid"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/statistics/{statistic}":{"get":{"tags":["projects","statistics"],"operationId":"proj_statistic_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"statistic","required":true,"schema":{"$ref":"#/components/schemas/StatisticUuid"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonStatistic"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/stats/alerts":{"get":{"tags":["projects","alerts"],"operationId":"proj_alert_stats_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAlertStats"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/testbeds":{"get":{"tags":["projects","testbeds"],"operationId":"proj_testbeds_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjTestbedsSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbeds"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","testbeds"],"operationId":"proj_testbed_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewTestbed"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/testbeds/{testbed}":{"get":{"tags":["projects","testbeds"],"operationId":"proj_testbed_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"testbed","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","testbeds"],"operationId":"proj_testbed_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"testbed","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","testbeds"],"operationId":"proj_testbed_patch","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"testbed","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateTestbed"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTestbed"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/thresholds":{"get":{"tags":["projects","thresholds"],"operationId":"proj_thresholds_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/ProjThresholdsSort"}},{"in":"query","name":"branch","schema":{"nullable":true,"type":"string"}},{"in":"query","name":"measure","schema":{"nullable":true,"type":"string"}},{"in":"query","name":"testbed","schema":{"nullable":true,"type":"string"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThresholds"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","thresholds"],"operationId":"proj_threshold_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewThreshold"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThreshold"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/thresholds/{threshold}":{"get":{"tags":["projects","thresholds"],"operationId":"proj_threshold_get","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"threshold","required":true,"schema":{"$ref":"#/components/schemas/ThresholdUuid"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThreshold"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["projects","thresholds"],"operationId":"proj_threshold_put","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"threshold","required":true,"schema":{"$ref":"#/components/schemas/ThresholdUuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateThreshold"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonThreshold"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","thresholds"],"operationId":"proj_threshold_delete","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"threshold","required":true,"schema":{"$ref":"#/components/schemas/ThresholdUuid"}}],"responses":{"204":{"description":"successful deletion","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/backup":{"post":{"tags":["server"],"operationId":"server_backup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBackup"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonBackupCreated"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/config":{"get":{"tags":["server","config"],"operationId":"server_config_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonConfig"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"put":{"tags":["server","config"],"operationId":"server_config_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateConfig"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonConfig"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/endpoint":{"get":{"tags":["server","endpoint"],"operationId":"server_endpoint_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonEndpoint"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/ping":{"get":{"tags":["server","ping"],"operationId":"server_ping_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonPing"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/restart":{"post":{"tags":["server"],"operationId":"server_restart_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRestart"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Null","type":"string","enum":[null]}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/spec":{"get":{"tags":["server","spec"],"operationId":"server_spec_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonSpec"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/stats":{"get":{"tags":["server","stats"],"operationId":"server_stats_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonServerStats"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["server","stats"],"operationId":"server_stats_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonServerStats"}}},"required":true},"responses":{"202":{"description":"successfully enqueued operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"Null","type":"string","enum":[null]}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/server/version":{"get":{"tags":["server","version"],"operationId":"server_version_get","responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonApiVersion"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/users/{user}":{"get":{"tags":["users"],"operationId":"user_get","parameters":[{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUser"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/users/{user}/tokens":{"get":{"tags":["users","tokens"],"operationId":"user_tokens_get","parameters":[{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"query","name":"direction","schema":{"$ref":"#/components/schemas/JsonDirection"}},{"in":"query","name":"page","schema":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},{"in":"query","name":"per_page","schema":{"nullable":true,"type":"integer","format":"uint8","minimum":0}},{"in":"query","name":"sort","schema":{"$ref":"#/components/schemas/UserTokensSort"}},{"in":"query","name":"name","schema":{"$ref":"#/components/schemas/NonEmpty"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonTokens"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["users","tokens"],"operationId":"user_token_post","parameters":[{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewToken"}}},"required":true},"responses":{"201":{"description":"successful creation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/users/{user}/tokens/{token}":{"get":{"tags":["users","tokens"],"operationId":"user_token_get","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["users","tokens"],"operationId":"user_token_patch","parameters":[{"in":"path","name":"token","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"user","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateToken"}}},"required":true},"responses":{"200":{"description":"successful operation","headers":{"Access-Control-Allow-Credentials":{"style":"simple","schema":{"nullable":true,"type":"boolean"}},"Access-Control-Allow-Headers":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"style":"simple","required":true,"schema":{"type":"string"}},"Access-Control-Allow-Origin":{"style":"simple","required":true,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}}},"components":{"schemas":{"Adapter":{"type":"string","enum":["magic","json","rust","rust_bench","rust_criterion","rust_iai","cpp","cpp_google","cpp_catch2","go","go_bench","java","java_jmh","c_sharp","c_sharp_dot_net","js","js_benchmark","js_time","python","python_asv","python_pytest","ruby","ruby_benchmark","shell","shell_hyperfine"]},"AlertStatus":{"type":"string","enum":["active","dismissed"]},"AlertUuid":{"type":"string","format":"uuid"},"BenchmarkName":{"type":"string"},"BenchmarkUuid":{"type":"string","format":"uuid"},"BigInt":{"type":"integer","format":"uint64","minimum":0},"Boundary":{"type":"number","format":"double"},"BoundaryLimit":{"type":"string","enum":["lower","upper"]},"BranchName":{"type":"string"},"BranchUuid":{"type":"string","format":"uuid"},"CardBrand":{"type":"string","enum":["amex","diners","discover","jcb","mastercard","unionpay","visa","unknown"]},"CardCvc":{"type":"string"},"CardNumber":{"type":"string"},"DataStore":{"oneOf":[{"type":"object","properties":{"access_key_id":{"type":"string"},"access_point":{"type":"string"},"secret_access_key":{"$ref":"#/components/schemas/Secret"},"service":{"type":"string","enum":["aws_s3"]}},"required":["access_key_id","access_point","secret_access_key","service"]}]},"DateTime":{"type":"string","format":"date-time"},"Email":{"type":"string"},"Entitlements":{"type":"integer","format":"uint32","minimum":0},"Error":{"description":"Error information from a response.","type":"object","properties":{"error_code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["message","request_id"]},"ExpirationMonth":{"type":"integer","format":"int32"},"ExpirationYear":{"type":"integer","format":"int32"},"GitHash":{"type":"string"},"IfExists":{"type":"string","enum":["fail","truncate","append"]},"Iteration":{"type":"integer","format":"uint32","minimum":0},"JsonAlert":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmarkMetric"},"created":{"$ref":"#/components/schemas/DateTime"},"iteration":{"$ref":"#/components/schemas/Iteration"},"limit":{"$ref":"#/components/schemas/BoundaryLimit"},"modified":{"$ref":"#/components/schemas/DateTime"},"report":{"$ref":"#/components/schemas/ReportUuid"},"status":{"$ref":"#/components/schemas/AlertStatus"},"threshold":{"$ref":"#/components/schemas/JsonThreshold"},"uuid":{"$ref":"#/components/schemas/AlertUuid"}},"required":["benchmark","created","iteration","limit","modified","report","status","threshold","uuid"]},"JsonAlertStats":{"type":"object","properties":{"active":{"$ref":"#/components/schemas/BigInt"}},"required":["active"]},"JsonAlerts":{"type":"array","items":{"$ref":"#/components/schemas/JsonAlert"}},"JsonAllowed":{"type":"object","properties":{"allowed":{"type":"boolean"}},"required":["allowed"]},"JsonApiVersion":{"type":"object","properties":{"version":{"type":"string"}},"required":["version"]},"JsonAuth":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"}},"required":["email"]},"JsonAuthToken":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/Jwt"}},"required":["token"]},"JsonAuthUser":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/Jwt"},"user":{"$ref":"#/components/schemas/JsonUser"}},"required":["token","user"]},"JsonAverage":{"type":"string","enum":["mean","median"]},"JsonBackup":{"type":"object","properties":{"compress":{"nullable":true,"type":"boolean"},"data_store":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonDataStore"}]},"rm":{"nullable":true,"type":"boolean"}}},"JsonBackupCreated":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"}},"required":["created"]},"JsonBenchmark":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BenchmarkUuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBenchmarkMetric":{"type":"object","properties":{"boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonBoundary"}]},"created":{"$ref":"#/components/schemas/DateTime"},"metric":{"$ref":"#/components/schemas/JsonMetric"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BenchmarkUuid"}},"required":["created","metric","modified","name","project","slug","uuid"]},"JsonBenchmarks":{"type":"array","items":{"$ref":"#/components/schemas/JsonBenchmark"}},"JsonBilling":{"type":"object","properties":{"products":{"$ref":"#/components/schemas/JsonProducts"},"secret_key":{"$ref":"#/components/schemas/Secret"}},"required":["products","secret_key"]},"JsonBoundary":{"type":"object","properties":{"baseline":{"type":"number","format":"double"},"lower_limit":{"nullable":true,"type":"number","format":"double"},"upper_limit":{"nullable":true,"type":"number","format":"double"}},"required":["baseline"]},"JsonBranch":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BranchUuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBranchVersion":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/BranchUuid"},"version":{"$ref":"#/components/schemas/JsonVersion"}},"required":["created","modified","name","project","slug","uuid","version"]},"JsonBranches":{"type":"array","items":{"$ref":"#/components/schemas/JsonBranch"}},"JsonCard":{"type":"object","properties":{"cvc":{"$ref":"#/components/schemas/CardCvc"},"exp_month":{"$ref":"#/components/schemas/ExpirationMonth"},"exp_year":{"$ref":"#/components/schemas/ExpirationYear"},"number":{"$ref":"#/components/schemas/CardNumber"}},"required":["cvc","exp_month","exp_year","number"]},"JsonCardDetails":{"type":"object","properties":{"brand":{"$ref":"#/components/schemas/CardBrand"},"exp_month":{"$ref":"#/components/schemas/ExpirationMonth"},"exp_year":{"$ref":"#/components/schemas/ExpirationYear"},"last_four":{"$ref":"#/components/schemas/LastFour"}},"required":["brand","exp_month","exp_year","last_four"]},"JsonCloud":{"type":"object","properties":{"billing":{"$ref":"#/components/schemas/JsonBilling"},"license_pem":{"$ref":"#/components/schemas/Secret"},"sentry":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Secret"}]}},"required":["billing","license_pem"]},"JsonCohort":{"type":"object","properties":{"month":{"type":"integer","format":"uint64","minimum":0},"total":{"type":"integer","format":"uint64","minimum":0},"week":{"type":"integer","format":"uint64","minimum":0}},"required":["month","total","week"]},"JsonCohortAvg":{"type":"object","properties":{"month":{"type":"number","format":"double"},"total":{"type":"number","format":"double"},"week":{"type":"number","format":"double"}},"required":["month","total","week"]},"JsonConfig":{"type":"object","properties":{"console":{"$ref":"#/components/schemas/JsonConsole"},"database":{"$ref":"#/components/schemas/JsonDatabase"},"logging":{"$ref":"#/components/schemas/JsonLogging"},"plus":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPlus"}]},"security":{"$ref":"#/components/schemas/JsonSecurity"},"server":{"$ref":"#/components/schemas/JsonServer"},"smtp":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonSmtp"}]}},"required":["console","database","logging","security","server"]},"JsonConsole":{"type":"object","properties":{"url":{"$ref":"#/components/schemas/Url"}},"required":["url"]},"JsonCustomer":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"name":{"$ref":"#/components/schemas/NonEmpty"},"uuid":{"$ref":"#/components/schemas/UserUuid"}},"required":["email","name","uuid"]},"JsonDataStore":{"type":"string","enum":["aws_s3"]},"JsonDatabase":{"type":"object","properties":{"data_store":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DataStore"}]},"file":{"type":"string"}},"required":["file"]},"JsonEndpoint":{"type":"object","properties":{"endpoint":{"$ref":"#/components/schemas/Url"}},"required":["endpoint"]},"JsonFold":{"type":"string","enum":["min","max","mean","median"]},"JsonLicense":{"type":"object","properties":{"entitlements":{"$ref":"#/components/schemas/Entitlements"},"expiration":{"$ref":"#/components/schemas/DateTime"},"issued_at":{"$ref":"#/components/schemas/DateTime"},"key":{"$ref":"#/components/schemas/Jwt"},"level":{"$ref":"#/components/schemas/PlanLevel"},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"self_hosted":{"type":"boolean"}},"required":["entitlements","expiration","issued_at","key","level","organization","self_hosted"]},"JsonLogging":{"type":"object","properties":{"log":{"$ref":"#/components/schemas/ServerLog"},"name":{"type":"string"}},"required":["log","name"]},"JsonLogin":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"invite":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"plan":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PlanLevel"}]}},"required":["email"]},"JsonMeasure":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"units":{"$ref":"#/components/schemas/NonEmpty"},"uuid":{"$ref":"#/components/schemas/MeasureUuid"}},"required":["created","modified","name","project","slug","units","uuid"]},"JsonMeasures":{"type":"array","items":{"$ref":"#/components/schemas/JsonMeasure"}},"JsonMember":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"email":{"$ref":"#/components/schemas/Email"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/UserName"},"role":{"$ref":"#/components/schemas/OrganizationRole"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/UserUuid"}},"required":["created","email","modified","name","role","slug","uuid"]},"JsonMembers":{"type":"array","items":{"$ref":"#/components/schemas/JsonMember"}},"JsonMetric":{"type":"object","properties":{"lower_value":{"nullable":true,"type":"number","format":"double"},"upper_value":{"nullable":true,"type":"number","format":"double"},"value":{"type":"number","format":"double"}},"required":["value"]},"JsonNewBenchmark":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/BenchmarkName"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["name"]},"JsonNewBranch":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/BranchName"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"soft":{"nullable":true,"type":"boolean"},"start_point":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonStartPoint"}]}},"required":["name"]},"JsonNewMeasure":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"units":{"$ref":"#/components/schemas/NonEmpty"}},"required":["name","units"]},"JsonNewMember":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserName"}]},"role":{"$ref":"#/components/schemas/OrganizationRole"}},"required":["email","role"]},"JsonNewOrganization":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["name"]},"JsonNewPlan":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/JsonCard"},"customer":{"$ref":"#/components/schemas/JsonCustomer"},"entitlements":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Entitlements"}]},"i_agree":{"description":"I agree to the Bencher Subscription Agreement (https://bencher.dev/legal/subscription)","type":"boolean"},"level":{"$ref":"#/components/schemas/PlanLevel"},"organization":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OrganizationUuid"}]}},"required":["card","customer","i_agree","level"]},"JsonNewProject":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"visibility":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Visibility"}]}},"required":["name"]},"JsonNewReport":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/NameId"},"end_time":{"$ref":"#/components/schemas/DateTime"},"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"results":{"type":"array","items":{"type":"string"}},"settings":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonReportSettings"}]},"start_time":{"$ref":"#/components/schemas/DateTime"},"testbed":{"$ref":"#/components/schemas/NameId"}},"required":["branch","end_time","results","start_time","testbed"]},"JsonNewTestbed":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["name"]},"JsonNewThreshold":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/NameId"},"lower_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"max_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"measure":{"$ref":"#/components/schemas/NameId"},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/StatisticKind"},"testbed":{"$ref":"#/components/schemas/NameId"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Window"}]}},"required":["branch","measure","test","testbed"]},"JsonNewToken":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"ttl":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["name"]},"JsonOrganization":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/OrganizationUuid"}},"required":["created","modified","name","slug","uuid"]},"JsonOrganizationPatch":{"type":"object","properties":{"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonOrganizationPatchNull":{"type":"object","properties":{"license":{"type":"string","enum":[null]},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["license"]},"JsonOrganizations":{"type":"array","items":{"$ref":"#/components/schemas/JsonOrganization"}},"JsonPerf":{"type":"object","properties":{"end_time":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DateTime"}]},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetrics"}},"start_time":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/DateTime"}]}},"required":["project","results"]},"JsonPerfAlert":{"type":"object","properties":{"limit":{"$ref":"#/components/schemas/BoundaryLimit"},"modified":{"$ref":"#/components/schemas/DateTime"},"status":{"$ref":"#/components/schemas/AlertStatus"},"uuid":{"$ref":"#/components/schemas/AlertUuid"}},"required":["limit","modified","status","uuid"]},"JsonPerfMetric":{"type":"object","properties":{"alert":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPerfAlert"}]},"boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonBoundary"}]},"end_time":{"$ref":"#/components/schemas/DateTime"},"iteration":{"$ref":"#/components/schemas/Iteration"},"metric":{"$ref":"#/components/schemas/JsonMetric"},"report":{"$ref":"#/components/schemas/ReportUuid"},"start_time":{"$ref":"#/components/schemas/DateTime"},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]},"version":{"$ref":"#/components/schemas/JsonVersion"}},"required":["end_time","iteration","metric","report","start_time","version"]},"JsonPerfMetrics":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmark"},"branch":{"$ref":"#/components/schemas/JsonBranch"},"measure":{"$ref":"#/components/schemas/JsonMeasure"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetric"}},"testbed":{"$ref":"#/components/schemas/JsonTestbed"}},"required":["benchmark","branch","measure","metrics","testbed"]},"JsonPing":{"type":"string","enum":["pong"]},"JsonPlan":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/JsonCardDetails"},"current_period_end":{"$ref":"#/components/schemas/DateTime"},"current_period_start":{"$ref":"#/components/schemas/DateTime"},"customer":{"$ref":"#/components/schemas/JsonCustomer"},"level":{"$ref":"#/components/schemas/PlanLevel"},"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonLicense"}]},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"status":{"$ref":"#/components/schemas/PlanStatus"},"unit_amount":{"$ref":"#/components/schemas/BigInt"}},"required":["card","current_period_end","current_period_start","customer","level","organization","status","unit_amount"]},"JsonPlus":{"type":"object","properties":{"cloud":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonCloud"}]},"stats":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonStats"}]}}},"JsonProduct":{"type":"object","properties":{"id":{"type":"string"},"licensed":{"type":"object","additionalProperties":{"type":"string"}},"metered":{"type":"object","additionalProperties":{"type":"string"}}},"required":["id","licensed","metered"]},"JsonProducts":{"type":"object","properties":{"enterprise":{"$ref":"#/components/schemas/JsonProduct"},"team":{"$ref":"#/components/schemas/JsonProduct"}},"required":["enterprise","team"]},"JsonProject":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"uuid":{"$ref":"#/components/schemas/ProjectUuid"},"visibility":{"$ref":"#/components/schemas/Visibility"}},"required":["created","modified","name","organization","slug","uuid","visibility"]},"JsonProjectPatch":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"visibility":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Visibility"}]}}},"JsonProjectPatchNull":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"url":{"type":"string","enum":[null]},"visibility":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Visibility"}]}},"required":["url"]},"JsonProjects":{"type":"array","items":{"$ref":"#/components/schemas/JsonProject"}},"JsonReport":{"type":"object","properties":{"adapter":{"$ref":"#/components/schemas/Adapter"},"alerts":{"type":"array","items":{"$ref":"#/components/schemas/JsonAlert"}},"branch":{"$ref":"#/components/schemas/JsonBranchVersion"},"created":{"$ref":"#/components/schemas/DateTime"},"end_time":{"$ref":"#/components/schemas/DateTime"},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/JsonReportResult"}}},"start_time":{"$ref":"#/components/schemas/DateTime"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"user":{"$ref":"#/components/schemas/JsonUser"},"uuid":{"$ref":"#/components/schemas/ReportUuid"}},"required":["adapter","alerts","branch","created","end_time","project","results","start_time","testbed","user","uuid"]},"JsonReportResult":{"type":"object","properties":{"benchmarks":{"type":"array","items":{"$ref":"#/components/schemas/JsonBenchmarkMetric"}},"measure":{"$ref":"#/components/schemas/JsonMeasure"},"metric_kind":{"nullable":true,"description":"TODO remove in due time","allOf":[{"$ref":"#/components/schemas/JsonMeasure"}]},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]}},"required":["benchmarks","measure"]},"JsonReportSettings":{"type":"object","properties":{"adapter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Adapter"}]},"average":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonAverage"}]},"fold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonFold"}]}}},"JsonReports":{"type":"array","items":{"$ref":"#/components/schemas/JsonReport"}},"JsonRestart":{"type":"object","properties":{"delay":{"nullable":true,"type":"integer","format":"uint64","minimum":0}}},"JsonSecurity":{"type":"object","properties":{"issuer":{"nullable":true,"type":"string"},"secret_key":{"$ref":"#/components/schemas/Secret"}},"required":["secret_key"]},"JsonServer":{"type":"object","properties":{"bind_address":{"type":"string"},"request_body_max_bytes":{"type":"integer","format":"uint","minimum":0},"tls":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonTls"}]}},"required":["bind_address","request_body_max_bytes"]},"JsonServer2":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"uuid":{"$ref":"#/components/schemas/ServerUuid"}},"required":["created","uuid"]},"JsonServerStats":{"type":"object","properties":{"active_projects":{"$ref":"#/components/schemas/JsonCohort"},"metrics":{"$ref":"#/components/schemas/JsonCohort"},"metrics_per_report":{"$ref":"#/components/schemas/JsonCohortAvg"},"organizations":{"$ref":"#/components/schemas/JsonOrganizations"},"projects":{"$ref":"#/components/schemas/JsonCohort"},"reports":{"$ref":"#/components/schemas/JsonCohort"},"reports_per_project":{"$ref":"#/components/schemas/JsonCohortAvg"},"server":{"$ref":"#/components/schemas/JsonServer2"},"timestamp":{"$ref":"#/components/schemas/DateTime"},"users":{"$ref":"#/components/schemas/JsonCohort"}},"required":["active_projects","metrics","metrics_per_report","organizations","projects","reports","reports_per_project","server","timestamp","users"]},"JsonSignup":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"i_agree":{"description":"I agree to the Bencher Terms of Use (https://bencher.dev/legal/terms-of-use), Privacy Policy (https://bencher.dev/legal/privacy), and License Agreement (https://bencher.dev/legal/license)","type":"boolean"},"invite":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Jwt"}]},"name":{"$ref":"#/components/schemas/UserName"},"plan":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/PlanLevel"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}},"required":["email","i_agree","name"]},"JsonSmtp":{"type":"object","properties":{"from_email":{"$ref":"#/components/schemas/Email"},"from_name":{"$ref":"#/components/schemas/NonEmpty"},"hostname":{"$ref":"#/components/schemas/NonEmpty"},"port":{"nullable":true,"type":"integer","format":"uint16","minimum":0},"secret":{"$ref":"#/components/schemas/Secret"},"starttls":{"nullable":true,"type":"boolean"},"username":{"$ref":"#/components/schemas/NonEmpty"}},"required":["from_email","from_name","hostname","secret","username"]},"JsonSpec":{},"JsonStartPoint":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/NameId"},"thresholds":{"nullable":true,"type":"boolean"}},"required":["branch"]},"JsonStatistic":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"lower_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"max_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/StatisticKind"},"threshold":{"$ref":"#/components/schemas/ThresholdUuid"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"uuid":{"$ref":"#/components/schemas/StatisticUuid"},"window":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Window"}]}},"required":["created","test","threshold","uuid"]},"JsonStats":{"type":"object","properties":{"enabled":{"nullable":true,"type":"boolean"},"offset":{"nullable":true,"type":"integer","format":"uint32","minimum":0}}},"JsonTestbed":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"modified":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/TestbedUuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonTestbeds":{"type":"array","items":{"$ref":"#/components/schemas/JsonTestbed"}},"JsonThreshold":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/JsonBranch"},"created":{"$ref":"#/components/schemas/DateTime"},"measure":{"$ref":"#/components/schemas/JsonMeasure"},"metric_kind":{"nullable":true,"description":"TODO remove in due time","allOf":[{"$ref":"#/components/schemas/JsonMeasure"}]},"modified":{"$ref":"#/components/schemas/DateTime"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"uuid":{"$ref":"#/components/schemas/ThresholdUuid"}},"required":["branch","created","measure","modified","project","statistic","testbed","uuid"]},"JsonThresholdStatistic":{"type":"object","properties":{"created":{"$ref":"#/components/schemas/DateTime"},"project":{"$ref":"#/components/schemas/ProjectUuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"uuid":{"$ref":"#/components/schemas/ThresholdUuid"}},"required":["created","project","statistic","uuid"]},"JsonThresholds":{"type":"array","items":{"$ref":"#/components/schemas/JsonThreshold"}},"JsonTls":{"oneOf":[{"type":"object","properties":{"cert_file":{"type":"string"},"key_file":{"type":"string"},"type":{"type":"string","enum":["as_file"]}},"required":["cert_file","key_file","type"]},{"type":"object","properties":{"certs":{"type":"array","items":{"type":"integer","format":"uint8","minimum":0}},"key":{"type":"array","items":{"type":"integer","format":"uint8","minimum":0}},"type":{"type":"string","enum":["as_bytes"]}},"required":["certs","key","type"]}]},"JsonToken":{"type":"object","properties":{"creation":{"$ref":"#/components/schemas/DateTime"},"expiration":{"$ref":"#/components/schemas/DateTime"},"name":{"$ref":"#/components/schemas/NonEmpty"},"token":{"$ref":"#/components/schemas/Jwt"},"user":{"$ref":"#/components/schemas/UserUuid"},"uuid":{"$ref":"#/components/schemas/TokenUuid"}},"required":["creation","expiration","name","token","user","uuid"]},"JsonTokens":{"type":"array","items":{"$ref":"#/components/schemas/JsonToken"}},"JsonUpdateAlert":{"type":"object","properties":{"status":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AlertStatus"}]}}},"JsonUpdateBenchmark":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BenchmarkName"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonUpdateBranch":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BranchName"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonUpdateConfig":{"type":"object","properties":{"config":{"$ref":"#/components/schemas/JsonConfig"},"delay":{"nullable":true,"type":"integer","format":"uint64","minimum":0}},"required":["config"]},"JsonUpdateMeasure":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"units":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]}}},"JsonUpdateMember":{"type":"object","properties":{"role":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/OrganizationRole"}]}}},"JsonUpdateOrganization":{"anyOf":[{"$ref":"#/components/schemas/JsonOrganizationPatch"},{"$ref":"#/components/schemas/JsonOrganizationPatchNull"}]},"JsonUpdateProject":{"anyOf":[{"$ref":"#/components/schemas/JsonProjectPatch"},{"$ref":"#/components/schemas/JsonProjectPatchNull"}]},"JsonUpdateTestbed":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"JsonUpdateThreshold":{"type":"object","properties":{"lower_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"max_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/StatisticKind"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Window"}]}},"required":["test"]},"JsonUpdateToken":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]}}},"JsonUsage":{"type":"object","properties":{"end_time":{"$ref":"#/components/schemas/DateTime"},"kind":{"$ref":"#/components/schemas/UsageKind"},"license":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonLicense"}]},"organization":{"$ref":"#/components/schemas/OrganizationUuid"},"plan":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPlan"}]},"start_time":{"$ref":"#/components/schemas/DateTime"},"usage":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["end_time","kind","organization","start_time"]},"JsonUser":{"type":"object","properties":{"admin":{"type":"boolean"},"email":{"$ref":"#/components/schemas/Email"},"locked":{"type":"boolean"},"name":{"$ref":"#/components/schemas/UserName"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"$ref":"#/components/schemas/UserUuid"}},"required":["admin","email","locked","name","slug","uuid"]},"JsonVersion":{"type":"object","properties":{"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"number":{"$ref":"#/components/schemas/VersionNumber"}},"required":["number"]},"Jwt":{"type":"string"},"LastFour":{"type":"string"},"LogLevel":{"type":"string","enum":["trace","debug","info","warn","error","critical"]},"MeasureUuid":{"type":"string","format":"uuid"},"NameId":{"type":"string"},"NonEmpty":{"type":"string"},"OrganizationRole":{"type":"string","enum":["leader"]},"OrganizationUuid":{"type":"string","format":"uuid"},"PlanLevel":{"type":"string","enum":["free","team","enterprise"]},"PlanStatus":{"type":"string","enum":["active","canceled","incomplete","incomplete_expired","past_due","paused","trialing","unpaid"]},"ProjectUuid":{"type":"string","format":"uuid"},"ReportUuid":{"type":"string","format":"uuid"},"SampleSize":{"type":"integer","format":"uint32","minimum":0},"Secret":{"type":"string"},"ServerLog":{"oneOf":[{"type":"object","properties":{"stderr_terminal":{"type":"object","properties":{"level":{"$ref":"#/components/schemas/LogLevel"}},"required":["level"]}},"required":["stderr_terminal"],"additionalProperties":false},{"type":"object","properties":{"file":{"type":"object","properties":{"if_exists":{"$ref":"#/components/schemas/IfExists"},"level":{"$ref":"#/components/schemas/LogLevel"},"path":{"type":"string"}},"required":["if_exists","level","path"]}},"required":["file"],"additionalProperties":false}]},"ServerUuid":{"type":"string","format":"uuid"},"Slug":{"type":"string"},"StatisticKind":{"type":"string","enum":["z","t"]},"StatisticUuid":{"type":"string","format":"uuid"},"TestbedUuid":{"type":"string","format":"uuid"},"ThresholdUuid":{"type":"string","format":"uuid"},"TokenUuid":{"type":"string","format":"uuid"},"Url":{"type":"string"},"UsageKind":{"type":"string","enum":["cloud_free","cloud_metered","cloud_licensed","cloud_self_hosted_licensed","self_hosted_free","self_hosted_licensed"]},"UserName":{"type":"string"},"UserUuid":{"type":"string","format":"uuid"},"VersionNumber":{"type":"integer","format":"uint32","minimum":0},"Visibility":{"type":"string","enum":["public","private"]},"Window":{"type":"integer","format":"uint32","minimum":0},"JsonDirection":{"type":"string","enum":["asc","desc"]},"OrganizationsSort":{"type":"string","enum":["name"]},"ResourceId":{"type":"string"},"OrganizationPermission":{"type":"string","enum":["view","create","edit","delete","manage","view_role","create_role","edit_role","delete_role"]},"OrgMembersSort":{"type":"string","enum":["name"]},"OrgProjectsSort":{"type":"string","enum":["name"]},"ProjectsSort":{"type":"string","enum":["name"]},"ProjAlertsSort":{"type":"string","enum":["created","modified"]},"ProjectPermission":{"type":"string","enum":["view","create","edit","delete","manage","view_role","create_role","edit_role","delete_role"]},"ProjBenchmarksSort":{"type":"string","enum":["name"]},"ProjBranchesSort":{"type":"string","enum":["name"]},"ProjMeasuresSort":{"type":"string","enum":["name"]},"DateTimeMillis":{"$ref":"#/components/schemas/TimestampMillis"},"TimestampMillis":{"type":"integer","format":"int64"},"ProjReportsSort":{"type":"string","enum":["date_time"]},"ProjTestbedsSort":{"type":"string","enum":["name"]},"ProjThresholdsSort":{"type":"string","enum":["created","modified"]},"UserTokensSort":{"type":"string","enum":["name"]}},"responses":{"Error":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"tags":[{"name":"alerts","description":"Alerts"},{"name":"allowed"},{"name":"auth","description":"Auth"},{"name":"benchmarks","description":"Benchmarks"},{"name":"branches","description":"Branches"},{"name":"config"},{"name":"endpoint"},{"name":"measures","description":"Measures"},{"name":"members"},{"name":"organizations","description":"Organizations"},{"name":"perf","description":"Perf Metrics"},{"name":"ping"},{"name":"plan"},{"name":"projects","description":"Projects"},{"name":"reports","description":"Reports"},{"name":"server","description":"Server"},{"name":"spec","description":"OpenAPI Spec"},{"name":"statistics","description":"Statistics"},{"name":"stats"},{"name":"testbeds","description":"Testbeds"},{"name":"thresholds","description":"Thresholds"},{"name":"tokens","description":"API Tokens"},{"name":"usage"},{"name":"users","description":"Users"},{"name":"version"}]}'); /***/ }) diff --git a/services/console/package-lock.json b/services/console/package-lock.json index 57ac7a0fd..fb5706f6a 100644 --- a/services/console/package-lock.json +++ b/services/console/package-lock.json @@ -1,12 +1,12 @@ { "name": "bencher-ui", - "version": "0.3.23", + "version": "0.3.24", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bencher-ui", - "version": "0.3.23", + "version": "0.3.24", "dependencies": { "@astrojs/check": "^0.3.1", "@astrojs/mdx": "^1.1.5", diff --git a/services/console/package.json b/services/console/package.json index 2cdf1ddd9..cb33771bc 100644 --- a/services/console/package.json +++ b/services/console/package.json @@ -1,7 +1,7 @@ { "name": "bencher-ui", "type": "module", - "version": "0.3.23", + "version": "0.3.24", "scripts": { "fmt": "npx biome format --write .", "typeshare": "typeshare ../.. --lang=typescript --output-file=./src/types/bencher.ts", diff --git a/services/console/src/chunks/reference/en/changelog.mdx b/services/console/src/chunks/reference/en/changelog.mdx index 7ed0925d1..d37e6a08c 100644 --- a/services/console/src/chunks/reference/en/changelog.mdx +++ b/services/console/src/chunks/reference/en/changelog.mdx @@ -1,4 +1,4 @@ -## Pending `v0.3.24` +## `v0.3.24` - Add URL fragment links to all headings [🔗](#v0324) - Fix browser navigation to replace history for automatic query args, like pagination - Scroll to top of page when changing paginated pages