diff --git a/Cargo.lock b/Cargo.lock index db602e7e8..0b5332008 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -651,7 +651,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "bencher_adapter" -version = "0.3.10" +version = "0.3.11" dependencies = [ "bencher_json", "criterion", @@ -668,7 +668,7 @@ dependencies = [ [[package]] name = "bencher_api" -version = "0.3.10" +version = "0.3.11" dependencies = [ "async-compression", "aws-credential-types", @@ -713,7 +713,7 @@ dependencies = [ [[package]] name = "bencher_billing" -version = "0.3.10" +version = "0.3.11" dependencies = [ "async-stripe", "bencher_json", @@ -728,7 +728,7 @@ dependencies = [ [[package]] name = "bencher_cli" -version = "0.3.10" +version = "0.3.11" dependencies = [ "assert_cmd", "async-trait", @@ -755,7 +755,7 @@ dependencies = [ [[package]] name = "bencher_client" -version = "0.3.10" +version = "0.3.11" dependencies = [ "bencher_json", "chrono", @@ -772,7 +772,7 @@ dependencies = [ [[package]] name = "bencher_json" -version = "0.3.10" +version = "0.3.11" dependencies = [ "bencher_valid", "chrono", @@ -794,7 +794,7 @@ dependencies = [ [[package]] name = "bencher_license" -version = "0.3.10" +version = "0.3.11" dependencies = [ "bencher_plus", "bencher_valid", @@ -810,7 +810,7 @@ dependencies = [ [[package]] name = "bencher_plot" -version = "0.3.10" +version = "0.3.11" dependencies = [ "bencher_json", "chrono", @@ -825,7 +825,7 @@ dependencies = [ [[package]] name = "bencher_plus" -version = "0.3.10" +version = "0.3.11" dependencies = [ "once_cell", "url", @@ -833,7 +833,7 @@ dependencies = [ [[package]] name = "bencher_rbac" -version = "0.3.10" +version = "0.3.11" dependencies = [ "bencher_json", "literally", @@ -844,7 +844,7 @@ dependencies = [ [[package]] name = "bencher_valid" -version = "0.3.10" +version = "0.3.11" dependencies = [ "base64 0.21.3", "chrono", @@ -6058,7 +6058,7 @@ checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd" [[package]] name = "xtask" -version = "0.3.10" +version = "0.3.11" dependencies = [ "anyhow", "camino", diff --git a/Cargo.toml b/Cargo.toml index 3c1c71378..3575655e7 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.10" +version = "0.3.11" authors = ["Everett Pompeii "] edition = "2021" diff --git a/changelog.md b/changelog.md index 3f7e8f517..c783c661d 100644 --- a/changelog.md +++ b/changelog.md @@ -4,7 +4,7 @@ heading: "Bencher Changelog" sortOrder: 4 --- -## Pending `v0.3.11` +## `v0.3.11` - Add strongly typed IDs for database entities - Remove deprecated configuration keys (`endpoint` => `console.url` and `secret_key` => `security.secret_key`) diff --git a/services/action/dist/index.js b/services/action/dist/index.js index 51264cd60..eeee1d942 100644 --- a/services/action/dist/index.js +++ b/services/action/dist/index.js @@ -6826,7 +6826,7 @@ module.exports = require("util"); /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"openapi":"3.0.3","info":{"title":"Bencher API","version":"0.3.10"},"paths":{"/v0/auth/confirm":{"post":{"tags":["auth"],"operationId":"auth_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuthToken"}}},"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/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/JsonEmpty"}}}},"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/JsonEmpty"}}}},"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":{"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/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":{"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/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/JsonOrganizationPermission"}}],"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/JsonEmpty"}}}},"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":{"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/JsonMember"}}}},"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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/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"}},{"in":"query","name":"end","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"query","name":"start","required":true,"schema":{"type":"integer","format":"int64"}}],"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":{"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/JsonEmpty"}}}},"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":{"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/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":{"type":"string","format":"uuid"}},{"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":{"type":"string","format":"uuid"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateAlert"}}},"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/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/JsonProjectPermission"}},{"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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/metric-kinds":{"get":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kinds_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/ProjMetricKindsSort"}},{"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/JsonMetricKinds"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewMetricKind"}}},"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/JsonMetricKind"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/metric-kinds/{metric_kind}":{"get":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_get","parameters":[{"in":"path","name":"metric_kind","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/JsonMetricKind"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_delete","parameters":[{"in":"path","name":"metric_kind","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"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/JsonEmpty"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_patch","parameters":[{"in":"path","name":"metric_kind","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/JsonUpdateMetricKind"}}},"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/JsonMetricKind"}}}},"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":{"nullable":true,"type":"integer","format":"int64"}},{"in":"query","name":"metric_kind","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"nullable":true,"type":"integer","format":"int64"}},{"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":{"nullable":true,"type":"integer","format":"int64"}},{"in":"query","name":"metric_kind","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"nullable":true,"type":"integer","format":"int64"}},{"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"}}],"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":{"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/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":{"type":"string","format":"uuid"}}],"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":{"type":"string","format":"uuid"}}],"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/JsonEmpty"}}}},"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":{"type":"string","format":"uuid"}}],"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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/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":{"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/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":{"type":"string","format":"uuid"}}],"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":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateThreshold"}}},"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/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":{"type":"string","format":"uuid"}}],"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/JsonEmpty"}}}},"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":{"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/JsonEmpty"}}}},"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":{"$ref":"#/components/schemas/JsonEmpty"}}}},"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":{"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/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":{"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/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}}},"components":{"responses":{"Error":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"BenchmarkName":{"type":"string"},"BigInt":{"type":"integer","format":"uint64","minimum":0},"Boundary":{"type":"number","format":"double"},"BranchName":{"type":"string"},"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"]}]},"Email":{"type":"string"},"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"]},"JsonAdapter":{"type":"string","enum":["magic","json","c_sharp","c_sharp_dot_net","cpp","cpp_catch2","cpp_google","go","go_bench","java","java_jmh","js","js_benchmark","js_time","python","python_asv","python_pytest","ruby","ruby_benchmark","rust","rust_bench","rust_criterion","rust_iai"]},"JsonAlert":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmarkMetric"},"iteration":{"type":"integer","format":"uint32","minimum":0},"limit":{"$ref":"#/components/schemas/JsonLimit"},"modified":{"type":"string","format":"date-time"},"report":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/JsonAlertStatus"},"threshold":{"$ref":"#/components/schemas/JsonThreshold"},"uuid":{"type":"string","format":"uuid"}},"required":["benchmark","iteration","limit","modified","report","status","threshold","uuid"]},"JsonAlertStats":{"type":"object","properties":{"active":{"$ref":"#/components/schemas/BigInt"}},"required":["active"]},"JsonAlertStatus":{"type":"string","enum":["active","dismissed"]},"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"]},"JsonApm":{"oneOf":[{"type":"object","properties":{"sentry":{"type":"object","properties":{"dsn":{"type":"string"}},"required":["dsn"]}},"required":["sentry"],"additionalProperties":false}]},"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":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBenchmarkMetric":{"type":"object","properties":{"boundary":{"$ref":"#/components/schemas/JsonBoundary"},"created":{"type":"string","format":"date-time"},"metric":{"$ref":"#/components/schemas/JsonMetric"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["boundary","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":{"lower_limit":{"nullable":true,"type":"number","format":"double"},"upper_limit":{"nullable":true,"type":"number","format":"double"}}},"JsonBranch":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBranchVersion":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"},"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"]},"JsonConfig":{"type":"object","properties":{"apm":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonApm"}]},"console":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonConsole"}]},"database":{"$ref":"#/components/schemas/JsonDatabase"},"endpoint":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"logging":{"$ref":"#/components/schemas/JsonLogging"},"plus":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPlus"}]},"secret_key":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Secret"}]},"security":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonSecurity"}]},"server":{"$ref":"#/components/schemas/JsonServer"},"smtp":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonSmtp"}]}},"required":["database","logging","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/UserName"},"uuid":{"type":"string","format":"uuid"}},"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"]},"JsonEmpty":{"type":"object"},"JsonEndpoint":{"type":"object","properties":{"endpoint":{"$ref":"#/components/schemas/Url"}},"required":["endpoint"]},"JsonFold":{"type":"string","enum":["min","max","mean","median"]},"JsonLimit":{"type":"string","enum":["lower","upper"]},"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"]},"JsonMember":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"email":{"$ref":"#/components/schemas/Email"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/UserName"},"role":{"$ref":"#/components/schemas/JsonOrganizationRole"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","email","modified","name","role","slug","uuid"]},"JsonMembers":{"type":"array","items":{"$ref":"#/components/schemas/JsonMember"}},"JsonMetric":{"type":"object","properties":{"lower_bound":{"nullable":true,"type":"number","format":"double"},"upper_bound":{"nullable":true,"type":"number","format":"double"},"value":{"type":"number","format":"double"}},"required":["value"]},"JsonMetricKind":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"units":{"$ref":"#/components/schemas/NonEmpty"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","project","slug","units","uuid"]},"JsonMetricKinds":{"type":"array","items":{"$ref":"#/components/schemas/JsonMetricKind"}},"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"]},"JsonNewMember":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserName"}]},"role":{"$ref":"#/components/schemas/JsonOrganizationRole"}},"required":["email","role"]},"JsonNewMetricKind":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"units":{"$ref":"#/components/schemas/NonEmpty"}},"required":["name","units"]},"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"},"level":{"$ref":"#/components/schemas/PlanLevel"}},"required":["card","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/JsonVisibility"}]}},"required":["name"]},"JsonNewReport":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"end_time":{"type":"string","format":"date-time"},"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"results":{"type":"array","items":{"type":"string"}},"settings":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonReportSettings"}]},"start_time":{"type":"string","format":"date-time"},"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"}]},"metric_kind":{"$ref":"#/components/schemas/ResourceId"},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/JsonStatisticKind"},"testbed":{"$ref":"#/components/schemas/ResourceId"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["branch","metric_kind","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":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","slug","uuid"]},"JsonOrganizationRole":{"type":"string","enum":["leader"]},"JsonOrganizations":{"type":"array","items":{"$ref":"#/components/schemas/JsonOrganization"}},"JsonPerf":{"type":"object","properties":{"end_time":{"nullable":true,"type":"string","format":"date-time"},"metric_kind":{"$ref":"#/components/schemas/JsonMetricKind"},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetrics"}},"start_time":{"nullable":true,"type":"string","format":"date-time"}},"required":["metric_kind","project","results"]},"JsonPerfAlert":{"type":"object","properties":{"limit":{"$ref":"#/components/schemas/JsonLimit"},"modified":{"type":"string","format":"date-time"},"status":{"$ref":"#/components/schemas/JsonAlertStatus"},"uuid":{"type":"string","format":"uuid"}},"required":["limit","modified","status","uuid"]},"JsonPerfMetric":{"type":"object","properties":{"alert":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPerfAlert"}]},"boundary":{"$ref":"#/components/schemas/JsonBoundary"},"end_time":{"type":"string","format":"date-time"},"iteration":{"type":"integer","format":"uint32","minimum":0},"metric":{"$ref":"#/components/schemas/JsonMetric"},"report":{"type":"string","format":"uuid"},"start_time":{"type":"string","format":"date-time"},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]},"version":{"$ref":"#/components/schemas/JsonVersion"}},"required":["boundary","end_time","iteration","metric","report","start_time","version"]},"JsonPerfMetrics":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmark"},"branch":{"$ref":"#/components/schemas/JsonBranch"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetric"}},"testbed":{"$ref":"#/components/schemas/JsonTestbed"}},"required":["benchmark","branch","metrics","testbed"]},"JsonPing":{"type":"string","enum":["pong"]},"JsonPlan":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/JsonCardDetails"},"current_period_end":{"type":"string","format":"date-time"},"current_period_start":{"type":"string","format":"date-time"},"customer":{"$ref":"#/components/schemas/JsonCustomer"},"level":{"$ref":"#/components/schemas/PlanLevel"},"organization":{"type":"string","format":"uuid"},"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":{"billing":{"$ref":"#/components/schemas/JsonBilling"},"license_pem":{"$ref":"#/components/schemas/Secret"}},"required":["billing","license_pem"]},"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":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"organization":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"uuid":{"type":"string","format":"uuid"},"visibility":{"$ref":"#/components/schemas/JsonVisibility"}},"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/JsonVisibility"}]}}},"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/JsonVisibility"}]}},"required":["url"]},"JsonProjects":{"type":"array","items":{"$ref":"#/components/schemas/JsonProject"}},"JsonReport":{"type":"object","properties":{"adapter":{"$ref":"#/components/schemas/JsonAdapter"},"alerts":{"type":"array","items":{"$ref":"#/components/schemas/JsonAlert"}},"branch":{"$ref":"#/components/schemas/JsonBranchVersion"},"created":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time"},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/JsonReportResult"}}},"start_time":{"type":"string","format":"date-time"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"user":{"$ref":"#/components/schemas/JsonUser"},"uuid":{"type":"string","format":"uuid"}},"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"}},"metric_kind":{"$ref":"#/components/schemas/JsonMetricKind"},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]}},"required":["benchmarks","metric_kind"]},"JsonReportSettings":{"type":"object","properties":{"adapter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonAdapter"}]},"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"]},"JsonSignup":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"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","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"]},"JsonStartPoint":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"thresholds":{"nullable":true,"type":"boolean"}},"required":["branch"]},"JsonStatistic":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"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/JsonStatisticKind"},"threshold":{"type":"string","format":"uuid"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"uuid":{"type":"string","format":"uuid"},"window":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["created","test","threshold","uuid"]},"JsonStatisticKind":{"type":"string","enum":["z","t"]},"JsonTestbed":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"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":{"type":"string","format":"date-time"},"metric_kind":{"$ref":"#/components/schemas/JsonMetricKind"},"modified":{"type":"string","format":"date-time"},"project":{"type":"string","format":"uuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"uuid":{"type":"string","format":"uuid"}},"required":["branch","created","metric_kind","modified","project","statistic","testbed","uuid"]},"JsonThresholdStatistic":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"project":{"type":"string","format":"uuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"uuid":{"type":"string","format":"uuid"}},"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":{"type":"string","format":"date-time"},"expiration":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"token":{"$ref":"#/components/schemas/Jwt"},"user":{"type":"string","format":"uuid"},"uuid":{"type":"string","format":"uuid"}},"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/JsonAlertStatus"}]}}},"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"]},"JsonUpdateMember":{"type":"object","properties":{"role":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonOrganizationRole"}]}}},"JsonUpdateMetricKind":{"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"}]}}},"JsonUpdateOrganization":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"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/JsonStatisticKind"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["test"]},"JsonUpdateToken":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]}}},"JsonUsage":{"type":"object","properties":{"metrics_used":{"$ref":"#/components/schemas/BigInt"}},"required":["metrics_used"]},"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":{"type":"string","format":"uuid"}},"required":["admin","email","locked","name","slug","uuid"]},"JsonVersion":{"type":"object","properties":{"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"number":{"type":"integer","format":"uint32","minimum":0}},"required":["number"]},"JsonVisibility":{"type":"string","enum":["public","private"]},"Jwt":{"type":"string"},"LastFour":{"type":"string"},"LogLevel":{"type":"string","enum":["trace","debug","info","warn","error","critical"]},"NonEmpty":{"type":"string"},"PlanLevel":{"type":"string","enum":["free","team","enterprise"]},"PlanStatus":{"type":"string","enum":["active","canceled","incomplete","incomplete_expired","past_due","paused","trialing","unpaid"]},"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}]},"Slug":{"type":"string"},"Url":{"type":"string"},"UserName":{"type":"string"},"JsonDirection":{"type":"string","enum":["asc","desc"]},"OrganizationsSort":{"type":"string","enum":["name"]},"JsonOrganizationPermission":{"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"]},"JsonProjectPermission":{"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"]},"ProjMetricKindsSort":{"type":"string","enum":["name"]},"ProjReportsSort":{"type":"string","enum":["date_time"]},"ProjTestbedsSort":{"type":"string","enum":["name"]},"ProjThresholdsSort":{"type":"string","enum":["created","modified"]},"UserTokensSort":{"type":"string","enum":["name"]}}},"tags":[{"name":"alerts","description":"Alerts"},{"name":"allowed"},{"name":"auth","description":"Auth"},{"name":"benchmarks","description":"Benchmarks"},{"name":"branches","description":"Branches"},{"name":"config"},{"name":"endpoint"},{"name":"members"},{"name":"metric kinds","description":"Metric Kinds"},{"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":"statistics","description":"Statistics"},{"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.11"},"paths":{"/v0/auth/confirm":{"post":{"tags":["auth"],"operationId":"auth_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonAuthToken"}}},"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/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/JsonEmpty"}}}},"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/JsonEmpty"}}}},"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":{"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/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":{"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/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/JsonOrganizationPermission"}}],"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/JsonEmpty"}}}},"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":{"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/JsonMember"}}}},"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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/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"}},{"in":"query","name":"end","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"query","name":"start","required":true,"schema":{"type":"integer","format":"int64"}}],"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":{"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/JsonEmpty"}}}},"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":{"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/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":{"type":"string","format":"uuid"}},{"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":{"type":"string","format":"uuid"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateAlert"}}},"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/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/JsonProjectPermission"}},{"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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/JsonBranch"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/metric-kinds":{"get":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kinds_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/ProjMetricKindsSort"}},{"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/JsonMetricKinds"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"post":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_post","parameters":[{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNewMetricKind"}}},"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/JsonMetricKind"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project}/metric-kinds/{metric_kind}":{"get":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_get","parameters":[{"in":"path","name":"metric_kind","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/JsonMetricKind"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"delete":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_delete","parameters":[{"in":"path","name":"metric_kind","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"in":"path","name":"project","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"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/JsonEmpty"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}},"patch":{"tags":["projects","metric kinds"],"operationId":"proj_metric_kind_patch","parameters":[{"in":"path","name":"metric_kind","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/JsonUpdateMetricKind"}}},"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/JsonMetricKind"}}}},"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":{"nullable":true,"type":"integer","format":"int64"}},{"in":"query","name":"metric_kind","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"nullable":true,"type":"integer","format":"int64"}},{"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":{"nullable":true,"type":"integer","format":"int64"}},{"in":"query","name":"metric_kind","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_time","schema":{"nullable":true,"type":"integer","format":"int64"}},{"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"}}],"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":{"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/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":{"type":"string","format":"uuid"}}],"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":{"type":"string","format":"uuid"}}],"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/JsonEmpty"}}}},"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":{"type":"string","format":"uuid"}}],"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":{"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/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":{"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/JsonEmpty"}}}},"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":{"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/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":{"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/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":{"type":"string","format":"uuid"}}],"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":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonUpdateThreshold"}}},"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/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":{"type":"string","format":"uuid"}}],"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/JsonEmpty"}}}},"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":{"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/JsonEmpty"}}}},"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":{"$ref":"#/components/schemas/JsonEmpty"}}}},"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":{"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/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":{"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/JsonToken"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}}}}},"components":{"responses":{"Error":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"BenchmarkName":{"type":"string"},"BigInt":{"type":"integer","format":"uint64","minimum":0},"Boundary":{"type":"number","format":"double"},"BranchName":{"type":"string"},"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"]}]},"Email":{"type":"string"},"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"]},"JsonAdapter":{"type":"string","enum":["magic","json","c_sharp","c_sharp_dot_net","cpp","cpp_catch2","cpp_google","go","go_bench","java","java_jmh","js","js_benchmark","js_time","python","python_asv","python_pytest","ruby","ruby_benchmark","rust","rust_bench","rust_criterion","rust_iai"]},"JsonAlert":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmarkMetric"},"iteration":{"type":"integer","format":"uint32","minimum":0},"limit":{"$ref":"#/components/schemas/JsonLimit"},"modified":{"type":"string","format":"date-time"},"report":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/JsonAlertStatus"},"threshold":{"$ref":"#/components/schemas/JsonThreshold"},"uuid":{"type":"string","format":"uuid"}},"required":["benchmark","iteration","limit","modified","report","status","threshold","uuid"]},"JsonAlertStats":{"type":"object","properties":{"active":{"$ref":"#/components/schemas/BigInt"}},"required":["active"]},"JsonAlertStatus":{"type":"string","enum":["active","dismissed"]},"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"]},"JsonApm":{"oneOf":[{"type":"object","properties":{"sentry":{"type":"object","properties":{"dsn":{"type":"string"}},"required":["dsn"]}},"required":["sentry"],"additionalProperties":false}]},"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":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBenchmarkMetric":{"type":"object","properties":{"boundary":{"$ref":"#/components/schemas/JsonBoundary"},"created":{"type":"string","format":"date-time"},"metric":{"$ref":"#/components/schemas/JsonMetric"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BenchmarkName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["boundary","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":{"lower_limit":{"nullable":true,"type":"number","format":"double"},"upper_limit":{"nullable":true,"type":"number","format":"double"}}},"JsonBranch":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","project","slug","uuid"]},"JsonBranchVersion":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/BranchName"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"},"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"]},"JsonConfig":{"type":"object","properties":{"apm":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonApm"}]},"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/UserName"},"uuid":{"type":"string","format":"uuid"}},"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"]},"JsonEmpty":{"type":"object"},"JsonEndpoint":{"type":"object","properties":{"endpoint":{"$ref":"#/components/schemas/Url"}},"required":["endpoint"]},"JsonFold":{"type":"string","enum":["min","max","mean","median"]},"JsonLimit":{"type":"string","enum":["lower","upper"]},"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"]},"JsonMember":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"email":{"$ref":"#/components/schemas/Email"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/UserName"},"role":{"$ref":"#/components/schemas/JsonOrganizationRole"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","email","modified","name","role","slug","uuid"]},"JsonMembers":{"type":"array","items":{"$ref":"#/components/schemas/JsonMember"}},"JsonMetric":{"type":"object","properties":{"lower_bound":{"nullable":true,"type":"number","format":"double"},"upper_bound":{"nullable":true,"type":"number","format":"double"},"value":{"type":"number","format":"double"}},"required":["value"]},"JsonMetricKind":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"units":{"$ref":"#/components/schemas/NonEmpty"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","project","slug","units","uuid"]},"JsonMetricKinds":{"type":"array","items":{"$ref":"#/components/schemas/JsonMetricKind"}},"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"]},"JsonNewMember":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserName"}]},"role":{"$ref":"#/components/schemas/JsonOrganizationRole"}},"required":["email","role"]},"JsonNewMetricKind":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]},"units":{"$ref":"#/components/schemas/NonEmpty"}},"required":["name","units"]},"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"},"level":{"$ref":"#/components/schemas/PlanLevel"}},"required":["card","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/JsonVisibility"}]}},"required":["name"]},"JsonNewReport":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"end_time":{"type":"string","format":"date-time"},"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"results":{"type":"array","items":{"type":"string"}},"settings":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonReportSettings"}]},"start_time":{"type":"string","format":"date-time"},"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"}]},"metric_kind":{"$ref":"#/components/schemas/ResourceId"},"min_sample_size":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SampleSize"}]},"test":{"$ref":"#/components/schemas/JsonStatisticKind"},"testbed":{"$ref":"#/components/schemas/ResourceId"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["branch","metric_kind","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":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"required":["created","modified","name","slug","uuid"]},"JsonOrganizationRole":{"type":"string","enum":["leader"]},"JsonOrganizations":{"type":"array","items":{"$ref":"#/components/schemas/JsonOrganization"}},"JsonPerf":{"type":"object","properties":{"end_time":{"nullable":true,"type":"string","format":"date-time"},"metric_kind":{"$ref":"#/components/schemas/JsonMetricKind"},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetrics"}},"start_time":{"nullable":true,"type":"string","format":"date-time"}},"required":["metric_kind","project","results"]},"JsonPerfAlert":{"type":"object","properties":{"limit":{"$ref":"#/components/schemas/JsonLimit"},"modified":{"type":"string","format":"date-time"},"status":{"$ref":"#/components/schemas/JsonAlertStatus"},"uuid":{"type":"string","format":"uuid"}},"required":["limit","modified","status","uuid"]},"JsonPerfMetric":{"type":"object","properties":{"alert":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonPerfAlert"}]},"boundary":{"$ref":"#/components/schemas/JsonBoundary"},"end_time":{"type":"string","format":"date-time"},"iteration":{"type":"integer","format":"uint32","minimum":0},"metric":{"$ref":"#/components/schemas/JsonMetric"},"report":{"type":"string","format":"uuid"},"start_time":{"type":"string","format":"date-time"},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]},"version":{"$ref":"#/components/schemas/JsonVersion"}},"required":["boundary","end_time","iteration","metric","report","start_time","version"]},"JsonPerfMetrics":{"type":"object","properties":{"benchmark":{"$ref":"#/components/schemas/JsonBenchmark"},"branch":{"$ref":"#/components/schemas/JsonBranch"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/JsonPerfMetric"}},"testbed":{"$ref":"#/components/schemas/JsonTestbed"}},"required":["benchmark","branch","metrics","testbed"]},"JsonPing":{"type":"string","enum":["pong"]},"JsonPlan":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/JsonCardDetails"},"current_period_end":{"type":"string","format":"date-time"},"current_period_start":{"type":"string","format":"date-time"},"customer":{"$ref":"#/components/schemas/JsonCustomer"},"level":{"$ref":"#/components/schemas/PlanLevel"},"organization":{"type":"string","format":"uuid"},"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":{"billing":{"$ref":"#/components/schemas/JsonBilling"},"license_pem":{"$ref":"#/components/schemas/Secret"}},"required":["billing","license_pem"]},"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":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"organization":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"url":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Url"}]},"uuid":{"type":"string","format":"uuid"},"visibility":{"$ref":"#/components/schemas/JsonVisibility"}},"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/JsonVisibility"}]}}},"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/JsonVisibility"}]}},"required":["url"]},"JsonProjects":{"type":"array","items":{"$ref":"#/components/schemas/JsonProject"}},"JsonReport":{"type":"object","properties":{"adapter":{"$ref":"#/components/schemas/JsonAdapter"},"alerts":{"type":"array","items":{"$ref":"#/components/schemas/JsonAlert"}},"branch":{"$ref":"#/components/schemas/JsonBranchVersion"},"created":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time"},"project":{"$ref":"#/components/schemas/JsonProject"},"results":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/JsonReportResult"}}},"start_time":{"type":"string","format":"date-time"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"user":{"$ref":"#/components/schemas/JsonUser"},"uuid":{"type":"string","format":"uuid"}},"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"}},"metric_kind":{"$ref":"#/components/schemas/JsonMetricKind"},"threshold":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonThresholdStatistic"}]}},"required":["benchmarks","metric_kind"]},"JsonReportSettings":{"type":"object","properties":{"adapter":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonAdapter"}]},"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"]},"JsonSignup":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/Email"},"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","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"]},"JsonStartPoint":{"type":"object","properties":{"branch":{"$ref":"#/components/schemas/ResourceId"},"thresholds":{"nullable":true,"type":"boolean"}},"required":["branch"]},"JsonStatistic":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"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/JsonStatisticKind"},"threshold":{"type":"string","format":"uuid"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"uuid":{"type":"string","format":"uuid"},"window":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["created","test","threshold","uuid"]},"JsonStatisticKind":{"type":"string","enum":["z","t"]},"JsonTestbed":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"project":{"type":"string","format":"uuid"},"slug":{"$ref":"#/components/schemas/Slug"},"uuid":{"type":"string","format":"uuid"}},"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":{"type":"string","format":"date-time"},"metric_kind":{"$ref":"#/components/schemas/JsonMetricKind"},"modified":{"type":"string","format":"date-time"},"project":{"type":"string","format":"uuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"testbed":{"$ref":"#/components/schemas/JsonTestbed"},"uuid":{"type":"string","format":"uuid"}},"required":["branch","created","metric_kind","modified","project","statistic","testbed","uuid"]},"JsonThresholdStatistic":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"project":{"type":"string","format":"uuid"},"statistic":{"$ref":"#/components/schemas/JsonStatistic"},"uuid":{"type":"string","format":"uuid"}},"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":{"type":"string","format":"date-time"},"expiration":{"type":"string","format":"date-time"},"name":{"$ref":"#/components/schemas/NonEmpty"},"token":{"$ref":"#/components/schemas/Jwt"},"user":{"type":"string","format":"uuid"},"uuid":{"type":"string","format":"uuid"}},"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/JsonAlertStatus"}]}}},"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"]},"JsonUpdateMember":{"type":"object","properties":{"role":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/JsonOrganizationRole"}]}}},"JsonUpdateMetricKind":{"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"}]}}},"JsonUpdateOrganization":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]},"slug":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Slug"}]}}},"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/JsonStatisticKind"},"upper_boundary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Boundary"}]},"window":{"nullable":true,"type":"integer","format":"uint32","minimum":0}},"required":["test"]},"JsonUpdateToken":{"type":"object","properties":{"name":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NonEmpty"}]}}},"JsonUsage":{"type":"object","properties":{"metrics_used":{"$ref":"#/components/schemas/BigInt"}},"required":["metrics_used"]},"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":{"type":"string","format":"uuid"}},"required":["admin","email","locked","name","slug","uuid"]},"JsonVersion":{"type":"object","properties":{"hash":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GitHash"}]},"number":{"type":"integer","format":"uint32","minimum":0}},"required":["number"]},"JsonVisibility":{"type":"string","enum":["public","private"]},"Jwt":{"type":"string"},"LastFour":{"type":"string"},"LogLevel":{"type":"string","enum":["trace","debug","info","warn","error","critical"]},"NonEmpty":{"type":"string"},"PlanLevel":{"type":"string","enum":["free","team","enterprise"]},"PlanStatus":{"type":"string","enum":["active","canceled","incomplete","incomplete_expired","past_due","paused","trialing","unpaid"]},"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}]},"Slug":{"type":"string"},"Url":{"type":"string"},"UserName":{"type":"string"},"JsonDirection":{"type":"string","enum":["asc","desc"]},"OrganizationsSort":{"type":"string","enum":["name"]},"JsonOrganizationPermission":{"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"]},"JsonProjectPermission":{"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"]},"ProjMetricKindsSort":{"type":"string","enum":["name"]},"ProjReportsSort":{"type":"string","enum":["date_time"]},"ProjTestbedsSort":{"type":"string","enum":["name"]},"ProjThresholdsSort":{"type":"string","enum":["created","modified"]},"UserTokensSort":{"type":"string","enum":["name"]}}},"tags":[{"name":"alerts","description":"Alerts"},{"name":"allowed"},{"name":"auth","description":"Auth"},{"name":"benchmarks","description":"Benchmarks"},{"name":"branches","description":"Branches"},{"name":"config"},{"name":"endpoint"},{"name":"members"},{"name":"metric kinds","description":"Metric Kinds"},{"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":"statistics","description":"Statistics"},{"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/action/package-lock.json b/services/action/package-lock.json index 0b575bd9b..4c2aadbf3 100644 --- a/services/action/package-lock.json +++ b/services/action/package-lock.json @@ -4,7 +4,6 @@ "requires": true, "packages": { "": { - "name": "action", "dependencies": { "@actions/core": "^1.10.0", "@actions/http-client": "^2.1.1", diff --git a/services/console/package-lock.json b/services/console/package-lock.json index 95762549d..8dec3e6c0 100644 --- a/services/console/package-lock.json +++ b/services/console/package-lock.json @@ -1,12 +1,12 @@ { "name": "bencher-ui", - "version": "0.3.10", + "version": "0.3.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bencher-ui", - "version": "0.3.10", + "version": "0.3.11", "dependencies": { "@astrojs/check": "^0.2.0", "@astrojs/mdx": "^1.0.3", diff --git a/services/console/package.json b/services/console/package.json index 4069b36de..0244b9720 100644 --- a/services/console/package.json +++ b/services/console/package.json @@ -1,7 +1,7 @@ { "name": "bencher-ui", "type": "module", - "version": "0.3.10", + "version": "0.3.11", "scripts": { "typeshare": "typeshare ../.. --lang=typescript --output-file=./src/types/bencher.ts", "wasm": "../../scripts/build_wasm.sh", @@ -46,4 +46,4 @@ "sass": "^1.66.1", "vitest": "^0.34.3" } -} \ No newline at end of file +} diff --git a/services/console/src/content/api/swagger.json b/services/console/src/content/api/swagger.json index 996a9912e..218c05ffa 100644 --- a/services/console/src/content/api/swagger.json +++ b/services/console/src/content/api/swagger.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Bencher API", - "version": "0.3.10" + "version": "0.3.11" }, "paths": { "/v0/auth/confirm": { @@ -6201,24 +6201,11 @@ ] }, "console": { - "nullable": true, - "allOf": [ - { - "$ref": "#/components/schemas/JsonConsole" - } - ] + "$ref": "#/components/schemas/JsonConsole" }, "database": { "$ref": "#/components/schemas/JsonDatabase" }, - "endpoint": { - "nullable": true, - "allOf": [ - { - "$ref": "#/components/schemas/Url" - } - ] - }, "logging": { "$ref": "#/components/schemas/JsonLogging" }, @@ -6230,21 +6217,8 @@ } ] }, - "secret_key": { - "nullable": true, - "allOf": [ - { - "$ref": "#/components/schemas/Secret" - } - ] - }, "security": { - "nullable": true, - "allOf": [ - { - "$ref": "#/components/schemas/JsonSecurity" - } - ] + "$ref": "#/components/schemas/JsonSecurity" }, "server": { "$ref": "#/components/schemas/JsonServer" @@ -6259,8 +6233,10 @@ } }, "required": [ + "console", "database", "logging", + "security", "server" ] },