Memos

List Spaces

ListSpaces lists spaces of which the authenticated caller is a member.

GET
/api/v1/spaces

Query Parameters

pageSize?integer

Optional. The maximum number of spaces to return.

Formatint32
pageToken?string

Optional. A token from a previous ListSpaces response.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/spaces"
{  "spaces": [    {      "name": "string",      "title": "string",      "description": "string",      "currentUserRole": "ROLE_UNSPECIFIED",      "memberCount": 0    }  ],  "nextPageToken": "string"}