Updated on 2022-12-05 GMT+08:00

Querying Gateway Information

Topic

Topic

/v1/devices/{gatewayId}/topo/query

Publisher

Edge device

Subscriber

IoT platform

Parameter Description

Field

Mandatory/Optional

Type

Description

mid

Mandatory

Integer

Command ID.

deviceId

Optional

String

Unique device ID generated by the IoT platform, which corresponds to the device client ID.

nodeId

Mandatory

String

Device identifier.

The value must contain 2 to 64 characters and can consist of only uppercase and lowercase letters, digits, and hyphens (-).

model

Optional

String

Product model.

The value must contain 3 to 50 characters and can consist of only uppercase and lowercase letters, digits, hyphens (-), and underscores (_).

manufactureId

Optional

Timestamp

Manufacturer ID.

The value must contain 3 to 32 characters and can consist of only uppercase and lowercase letters, digits, hyphens (-), and underscores (_).

nodeType

Optional

JsonObject

Subdevice information.

Example

{
	"mid": 2,
	"nodeId": "test123"
}