跳到主要内容

GetDeviceDataRelation

调用该接口get single relation。

Request

get /devices/{id}/relation/{path}
NameLocated inTypeDescription
idpathstring实体Id
pathpathstring路径

Response

Response 200

Code2DescriptionTypeSchema
200OKObjectv1GetDeviceDataRelationResponse

v1GetDeviceDataRelationResponse

NameTypeDescription
expressionsObject单个关系表达式

Response default

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus

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

protobufAny

NameTypeDescription
@typestring