sentry-app-installations.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "get": {
  3. "tags": ["Integration"],
  4. "description": "Return a list of integration platform installations for a given organization.",
  5. "operationId": "List an Organization's Integration Platform Installations",
  6. "parameters": [
  7. {
  8. "name": "organization_slug",
  9. "in": "path",
  10. "description": "The organization short name.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. }
  16. ],
  17. "responses": {
  18. "200": {
  19. "description": "Success",
  20. "content": {
  21. "application/json": {
  22. "schema": {
  23. "type": "array",
  24. "items": {
  25. "type": "object",
  26. "required": ["app", "organization", "uuid", "status"],
  27. "properties": {
  28. "app": {
  29. "type": "object",
  30. "required": ["uuid", "slug"],
  31. "properties":
  32. {
  33. "uuid": {
  34. "type": "string"
  35. },
  36. "slug": {
  37. "type": "string"
  38. }
  39. }
  40. },
  41. "organization": {
  42. "type": "object",
  43. "required": ["slug"],
  44. "properties":
  45. {
  46. "slug": {
  47. "type": "string"
  48. }
  49. }
  50. },
  51. "uuid": {
  52. "type": "string"
  53. },
  54. "status": {
  55. "type": "string"
  56. }
  57. }
  58. }
  59. },
  60. "example": [
  61. {
  62. "app": {
  63. "uuid": "a9988ad6-meow-4905-bb93-f7cbf4c96bbb",
  64. "slug": "cat-75c19a"
  65. },
  66. "organization": {
  67. "slug": "sentry"
  68. },
  69. "uuid": "01635075-m30w-4f96-8fc8-ff9680780a13",
  70. "status": "installed"
  71. }
  72. ]
  73. }
  74. }
  75. },
  76. "403": {
  77. "description": "Forbidden"
  78. },
  79. "404": {
  80. "description": "Not Found"
  81. }
  82. },
  83. "security": [
  84. {
  85. "auth_token": ["org:read", "org:integrations"]
  86. }
  87. ]
  88. }
  89. }