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
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Python Function not working
I am getting this issue as well. Doesnt look like there was a solution as you guys were not able to replicate. Below is my code as well as the error. I started...
- Migration Help
I have a small project which I have started using Appwrite cloud and now I want to self host Appwrite and migrate the data. I'm getting this error everytime I ...