Interface PlaceAssetCategoryQueryOptions

Mapping of available query parameters for the asset categories index endpoint

interface PlaceAssetCategoryQueryOptions {
    _poll?: boolean;
    cache?: number;
    fields?: string;
    hidden?: boolean;
    limit?: number;
    offset?: number;
    q?: string;
    ref?: string;
}

Hierarchy (View Summary)

Properties

_poll?: boolean

Whether the request is a API poll request

cache?: number

Number of milliseconds to cache the query response

fields?: string

Ignored by the server since PlaceOS moved search to PostgreSQL (PPT-2644)

hidden?: boolean

Filter categories by hidden status. true returns only hidden categories, false returns only non-hidden categories, undefined returns all categories.

limit?: number

Number of results to return. Defaults to 20. Max 10000

offset?: number

Offset of the results to return. Max 1000000

q?: string

Free-text search filter. Words match as prefixes against the resource's searchable fields (PostgreSQL full-text search); all words must match.

ref?: string

Ignored by the server; pagination follows the Link header's offset