device state
Less than 1 minuteloctube-api
device state
url:/device/instance/{id}/state
method:GET
produces:application/x-www-form-urlencoded
consumes:*/*
Note:
Params:
Params:
| name | description | in | require | type | schema |
|---|---|---|---|---|---|
| id | device id | path | true | string |
Status-200:
Response Params:
| name | description | type | schema |
|---|---|---|---|
| message | message content | string | |
| result | result data,{value=notActive},{value=offline}, | string | |
| status | status code | integer(int32) | integer(int32) |
| code | business code | string | |
| timestamp | Timestamp (ms) | integer(int64) | integer(int64) |
Response Example:
{
"message": "",
"result": "",
"status": 0,
"code": "",
"timestamp": 0
}