PaginationProps:
allOf:
- type: object
description: Optional properties that may or may not be present (except for `page`, which is always present, and is only here as a hack to pass validation)
properties:
page:
type: number
qs:
type: string
required:
- cid
Pagination:
type: object
pagination:
- $ref: '#/PaginationProps'
prev:
active:
type: boolean
next:
first:
last:
rel:
type: array
description: A collection of objects used to build the link tags pointing to adjacent pages, if any.
items:
enum: [prev, next]
href:
description: A query string that points to the previous or next page
pages:
description: The current page
description: If the page noted in this array is the current page
description: A query string that points to the page noted in this array
currentPage:
pageCount: