- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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 |
Project ID against which to make the request. |
Query parameters
Parameters | |
---|---|
filter |
|
pageSize |
The maximum number of items to return. If zero, then all results will be returned. |
pageToken |
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 ( |
Fields | |
---|---|
indexes[] |
The indexes. |
nextPageToken |
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.