Method: projects.databases.collectionGroups.indexes.list

Lists composite indexes.

HTTP request

GET https://firestore.googleapis.com/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. A parent name of the form projects/{projectId}/databases/{databaseId}/collectionGroups/{collectionId}

Query parameters

Parameters
filter

string

The filter to apply to list results.

pageSize

integer

The number of results to return.

pageToken

string

A page token, returned from a previous call to FirestoreAdmin.ListIndexes, that may be used to get the next page of results.

Request body

The request body must be empty.

Response body

The response for FirestoreAdmin.ListIndexes.

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

JSON representation
{
  "indexes": [
    {
      object (Index)
    }
  ],
  "nextPageToken": string
}
Fields
indexes[]

object (Index)

The requested indexes.

nextPageToken

string

A page token that may be used to request another page of results. If blank, this is the last page.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.