List an Issue's Hashes

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

This endpoint lists an issue’s hashes, which are the generated checksums used to aggregate individual events.

Path Parameters:
  • issue_id (string)

    the ID of the issue to retrieve.

Authentication: required
Method: GET
Path: /api/0/issues/{issue_id}/hashes/

Example

GET /api/0/issues/1/hashes/ HTTP/1.1
Host: sentry.io
Authorization: Bearer <token>
HTTP/1.1 200 OK
Content-Length: 8915
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Language: en
Vary: Accept-Language, Cookie
Link: <https://sentry.io/api/0/issues/1/hashes/?&cursor=1:0:1>; rel="previous"; results="false"; cursor="1:0:1", <https://sentry.io/api/0/issues/1/hashes/?&cursor=1:100:0>; rel="next"; results="false"; cursor="1:100:0"
Allow: GET, DELETE, HEAD, OPTIONS
X-Frame-Options: deny
Content-Type: application/json

[
  {
    "id": "c4a4d06bc314205bb3b6bdb612dde7f1", 
    "latestEvent": {
      "_meta": {
        "context": null, 
        "contexts": null, 
        "entries": {}, 
        "message": null, 
        "packages": null, 
        "sdk": null, 
        "tags": {}, 
        "user": null
      }, 
      "context": {
        "emptyList": [], 
        "emptyMap": {}, 
        "length": 10837790, 
        "results": [
          1, 
          2, 
          3, 
          4, 
          5
        ], 
        "session": {
          "foo": "bar"
        }, 
        "unauthorized": false, 
        "url": "http://example.org/foo/bar/"
      }, 
      "contexts": {}, 
      "dateCreated": "2018-11-06T21:19:55Z", 
      "dateReceived": "2018-11-06T21:19:55Z", 
      "dist": null, 
      "entries": [
        {
          "data": {
            "message": "This is an example Python exception"
          }, 
          "type": "message"
        }, 
        {
          "data": {
            "frames": [
              {
                "absPath": "/home/ubuntu/.virtualenvs/getsentry/src/raven/raven/base.py", 
                "colNo": null, 
                "context": [
                  [
                    298, 
                    "                frames = stack"
                  ], 
                  [
                    299, 
                    ""
                  ], 
                  [
                    300, 
                    "            data.update({"
                  ], 
                  [
                    301, 
                    "                'sentry.interfaces.Stacktrace': {"
                  ], 
                  [
                    302, 
                    "                    'frames': get_stack_info(frames,"
                  ], 
                  [
                    303, 
                    "                        transformer=self.transform)"
                  ], 
                  [
                    304, 
                    "                },"
                  ], 
                  [
                    305, 
                    "            })"
                  ], 
                  [
                    306, 
                    ""
                  ], 
                  [
                    307, 
                    "        if 'sentry.interfaces.Stacktrace' in data:"
                  ], 
                  [
                    308, 
                    "            if self.include_paths:"
                  ]
                ], 
                "errors": null, 
                "filename": "raven/base.py", 
                "function": "build_msg", 
                "inApp": false, 
                "instructionAddr": null, 
                "lineNo": 303, 
                "module": "raven.base", 
                "package": null, 
                "platform": null, 
                "symbol": null, 
                "symbolAddr": null, 
                "trust": null, 
                "vars": {
                  "'culprit'": null, 
                  "'data'": {
                    "'message'": "u'This is a test message generated using ``raven test``'", 
                    "'sentry.interfaces.Message'": {
                      "'message'": "u'This is a test message generated using ``raven test``'", 
                      "'params'": []
                    }
                  }, 
                  "'date'": "datetime.datetime(2013, 8, 13, 3, 8, 24, 880386)", 
                  "'event_id'": "'54a322436e1b47b88e239b78998ae742'", 
                  "'event_type'": "'raven.events.Message'", 
                  "'extra'": {
                    "'go_deeper'": [
                      [
                        {
                          "'bar'": [
                            "'baz'"
                          ], 
                          "'foo'": "'bar'"
                        }
                      ]
                    ], 
                    "'loadavg'": [
                      0.37255859375, 
                      0.5341796875, 
                      0.62939453125
                    ], 
                    "'user'": "'dcramer'"
                  }, 
                  "'frames'": "<generator object iter_stack_frames at 0x107bcc3c0>", 
                  "'handler'": "<raven.events.Message object at 0x107bd0890>", 
                  "'k'": "'sentry.interfaces.Message'", 
                  "'kwargs'": {
                    "'level'": 20, 
                    "'message'": "'This is a test message generated using ``raven test``'"
                  }, 
                  "'public_key'": null, 
                  "'result'": {
                    "'message'": "u'This is a test message generated using ``raven test``'", 
                    "'sentry.interfaces.Message'": {
                      "'message'": "u'This is a test message generated using ``raven test``'", 
                      "'params'": []
                    }
                  }, 
                  "'self'": "<raven.base.Client object at 0x107bb8210>", 
                  "'stack'": true, 
                  "'tags'": null, 
                  "'time_spent'": null, 
                  "'v'": {
                    "'message'": "u'This is a test message generated using ``raven test``'", 
                    "'params'": []
                  }
                }
              }, 
              {
                "absPath": "/home/ubuntu/.virtualenvs/getsentry/src/raven/raven/base.py", 
                "colNo": null, 
                "context": [
                  [
                    454, 
                    "        if not self.is_enabled():"
                  ], 
                  [
                    455, 
                    "            return"
                  ], 
                  [
                    456, 
                    ""
                  ], 
                  [
                    457, 
                    "        data = self.build_msg("
                  ], 
                  [
                    458, 
                    "            event_type, data, date, time_spent, extra, stack, tags=tags,"
                  ], 
                  [
                    459, 
                    "            **kwargs)"
                  ], 
                  [
                    460, 
                    ""
                  ], 
                  [
                    461, 
                    "        self.send(**data)"
                  ], 
                  [
                    462, 
                    ""
                  ], 
                  [
                    463, 
                    "        return (data.get('event_id'),)"
                  ], 
                  [
                    464, 
                    ""
                  ]
                ], 
                "errors": null, 
                "filename": "raven/base.py", 
                "function": "capture", 
                "inApp": false, 
                "instructionAddr": null, 
                "lineNo": 459, 
                "module": "raven.base", 
                "package": null, 
                "platform": null, 
                "symbol": null, 
                "symbolAddr": null, 
                "trust": null, 
                "vars": {
                  "'data'": null, 
                  "'date'": null, 
                  "'event_type'": "'raven.events.Message'", 
                  "'extra'": {
                    "'go_deeper'": [
                      [
                        {
                          "'bar'": [
                            "'baz'"
                          ], 
                          "'foo'": "'bar'"
                        }
                      ]
                    ], 
                    "'loadavg'": [
                      0.37255859375, 
                      0.5341796875, 
                      0.62939453125
                    ], 
                    "'user'": "'dcramer'"
                  }, 
                  "'kwargs'": {
                    "'level'": 20, 
                    "'message'": "'This is a test message generated using ``raven test``'"
                  }, 
                  "'self'": "<raven.base.Client object at 0x107bb8210>", 
                  "'stack'": true, 
                  "'tags'": null, 
                  "'time_spent'": null
                }
              }, 
              {
                "absPath": "/home/ubuntu/.virtualenvs/getsentry/src/raven/raven/base.py", 
                "colNo": null, 
                "context": [
                  [
                    572, 
                    "        \"\"\""
                  ], 
                  [
                    573, 
                    "        Creates an event from ``message``."
                  ], 
                  [
                    574, 
                    ""
                  ], 
                  [
                    575, 
                    "        >>> client.captureMessage('My event just happened!')"
                  ], 
                  [
                    576, 
                    "        \"\"\""
                  ], 
                  [
                    577, 
                    "        return self.capture('raven.events.Message', message=message, **kwargs)"
                  ], 
                  [
                    578, 
                    ""
                  ], 
                  [
                    579, 
                    "    def captureException(self, exc_info=None, **kwargs):"
                  ], 
                  [
                    580, 
                    "        \"\"\""
                  ], 
                  [
                    581, 
                    "        Creates an event from an exception."
                  ], 
                  [
                    582, 
                    ""
                  ]
                ], 
                "errors": null, 
                "filename": "raven/base.py", 
                "function": "captureMessage", 
                "inApp": false, 
                "instructionAddr": null, 
                "lineNo": 577, 
                "module": "raven.base", 
                "package": null, 
                "platform": null, 
                "symbol": null, 
                "symbolAddr": null, 
                "trust": null, 
                "vars": {
                  "'kwargs'": {
                    "'data'": null, 
                    "'extra'": {
                      "'go_deeper'": [
                        [
                          {
                            "'bar'": [
                              "'baz'"
                            ], 
                            "'foo'": "'bar'"
                          }
                        ]
                      ], 
                      "'loadavg'": [
                        0.37255859375, 
                        0.5341796875, 
                        0.62939453125
                      ], 
                      "'user'": "'dcramer'"
                    }, 
                    "'level'": 20, 
                    "'stack'": true, 
                    "'tags'": null
                  }, 
                  "'message'": "'This is a test message generated using ``raven test``'", 
                  "'self'": "<raven.base.Client object at 0x107bb8210>"
                }
              }, 
              {
                "absPath": "/home/ubuntu/.virtualenvs/getsentry/src/raven/raven/scripts/runner.py", 
                "colNo": null, 
                "context": [
                  [
                    72, 
                    "        level=logging.INFO,"
                  ], 
                  [
                    73, 
                    "        stack=True,"
                  ], 
                  [
                    74, 
                    "        tags=options.get('tags', {}),"
                  ], 
                  [
                    75, 
                    "        extra={"
                  ], 
                  [
                    76, 
                    "            'user': get_uid(),"
                  ], 
                  [
                    77, 
                    "            'loadavg': get_loadavg(),"
                  ], 
                  [
                    78, 
                    "        },"
                  ], 
                  [
                    79, 
                    "    ))"
                  ], 
                  [
                    80, 
                    ""
                  ], 
                  [
                    81, 
                    "    if client.state.did_fail():"
                  ], 
                  [
                    82, 
                    "        print('error!')"
                  ]
                ], 
                "errors": null, 
                "filename": "raven/scripts/runner.py", 
                "function": "send_test_message", 
                "inApp": false, 
                "instructionAddr": null, 
                "lineNo": 77, 
                "module": "raven.scripts.runner", 
                "package": null, 
                "platform": null, 
                "symbol": null, 
                "symbolAddr": null, 
                "trust": null, 
                "vars": {
                  "'client'": "<raven.base.Client object at 0x107bb8210>", 
                  "'data'": null, 
                  "'k'": "'secret_key'", 
                  "'options'": {
                    "'data'": null, 
                    "'tags'": null
                  }
                }
              }, 
              {
                "absPath": "/home/ubuntu/.virtualenvs/getsentry/src/raven/raven/scripts/runner.py", 
                "colNo": null, 
                "context": [
                  [
                    107, 
                    "    print(\"Using DSN configuration:\")"
                  ], 
                  [
                    108, 
                    "    print(\" \", dsn)"
                  ], 
                  [
                    109, 
                    "    print()"
                  ], 
                  [
                    110, 
                    ""
                  ], 
                  [
                    111, 
                    "    client = Client(dsn, include_paths=['raven'])"
                  ], 
                  [
                    112, 
                    "    send_test_message(client, opts.__dict__)"
                  ]
                ], 
                "errors": null, 
                "filename": "raven/scripts/runner.py", 
                "function": "main", 
                "inApp": false, 
                "instructionAddr": null, 
                "lineNo": 112, 
                "module": "raven.scripts.runner", 
                "package": null, 
                "platform": null, 
                "symbol": null, 
                "symbolAddr": null, 
                "trust": null, 
                "vars": {
                  "'args'": [
                    "'test'", 
                    "'https://ebc35f33e151401f9deac549978bda11:f3403f81e12e4c24942d505f086b2cad@sentry.io/1'"
                  ], 
                  "'client'": "<raven.base.Client object at 0x107bb8210>", 
                  "'dsn'": "'https://ebc35f33e151401f9deac549978bda11:f3403f81e12e4c24942d505f086b2cad@sentry.io/1'", 
                  "'opts'": "<Values at 0x107ba3b00: {'data': None, 'tags': None}>", 
                  "'parser'": "<optparse.OptionParser instance at 0x107ba3368>", 
                  "'root'": "<logging.Logger object at 0x107ba5b10>"
                }
              }
            ], 
            "framesOmitted": null, 
            "hasSystemFrames": false, 
            "registers": null
          }, 
          "type": "stacktrace"
        }, 
        {
          "data": {
            "context": [
              [
                11, 
                "{% endif %}\n"
              ], 
              [
                12, 
                "<script src=\"{% static 'debug_toolbar/js/toolbar.js' %}\"></script>\n"
              ], 
              [
                13, 
                "<div id=\"djDebug\" hidden=\"hidden\" dir=\"ltr\"\n"
              ], 
              [
                14, 
                "     data-store-id=\"{{ toolbar.store_id }}\" data-render-panel-url=\"{% url 'djdt:render_panel' %}\"\n"
              ], 
              [
                15, 
                "     {{ toolbar.config.ROOT_TAG_EXTRA_ATTRS|safe }}>\n"
              ], 
              [
                16, 
                "\t<div hidden=\"hidden\" id=\"djDebugToolbar\">\n"
              ], 
              [
                17, 
                "\t\t<ul id=\"djDebugPanelList\">\n"
              ]
            ], 
            "filename": "debug_toolbar/base.html", 
            "lineNo": 14
          }, 
          "type": "template"
        }, 
        {
          "data": {
            "cookies": [
              [
                "foo", 
                "bar"
              ], 
              [
                "biz", 
                "baz"
              ]
            ], 
            "data": {
              "hello": "world"
            }, 
            "env": {
              "ENV": "prod"
            }, 
            "fragment": "", 
            "headers": [
              [
                "Content-Type", 
                "application/json"
              ], 
              [
                "Referer", 
                "http://example.com"
              ], 
              [
                "User-Agent", 
                "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36"
              ]
            ], 
            "inferredContentType": "application/json", 
            "method": "GET", 
            "query": "foo=bar", 
            "url": "http://example.com/foo"
          }, 
          "type": "request"
        }
      ], 
      "errors": [], 
      "eventID": "9fac2ceed9344f2bbfdd1fdacb0ed9b1", 
      "fingerprints": [
        "c4a4d06bc314205bb3b6bdb612dde7f1"
      ], 
      "groupID": "1", 
      "id": "1", 
      "message": "This is an example Python exception", 
      "metadata": {
        "title": "This is an example Python exception"
      }, 
      "packages": {
        "my.package": "1.0.0"
      }, 
      "platform": "python", 
      "sdk": null, 
      "size": 7055, 
      "tags": [
        {
          "_meta": null, 
          "key": "browser", 
          "value": "Chrome 28.0"
        }, 
        {
          "_meta": null, 
          "key": "device", 
          "value": "Other"
        }, 
        {
          "_meta": null, 
          "key": "level", 
          "value": "error"
        }, 
        {
          "_meta": null, 
          "key": "os", 
          "value": "Windows 8"
        }, 
        {
          "_meta": null, 
          "key": "release", 
          "value": "17642328ead24b51867165985996d04b29310337"
        }, 
        {
          "_meta": null, 
          "key": "url", 
          "value": "http://example.com/foo"
        }, 
        {
          "_meta": null, 
          "key": "user", 
          "value": "id:1"
        }
      ], 
      "type": "default", 
      "user": {
        "data": {}, 
        "email": "sentry@example.com", 
        "id": "1", 
        "ip_address": "127.0.0.1", 
        "name": "Sentry", 
        "username": "sentry"
      }
    }, 
    "state": "unlocked"
  }
]