'How to get more then 20 documents in a GET query using Firestore REST API

according to firestore docs: https://firebase.google.com/docs/firestore/quotas "Maximum function call depth" is 20, therefore i am unable to get more documents then 20. how to change this limitation.(i have already linked my project to billing account). thanks.



Solution 1:[1]

Add this parameter at the end of your request url "&pageSize=".

for example:
https://firestore.googleapis.com/v1beta1/projects/<prjct id>/databases/(default)/documents/<doc path>?key=<apikey>&pageSize=100

Solution 2:[2]

The number 20 is not the maximum number of documents you can request. That would be a really unreasonable limit. There is actually no documented limit on the number of documents that can be retrieved, although there likely is a physical limit which mostly will depend on the memory and bandwidth of your app.

It's the maximum depth of functions calls in the security rules for Cloud Firestore.

Solution 3:[3]

My solution

I managed to temporarily solve the problem by adding a parameter, as shown in the attached image.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Frank van Puffelen
Solution 3 Venilton