get https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/topics/$(topicid)
This API should return the topic information for a specific topicId.
Request
The get topic request is specified as follows:
Request Headers
The following table describes the request headers:
Request Header | Description |
---|---|
secretKey | Secret key generated in backend application. |
content-type | application/json |
Response Examples
{
"topic" : {
"id" : "591d44c3e4b09eee109c1541",
"ref" : "World News",
"created_on" : "2017-05-26T18 12:22:51.001Z",
"description" : "world wide bbc news will be anounced",
"topic" : "news",
"topic_group" : "newsGroup"
},
"trans_id" : "0c19ad72-179c-4d89-bf6d-2e104e3d62f5",
"description" : "success",
"code" : "0"
}