preview-webhook.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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": [
  65. "account"
  66. ]
  67. }
  68. ],
  69. "preview": {
  70. "hide": true
  71. },
  72. "options": {
  73. "properties": {
  74. "account": {
  75. "services": [
  76. "sentry-qa-dcramer"
  77. ],
  78. "title": "Sentry Account",
  79. "type": "object",
  80. "order": 0,
  81. "format": "account"
  82. }
  83. }
  84. },
  85. "resources": {
  86. "body": [
  87. {
  88. "src": "./source/sentry.js",
  89. "type": "script"
  90. },
  91. {
  92. "src": "./source/app.js",
  93. "type": "script"
  94. }
  95. ]
  96. }
  97. },
  98. "creatorUserId": "",
  99. "hasCode": true,
  100. "created": null,
  101. "manual": true,
  102. "moderationStatus": "",
  103. "source": "",
  104. "tag": "FBxPSIbK5-6S",
  105. "appId": "local",
  106. "fileHandle": "local/FBxPSIbK5-6S",
  107. "installable": false
  108. },
  109. "user": {
  110. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  111. "firstName": "",
  112. "created": null,
  113. "lastName": "",
  114. "email": "sentry@example.com",
  115. "personalOrgId": "",
  116. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  117. "developer": false
  118. },
  119. "install": {
  120. "installerUserId": "",
  121. "versionTag": "FBxPSIbK5-6S",
  122. "created": null,
  123. "deleted": false,
  124. "deactivatedAt": null,
  125. "metadata": {
  126. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  127. },
  128. "id": "UyQXS8EkJIz9",
  129. "refundedAt": null,
  130. "amount": 0,
  131. "siteId": "preview",
  132. "pastDue": false,
  133. "appId": "local",
  134. "active": true,
  135. "subscriptionId": "",
  136. "productId": "",
  137. "options": {},
  138. "schema": {
  139. "properties": {
  140. "dsn": {
  141. "description": "Your automatically configured DSN for communicating with Sentry.",
  142. "title": "DSN",
  143. "placeholder": "https://public_key@sentry.io/1",
  144. "readonly": true,
  145. "type": "string",
  146. "order": 3
  147. },
  148. "organization": {
  149. "enum": [],
  150. "type": "string",
  151. "order": 1,
  152. "title": "Sentry Organization"
  153. },
  154. "account": {
  155. "services": [
  156. "sentry-qa-dcramer"
  157. ],
  158. "title": "Sentry Account",
  159. "type": "object",
  160. "order": 0,
  161. "format": "account"
  162. },
  163. "project": {
  164. "enum": [],
  165. "type": "string",
  166. "order": 2,
  167. "title": "Sentry Project"
  168. }
  169. }
  170. }
  171. },
  172. "org": {
  173. "username": "",
  174. "personal": false,
  175. "created": null,
  176. "id": "",
  177. "title": ""
  178. },
  179. "event": "preview"
  180. }