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
- No permissions provided for action 'read...
I have a very weird error; In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows. The funct...
- Issue with downloading large files (40GB...
Hi everyone! I am using the latest Appwrite 1.8.0 version on my self-hosted server. I successfully uploaded a large ZIP archive (~40GB) using the chunked uploa...
- Cant get realtime working
Hey I nned some help with realtime a gain. I was using client.subscribe(...), and i found out that its depricated then i believe realtime.subscribe(...) is the ...