{"openapi":"3.1.0","info":{"title":"cbv-hub","version":"0.1.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Healthz Healthz Get"}}}}}}},"/readyz":{"get":{"summary":"Readyz","operationId":"readyz_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Landing","operationId":"landing__get","parameters":[{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"left","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Left"}},{"name":"denied","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Denied"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/signin":{"get":{"summary":"Signin","operationId":"signin_auth_signin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/callback":{"get":{"summary":"Callback","operationId":"callback_auth_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/signout":{"get":{"summary":"Signout Confirm","description":"A GET must not end every session: a prefetched link, a crawler or an\n<img src> planted on another site would sign the person out everywhere.\nGET only asks; the button below posts.","operationId":"signout_confirm_auth_signout_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Signout","operationId":"signout_auth_signout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/request":{"get":{"summary":"Request Entry","description":"An app's access-denied page sends people here: /request?app=qc&role=org-qc-verifier.\nNo session yet: remember the intent, sign in, come back. Signed in: a\nprefilled request card whose submit is the same-origin POST below. Already\nholding the role (the app's view was stale): straight to the app.","operationId":"request_entry_request_get","parameters":[{"name":"app","in":"query","required":false,"schema":{"type":"string","default":"","title":"App"}},{"name":"role","in":"query","required":false,"schema":{"type":"string","default":"","title":"Role"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/access/request":{"post":{"summary":"Access Request","operationId":"access_request_access_request_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_access_request_access_request_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_access_request_access_request_post":{"properties":{"app":{"type":"string","title":"App"},"role":{"type":"string","title":"Role","default":""},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["app"],"title":"Body_access_request_access_request_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}