option-change-account-webhook.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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": ["account"]
  128. }
  129. ],
  130. "preview": {
  131. "hide": true
  132. },
  133. "options": {
  134. "properties": {
  135. "dsn": {
  136. "description": "Your automatically configured DSN for communicating with Sentry.",
  137. "title": "DSN",
  138. "placeholder": "https://public_key@sentry.io/1",
  139. "readonly": true,
  140. "type": "string",
  141. "order": 3
  142. },
  143. "organization": {
  144. "enum": [],
  145. "type": "string",
  146. "order": 1,
  147. "title": "Sentry Organization"
  148. },
  149. "account": {
  150. "services": ["sentry-qa-dcramer"],
  151. "title": "Sentry Account",
  152. "type": "object",
  153. "order": 0,
  154. "format": "account"
  155. },
  156. "project": {
  157. "enum": [],
  158. "type": "string",
  159. "order": 2,
  160. "title": "Sentry Project"
  161. }
  162. }
  163. },
  164. "resources": {
  165. "body": [
  166. {
  167. "src": "./source/sentry.js",
  168. "type": "script"
  169. },
  170. {
  171. "src": "./source/app.js",
  172. "type": "script"
  173. }
  174. ]
  175. }
  176. },
  177. "creatorUserId": "",
  178. "hasCode": true,
  179. "created": null,
  180. "manual": true,
  181. "moderationStatus": "",
  182. "source": "",
  183. "tag": "FBxPSIbK5-6S",
  184. "appId": "local",
  185. "fileHandle": "local/FBxPSIbK5-6S",
  186. "installable": false
  187. },
  188. "user": {
  189. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  190. "firstName": "",
  191. "created": null,
  192. "lastName": "",
  193. "email": "david@sentry.io",
  194. "personalOrgId": "",
  195. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  196. "developer": false
  197. },
  198. "install": {
  199. "installerUserId": "",
  200. "versionTag": "FBxPSIbK5-6S",
  201. "created": null,
  202. "deleted": false,
  203. "deactivatedAt": null,
  204. "metadata": {
  205. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  206. },
  207. "id": "UyQXS8EkJIz9",
  208. "refundedAt": null,
  209. "amount": 0,
  210. "siteId": "preview",
  211. "pastDue": false,
  212. "appId": "local",
  213. "active": true,
  214. "subscriptionId": "",
  215. "productId": "",
  216. "options": {
  217. "dsn": "",
  218. "account": {
  219. "service": "sentry-qa-dcramer",
  220. "accountId": "sKyaRh9xkrHL"
  221. }
  222. },
  223. "schema": {
  224. "type": "object",
  225. "properties": {
  226. "dsn": {
  227. "description": "Your automatically configured DSN for communicating with Sentry.",
  228. "title": "DSN",
  229. "_show": true,
  230. "readonly": true,
  231. "type": "string",
  232. "placeholder": "https://public_key@sentry.io/1",
  233. "order": 3
  234. },
  235. "organization": {
  236. "_show": true,
  237. "enum": [],
  238. "type": "string",
  239. "order": 1,
  240. "title": "Sentry Organization"
  241. },
  242. "account": {
  243. "title": "Sentry Account",
  244. "_show": true,
  245. "format": "account",
  246. "order": 0,
  247. "services": ["sentry-qa-dcramer"],
  248. "type": "object",
  249. "properties": {}
  250. },
  251. "project": {
  252. "_show": true,
  253. "enum": [],
  254. "type": "string",
  255. "order": 2,
  256. "title": "Sentry Project"
  257. }
  258. }
  259. }
  260. },
  261. "org": {
  262. "username": "",
  263. "personal": false,
  264. "created": null,
  265. "id": "",
  266. "title": ""
  267. },
  268. "event": "option-change:account",
  269. "metadata": {
  270. "newValue": {
  271. "service": "sentry-qa-dcramer",
  272. "accountId": "sKyaRh9xkrHL"
  273. },
  274. "key": "account"
  275. }
  276. }