Retrieve an Issue

GET /api/0/issues/{issue_id}/

Return details on an individual issue. This returns the basic stats for the issue (title, last seen, first seen), some overall numbers (number of comments, user reports) as well as the summarized event data.

Path Parameters:issue_id (string) – the ID of the issue to retrieve.
Authentication:required
Method:GET
Path:/api/0/issues/{issue_id}/

Example

GET /api/0/issues/1/ HTTP/1.1
Authorization: Basic ___ENCODED_API_KEY___
Host: app.getsentry.com
HTTP/1.1 200 OK
Allow: GET, PUT, DELETE, HEAD, OPTIONS
Content-Language: en
Content-Length: 2669
Content-Type: application/json
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Xss-Protection: 1; mode=block

{
  "status": "unresolved",
  "pluginIssues": [],
  "lastSeen": "2018-02-20T15:27:19Z",
  "userReportCount": 0,
  "subscriptionDetails": null,
  "id": "1",
  "userCount": 0,
  "stats": {
    "30d": [
      [
        1516492800.0,
        4958
      ],
      [
        1516579200.0,
        13071
      ],
      [
        1516665600.0,
        15516
      ],
      [
        1516752000.0,
        13909
      ],
      [
        1516838400.0,
        12651
      ],
      [
        1516924800.0,
        13354
      ],
      [
        1517011200.0,
        13006
      ],
      [
        1517097600.0,
        13090
      ],
      [
        1517184000.0,
        13027
      ],
      [
        1517270400.0,
        14565
      ],
      [
        1517356800.0,
        14170
      ],
      [
        1517443200.0,
        11936
      ],
      [
        1517529600.0,
        13803
      ],
      [
        1517616000.0,
        12882
      ],
      [
        1517702400.0,
        12581
      ],
      [
        1517788800.0,
        13454
      ],
      [
        1517875200.0,
        15437
      ],
      [
        1517961600.0,
        13520
      ],
      [
        1518048000.0,
        13519
      ],
      [
        1518134400.0,
        13668
      ],
      [
        1518220800.0,
        14137
      ],
      [
        1518307200.0,
        14213
      ],
      [
        1518393600.0,
        14510
      ],
      [
        1518480000.0,
        13336
      ],
      [
        1518566400.0,
        13813
      ],
      [
        1518652800.0,
        14913
      ],
      [
        1518739200.0,
        12369
      ],
      [
        1518825600.0,
        11988
      ],
      [
        1518912000.0,
        13355
      ],
      [
        1518998400.0,
        12885
      ],
      [
        1519084800.0,
        8395
      ]
    ],
    "24h": [
      [
        1519052400.0,
        500
      ],
      [
        1519056000.0,
        689
      ],
      [
        1519059600.0,
        845
      ],
      [
        1519063200.0,
        691
      ],
      [
        1519066800.0,
        545
      ],
      [
        1519070400.0,
        450
      ],
      [
        1519074000.0,
        225
      ],
      [
        1519077600.0,
        904
      ],
      [
        1519081200.0,
        622
      ],
      [
        1519084800.0,
        418
      ],
      [
        1519088400.0,
        529
      ],
      [
        1519092000.0,
        575
      ],
      [
        1519095600.0,
        168
      ],
      [
        1519099200.0,
        886
      ],
      [
        1519102800.0,
        480
      ],
      [
        1519106400.0,
        350
      ],
      [
        1519110000.0,
        451
      ],
      [
        1519113600.0,
        622
      ],
      [
        1519117200.0,
        506
      ],
      [
        1519120800.0,
        132
      ],
      [
        1519124400.0,
        965
      ],
      [
        1519128000.0,
        602
      ],
      [
        1519131600.0,
        786
      ],
      [
        1519135200.0,
        252
      ],
      [
        1519138800.0,
        673
      ]
    ]
  },
  "culprit": "raven.scripts.runner in main",
  "pluginContexts": [],
  "pluginActions": [],
  "assignedTo": null,
  "participants": [],
  "logger": null,
  "type": "default",
  "annotations": [],
  "metadata": {
    "title": "This is an example Python exception"
  },
  "seenBy": [],
  "tags": [],
  "numComments": 0,
  "isPublic": false,
  "permalink": null,
  "firstRelease": {
    "dateReleased": null,
    "newGroups": 0,
    "url": null,
    "ref": null,
    "lastDeploy": null,
    "deployCount": null,
    "dateCreated": "2018-02-20T15:27:20.074Z",
    "lastEvent": "2018-02-20T15:27:20.074Z",
    "version": "10104211301dda037321e714837c6ff812f93ea5",
    "firstEvent": "2018-02-20T15:27:20.074Z",
    "lastCommit": null,
    "shortVersion": "1010421",
    "authors": [],
    "owner": null,
    "commitCount": null,
    "data": {},
    "projects": [
      {
        "name": "Pump Station",
        "slug": "pump-station"
      }
    ]
  },
  "shortId": "PUMP-STATION-1",
  "shareId": null,
  "firstSeen": "2018-02-20T15:27:19Z",
  "count": "1",
  "hasSeen": false,
  "level": "error",
  "isSubscribed": false,
  "title": "This is an example Python exception",
  "isBookmarked": false,
  "project": {
    "name": "Pump Station",
    "slug": "pump-station"
  },
  "lastRelease": null,
  "activity": [
    {
      "type": "first_seen",
      "user": null,
      "data": {},
      "id": "0",
      "dateCreated": "2018-02-20T15:27:19Z"
    }
  ],
  "statusDetails": {}
}