A standard query for a paginated endpoint

interface PaginatedQuery {
    expand?: string[];
    filter?: string;
    order?: {
        asc: "ASC" | "DESC";
        field: string;
    }[];
    pagination: TokenPagination | OffsetPagination;
}

Properties

expand?: string[]

Fields to expand on the response

filter?: string

A filter string. This is passed directly to $filter

order?: {
    asc: "ASC" | "DESC";
    field: string;
}[]

A list of fields to order by.

Type declaration

  • asc: "ASC" | "DESC"
  • field: string

Pagination configuration. Token and offset pagination are both supported

Generated using TypeDoc