EnableDevice
调用该接口enable device。
Request
put /devices/{id}/enable
| Name | Located in | Type | Description |
|---|---|---|---|
| id | path | string |
Request Body
| Description | Type | Schema |
|---|---|---|
| Object | v1Enable |
v1Enable
| Name | Type | Description |
|---|---|---|
| enable | boolean |
Response
Response 200
| Code3 | Description | Type |
|---|---|---|
| 200 | OK | { { }} |
Response default
| Code2 | Description | Type | Schema |
|---|---|---|---|
| default | An unexpected error response. | Object | rpcStatus |
rpcStatus
| Name | Type | Description |
|---|---|---|
| code | integer | |
| details | Array[protobufAny] | [ 具体参数可见下面 protobufAny ] |
| message | string |
protobufAny
| Name | Type | Description |
|---|---|---|
| @type | string |