Networks, devices, and sensors · GraphQL input

SensorRequestInput input

Defines inputs for submitting a SensorRequest.

Fields

Input Field Description
sensorId - ID! The unique identifier of the Sensor this request is for.
zone - SensorZone! The zone this request is for.
deviceId - ID! The unique identifier of the Device this request is for.
inputType - SensorRequestInputType! The type of request input this is.
ip - String! The target IP address for this request.
protocol - IpProtocol The IP protocol this request is for. Required if inputType IP_PROTOCOL_PORT.
port - Int The IP port this request is for, an unsigned 16-bit integer. Required if inputType IP_PROTOCOL_PORT.
args - SensorRequestArgs Optional list of key/value arguments to use for the SensorRequest.

Example

Example

{
  "sensorId": 4,
  "zone": "LAN",
  "deviceId": "4",
  "inputType": "IP",
  "ip": "abc123",
  "protocol": "TCP",
  "port": 987,
  "args": SensorRequestArgs
}