Ghost/core/server/models
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
..
base Add bookshelf-relations (#9252) 2017-11-21 13:28:05 +00:00
plugins 🐛 Fixed pagination error (#9243) 2017-11-14 12:47:58 +00:00
accesstoken.js 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
client-trusted-domain.js Add table columns for OAuth 2015-09-02 13:39:22 +01:00
client.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
invite.js 🎨 invites roles table into a field on the invites table (#7705) 2016-11-16 09:33:44 +00:00
permission.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
post.js Add bookshelf-relations (#9252) 2017-11-21 13:28:05 +00:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Support for attribute-based permissions (#9025) 2017-09-26 18:06:14 +02:00
settings.js Refactored to save settings only if value changes (#9194) 2017-10-31 15:47:30 +00:00
subscriber.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
tag.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
user.js Changed logic for importPersistUser option (#9203) 2017-11-07 09:09:57 +01:00
webhook.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00