I’m using the rest api.
Let’s say for example I’m quering Assets, and there are over 7000.
I know there is a parameter called ‘Page’ that can be supplied to the query. How does one know how many pages even exist? The reason I ask is because i want to add pagination to the bottom of my website but how do I know how many pages will exist? Does the initial query return information telling me how many pages are available?
Assuming I write my query in a way where I only collect the first 500. Does the data return to me some information letting me know there are 14 pages in total. As some users may want to jump to a specific page.