Third-Party Server Registration
Function Description
The device registers with the third-party server and obtains a secret key.
This step can be omitted if the integration partner does not require it. If necessary, it can be activated later. The corresponding third-party server does not verify or restrict requests from the device.
Request Details
Request Method: POST
Request URL: /activate
Parameter Format:Form Data
Request Parameters
| Field | Field Type | Field Description |
|---|---|---|
| sn | string | Device SN |
Response
{
"code": 0,
"message": "SUCCESS",
"result": {
"secret": "nW2l5fFz64pJdVNXhWr0VOGREYH2xNxUwv7byH3-k1k"
}
}
Response Parameters
| Field | Field Type | Field Description |
|---|---|---|
| secret | string | Secret |