Pagination

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

Data Structure of Pagination

Field

Column Type

Description

Example

current_page

Integer

Current Page
目前頁數

1

per_page

Integer

Per Page
每頁筆數
default: 24

24

total_pages

Integer

Total pages
總頁數

1

total_count

Integer

Total counts
總筆數

8

JSON sample

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