{"openapi":"3.1.0","info":{"title":"DonutDroids Observability Gateway & Governance","version":"0.1.0"},"paths":{"/roles-control":{"get":{"summary":"Serve Roles Ui","description":"Serve the Governance & RBAC Management Portal shell.","operationId":"serve_roles_ui_roles_control_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/roles-control/api/my-role":{"get":{"summary":"Api My Role","description":"Check current authenticated session role and permissions.","operationId":"api_my_role_roles_control_api_my_role_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/roles-control/api/emergency-restore":{"post":{"summary":"Api Emergency Restore","description":"Allow verified root cluster admins to reclaim SuperAdmin role even if demoted.","operationId":"api_emergency_restore_roles_control_api_emergency_restore_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/roles-control/api/users":{"get":{"summary":"Api List Users","operationId":"api_list_users_roles_control_api_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/roles-control/api/users/assign":{"post":{"summary":"Api Assign User Role","operationId":"api_assign_user_role_roles_control_api_users_assign_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/roles-control/api/roles":{"get":{"summary":"Api List Roles","operationId":"api_list_roles_roles_control_api_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Api Save Role","operationId":"api_save_role_roles_control_api_roles_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/roles-control/api/roles/{role_id}":{"delete":{"summary":"Api Delete Role","operationId":"api_delete_role_roles_control_api_roles__role_id__delete","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/roles-control/api/resources":{"get":{"summary":"Api Get Resources","operationId":"api_get_resources_roles_control_api_resources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/{path}":{"options":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Main Proxy","operationId":"main_proxy__path__options","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"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"}}}}