Method: spaces.members.list

Lists human memberships in a space.

HTTP request

GET https://chat.googleapis.com/v1/{parent=spaces/*}/members

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the space for which membership list is to be fetched, in the form "spaces/*".

Example: spaces/AAAAMpdlehY

Query parameters

Parameters
pageSize

number

Requested page size. The value is capped at 1000. Server may return fewer results than requested. If unspecified, server will default to 100.

pageToken

string

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(Membership)
    }
  ],
  "nextPageToken": string
}
Fields
memberships[]

object(Membership)

List of memberships in the requested (or first) page.

nextPageToken

string

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.