dambel

دمبل

shevron
ورود | ثبت نام

API Docs / globals / pagination-data



Pagination Data

Describes the structure of pagination metadata returned in paginated API responses.

For more details, see the Laravel official documentation.


Schema

FieldTypeDescription
current_pageintCurrent page number
fromintIndex of the first item on the current page
last_pageintLast page number
per_pageintNumber of items per page
tointIndex of the last item on the current page
totalintTotal number of items
linksarrayPagination navigation links

Example

{
  "current_page": 1,
  "from": 1,
  "last_page": 10,
  "per_page": 30,
  "to": 30,
  "total": 300,
  "links": [ /* ... */ ]
}
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube