Get a user's permissions

get

/ec-auth-svc/rest/v1.0/rights

Retrieves all of a user's permissions. It can retrieve permissions for all study modes or a specific mode.

Request

Query Parameters
  • Mode of the study for which the permissions have to be retrieved for a user. Accepts active, test, training or 'All' to retrieve permissions for all modes.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source

400 Response

Bad request
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : allowedMethods
Type: array
Unique Items Required: true
Show Source
Nested Schema : cookies
Type: object
Additional Properties Allowed
Show Source
Nested Schema : entity
Type: object
Nested Schema : entityTag
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : language
Type: object
Show Source
Nested Schema : mediaType
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : statusInfo
Type: object
Show Source
Nested Schema : stringHeaders
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : additionalProperties
Type: object
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : extensionKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleAttributes
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : additionalProperties
Type: array
Show Source
Back to Top