getOrgTicketDetails
GET https://{{host}}/api/v1/orgs/:org_id/tickets/:ticket_id
Query Parameters
Parameter | Type | Description |
---|---|---|
start | string | start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified |
end | string | end datetime, can be epoch or relative time like -1d, -2h |
duration | string | duration like 7d, 2w |
NOTE: end & duration if both specified, will take precedence over start time
Response Parameters
Parameter | Type | Description |
---|---|---|
id | string | id of the ticket |
created_at | int | when the ticket was created |
updated_at | int | when the ticket was last updated |
type | string | question (default) / bug / critical |
subject | string | subject |
status | string | open / pending / solved / closed |
requester | string | name 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}]}