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
- Many2Many loading, not receiving list
Hi everyone! Im having a bit of trouble while editing single rows in the DB. When selecting a value of my many2many it keeps loading, see screenshot. On some ...
- Appwrite Python SDK Keeps returning the ...
So I have a couple services, one is a scheduling engine responsible for fetching data from a database and launching a containerized micro service to process tha...
- Cannot update relationship value with ev...
I have 2 Tables. One for all Clients (Image 3) and one for projects the clients can create. The problem: I can only assign a handful of clients (Image 1). The r...