The Custom User Profile has a RESTful API to retrieve useful information for any kind of external usage. All endpoints return their data as JSON strings (a standardized lightweight data-interchange format).
Do you miss some features here? Please feel free to let us know.
Profile Fields API
The Profile Fields API gives you all informations about the configured fields. The Profile Fields API is available under YOUR_DOMAIN_AND_CONTEXT/rest/cup/1.0/fields.
Retrieve a list of all configured user profile fields.
Results in a complete list of configured fields:
Get a list of all values (sorted and unique) used for one field
With this endpoint of the Profile Fields API you can get all set values for one specific field.
fieldKey: field key ("userFieldBK") configured in CUP
Results in a list of all given user values:
User Profile API
The User Profile API provides various profile information. The API is available under DOMAIN_AND_CONTEXT/rest/cup/1.0/profile.
Get the CUP profile of the current user
With this endpoint of the User Profile API you can get the complete profile data of the currently logged in user.
Results in a complete set of profile information:
Get the CUP profile of a given user
With this endpoint of the User Profile API you can get the complete profile data of any given user.
userName: confluence user name for the profile you want to retrieve
Results in a complete set of visible profile information of a specified user:
- No labels