ProfileServiceRest Resource
Profile
- Available Since
- 1.4.0
POST /profile/change/picture
It changes the profile picture. Can be community, user or application user
Accepted media types: PNG, JPG, JPEG.
- Available Since
- 1.4.0
media type | data type |
---|---|
application/json | FDNUserPictureVO (JSON) |
media type | data type | description |
---|---|---|
application/json | object (JSON) |
|
- Available Since
- 1.4.0
POST /profile/edit/profile
Edit user profile
- Available Since
- 1.4.0
media type | data type | description |
---|---|---|
application/json | UpdateUserVo (JSON) | Response List of JSON (example):
|
media type | data type | description |
---|---|---|
application/json | object (JSON) | Response JSON (example):
|
- Available Since
- 1.4.0
GET /profile/image/{genericId}/{type}
Returns the profile's image based on alias
- Available Since
- 1.4.0
name | type | description | constraints |
---|---|---|---|
genericId | path | REQUIRED the user's generic identifier, can be (alias, idpId or userCode) |
|
type | path | REQUIRED the type of images are X_SMALL_PICTURE, SMALL_PICTURE, MEDIUM_PICTURE and LARGE_PICTURE |
"DEFAULT_PICTURE" or "LARGE_PICTURE" or "MEDIUM_PICTURE" or "ORIGINAL_PICTURE" or "SMALL_PICTURE" or "TEMPORARY_PICTURE" or "X_SMALL_PICTURE" |
media type | data type | description |
---|---|---|
application/octet-stream | object | A application/octet-stream with the image file |