issue-events.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "get": {
  3. "tags": ["Events"],
  4. "description": "This endpoint lists an issue's events.",
  5. "operationId": "List an Issue's Events",
  6. "parameters": [
  7. {
  8. "name": "issue_id",
  9. "in": "path",
  10. "description": "The ID of the issue to retrieve.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "full",
  18. "in": "query",
  19. "description": "If this is set to true then the event payload will include the full event body, including the stacktrace. \nSet to true to enable.",
  20. "schema": {
  21. "type": "boolean"
  22. }
  23. }
  24. ],
  25. "responses": {
  26. "200": {
  27. "description": "Success",
  28. "content": {
  29. "application/json": {
  30. "schema": {
  31. "type": "array",
  32. "items": {
  33. "$ref": "../../components/schemas/event.json#/Event"
  34. }
  35. },
  36. "example": [
  37. {
  38. "eventID": "9fac2ceed9344f2bbfdd1fdacb0ed9b1",
  39. "tags": [
  40. {
  41. "key": "browser",
  42. "value": "Chrome 60.0"
  43. },
  44. {
  45. "key": "device",
  46. "value": "Other"
  47. },
  48. {
  49. "key": "environment",
  50. "value": "production"
  51. },
  52. {
  53. "value": "fatal",
  54. "key": "level"
  55. },
  56. {
  57. "key": "os",
  58. "value": "Mac OS X 10.12.6"
  59. },
  60. {
  61. "value": "CPython 2.7.16",
  62. "key": "runtime"
  63. },
  64. {
  65. "key": "release",
  66. "value": "17642328ead24b51867165985996d04b29310337"
  67. },
  68. {
  69. "key": "server_name",
  70. "value": "web1.example.com"
  71. }
  72. ],
  73. "dateCreated": "2020-09-11T17:46:36Z",
  74. "user": null,
  75. "message": "",
  76. "title": "This is an example Python exception",
  77. "id": "dfb1a2d057194e76a4186cc8a5271553",
  78. "platform": "python",
  79. "event.type": "error",
  80. "groupID": "1889724436"
  81. }
  82. ]
  83. }
  84. }
  85. },
  86. "403": {
  87. "description": "Forbidden"
  88. }
  89. },
  90. "security": [
  91. {
  92. "auth_token": ["event:read"]
  93. }
  94. ]
  95. }
  96. }