get: summary: Returns a list of all accessible scopes. description: Returns the list of all scopes which are visible to the current subject or any of it's assumed roles. tags: - scopes operationId: getListOfScopes parameters: - $ref: 'auth.yaml#/components/parameters/assumedRoles' responses: "200": description: OK content: 'application/json': schema: type: array items: $ref: 'scope-schemas.yaml#/components/schemas/Scope' "401": $ref: 'error-responses.yaml#/components/responses/Unauthorized' "403": $ref: 'error-responses.yaml#/components/responses/Forbidden'