preview-webhook-authenticated.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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": [
  127. "account"
  128. ]
  129. }
  130. ],
  131. "preview": {
  132. "hide": true
  133. },
  134. "options": {
  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": [
  152. "sentry-qa-dcramer"
  153. ],
  154. "title": "Sentry Account",
  155. "type": "object",
  156. "order": 0,
  157. "format": "account"
  158. },
  159. "project": {
  160. "enum": [],
  161. "type": "string",
  162. "order": 2,
  163. "title": "Sentry Project"
  164. }
  165. }
  166. },
  167. "resources": {
  168. "body": [
  169. {
  170. "src": "./source/sentry.js",
  171. "type": "script"
  172. },
  173. {
  174. "src": "./source/app.js",
  175. "type": "script"
  176. }
  177. ]
  178. }
  179. },
  180. "creatorUserId": "",
  181. "hasCode": true,
  182. "created": null,
  183. "manual": true,
  184. "moderationStatus": "",
  185. "source": "",
  186. "tag": "FBxPSIbK5-6S",
  187. "appId": "local",
  188. "fileHandle": "local/FBxPSIbK5-6S",
  189. "installable": false
  190. },
  191. "user": {
  192. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  193. "firstName": "",
  194. "created": null,
  195. "lastName": "",
  196. "email": "sentry@example.com",
  197. "personalOrgId": "",
  198. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  199. "developer": false
  200. },
  201. "install": {
  202. "installerUserId": "",
  203. "versionTag": "FBxPSIbK5-6S",
  204. "created": null,
  205. "deleted": false,
  206. "deactivatedAt": null,
  207. "metadata": {
  208. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  209. },
  210. "id": "UyQXS8EkJIz9",
  211. "refundedAt": null,
  212. "amount": 0,
  213. "siteId": "preview",
  214. "pastDue": false,
  215. "appId": "local",
  216. "active": true,
  217. "subscriptionId": "",
  218. "productId": "",
  219. "options": {},
  220. "schema": {
  221. "properties": {
  222. "account": {
  223. "services": [
  224. "sentry-qa-dcramer"
  225. ],
  226. "title": "Sentry Account",
  227. "type": "object",
  228. "order": 0,
  229. "format": "account"
  230. }
  231. }
  232. }
  233. },
  234. "org": {
  235. "username": "",
  236. "personal": false,
  237. "created": null,
  238. "id": "",
  239. "title": ""
  240. },
  241. "event": "preview"
  242. }