-
Notifications
You must be signed in to change notification settings - Fork 0
Get Messages
David Haller edited this page Jul 8, 2018
·
3 revisions
URL : /messages/:ticket?limit=:limit
Method : GET
Auth required : YES (Admin, User)
Code : 200 OK
Content example
[{
"id": "1",
"sender": "admin",
"timestamp": "1531082087",
"content": "Hello, everyone!",
"attachment": "42",
"originalName": "image.jpg"
}]
Timestamp is given in milliseconds since January 1, 1970, 00:00:00 UTC.
Authorization fails.
The permissions are not sufficient.
Ticket does not exist.