GetDevice
调用该接口get device entity。
Request
get /devices/{id}
Name | Located in | Type | Description |
---|---|---|---|
id | path | string | 设备ID |
Response
Response 200
Code2 | Description | Type | Schema |
---|---|---|---|
200 | OK | Object | v1GetDeviceResponse |
v1GetDeviceResponse
Name | Type | Description |
---|---|---|
deviceObject | Object | 设备对象 |
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 |