Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.24 KB

README-en.md

File metadata and controls

34 lines (25 loc) · 2.24 KB

talk-services

NPM version Build Status Talk topic

Integration module of jianliao.com

Events

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.actions 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