HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Pagination

所有 open api 換頁的方式都是用 per_page=1&page=4 來控制

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
  }
}