preview-webhook.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. {
  2. "nonce": "fPg41GY7uMDz",
  3. "timestamp": 1504893617,
  4. "app": {
  5. "color": "",
  6. "termsOfServiceURL": "",
  7. "screenshots": null,
  8. "id": "",
  9. "userVisible": false,
  10. "title": "",
  11. "tagline": "",
  12. "categoryIds": null,
  13. "source": "",
  14. "agreements": null,
  15. "products": null,
  16. "instructions": "",
  17. "infoVersion": "",
  18. "installable": false,
  19. "website": "",
  20. "privacyPolicyURL": "",
  21. "codeVersion": "",
  22. "longDescription": "",
  23. "tileImage": "",
  24. "icon": "",
  25. "shortDescription": "",
  26. "adminVisible": false,
  27. "created": null,
  28. "author": "",
  29. "alias": "",
  30. "points": 0,
  31. "orgId": "",
  32. "supportEmail": ""
  33. },
  34. "site": {
  35. "active": false,
  36. "orgId": "",
  37. "id": "",
  38. "name": ""
  39. },
  40. "version": {
  41. "files": [],
  42. "definition": {
  43. "hooks": [
  44. {
  45. "failure": {
  46. "action": "notify",
  47. "message": "There was an error communicating with Sentry."
  48. },
  49. "endpoint": "https://fizzbuzz-123.ngrok.io/extensions/cloudflare/webhook/",
  50. "events": [
  51. "option-change:account",
  52. "option-change:organization",
  53. "option-change:project",
  54. "preview",
  55. "oauth-login",
  56. "account-logout",
  57. "new-install",
  58. "update-install",
  59. "before-new-install",
  60. "before-update-install",
  61. "delete-install"
  62. ],
  63. "block": true,
  64. "authenticate": ["account"]
  65. }
  66. ],
  67. "preview": {
  68. "hide": true
  69. },
  70. "options": {
  71. "properties": {
  72. "account": {
  73. "services": ["sentry-qa-dcramer"],
  74. "title": "Sentry Account",
  75. "type": "object",
  76. "order": 0,
  77. "format": "account"
  78. }
  79. }
  80. },
  81. "resources": {
  82. "body": [
  83. {
  84. "src": "./source/sentry.js",
  85. "type": "script"
  86. },
  87. {
  88. "src": "./source/app.js",
  89. "type": "script"
  90. }
  91. ]
  92. }
  93. },
  94. "creatorUserId": "",
  95. "hasCode": true,
  96. "created": null,
  97. "manual": true,
  98. "moderationStatus": "",
  99. "source": "",
  100. "tag": "FBxPSIbK5-6S",
  101. "appId": "local",
  102. "fileHandle": "local/FBxPSIbK5-6S",
  103. "installable": false
  104. },
  105. "user": {
  106. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  107. "firstName": "",
  108. "created": null,
  109. "lastName": "",
  110. "email": "sentry@example.com",
  111. "personalOrgId": "",
  112. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  113. "developer": false
  114. },
  115. "install": {
  116. "installerUserId": "",
  117. "versionTag": "FBxPSIbK5-6S",
  118. "created": null,
  119. "deleted": false,
  120. "deactivatedAt": null,
  121. "metadata": {
  122. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  123. },
  124. "id": "UyQXS8EkJIz9",
  125. "refundedAt": null,
  126. "amount": 0,
  127. "siteId": "preview",
  128. "pastDue": false,
  129. "appId": "local",
  130. "active": true,
  131. "subscriptionId": "",
  132. "productId": "",
  133. "options": {},
  134. "schema": {
  135. "properties": {
  136. "dsn": {
  137. "description": "Your automatically configured DSN for communicating with Sentry.",
  138. "title": "DSN",
  139. "placeholder": "https://public_key@sentry.io/1",
  140. "readonly": true,
  141. "type": "string",
  142. "order": 3
  143. },
  144. "organization": {
  145. "enum": [],
  146. "type": "string",
  147. "order": 1,
  148. "title": "Sentry Organization"
  149. },
  150. "account": {
  151. "services": ["sentry-qa-dcramer"],
  152. "title": "Sentry Account",
  153. "type": "object",
  154. "order": 0,
  155. "format": "account"
  156. },
  157. "project": {
  158. "enum": [],
  159. "type": "string",
  160. "order": 2,
  161. "title": "Sentry Project"
  162. }
  163. }
  164. }
  165. },
  166. "org": {
  167. "username": "",
  168. "personal": false,
  169. "created": null,
  170. "id": "",
  171. "title": ""
  172. },
  173. "event": "preview"
  174. }