groups_get_avatar
Get avatar of the group.
Resource URL
https://www.domain.com/api/userplus/groups_get_avatar/
Method
POST
Required Parameters
- key – get API key from Settings > User Plus
- group_id - ID of the group
- cookie – admin of the group.
Optional Parameters
- type - Size of the avatar ‘thumb’ or ‘full’. 'thumb’ by default.
- size – width and height of the avatar. 50 by default.
Endpoint Returns
Returns false on failure.
On successful uploading, returns url of the full avatar and its thumb.
Related Endpoints
- groups
- groups_create_group
- groups_delete_group
- groups_delete_groupmeta
- groups_edit_group_settings
- groups_get_cover
- groups_get_group
- groups_get_groupmeta
- groups_invite_user
- groups_invite_users_admin
- groups_is_user_admin
- groups_is_user_member
- groups_is_user_mod
- groups_join_group
- groups_join_group_admin
- groups_leave_group
- groups_members
- groups_post_update
- groups_send_membership_request
- groups_update_group
- groups_update_groupmeta