cloud-status

Use the interface to obtain status of the Cloud platforms that your device has registered with.

HTTP Request

GET http://ip:8070/cloud-api?method=cloud-status&version=1
Parameter Description
method cloud-status
version Cloud version, should be 1.

Response Body

{
  "device_id": "B313221201001", // serial number of your device
  "number": 2,                  // count of Cloud platforms your device can register with
  "version" : 1,               
  "result": 0,
  "status": [
    {
      "cloud-code": "",
      "cloud-date": 0,
      "cloud-enable-https": 0,
      "cloud-http-port": 80,
      "cloud-https-port": 443,
      "cloud-ip-addr": "10.0.1.32",
      "cloud-reg-status": 101,
      "cloud-status": 35,
      "id": 0,
      "is-cloud-set": 1
    },
    {
      "cloud-code": "",
      "cloud-date": 0,
      "cloud-enable-https": 0,
      "cloud-http-port": 80,
      "cloud-https-port": 443,
      "cloud-ip-addr": "10.10.8.233",
      "cloud-reg-status": 103,
      "cloud-status": 35,
      "id": 1,
      "is-cloud-set": 1
    }
  ]

}
Item Description
result 0 indicates that the request was accepted successfully. Refer to Cloud API Status Codes to find specific description for other values.

results matching ""

    No results matching ""