Profile services

Overview

These services are dedicated to the modification of a user by himself. The general mode of operation is the same as for the DAM services, especially for the parameters and for the service responses.

End points

The general form of end points in this category is as fallows:

api/rest/profil/{/optional URI extensions}

End point to retrieve a user resource

GET api/rest/profil to get the current surfer profil

GET api/rest/profil/{id}

GET api/rest/profil/{uniq id}

See example and resource samples here.

End point to modify the user

POST api/rest/profil/me to modify the current surfer user

PUT api/rest/profil/me or POST api/rest/profil/me/put

PATCH api/rest/profil/me or POST api/rest/profil/me/patch

This services allows a user to modify its own password: to allow the modification of password, you must pass the both parameters login and password (the current value).

See example and resource samples here.