Users Api
User related operations
Functions
delete Unfollow User
Link copied to clipboard
Unfollow an object given its ID Returns the number of followers left after the operation
delete User
Link copied to clipboard
Delete a user given its identifier
get List User Followers
Link copied to clipboard
abstract Flow<DgfrCallState<FollowPage>> getListUserFollowers(String id, Integer page, Integer pageSize)
Content copied to clipboard
List all followers for a given object
get List Users
Link copied to clipboard
get Suggest Users
Link copied to clipboard
abstract Flow<DgfrCallState<List<UserSuggestion>>> getSuggestUsers(String q, Integer size)
Content copied to clipboard
Suggest users
get User
Link copied to clipboard
Get a user given its identifier
get User Roles
Link copied to clipboard
List all possible user roles
post Create User
Link copied to clipboard
Create a new object
post Follow User
Link copied to clipboard
Follow a user given its ID
post User Avatar
Link copied to clipboard
abstract Flow<DgfrCallState<UploadedImage>> postUserAvatar(String user, ByteArray file, String fileName, String contentType)
Content copied to clipboard
Upload a new avatar for a given user
put Update User
Link copied to clipboard
abstract Flow<DgfrCallState<User>> putUpdateUser(String user, User payload)
Content copied to clipboard
Update a user given its identifier
Inheritors
DgfrService
Link copied to clipboard