{"openapi":"3.0.3","info":{"title":"Vertex O Series Role Management Public API Service","description":"Public API Service for Vertex O Series Instance Role Configuration","version":"2.0.0","termsOfService":"https://www.vertexinc.com/terms-of-use","contact":{"name":"Vertex O Series Support","url":"http://www.vertexinc.com/support","email":"support@vertexinc.com"}},"x-readme":{"explorer-enabled":false,"proxy-enabled":true},"tags":[{"name":"RolesController"}],"security":[{"BasicAuth":[]},{"Bearer":[]}],"servers":[{"url":"{baseUrl}/oseries-auth/{version}","variables":{"baseUrl":{"default":"http://localhost:8095"},"version":{"default":"v2"}}}],"paths":{"/roles":{"get":{"tags":["RolesController"],"summary":"Get All for Roles.","operationId":"getRoles","responses":{"200":{"description":"A List of Roles.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","format":"uuid","example":"37f038e2-22ec-4e5b-93f4-f065bea65542"},"sourceId":{"type":"integer","format":"int64","default":null,"example":1},"name":{"type":"string","example":"User Role Name"},"description":{"type":"string","example":"User Role Description"}}}}}}},"400":{"description":"Failed to Get Roles"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","target"],"properties":{"code":{"type":"string","description":"One of a server-defined set of error codes","example":"VertexAuthenticationException"},"message":{"type":"string","description":"A human-readable representation of the error","example":"Access Token Expired"},"target":{"type":"string","description":"The target of the error","example":"/users"}}}}}}}}}}}},"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","description":"Bearer Token"},"BasicAuth":{"type":"http","scheme":"basic","description":"Basic Authentication"}}}}