Define an action
POST/api/v0/event-definitions/
Add an action to the catalog. Requires the manage scope on a key that is not limited to named trails. Defining the first action turns catalog enforcement on: events with any other action name are refused from then on. Add schemas with schema_versions_create.
Request
Responses
- 201
- 400
- 403
The action as stored.
The definition was refused: the action is malformed, reserved or already defined, a target type is malformed, or the body is not JSON.
Missing, invalid or under-scoped API key.