Tips and Tricks

How to to understand the new paging model on Jobs result on 'api/v8/job/listByProject' endpoint.

API returns a paging info in following form: "paging": { "total": 1, "page": 0, "pages": 1 }

The result says that there is a total of "1 page" and that the results shown apply to page 0 in this case.

So "page" is where you are and "pages" is the total number of pages.
The results are always shown by 50 items, so you can see something like:

"paging": {
"total": 100000,
"page": 0,
"pages": 2000