@ory/client
Version:
OpenAPI client for @ory/client
22 lines (14 loc) • 1.35 kB
Markdown
# 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 `Link` 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 `next` link is omitted. Examples: </admin/sessions?page_size=250&page_token={last_item_uuid}; rel=\"first\",/admin/sessions?page_size=250&page_token=>; rel=\"next\" | [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)