summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ticket.c')
-rw-r--r--ticket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ticket.c b/ticket.c
index ec19d5e..3fb328c 100644
--- a/ticket.c
+++ b/ticket.c
@@ -103,6 +103,12 @@ void rtclient_ticket_search(rtclient_ticketlist **listptr, const char *query)
, "REST/1.0/search/ticket?query=", query);
}
+void rtclient_ticket_history(unsigned int id)
+{
+ request(NULL, NULL, NULL, "%s%d%s", "REST/1.0/ticket/", id
+ , "/history?format=l");
+}
+
void rtclient_ticket_freelist(rtclient_ticketlist *list)
{
for (size_t i = 0; i < list->length; i++) {