Memos unofficial
GET/api/v1/spaces

List spaces

Lists spaces that the authenticated user is a member of. Use pageSize to limit the number of results and pageToken to continue from a previous response.

2 parameters
pageSizeintegeroptional
The maximum number of spaces to return in the response.
pageTokenstringoptional
A pagination token from a previous ListSpaces response.

2 status codes
200Returns a list of spaces and a `nextPageToken` when another page of results is available.
spacesarray<object>optional
nextPageTokenstringoptional
defaultDefault error response
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.

Error handling

pageToken must come from a previous ListSpaces response to continue pagination. The results contain spaces of which the authenticated user is a member.