Skip to main content
Version: 6.0.6

Event

Structure

|- event
|- [event name]
|- version
|- [version name]
|- data.json
|- response.js(optional)
|- route.js
|- data.json

Event configuration on data.json requires following basic structure

{
"id": "91566af6-a611-4aaa-a8d7-55dfee16736a",
"name": "notification"
}

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