Skip to main content

GetDevice

调用该接口get device entity。

Request

get /devices/{id}
NameLocated inTypeDescription
idpathstring设备ID

Response

Response 200

Code2DescriptionTypeSchema
200OKObjectv1GetDeviceResponse

v1GetDeviceResponse

NameTypeDescription
deviceObjectObject设备对象

Response default

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus

NameTypeDescription
codeinteger
detailsArray[protobufAny][ 具体参数可见下面 protobufAny ]
messagestring

protobufAny

NameTypeDescription
@typestring