This method retrieves public profiles of users belonging to this group.
Parameters
Name | Type | Required | Parameter Description |
---|---|---|---|
token | String | Yes | Authentication token for the user |
channelId | String | Yes | Identifier of the channel for which the membership information was requested |
showPublicProfile | Boolean | Yes | If true , populate the public profile for each ChannelMember returned. |
Response
A list of ChannelMember objects.
[ { "userId": "u:xxxxxxx", "affiliation": "member", "publicProfile": { "id": "u:xxxxxxx",, "firstName": "Nicole", "lastName": "Sullivan", "profileImage": "https://i.flockusercontent.com/xxxxxx" } }, { "userId": "u:yyyyyyy", "affiliation": "moderator", "publicProfile": { "id": "u:yyyyyyy", "firstName": "Bob", "lastName": "Hartnett", "profileImage": "https://i.flockusercontent.com/yyyyyy" } }, ]
Errors
Error Code | HTTP Status | Description | Additional Parameters |
---|---|---|---|
UnknownChannel | 400 | The group provided in the channelId field can't be located |