Web trigger
Provide remote scripts that can run in runtime, and expose interfaces that can be called by third parties. You can see the exposed interfaces in the application details.
You can refer to the demo: webtrigger
Manifest example
modules:
webtrigger:
- key: webtrigger-example
function: webtrigger-function-key
function:
- key: webtrigger-function-key
handler: index.runWebtrigger
Properties
name | type | required | description |
---|---|---|---|
key | String | Yes | A key for the module, which other modules can refer to. Must be unique within the manifest. Regex: ^[a-zA-Z0-9_-]+$ |
function | String | Yes | A reference to the function module that defines the function |