Fuselage
Get Deleted Messages
Retrieves the deleted messages from a specific date.
URL
Requires Auth
HTTP Method
/api/v1/chat.getDeletedMessages
yes
GET

Query Parameters

Argument
Example
Required
Description
roomId
ByehQjC44FwMeiLbX
Required
The room id
since
2018-12-12T00:11:22.345Z
Required
The date (ISODate) to search deleted messages

Example Call

1
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
2
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
3
http://localhost:3000/api/v1/chat.getDeletedMessages?roomId=ByehQjC44FwMeiLbX&since=2018-12-12T00:11:22.345Z&count=1&offset=2
Copied!

Example Result

1
{
2
"messages": [
3
{
4
"_id": "W32fr3LjPxQ2TQH8A"
5
},
6
{
7
"_id": "D43CH4HC2J43C2JB4"
8
}
9
],
10
"count": 2,
11
"offset": 2,
12
"total": 91,
13
"success": true
14
}
Copied!

Change Log

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