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.
