getOrgTicketDetails

GET https://{{host}}/api/v1/orgs/:org_id/tickets/:ticket_id

Query Parameters

ParameterTypeDescription
startstringstart datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
endstringend datetime, can be epoch or relative time like -1d, -2h
durationstringduration like 7d, 2w

NOTE: end & duration if both specified, will take precedence over start time

Response Parameters

ParameterTypeDescription
idstringid of the ticket
created_atintwhen the ticket was created
updated_atintwhen the ticket was last updated
typestringquestion (default) / bug / critical
subjectstringsubject
statusstringopen / pending / solved / closed
requesterstringname of the requester

Ticket Status open: * open: Mist is working on it * pending: ticket is open and Requester attention is needed (e.g. Mist is asking for some more information) * solved: ticket is marked as solved / considered by Mist (requester can update it, causing it to re-open; or rate it) * closed: ticket is archived and cannot be changed

RESPONSES

status: OK

{"id":"00000000-0000-0000-0000-00000000000c","case_number":"12","created_at":1453908369,"updated_at":1453908369,"subject":"Please add me","type":"bug","status":"open","requester":"John Smith","requester_email":"joe@abc.com","comments":[{"comment":"this is urgent, see my screenshot","created_at":1453908369,"author":"John Smith","attachment_ids":["00000000-0000-0000-0000-15231a659c13"]}],"attachments":[{"id":"00000000-0000-0000-0000-15231a659c13","file_name":"crash.png","created_at":1453908369,"content_url":"https://api.mist.com/api/v1/forward/download?jwt=...","content_type":"image/png","size_in_bytes":1943},{"id":"00000000-0000-0000-0000-15231a659c78","file_name":"crash.log","created_at":1453908369,"content_url":"https://api.mist.com/api/v1/forward/download?jwt=...","content_type":"text/plain","size_in_bytes":2532}]}