get https://rtm.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/threads?start=0
This API is used to fetch thread information from a given app.
Request
The app threads 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 |
Request Body
The following table describes the request parameters:
Parameter | Type | Mandatory | Description |
---|---|---|---|
appid | String | Yes | Specifies the application ID. |
start | Integer | No | Specifies the integer value where the record pointer should start in the app threads. A maximum of 100 threads can be returned (if available). |
##Request Example
{
"total": 2,
"count": 2,
"threads": [
{
"id": "59197d9ee4b04a5c464d71f6_1_526e4c1265d503cf33676bf9343a2de75ebbf7fd",
"title": "RTIRAPIEXPLORER",
"created_on": "2017-05-22T07:27:12.218Z",
"stream_name": "APPUSERSTREAM",
"updated_on": "2017-05-22T07:27:12.218Z",
"type": "announcement"
},
{
"id": "59227838e4b000ec6d005d0f_0_cb9f444b8c3312fe3521421ab317fa3bb99a7c1c",
"title": "chk2",
"created_on": "2017-05-22T07:14:20.716Z",
"stream_name": "Sprint122",
"updated_on": "2017-05-22T07:14:20.716Z",
"type": "Conversation"
}
],
"description": "success",
"code": "0"
}
Request Body
The following table describes the elements in the request URL:
Parameter | Type | Mandatory | Description |
---|---|---|---|
appid | String | Yes | Specifies the application ID. |