Fuselage
Get Discussions of A Room
Retrieve the discussions of a room. It supports the Offset, Count, and Sort Query Parameters.
URL
Requires Auth
HTTP Method
/api/v1/chat.getDiscussions
yes
GET

Query Parameters

Argument
Example
Required
Description
roomId
ByehQjC44FwMeiLbX
Required
The room id

Example Call

1
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
2
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
3
http://localhost:3000/api/v1/chat.getDiscussions?roomId=ByehQjC44FwMeiLbX
Copied!

Example Result

1
{
2
"messages": [
3
{
4
"_id": "WSxSpajNjbNZDkGmq",
5
"t": "discussion-created",
6
"rid": "GENERAL",
7
"ts": "2019-12-03T17:53:44.600Z",
8
"msg": "d",
9
"u": {
10
"_id": "CaevAPDbXN252kyXa",
11
"username": "marcos.defendi"
12
},
13
"groupable": false,
14
"drid": "iQyCSjH2kixh46R7v",
15
"attachments": [],
16
"_updatedAt": "2019-12-03T17:53:44.600Z"
17
},
18
],
19
"count": 1,
20
"offset": 0,
21
"total": 4,
22
"success": true
23
}
Copied!

Change Log

Version
Description
2.4.0
Added
Export as PDF
Copy link
Edit on GitHub