API functions to '/tickets/:ticket_id' route implemented.  TODO: test