Everything within this section is only visible while editing. Use Page Properties ID "STUB", "REFACTURE", "PROGRESS", "rDEV", "rDOC", "rLANG" and "DONE".

Everything contained within the table is displayed in the (INTERNAL) Reports page.

Product Version
Report Note
Assignee

Resources & Remarks


Modification History

Add a new line to this table and fill it whenever you edit the page.

NameDateProduct VersionAction
Antje10 FEB 20212.5Page created.
Antje15 FEB 20212020 WinterrDOC
Agnieszka17 FEB 20212020 WinterrLANG
Antje28 MAY 20212021 Summerversion update - all endpoints refactured
Antje21 FEB 20222022 Springremove user information endpoints



The USERSERVICE API allows accessing and managing custom user information, settings and content.

If the path parameter userId is specified in a request URL, the corresponding endpoint operates on the data of the user specified by this ID. In order to work with the data of the currently authorized user, the path alias /me can be used instead of /users/{userId}. For example, a GET /api/me request leads to the same result as calling the GET /api/users/{userId} endpoint.

Note: Accessing or managing the data of users other than the currently authorized user may require administrative rights (as configured in the service parameter app.security.admin-role). If the service is accessed with administrative rights, no further checks on existence of users are performed. This allows more flexibility to users and apps with admin rights. For instance, it is possible to remove the data of users stored by USERSERVICE that have left the system and are no longer in the security system, or to prepare data for users that are about to be added to the system.


This API requires Keycloak as identity provider for yuuvis® Momentum.

In order to use the endpoints, a valid JWT token is required which is provided after successful authentication with valid credentials.


All endpoints are available via the Swagger-UI https://<host>/userservice/swagger-ui.html.

HTTP Method
as of product version
PurposeResponse FormatDescription

User Contents - Manage custom content (for example, profile pictures)

GET
as of 2021 Summer
getContentsJSON
DELETE
as of 2021 Summer
deleteAllContentHTTP status code

GET
as of 2021 Summer

getContent

Binary data

HEAD
as of 2021 Summer

getContentInfoHTTP status code
POST
as of 2021 Summer
setContentHTTP status code

DELETE
as of 2021 Summer

deleteContentHTTP status code

User Settings - Manage custom settings (for example, layout settings)

GET
as of 2021 Summer
getSettingsJSON
DELETE
as of 2021 Summer
deleteAllSettingsHTTP status code
GET
as of 2021 Summer
getSettingJSON
HEAD
as of 2021 Summer
getSettingInfoHTTP status code
POST
as of 2021 Summer
setSettingHTTP status code
DELETE
as of 2021 Summer
deleteSettingHTTP status code