Interface PlaceModuleQueryOptions

Mapping of available query parameters for the modules index endpoint

interface PlaceModuleQueryOptions {
    _poll?: boolean;
    as_of?: number;
    cache?: number;
    connected?: boolean;
    control_system_id?: string;
    driver_id?: string;
    fields?: string;
    limit?: number;
    no_logic?: boolean;
    offset?: number;
    q?: string;
    ref?: string;
    running?: boolean;
}

Hierarchy (View Summary)

Properties

_poll?: boolean

Whether the request is a API poll request

as_of?: number

Only return modules updated before this time (unix epoch)

cache?: number

Number of milliseconds to cache the query response

connected?: boolean

Return results that connected state matches this value

control_system_id?: string

Only return modules running in this system (query params are ignored if this is provided)

driver_id?: string

Only return instances of this driver

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

no_logic?: boolean

Do not return logic modules (return only modules that can exist in multiple systems)

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

running?: boolean

Return only running modules