Pagination
所有 open api 換頁的方式都是用 per_page=1&page=4
來控制
Data Structure of Pagination
Field | Column Type | Description | Example |
---|---|---|---|
current_page | Integer | Current Page 目前頁數 | 1 |
per_page | Integer | Per Page 每頁筆數 | 30 |
total_pages | Integer | Total pages 總頁數 | 1 |
total_count | Integer | Total counts 總筆數 | 8 |
JSON sample
{
"pagination": {
"current_page": 1,
"per_page": 30,
"total_pages": 1,
"total_count": 8
}
}
Updated 11 months ago