TripleParity / docks-api

RESTful API Server for Docks
https://tripleparity.github.io/docks-api/stack-api-spec.html
GNU General Public License v3.0
0 stars 0 forks source link

Webhooks2 #87

Closed CDuPlooy closed 6 years ago

CDuPlooy commented 6 years ago

Webhooks can accept an anonymous function as input.

This function should takes json as input and returns json, thus allowing the user to modify the data before a webhook is triggered.

The function is of the form when no modifier is specified

this.modifier = (x) => x;

The corresponding UI pull request is https://github.com/TripleParity/docks-ui/pull/200