/api/tickets/thread.json
Возвращает цепочку переписки данного тикета
{
"ticket_id":34937
}
Пример возвращаемого значения
{
"messages": [
{
"id": 140314,
"type": "M",
"is_staff": false,
"author": "Slava",
"created": "2021-02-08 14:41:57",
"title": "API Кактус / Методы API",
"message": "<p>с html <strong><em>разметкой</em></strong></p>",
"attachments": []
},
{
"id": 140324,
"type": "M",
"is_staff": false,
"author": "Slava",
"created": "2021-02-08 14:51:04",
"title": null,
"message": "<p>Еще одно сообщение от пользователя</p>",
"attachments": [
{
"size": 26556,
"url": "https://ticket.kak2c.ru/file.php?key=f-5x9e888ngsiuvsgeuy_ge59gczgnsu&expires=1612828800&signature=ae890af39b6ba9e4659ec5f221b7a4a4d24b5904&id=6866",
"name": "baner-1.jpg"
}
]
},
{
"id": 140326,
"type": "R",
"is_staff": true,
"author": "admin notasoft",
"created": "2021-02-08 14:52:11",
"title": null,
"message": "<p>Сообщение от сотрудника техподдержки</p>",
"attachments": []
}
]
}