Fuselage
Get Snippeted Message By Id
Retrieve snippeted message by Id.
URL
Requires Auth
HTTP Method
/api/v1/chat.getSnippetedMessageById
yes
GET

Query Parameters

Argument
Example
Required
Description
messageId
ByehQjC44FwMeiLbX
Required
The message id

Example Call

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

Example Result

1
{
2
"message": {
3
"_id": "48sifqi7ezh4ifKaK",
4
"rid": "GENERAL",
5
"msg": "```dsfsdfsdf```",
6
"ts": "2019-10-25T23:26:31.550Z",
7
"u": {
8
"_id": "CaevAPDbXN252kyXa",
9
"username": "marcos.defendi",
10
"name": "Marcos Defendi"
11
},
12
"_updatedAt": "2019-10-25T23:27:51.300Z",
13
"mentions": [],
14
"channels": [],
15
"snippetName": "rr",
16
"snippeted": true,
17
"snippetedBy": {
18
"_id": "CaevAPDbXN252kyXa",
19
"username": "marcos.defendi"
20
}
21
},
22
"success": true
23
}
Copied!

Change Log

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