@ory/client
Version:
OpenAPI client for @ory/client
24 lines (16 loc) • 1.81 kB
Markdown
# TokenPaginationResponseHeaders
The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `<https://{project-slug}.projects.oryapis.com/admin/clients?page_size={limit}&page_token={offset}>; rel=\"{page}\"` 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. prev: The previous page of results. last: The last 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: </clients?page_size=5&page_token=0>; rel=\"first\",</clients?page_size=5&page_token=15>; rel=\"next\",</clients?page_size=5&page_token=5>; rel=\"prev\",</clients?page_size=5&page_token=20>; rel=\"last\" | [optional] [default to undefined]
**x_total_count** | **number** | The X-Total-Count HTTP Header The `X-Total-Count` header contains the total number of items in the collection. | [optional] [default to undefined]
## Example
```typescript
import { TokenPaginationResponseHeaders } from '@ory/client';
const instance: TokenPaginationResponseHeaders = {
link,
x_total_count,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)