option-change-account-webhook.json 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. {
  2. "nonce": "9YuFTPpTV5rS",
  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.446265Z",
  49. "lastUsed": "2017-09-08T18:03:43.63426608Z",
  50. "visible": true,
  51. "state": 1,
  52. "serviceId": "ZvlDQw7LjHEJ",
  53. "orgId": "",
  54. "encryptedAccessToken": "1:beC1cxdcOH1PtjP83lNxaA==:LaH8OTQwT2Qa4t8jAG+kPyeEbM/4KtIG4REOxYz9fcxovlXYDOrrlNIOGCDenVvLVD5alMJRJgK27JHe7UiQNNsqqjcCUB6gsERfXxjOtaewXo4OO5wFhMVHNJ3QqWVrP19lFNdAIp/LV7eAOfMJbyBLsvs5T8w6bl5Ks8sl9ZciyZwRADusBvykqmZ7JVUJg2f2Z2eHKr0PSs28y0AJzAy7lVEb/HgHVgdaNGxuYLab1g86WqBLRb13fY8pwLWWfkt6HUpfrYaX+8hxSeSNM/XUoj4CwL4ND7EFTg==",
  55. "id": "sKyaRh9xkrHL",
  56. "lastAuthed": "2017-09-08T18:03:41.718257Z"
  57. },
  58. "token": {
  59. "refreshToken": "20196e90255047e88074b4243110d15c7f8021542fff486aa1786499057aa336",
  60. "token": "55838c83b3ec4e3ebc24c10c7bd071ffb1dc91161d3d49aeaedd9bd35d84bbe2",
  61. "type": "bearer",
  62. "expiration": "2017-10-08T18:03:40.718230972Z"
  63. }
  64. }
  65. },
  66. "timestamp": 1504893823,
  67. "app": {
  68. "color": "",
  69. "termsOfServiceURL": "",
  70. "screenshots": null,
  71. "id": "",
  72. "userVisible": false,
  73. "title": "",
  74. "tagline": "",
  75. "categoryIds": null,
  76. "source": "",
  77. "agreements": null,
  78. "products": null,
  79. "instructions": "",
  80. "infoVersion": "",
  81. "installable": false,
  82. "website": "",
  83. "privacyPolicyURL": "",
  84. "codeVersion": "",
  85. "longDescription": "",
  86. "tileImage": "",
  87. "icon": "",
  88. "shortDescription": "",
  89. "adminVisible": false,
  90. "created": null,
  91. "author": "",
  92. "alias": "",
  93. "points": 0,
  94. "orgId": "",
  95. "supportEmail": ""
  96. },
  97. "site": {
  98. "active": false,
  99. "orgId": "",
  100. "id": "",
  101. "name": ""
  102. },
  103. "version": {
  104. "files": [],
  105. "definition": {
  106. "hooks": [
  107. {
  108. "failure": {
  109. "action": "notify",
  110. "message": "There was an error communicating with Sentry."
  111. },
  112. "endpoint": "https://fizzbuzz-123.ngrok.io/extensions/cloudflare/webhook/",
  113. "events": [
  114. "option-change:account",
  115. "option-change:organization",
  116. "option-change:project",
  117. "preview",
  118. "oauth-login",
  119. "account-logout",
  120. "new-install",
  121. "update-install",
  122. "before-new-install",
  123. "before-update-install",
  124. "delete-install"
  125. ],
  126. "block": true,
  127. "authenticate": [
  128. "account"
  129. ]
  130. }
  131. ],
  132. "preview": {
  133. "hide": true
  134. },
  135. "options": {
  136. "properties": {
  137. "dsn": {
  138. "description": "Your automatically configured DSN for communicating with Sentry.",
  139. "title": "DSN",
  140. "placeholder": "https://public_key@sentry.io/1",
  141. "readonly": true,
  142. "type": "string",
  143. "order": 3
  144. },
  145. "organization": {
  146. "enum": [],
  147. "type": "string",
  148. "order": 1,
  149. "title": "Sentry Organization"
  150. },
  151. "account": {
  152. "services": [
  153. "sentry-qa-dcramer"
  154. ],
  155. "title": "Sentry Account",
  156. "type": "object",
  157. "order": 0,
  158. "format": "account"
  159. },
  160. "project": {
  161. "enum": [],
  162. "type": "string",
  163. "order": 2,
  164. "title": "Sentry Project"
  165. }
  166. }
  167. },
  168. "resources": {
  169. "body": [
  170. {
  171. "src": "./source/sentry.js",
  172. "type": "script"
  173. },
  174. {
  175. "src": "./source/app.js",
  176. "type": "script"
  177. }
  178. ]
  179. }
  180. },
  181. "creatorUserId": "",
  182. "hasCode": true,
  183. "created": null,
  184. "manual": true,
  185. "moderationStatus": "",
  186. "source": "",
  187. "tag": "FBxPSIbK5-6S",
  188. "appId": "local",
  189. "fileHandle": "local/FBxPSIbK5-6S",
  190. "installable": false
  191. },
  192. "user": {
  193. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  194. "firstName": "",
  195. "created": null,
  196. "lastName": "",
  197. "email": "david@sentry.io",
  198. "personalOrgId": "",
  199. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  200. "developer": false
  201. },
  202. "install": {
  203. "installerUserId": "",
  204. "versionTag": "FBxPSIbK5-6S",
  205. "created": null,
  206. "deleted": false,
  207. "deactivatedAt": null,
  208. "metadata": {
  209. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  210. },
  211. "id": "UyQXS8EkJIz9",
  212. "refundedAt": null,
  213. "amount": 0,
  214. "siteId": "preview",
  215. "pastDue": false,
  216. "appId": "local",
  217. "active": true,
  218. "subscriptionId": "",
  219. "productId": "",
  220. "options": {
  221. "dsn": "",
  222. "account": {
  223. "service": "sentry-qa-dcramer",
  224. "accountId": "sKyaRh9xkrHL"
  225. }
  226. },
  227. "schema": {
  228. "type": "object",
  229. "properties": {
  230. "dsn": {
  231. "description": "Your automatically configured DSN for communicating with Sentry.",
  232. "title": "DSN",
  233. "_show": true,
  234. "readonly": true,
  235. "type": "string",
  236. "placeholder": "https://public_key@sentry.io/1",
  237. "order": 3
  238. },
  239. "organization": {
  240. "_show": true,
  241. "enum": [],
  242. "type": "string",
  243. "order": 1,
  244. "title": "Sentry Organization"
  245. },
  246. "account": {
  247. "title": "Sentry Account",
  248. "_show": true,
  249. "format": "account",
  250. "order": 0,
  251. "services": [
  252. "sentry-qa-dcramer"
  253. ],
  254. "type": "object",
  255. "properties": {}
  256. },
  257. "project": {
  258. "_show": true,
  259. "enum": [],
  260. "type": "string",
  261. "order": 2,
  262. "title": "Sentry Project"
  263. }
  264. }
  265. }
  266. },
  267. "org": {
  268. "username": "",
  269. "personal": false,
  270. "created": null,
  271. "id": "",
  272. "title": ""
  273. },
  274. "event": "option-change:account",
  275. "metadata": {
  276. "newValue": {
  277. "service": "sentry-qa-dcramer",
  278. "accountId": "sKyaRh9xkrHL"
  279. },
  280. "key": "account"
  281. }
  282. }