event-id-lookup.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. {
  2. "get": {
  3. "tags": ["Organizations"],
  4. "description": "This resolves an event ID to the project slug and internal issue ID and internal event ID.",
  5. "operationId": "Resolve an Event ID",
  6. "parameters": [
  7. {
  8. "name": "organization_id_or_slug",
  9. "in": "path",
  10. "description": "The id or slug of the organization the event ID should be looked up in.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "event_id",
  18. "in": "path",
  19. "description": "The event ID to look up.",
  20. "required": true,
  21. "schema": {
  22. "type": "string"
  23. }
  24. }
  25. ],
  26. "responses": {
  27. "200": {
  28. "description": "Success",
  29. "content": {
  30. "application/json": {
  31. "schema": {
  32. "type": "object",
  33. "required": [
  34. "event",
  35. "eventId",
  36. "groupId",
  37. "organizationSlug",
  38. "projectSlug"
  39. ],
  40. "properties": {
  41. "event": {
  42. "$ref": "../../components/schemas/event.json#/OrganizationEvent"
  43. },
  44. "eventId": {
  45. "type": "string"
  46. },
  47. "groupId": {
  48. "type": "string"
  49. },
  50. "organizationSlug": {
  51. "type": "string"
  52. },
  53. "projectSlug": {
  54. "type": "string"
  55. }
  56. }
  57. },
  58. "example": {
  59. "event": {
  60. "_meta": {
  61. "context": null,
  62. "contexts": null,
  63. "entries": {},
  64. "message": null,
  65. "packages": null,
  66. "sdk": null,
  67. "tags": {},
  68. "user": null
  69. },
  70. "context": {
  71. "length": 10837790,
  72. "results": [1, 2, 3, 4, 5],
  73. "session": {
  74. "foo": "bar"
  75. },
  76. "unauthorized": false,
  77. "url": "http://example.org/foo/bar/"
  78. },
  79. "contexts": {},
  80. "dateCreated": "2018-11-06T21:19:55Z",
  81. "dateReceived": "2018-11-06T21:19:55Z",
  82. "dist": null,
  83. "entries": [
  84. {
  85. "type": "request",
  86. "data": {
  87. "fragment": null,
  88. "cookies": [],
  89. "inferredContentType": null,
  90. "env": null,
  91. "headers": [
  92. [
  93. "User-Agent",
  94. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
  95. ]
  96. ],
  97. "url": "http://example.com/foo",
  98. "query": [],
  99. "data": null,
  100. "method": null
  101. }
  102. }
  103. ],
  104. "errors": [],
  105. "eventID": "9fac2ceed9344f2bbfdd1fdacb0ed9b1",
  106. "fingerprints": ["c4a4d06bc314205bb3b6bdb612dde7f1"],
  107. "groupID": "1",
  108. "id": "1",
  109. "message": "",
  110. "title": "This is an example Python exception",
  111. "metadata": {
  112. "title": "This is an example Python exception"
  113. },
  114. "packages": {
  115. "my.package": "1.0.0"
  116. },
  117. "platform": "python",
  118. "sdk": null,
  119. "size": 7055,
  120. "tags": [
  121. {
  122. "_meta": null,
  123. "key": "browser",
  124. "value": "Chrome 28.0"
  125. },
  126. {
  127. "_meta": null,
  128. "key": "device",
  129. "value": "Other"
  130. },
  131. {
  132. "_meta": null,
  133. "key": "level",
  134. "value": "error"
  135. },
  136. {
  137. "_meta": null,
  138. "key": "os",
  139. "value": "Windows 8"
  140. },
  141. {
  142. "_meta": null,
  143. "key": "release",
  144. "value": "17642328ead24b51867165985996d04b29310337"
  145. },
  146. {
  147. "_meta": null,
  148. "key": "url",
  149. "value": "http://example.com/foo"
  150. },
  151. {
  152. "_meta": null,
  153. "key": "user",
  154. "value": "id:1"
  155. }
  156. ],
  157. "type": "default",
  158. "user": {
  159. "data": {},
  160. "email": "sentry@example.com",
  161. "id": "1",
  162. "ip_address": "127.0.0.1",
  163. "name": "Sentry",
  164. "username": "sentry"
  165. }
  166. },
  167. "eventId": "1",
  168. "groupId": "1",
  169. "organizationSlug": "the-interstellar-jurisdiction",
  170. "projectSlug": "pump-station"
  171. }
  172. }
  173. }
  174. },
  175. "403": {
  176. "description": "Forbidden"
  177. },
  178. "401": {
  179. "description": "Unauthorized"
  180. },
  181. "404": {
  182. "description": "Not Found"
  183. }
  184. },
  185. "security": [
  186. {
  187. "auth_token": ["org: read"]
  188. }
  189. ]
  190. }
  191. }