hubScanDevices(...args)

Arguments

hubId
ID!,non-nullrequired
deviceType
DeviceType!,non-nullrequired
deviceManufacturerId
ID!,non-nullrequired

Return type

commandId
timeoutSeconds
Mutation sample
mutation hubScanDevices(
  $hubId: ID!
  $deviceType: DeviceType!
  $deviceManufacturerId: ID!
) {
  hubScanDevices(
    hubId: $hubId
    deviceType: $deviceType
    deviceManufacturerId: $deviceManufacturerId
  ) {
    commandId 
    timeoutSeconds 
    errors {
      message 
      path 
    }
  }
}
Variables
{ "hubId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "deviceType": "AIR_QUALITY_SENSOR", "deviceManufacturerId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "commandId": "Example String", "timeoutSeconds": 40, "errors": [ { "message": "Example String", "path": "Example String" } ] } }