Interface PlaceModuleQueryOptions

Mapping of available query paramters for the modules index

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;
    running?: boolean;
}

Hierarchy

  • PlaceResourceQueryOptions
    • PlaceModuleQueryOptions

Properties

_poll?: boolean

Whether the request is a API poll request

as_of?: number

Returns modules that have not been updated since the value defined as seconds since UTC 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

Returns modules that are in the given system

driver_id?: string

Returns modules with the given dependency

fields?: string

Comma seperated list of fields to apply the query to

limit?: number

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

no_logic?: boolean

Returns modules that are not logic modules (i.e. they connect to a device or service)

offset?: number

Offsets of the results to return. Max 10000

q?: string
running?: boolean

Return modules that are running or not stopped