Lists human memberships in a space. Requires service account authentication.
HTTP request
GET https://chat.googleapis.com/v1/{parent=spaces/*}/members
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the space for which to fetch a membership list. Format: spaces/{space} |
Query parameters
Parameters | |
---|---|
pageSize |
Requested page size. The value is capped at 1000. Server may return fewer results than requested. If unspecified, server will default to 100. |
pageToken |
A token identifying a page of results the server should return. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"memberships": [
{
object ( |
Fields | |
---|---|
memberships[] |
List of memberships in the requested (or first) page. |
nextPageToken |
Continuation token to retrieve the next page of results. It will be empty for the last page of results. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chat.bot
For more information, see the OAuth 2.0 Overview.