-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproxies-api.json
1 lines (1 loc) · 2.67 KB
/
proxies-api.json
1
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://bravo-ch4mp:4204","description":"Generated server url"}],"paths":{"/users/{proxiedUserSubject}/proxies/{grantedUserSubject}":{"put":{"tags":["users-controller"],"operationId":"editUserProxy","parameters":[{"name":"proxiedUserSubject","in":"path","required":true,"schema":{"type":"string"}},{"name":"grantedUserSubject","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}},"required":true},"responses":{"404":{"description":"Not Found"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"string"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}},"application/xml":{"schema":{"type":"object"}}}}}},"delete":{"tags":["users-controller"],"operationId":"deleteUserProxy","parameters":[{"name":"proxiedUserSubject","in":"path","required":true,"schema":{"type":"string"}},{"name":"grantedUserSubject","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Not Found"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"string"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}},"application/xml":{"schema":{"type":"object"}}}}}}},"/users/{userSubject}/proxies":{"get":{"tags":["users-controller"],"operationId":"getUserProxies","parameters":[{"name":"userSubject","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Not Found"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"string"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProxiesDto"}},"application/xml":{"schema":{"$ref":"#/components/schemas/UserProxiesDto"}}}}}}},"/grants":{"get":{"tags":["grants-controller"],"operationId":"getAll","responses":{"404":{"description":"Not Found"},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"string"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GrantDto"}}},"application/xml":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GrantDto"}}}}}}}}},"components":{"schemas":{"UserProxiesDto":{"required":["grantsByProxiedUserSubject"],"type":"object","properties":{"grantsByProxiedUserSubject":{"type":"object","additionalProperties":{"type":"array","items":{"type":"integer","format":"int64"}}}}},"GrantDto":{"required":["id","label"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"label":{"type":"string"}}}}}}