security.manager NEXT User Information Service (1.0.0)

Download OpenAPI specification:Download

con terra GmbH: info@contera.de URL: https://www.conterra.de/ License: Apache 2.0

This API describes the User Information Service to request additional attributes for a given user.

fetch

Fetch attributes for a given user

This endpoint is used to fetch additional attributes for a given user. Provided roles may be used to get a more specific output.

Authorizations:
None
Request Body schema: application/json
userId
required
string

The ID of a user to get attributes for. Usually the username. Can be empty, if anonymous is set to true.

anonymous
required
boolean

Flag to indicate an anonymous user. If set to true, userId may be empty.

roles
required
Array of strings

Current roles of the given user to get a more specific output. May be an empty array.

Responses

Request samples

Content type
application/json
Example
{
  • "userId": "t.user",
  • "anonymous": false,
  • "roles": [ ]
}

Response samples

Content type
application/json
Example
{
  • "data": {
    }
}