Method: projects.indexes.list

Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results.

HTTP request

GET https://datastore.googleapis.com/v1/projects/{projectId}/indexes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Project ID against which to make the request.

Query parameters

Parameters
filter

string

pageSize

integer

The maximum number of items to return. If zero, then all results will be returned.

pageToken

string

The nextPageToken value returned from a previous List request, if any.

Request body

The request body must be empty.

Response body

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

The response for google.datastore.admin.v1.DatastoreAdmin.ListIndexes.

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

object (Index)

The indexes.

nextPageToken

string

The standard List next-page token.

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.