Stay organized with collections
Save and categorize content based on your preferences.
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.
HTTP request
GET https://firestore.googleapis.com/v1beta2/{parent=projects/*/databases/*/collectionGroups/*}/fields
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 the filter set to indexConfig.usesAncestorConfig:false.
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 document describes how to list field configurations and metadata within a Firestore database using the `FirestoreAdmin.ListFields` method."],["The `FirestoreAdmin.ListFields` method can only list fields that have explicit overrides, which is accomplished by setting the filter to `indexConfig.usesAncestorConfig:false`."],["The request URL follows the gRPC Transcoding syntax and requires the parent path parameter to specify the database and collection group."],["Optional query parameters include `filter`, `pageSize` to limit results, and `pageToken` to retrieve the next page of data."],["The successful response body will include an array of `fields` and a `nextPageToken` for pagination if more fields exist, otherwise the request body must be empty."]]],[]]