Ghost/core/test/utils
Kevin Ansfield bffb3dbd90
Webhooks support for subscriber events (#9230)
no issue

Support for http://resthooks.org style webhooks that can be used with Zapier triggers. This can currently be used in two ways:

a) adding a webhook record to the DB manually
b) using the API with password auth and POSTing to /webhooks/ (this is private API so not documented)

⚠️ only _https_ URLs are supported in the webhook `target_url` field 🚨

- add `webhooks` table to store event names and target urls
- add `POST` and `DELETE` endpoints for `/webhooks/`
- configure `subscribers.added` and `subscribers.deleted` events to trigger registered webhooks
2017-11-21 15:43:14 +00:00
..
fixtures Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
channelUtils.js Changed channelsRouter to use new base class 2017-11-09 10:47:20 +00:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
fork.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00