Interface PlaceResourceQueryOptions

Allowable query parameters for basic index endpoints

interface PlaceResourceQueryOptions {
    _poll?: boolean;
    cache?: number;
    fields?: string;
    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

Comma separated list of fields to search. Accepts wildcard expressions and boost relevance scores using caret ^ operator.

limit?: number

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

offset?: number

Use ref for pagination. Offset of the results to return. Max 10000

q?: string
ref?: string

Token for accessing the next page of results, provided in the Link header