Paging
When using Read APIs. Sometimes the information will return in paged format. Any API that returns a lot of data, will be returned in paged format. You can pass different GET parameters in order to change the response by number per page and the page itself.
Parameters
Parameter |
Description |
perPage |
The number of videos per page (Max of 100) |
page |
The page number (starting at 1) |
orderBy |
What to order by (created, title) |
orderDir |
ASC or DESC |
Response fields
Field |
Description |
total |
The total number of videos |
per_page |
Number of videos per page |
current_page |
The current page |
last_page |
The last page number |
from |
Showing Videos from this number |
to |
Showing Videos to this number |
data |
The page data itself. |