Call this operation to query the message source topics that are subscribed to by a specified target topic.

Request Parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to QueryTopicReverseRouteTable.
Topic String Yes The target topic, which receives messages from the source topics.
Common Request Parameters - Yes See Common parameters.

Response parameters

Parameter Type Description
RequestId String The globally unique ID generated by Alibaba Cloud for the request.
Success Boolean Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.
ErrorMessage String The error message returned when the call fails.
Code String The error code returned when the call fails. For more information about error codes, see Error codes.
SrcTopics List The list of source topics returned when the call is successful.

Examples

Request example

https://iot.cn-shanghai.aliyuncs.com/?Action=QueryTopicReverseRouteTable
&Topic=%2Fx7aWKW94bb8%2FtestDataToDataHub%2Fupdate
&Public Request Parameters

Response example

{
    "RequestId":"FCC27691-9151-4B93-9622-9C90F30542EC",
    "Success":true,
    "SrcTopics":["/CXi4***/device1/get","/CXi4***/device4/get"]
}