firestore.projects.databases.collection Groups.fields.list

GET {{baseUrl}}/v1/:parent/fields?filter=<string>&pageSize=<integer>&pageToken=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

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.

Request Params

KeyDatatypeRequiredDescription
filterstringThe 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.
pageSizestringThe number of results to return.
pageTokenstringA page token, returned from a previous call to FirestoreAdmin.ListFields, that may be used to get the next page of results.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;fields&quot;:[{&quot;indexConfig&quot;:{&quot;ancestorField&quot;:&quot;pariatur&quot;,&quot;indexes&quot;:[{&quot;fields&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;name&quot;:&quot;velit Ut&quot;,&quot;queryScope&quot;:&quot;COLLECTION&quot;,&quot;state&quot;:&quot;NEEDS_REPAIR&quot;},{&quot;fields&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;name&quot;:&quot;adipisicing aliqua commodo&quot;,&quot;queryScope&quot;:&quot;QUERY_SCOPE_UNSPECIFIED&quot;,&quot;state&quot;:&quot;READY&quot;}],&quot;reverting&quot;:true,&quot;usesAncestorConfig&quot;:false},&quot;name&quot;:&quot;amet occaecat ipsum&quot;},{&quot;indexConfig&quot;:{&quot;ancestorField&quot;:&quot;irure ut sed&quot;,&quot;indexes&quot;:[{&quot;fields&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;name&quot;:&quot;ullamco&quot;,&quot;queryScope&quot;:&quot;COLLECTION&quot;,&quot;state&quot;:&quot;CREATING&quot;},{&quot;fields&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;name&quot;:&quot;velit ad qui esse&quot;,&quot;queryScope&quot;:&quot;COLLECTION_GROUP&quot;,&quot;state&quot;:&quot;READY&quot;}],&quot;reverting&quot;:true,&quot;usesAncestorConfig&quot;:true},&quot;name&quot;:&quot;dolor vel&quot;}],&quot;nextPageToken&quot;:&quot;sit est voluptate commodo&quot;}