preview-webhook-authenticated.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. {
  2. "nonce": "fPg41GY7uMDz",
  3. "authentications": {
  4. "account": {
  5. "account": {
  6. "account": {},
  7. "managed": false,
  8. "service": {
  9. "description": "",
  10. "title": "Sentry QA (dcramer)",
  11. "created": "2017-09-07T16:47:05.777063Z",
  12. "visible": true,
  13. "metadata": {
  14. "modalHeight": 600,
  15. "modalWidth": 400,
  16. "hasRegistration": true
  17. },
  18. "approved": true,
  19. "alias": "sentry-qa-dcramer",
  20. "points": 0,
  21. "orgId": "f5a54c9c5b86f45095b559369b4e0f18",
  22. "oAuth": {
  23. "default": {
  24. "scopes": [],
  25. "authURL": "http://fizzbuzz-123.ngrok.io/oauth/authorize/",
  26. "tokenURL": "http://fizzbuzz-123.ngrok.io/oauth/token/",
  27. "clientID": "998fe23be6bf443ba63a0856b6414c5a3c01d4b10f57428d8cb8d4a9da0d8dc2",
  28. "clientSecret": "5e0db3991c2048a2b84c93929a9044c5e1cc4345d12c4901b856abd3d28c6276"
  29. }
  30. },
  31. "org": {
  32. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  33. "personal": true,
  34. "created": null,
  35. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  36. "title": ""
  37. },
  38. "endpoints": {
  39. "apiProvision": "",
  40. "oauthProvision": "",
  41. "metadata": "http://fizzbuzz-123.ngrok.io/integrations/cloudflare/metadata/"
  42. },
  43. "id": "ZvlDQw7LjHEJ",
  44. "icon": ""
  45. },
  46. "title": "",
  47. "createdForInstallId": "UyQXS8EkJIz9",
  48. "created": "2017-09-08T18:03:42.446265116Z",
  49. "lastUsed": null,
  50. "visible": true,
  51. "state": 1,
  52. "serviceId": "ZvlDQw7LjHEJ",
  53. "orgId": "",
  54. "id": "sKyaRh9xkrHL",
  55. "lastAuthed": "2017-09-08T18:03:41.718257286Z"
  56. },
  57. "token": {
  58. "refreshToken": "20196e90255047e88074b4243110d15c7f8021542fff486aa1786499057aa336",
  59. "token": "55838c83b3ec4e3ebc24c10c7bd071ffb1dc91161d3d49aeaedd9bd35d84bbe2",
  60. "type": "bearer",
  61. "expiration": "2017-10-08T18:03:40.718230972Z"
  62. }
  63. }
  64. },
  65. "timestamp": 1504893617,
  66. "app": {
  67. "color": "",
  68. "termsOfServiceURL": "",
  69. "screenshots": null,
  70. "id": "",
  71. "userVisible": false,
  72. "title": "",
  73. "tagline": "",
  74. "categoryIds": null,
  75. "source": "",
  76. "agreements": null,
  77. "products": null,
  78. "instructions": "",
  79. "infoVersion": "",
  80. "installable": false,
  81. "website": "",
  82. "privacyPolicyURL": "",
  83. "codeVersion": "",
  84. "longDescription": "",
  85. "tileImage": "",
  86. "icon": "",
  87. "shortDescription": "",
  88. "adminVisible": false,
  89. "created": null,
  90. "author": "",
  91. "alias": "",
  92. "points": 0,
  93. "orgId": "",
  94. "supportEmail": ""
  95. },
  96. "site": {
  97. "active": false,
  98. "orgId": "",
  99. "id": "",
  100. "name": ""
  101. },
  102. "version": {
  103. "files": [],
  104. "definition": {
  105. "hooks": [
  106. {
  107. "failure": {
  108. "action": "notify",
  109. "message": "There was an error communicating with Sentry."
  110. },
  111. "endpoint": "https://fizzbuzz-123.ngrok.io/extensions/cloudflare/webhook/",
  112. "events": [
  113. "option-change:account",
  114. "option-change:organization",
  115. "option-change:project",
  116. "preview",
  117. "oauth-login",
  118. "account-logout",
  119. "new-install",
  120. "update-install",
  121. "before-new-install",
  122. "before-update-install",
  123. "delete-install"
  124. ],
  125. "block": true,
  126. "authenticate": ["account"]
  127. }
  128. ],
  129. "preview": {
  130. "hide": true
  131. },
  132. "options": {
  133. "properties": {
  134. "dsn": {
  135. "description": "Your automatically configured DSN for communicating with Sentry.",
  136. "title": "DSN",
  137. "placeholder": "https://public_key@sentry.io/1",
  138. "readonly": true,
  139. "type": "string",
  140. "order": 3
  141. },
  142. "organization": {
  143. "enum": [],
  144. "type": "string",
  145. "order": 1,
  146. "title": "Sentry Organization"
  147. },
  148. "account": {
  149. "services": ["sentry-qa-dcramer"],
  150. "title": "Sentry Account",
  151. "type": "object",
  152. "order": 0,
  153. "format": "account"
  154. },
  155. "project": {
  156. "enum": [],
  157. "type": "string",
  158. "order": 2,
  159. "title": "Sentry Project"
  160. }
  161. }
  162. },
  163. "resources": {
  164. "body": [
  165. {
  166. "src": "./source/sentry.js",
  167. "type": "script"
  168. },
  169. {
  170. "src": "./source/app.js",
  171. "type": "script"
  172. }
  173. ]
  174. }
  175. },
  176. "creatorUserId": "",
  177. "hasCode": true,
  178. "created": null,
  179. "manual": true,
  180. "moderationStatus": "",
  181. "source": "",
  182. "tag": "FBxPSIbK5-6S",
  183. "appId": "local",
  184. "fileHandle": "local/FBxPSIbK5-6S",
  185. "installable": false
  186. },
  187. "user": {
  188. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  189. "firstName": "",
  190. "created": null,
  191. "lastName": "",
  192. "email": "sentry@example.com",
  193. "personalOrgId": "",
  194. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  195. "developer": false
  196. },
  197. "install": {
  198. "installerUserId": "",
  199. "versionTag": "FBxPSIbK5-6S",
  200. "created": null,
  201. "deleted": false,
  202. "deactivatedAt": null,
  203. "metadata": {
  204. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  205. },
  206. "id": "UyQXS8EkJIz9",
  207. "refundedAt": null,
  208. "amount": 0,
  209. "siteId": "preview",
  210. "pastDue": false,
  211. "appId": "local",
  212. "active": true,
  213. "subscriptionId": "",
  214. "productId": "",
  215. "options": {},
  216. "schema": {
  217. "properties": {
  218. "account": {
  219. "services": ["sentry-qa-dcramer"],
  220. "title": "Sentry Account",
  221. "type": "object",
  222. "order": 0,
  223. "format": "account"
  224. }
  225. }
  226. }
  227. },
  228. "org": {
  229. "username": "",
  230. "personal": false,
  231. "created": null,
  232. "id": "",
  233. "title": ""
  234. },
  235. "event": "preview"
  236. }