Method: organizations.spaces.list

Lists spaces under an organization.

HTTP request

GET https://apigee.googleapis.com/v1/{parent=organizations/*}/spaces

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Use the following structure in your request: organizations

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of spaces to return. The service may return fewer than this value. If unspecified, at most 50 spaces will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken

string

Optional. A page token, received from a previous spaces.list call. Provide this to retrieve the subsequent page. When paginating, all parameters must match the original call.

Request body

The request body must be empty.

Response body

A response to a spaces.list request containing the list of organization spaces and a page token for the next page.

If successful, the response body contains data with the following structure:

JSON representation
{
  "spaces": [
    {
      object (Space)
    }
  ],
  "nextPageToken": string
}
Fields
spaces[]

object (Space)

List of Apigee organization spaces.

nextPageToken

string

A token that can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform