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: 2680
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-05-22T17:38:05Z",
  "userReportCount": 0,
  "subscriptionDetails": null,
  "id": "1",
  "userCount": 0,
  "stats": {
    "30d": [
      [
        1524355200.0,
        4234
      ],
      [
        1524441600.0,
        12361
      ],
      [
        1524528000.0,
        15111
      ],
      [
        1524614400.0,
        14189
      ],
      [
        1524700800.0,
        13294
      ],
      [
        1524787200.0,
        14058
      ],
      [
        1524873600.0,
        12570
      ],
      [
        1524960000.0,
        13277
      ],
      [
        1525046400.0,
        14403
      ],
      [
        1525132800.0,
        11350
      ],
      [
        1525219200.0,
        13532
      ],
      [
        1525305600.0,
        15289
      ],
      [
        1525392000.0,
        12373
      ],
      [
        1525478400.0,
        14745
      ],
      [
        1525564800.0,
        12193
      ],
      [
        1525651200.0,
        14236
      ],
      [
        1525737600.0,
        12704
      ],
      [
        1525824000.0,
        13754
      ],
      [
        1525910400.0,
        11641
      ],
      [
        1525996800.0,
        13275
      ],
      [
        1526083200.0,
        14065
      ],
      [
        1526169600.0,
        13349
      ],
      [
        1526256000.0,
        12059
      ],
      [
        1526342400.0,
        13700
      ],
      [
        1526428800.0,
        12330
      ],
      [
        1526515200.0,
        11836
      ],
      [
        1526601600.0,
        13627
      ],
      [
        1526688000.0,
        12911
      ],
      [
        1526774400.0,
        13327
      ],
      [
        1526860800.0,
        10742
      ],
      [
        1526947200.0,
        8755
      ]
    ],
    "24h": [
      [
        1526922000.0,
        187
      ],
      [
        1526925600.0,
        580
      ],
      [
        1526929200.0,
        209
      ],
      [
        1526932800.0,
        679
      ],
      [
        1526936400.0,
        262
      ],
      [
        1526940000.0,
        712
      ],
      [
        1526943600.0,
        765
      ],
      [
        1526947200.0,
        929
      ],
      [
        1526950800.0,
        648
      ],
      [
        1526954400.0,
        651
      ],
      [
        1526958000.0,
        372
      ],
      [
        1526961600.0,
        153
      ],
      [
        1526965200.0,
        903
      ],
      [
        1526968800.0,
        860
      ],
      [
        1526972400.0,
        429
      ],
      [
        1526976000.0,
        485
      ],
      [
        1526979600.0,
        157
      ],
      [
        1526983200.0,
        300
      ],
      [
        1526986800.0,
        432
      ],
      [
        1526990400.0,
        678
      ],
      [
        1526994000.0,
        249
      ],
      [
        1526997600.0,
        515
      ],
      [
        1527001200.0,
        105
      ],
      [
        1527004800.0,
        392
      ],
      [
        1527008400.0,
        497
      ]
    ]
  },
  "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-05-22T17:38:05.816Z",
    "lastEvent": "2018-05-22T17:38:05.816Z",
    "version": "664a15e0ab49de8cccd0358f917f3da65baec442",
    "firstEvent": "2018-05-22T17:38:05.816Z",
    "lastCommit": null,
    "shortVersion": "664a15e",
    "authors": [],
    "owner": null,
    "commitCount": null,
    "data": {},
    "projects": [
      {
        "name": "Pump Station",
        "slug": "pump-station"
      }
    ]
  },
  "shortId": "PUMP-STATION-1",
  "shareId": null,
  "firstSeen": "2018-05-22T17:38:05Z",
  "count": "1",
  "hasSeen": false,
  "level": "error",
  "isSubscribed": false,
  "title": "This is an example Python exception",
  "isBookmarked": false,
  "project": {
    "slug": "pump-station",
    "id": "2",
    "name": "Pump Station"
  },
  "lastRelease": null,
  "activity": [
    {
      "type": "first_seen",
      "user": null,
      "data": {},
      "id": "0",
      "dateCreated": "2018-05-22T17:38:05Z"
    }
  ],
  "statusDetails": {}
}