Pagination

December 19, 2024 ยท View on GitHub

This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.

Example Usage

import { Pagination } from "@vercel/sdk/models/pagination.js";

let value: Pagination = {
  count: 20,
  next: 1540095775951,
  prev: 1540095775951,
};

Fields

FieldTypeRequiredDescriptionExample
countnumber:heavy_check_mark:Amount of items in the current page.20
nextnumber:heavy_check_mark:Timestamp that must be used to request the next page.1540095775951
prevnumber:heavy_check_mark:Timestamp that must be used to request the previous page.1540095775951