Lists the field configuration and metadata for this database.
Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with the filter set to indexConfig.usesAncestorConfig:false or ttlConfig:*.
HTTP request
GET https://firestore.googleapis.com/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields
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. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with a filter that includes indexConfig.usesAncestorConfig:false or ttlConfig:*.
pageSize
integer
The number of results to return.
pageToken
string
A page token, returned from a previous call to FirestoreAdmin.ListFields, that may be used to get the next page of results.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[[["This webpage details the `FirestoreAdmin.ListFields` function, which is used to list field configurations and metadata within a Firestore database."],["The function currently only retrieves fields that have been explicitly overridden, using the `indexConfig.usesAncestorConfig:false` or `ttlConfig:*` filter."],["The request URL structure follows gRPC Transcoding syntax, with the `parent` parameter specifying the project, database, and collection group."],["Query parameters such as `filter`, `pageSize`, and `pageToken` are used to refine the search, control the amount of results, and to allow for pagination."],["The response body, if successful, contains an array of `fields` objects and `nextPageToken`, and authorization requires either `https://www.googleapis.com/auth/datastore` or `https://www.googleapis.com/auth/cloud-platform` OAuth scopes."]]],[]]