UNPKG

@ory/client

Version:

OpenAPI client for @ory/client

22 lines (14 loc) 1.35 kB
# KeysetPaginationResponseHeaders The `Link` HTTP header contains multiple links (`first`, `next`) formatted as: `<https://{project-slug}.projects.oryapis.com/admin/sessions?page_size=250&page_token=>; rel=\"first\"` For details on pagination please head over to the [pagination documentation](https://www.ory.com/docs/ecosystem/api-design#pagination). ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **link** | **string** | The Link HTTP Header The &#x60;Link&#x60; header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. Pages are omitted if they do not exist. For example, if there is no next page, the &#x60;next&#x60; link is omitted. Examples: &lt;/admin/sessions?page_size&#x3D;250&amp;page_token&#x3D;{last_item_uuid}; rel&#x3D;\&quot;first\&quot;,/admin/sessions?page_size&#x3D;250&amp;page_token&#x3D;&gt;; rel&#x3D;\&quot;next\&quot; | [optional] [default to undefined] ## Example ```typescript import { KeysetPaginationResponseHeaders } from '@ory/client'; const instance: KeysetPaginationResponseHeaders = { link, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)