Interface PlaceAssetTypeQueryOptions

Mapping of available query parameters for the asset types index endpoint

interface PlaceAssetTypeQueryOptions {
    _poll?: boolean;
    brand?: string;
    cache?: number;
    category_id?: string;
    fields?: string;
    limit?: number;
    model_number?: string;
    offset?: number;
    q?: string;
    ref?: string;
    zone_id?: string;
}

Hierarchy (View Summary)

Properties

_poll?: boolean

Whether the request is a API poll request

brand?: string

Return assets with the provided brand name

cache?: number

Number of milliseconds to cache the query response

category_id?: string

Return asset types in the category provided

fields?: string

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

limit?: number

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

model_number?: string

Return assets with the provided model number

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

zone_id?: string

Filters the asset count to the zone provided