Bind Device
POST/v1/bindDevice
This API endpoint is used to bind your device with the platform. When a new device unknown to Anedya Platform tries to connect with the platform, it needs to register itself through binding process. In which a unique binding key needs to be passed along with connection key as an additional layer of security. The binding key is one time use only and it changes once a particular device bind and can not be reused.
The same action can also be performed through MQTT.
MQTT Topic
$anedya/device/{deviceID}/bindDevice/json
Request
- application/json
Body
deviceid stringrequired
128-bit UUID of the physical device. UUID should not change throughout lifetime of the device.
bindingsecret stringrequired
Binding Secret for the Node
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
success boolean
error string
errcode integer
{
"success": true,
"error": "string",
"errcode": 0
}
Loading...