get https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/topics
This API is used to list the topics for a specific appID
Request
The List 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 Example
{
"topics" : [{
"id" : "591d44c3e4b09eee109c1541",
"ref" : "World News",
"created_on" : "2017-05-26T18 12:22:51.001Z",
"description" : "World wide news will be anounced",
"topic" : "news",
"topic_group" : "newsGroup"
}, {
"id" : "591d7b7de4b09e0d95d4f73d",
"ref" : "offer ref",
"created_on" : "2017-05-26T18 12:22:51.001Z",
"description" : "Get Benifits by subscribe",
"topic" : "offers",
"topic_group" : "Extra Benifits"
}
],
"trans_id" : "0c19ad72-179c-4d89-bf6d-2e104e3d62f5",
"description" : "success",
"code" : "0"
}