
In appwrite version 0 this could be done using
https://domain.com/v1/database/collections/users/documents?limit=100 and then adding &cursor=[id#]
where [id#] is the id number of the record that you are paging after.
In the new version of the app, I am able to get my documents, but I'm only getting 25 results instead of 100 and the cursor no longer works. I've also tried using 'cursorAfter' which also does not seem to work.
What is the new syntax for this to work? (both limit and cursor)

Now you need to use queries Check this: https://appwrite.io/docs/rest#query


Thank you, this helped 🙂

[Solved] How to paginate documents using Rest API?
Recommended threads
- Can't use --queries in appwrite cli
I want to fetch some documents, but i cant use the queries. If someone knows how to do it, pls i would apprecieate the support. I did some attempts with differe...
- How to run queries to get the storage li...
I installed the n8n (self-hosting) and community node n8n-nodes-nappwrite. I tried to get the storage list files more than 25 records. But I cannot find the w...
- Server Error when using Apprwrite in .NE...
Hello can somebody help me.. I'm getting server error 500 when I try use queries in ListDocuments function but when I removed it or just query without filter it...
