project-events.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "get": {
  3. "tags": [
  4. "Events"
  5. ],
  6. "description": "Return a list of events bound to a project.",
  7. "operationId": "List a project's events",
  8. "parameters": [
  9. {
  10. "name": "organization_slug",
  11. "in": "path",
  12. "description": "The slug of the organization the groups belong to.",
  13. "required": true,
  14. "schema": {
  15. "type": "string"
  16. }
  17. },
  18. {
  19. "name": "project_slug",
  20. "in": "path",
  21. "description": "The slug of the project the groups belong to.",
  22. "required": true,
  23. "schema": {
  24. "type": "string"
  25. }
  26. },
  27. {
  28. "name": "full",
  29. "in": "query",
  30. "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.",
  31. "schema": {
  32. "type": "boolean"
  33. }
  34. }
  35. ],
  36. "responses": {
  37. "200": {
  38. "description": "Success.",
  39. "content": {
  40. "application/json": {
  41. "schema": {
  42. "type": "array",
  43. "items": {
  44. "$ref": "../../components/schemas/event.json#/Event"
  45. }
  46. }
  47. }
  48. }
  49. },
  50. "403": {
  51. "description": "Forbidden"
  52. }
  53. },
  54. "security": [
  55. {
  56. "auth_token": [
  57. "project:read"
  58. ]
  59. }
  60. ]
  61. }
  62. }