event-id-lookup.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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_slug",
  9. "in": "path",
  10. "description": "The 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. "emptyList": [],
  72. "emptyMap": {},
  73. "length": 10837790,
  74. "results": [1, 2, 3, 4, 5],
  75. "session": {
  76. "foo": "bar"
  77. },
  78. "unauthorized": false,
  79. "url": "http://example.org/foo/bar/"
  80. },
  81. "contexts": {},
  82. "dateCreated": "2018-11-06T21:19:55Z",
  83. "dateReceived": "2018-11-06T21:19:55Z",
  84. "dist": null,
  85. "entries": [
  86. {
  87. "type": "request",
  88. "data": {
  89. "fragment": null,
  90. "cookies": [],
  91. "inferredContentType": null,
  92. "env": null,
  93. "headers": [
  94. [
  95. "User-Agent",
  96. "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"
  97. ]
  98. ],
  99. "url": "http://example.com/foo",
  100. "query": [],
  101. "data": null,
  102. "method": null
  103. }
  104. }
  105. ],
  106. "errors": [],
  107. "eventID": "9fac2ceed9344f2bbfdd1fdacb0ed9b1",
  108. "fingerprints": ["c4a4d06bc314205bb3b6bdb612dde7f1"],
  109. "groupID": "1",
  110. "id": "1",
  111. "message": "",
  112. "title": "This is an example Python exception",
  113. "metadata": {
  114. "title": "This is an example Python exception"
  115. },
  116. "packages": {
  117. "my.package": "1.0.0"
  118. },
  119. "platform": "python",
  120. "sdk": null,
  121. "size": 7055,
  122. "tags": [
  123. {
  124. "_meta": null,
  125. "key": "browser",
  126. "value": "Chrome 28.0"
  127. },
  128. {
  129. "_meta": null,
  130. "key": "device",
  131. "value": "Other"
  132. },
  133. {
  134. "_meta": null,
  135. "key": "level",
  136. "value": "error"
  137. },
  138. {
  139. "_meta": null,
  140. "key": "os",
  141. "value": "Windows 8"
  142. },
  143. {
  144. "_meta": null,
  145. "key": "release",
  146. "value": "17642328ead24b51867165985996d04b29310337"
  147. },
  148. {
  149. "_meta": null,
  150. "key": "url",
  151. "value": "http://example.com/foo"
  152. },
  153. {
  154. "_meta": null,
  155. "key": "user",
  156. "value": "id:1"
  157. }
  158. ],
  159. "type": "default",
  160. "user": {
  161. "data": {},
  162. "email": "sentry@example.com",
  163. "id": "1",
  164. "ip_address": "127.0.0.1",
  165. "name": "Sentry",
  166. "username": "sentry"
  167. }
  168. },
  169. "eventId": "1",
  170. "groupId": "1",
  171. "organizationSlug": "the-interstellar-jurisdiction",
  172. "projectSlug": "pump-station"
  173. }
  174. }
  175. }
  176. },
  177. "403": {
  178. "description": "Forbidden"
  179. },
  180. "401": {
  181. "description": "Unauthorized"
  182. },
  183. "404": {
  184. "description": "Not Found"
  185. }
  186. },
  187. "security": [
  188. {
  189. "auth_token": ["org: read"]
  190. }
  191. ]
  192. }
  193. }