跳到主要内容

GetDeviceBasicInfo

调用该接口get device entity basicInfo。

Request​

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

Response​

Response 200​

Code2DescriptionTypeSchema
200OKObjectv1GetDeviceBasicInfoResponse

v1GetDeviceBasicInfoResponse​

NameTypeDescription
basicInfoObjectObject设备基本信息对象

Response default​

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus​

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

protobufAny​

NameTypeDescription
@typestring