Integration module of jianliao.com
In general, events are emitted after the api server response the http request, so the name of events are reference to controller.action
pattern. You can checkout all the controller.action
s from the discover
api.
The events with before
prefix are pre hooks of the process, so their callbacks or return values will have affects on the response of users. Do not use these events unless you think it is necessary.
Event name | Params | Need callbacks | Description |
---|---|---|---|
integration.create |
req with integration |
||
integration.update |
req with integration |
||
integration.remove |
req with integration |
||
service.webhook |
req |
message | Emitted when receive webhook request |
before.integration.create |
req with integration |
||
before.integration.update |
req with integration |
||
before.integration.remove |
req with integration |
||
message.create |
req with message |
message or undefined |