Ghost/core/server/api
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
..
app.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
authentication.js Improved password validation rules (#9171) 2017-10-26 11:01:24 +01:00
clients.js Refactored the API layer: do not handle API response after pipelining 2017-09-28 10:18:18 +01:00
configuration.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
db.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
invites.js Refactored the API layer: do not handle API response after pipelining 2017-09-28 10:18:18 +01:00
mail.js Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
middleware.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
notifications.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
posts.js Prev & next post filtering, with primary tag support (#9141) 2017-10-13 15:44:39 +01:00
redirects.js 🎨 Backup redirects.json file before overriding (#9051) 2017-09-25 18:35:57 +01:00
roles.js Refactored the API layer: do not handle API response after pipelining 2017-09-28 10:18:18 +01:00
routes.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
schedules.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
settings.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
slack.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
slugs.js Refactored the API layer: do not handle API response after pipelining 2017-09-28 10:18:18 +01:00
subscribers.js Added GET/DELETE /subscribers/email/:email/ endpoints (#9238) 2017-11-14 12:09:41 +01:00
tags.js Refactored the API layer: do not handle API response after pipelining 2017-09-28 10:18:18 +01:00
themes.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
upload.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
users.js Refactored the API layer: do not handle API response after pipelining 2017-09-28 10:18:18 +01:00
utils.js Added GET/DELETE /subscribers/email/:email/ endpoints (#9238) 2017-11-14 12:09:41 +01:00
webhooks.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00