Schema
Page Pagination Meta
Metadata for responses that use page-based pagination.
Overview
Properties
current_page
integer
Required
The current page number (will match `page` in the request if it is supplied).
Minimum
1
last_page
integer
Required
The last available page of results.
Minimum
1
first_item_on_current_page
integer | null
Required
The position of the first result in the current page relative to the total number of possible results. If there are zero results this field will be `null`.
Minimum
1
Nullable
Yes
last_item_on_current_page
integer | null
Required
The position of the last result in the current page relative to the total number of possible results. If there are zero results this field will be `null`.
Minimum
1
Nullable
Yes
per_page
integer
Required
The number of results that will be returned per page (will match `per_page` in the request if it is supplied).
Minimum
1
Maximum
100
total_results
integer
Required
The total number of results across all pages.
Used by
Raw YAML
Download source
title: Page Pagination Meta
type: object
x-tags:
- Models
description: Metadata for responses that use page-based pagination.
required:
- current_page
- last_page
- first_item_on_current_page
- last_item_on_current_page
- per_page
- total_results
properties:
current_page:
type: integer
minimum: 1
description: The current page number (will match `page` in the request if it is supplied).
last_page:
type: integer
minimum: 1
description: The last available page of results.
first_item_on_current_page:
type:
- integer
- 'null'
minimum: 1
description: |-
The position of the first result in the current page relative to the total number of possible results.
If there are zero results this field will be `null`.
last_item_on_current_page:
type:
- integer
- 'null'
minimum: 1
description: |-
The position of the last result in the current page relative to the total number of possible results.
If there are zero results this field will be `null`.
per_page:
type: integer
minimum: 1
maximum: 100
description: The number of results that will be returned per page (will match `per_page` in the request if it is supplied).
total_results:
type: integer
description: The total number of results across all pages.