Avatar Service
Endpoints for retrieving avatars from Jive. For retrieving avatars based upon a particular user utilize the
User Service and for retrieving the currently authenticated user's avatar utilize My Service. There
are three kinds of avatars that this service handles
- The default avatar is the avatar a user has when they have not configured an avatar.
- System avatars are the default avatars provided by Jive that users can configure without having to upload a
new avatar.
- The disabled avatar is the avatar given to users when they have been disabled in Jive.
Resource | Description |
---|
Get default | Returns the system default avatar. |
Get disabled | Returns the common avatar for disabled users. |
Get system avatar | Returns the system avatar with the given global avatar identifier. |
Get default
Returns the system default avatar. If a user has not configured their avatar they will have the system default
avatar configured by default, this endpoint returns that avatar.
GET http://domain:port/application_context/api/core/v2/avatars/default
Response
Type | Description |
---|
Response | the system default avatar. |
Get disabled
Returns the common avatar for disabled users.
GET http://domain:port/application_context/api/core/v2/avatars/disabled
Response
Type | Description |
---|
Response | the common avatar for disabled users. |
Get system avatar
Returns the system avatar with the given global avatar identifier.
GET http://domain:port/application_context/api/core/v2/avatars/{id}
Path Parameters
Name | Type | Description | Default Value |
---|
id | long | the system-wide unique identifier for the avatar. | |
Response
Type | Description |
---|
Response | the system avatar with the given global avatar identifier. |