HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Pagination

Data Structure of Pagination

FieldColumn TypeDescriptionExample
current_pageIntegerCurrent Page
目前頁數
1
per_pageIntegerPer Page
每頁筆數
30
total_pagesIntegerTotal pages
總頁數
1
total_countIntegerTotal counts
總筆數
8

JSON sample

{
  "pagination": {
    "current_page": 1,
    "per_page": 30,
    "total_pages": 1,
    "total_count": 8
  }
}