Webhooks list.cassette 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "GET",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/webhooks",
  6. "body": "",
  7. "status": 200,
  8. "response": {
  9. "project_id": "803826145ba90b42d5d860.46800099",
  10. "webhooks": [
  11. {
  12. "webhook_id": "795565582e5ab15a59bb68156c7e2e9eaa1e8d1a",
  13. "url": "https://serios.webhook",
  14. "secret": "5efb67362d6408c43e2cc541729e07925cf636d1",
  15. "events": [
  16. "project.imported",
  17. "project.key.added",
  18. "project.keys.deleted",
  19. "project.translation.updated"
  20. ],
  21. "event_lang_map": [
  22. {
  23. "event": "project.translation.updated",
  24. "lang_iso_codes": [
  25. "nl"
  26. ]
  27. }
  28. ]
  29. },
  30. {
  31. "webhook_id": "c7eb7e6e3c2fb2b26d0b64d0de083a5a71675b3d",
  32. "url": "https://canihaz.hook",
  33. "secret": "a62450cd9eeca8dfc84f3c0cf9b7a6a370267d6f",
  34. "events": [
  35. "project.snapshot",
  36. "project.imported",
  37. "project.exported",
  38. "project.languages.added",
  39. "project.language.removed",
  40. "project.language.settings_changed",
  41. "project.translation.updated"
  42. ],
  43. "event_lang_map": [
  44. {
  45. "event": "project.translation.updated",
  46. "lang_iso_codes": [
  47. "sq",
  48. "ar_001",
  49. "bm",
  50. "ca",
  51. "custom_1",
  52. "nl",
  53. "en",
  54. "en-us",
  55. "f_over",
  56. "ru",
  57. "es"
  58. ]
  59. }
  60. ]
  61. }
  62. ]
  63. },
  64. "rawHeaders": [
  65. "Server",
  66. "nginx",
  67. "Date",
  68. "Tue, 20 Aug 2019 15:15:31 GMT",
  69. "Content-Type",
  70. "application/json",
  71. "Transfer-Encoding",
  72. "chunked",
  73. "Connection",
  74. "close",
  75. "Vary",
  76. "Accept-Encoding",
  77. "Set-Cookie",
  78. "PHPSESSID=34cdadec09776373b1a53d023a09b2d2; expires=Sat, 19-Oct-2019 15:15:31 GMT; Max-Age=5184000; path=/; secure; HttpOnly",
  79. "Expires",
  80. "Thu, 19 Nov 1981 08:52:00 GMT",
  81. "Cache-Control",
  82. "no-store, no-cache, must-revalidate",
  83. "Pragma",
  84. "no-cache",
  85. "X-Pagination-Total-Count",
  86. "2",
  87. "X-Pagination-Page-Count",
  88. "1",
  89. "X-Pagination-Limit",
  90. "100",
  91. "X-Pagination-Page",
  92. "1",
  93. "Pragma",
  94. "no-cache",
  95. "Cache-Control",
  96. "no-store, no-cache",
  97. "Access-Control-Allow-Origin",
  98. "*",
  99. "Access-Control-Allow-Headers",
  100. "Content-Type"
  101. ]
  102. }
  103. ]