Skip to main content
Version: 6.0.2

Action

Action defines user-defined action for the service.

Structure

|- action
|- [action name]
|- version
|- [version name]
|- data.json
|- execute.js
|- data.json

Action configuration on data.json requires following basic structure

{
"id": "eb713015-ff0c-4a33-9087-ec26ce7bf86a",
"name": "draft.create"
}

If id is not provided, CLI will autogenerate it and insert it into the file before creating a new action. If id is provided, CLI will update the action with that id.