Skip to main content
Skip table of contents

GatewayListOptions

Options for limiting the list based on gateway type and associations.

JSON representation

CODE
{
  // Union field filter can be only one of the following:
  "gatewayType": enum(GatewayType),
  "associationsGatewayId": string,
  "associationsDeviceId": string
  // End of list of possible types for the union field filter.
}

Fields

Union field filter. If not set, all devices and gateways are returned. If set, the list is filtered based on gateway type and associations. filter can be only one of the following:

gatewayType

enum(GatewayType)

If GATEWAY is specified, only gateways are returned. If NON_GATEWAY is specified, only non-gateway devices are returned. If GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.

associationsGatewayId

string

If set, only devices associated with the specified gateway are returned. The gateway ID can be numeric (numId) or the user-defined string (id). For example, if 123 is specified, only devices bound to the gateway with numId 123 are returned.

associationsDeviceId

string

If set, returns only the gateways associated with the specified device. The device ID can be numeric (numId) or the user-defined string (id). For example, if 456 is specified, returns only the gateways to which the device with numId 456 is bound.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.