curl --request GET \
--url http://localhost:8080/cabinet/tickets{
"items": [
{
"id": 123,
"title": "<string>",
"status": "<string>",
"priority": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"messages_count": 0,
"last_message": {
"id": 123,
"message_text": "<string>",
"is_from_admin": true,
"created_at": "2023-11-07T05:31:56Z",
"has_media": false,
"media_type": "<string>",
"media_file_id": "<string>",
"media_caption": "<string>"
}
}
],
"total": 123,
"page": 123,
"per_page": 123,
"pages": 123
}Get user’s support tickets.
curl --request GET \
--url http://localhost:8080/cabinet/tickets{
"items": [
{
"id": 123,
"title": "<string>",
"status": "<string>",
"priority": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"messages_count": 0,
"last_message": {
"id": 123,
"message_text": "<string>",
"is_from_admin": true,
"created_at": "2023-11-07T05:31:56Z",
"has_media": false,
"media_type": "<string>",
"media_file_id": "<string>",
"media_caption": "<string>"
}
}
],
"total": 123,
"page": 123,
"per_page": 123,
"pages": 123
}Page number
x >= 1Items per page
1 <= x <= 100Filter by status