Triggers_createTrigger

Create a Trigger. Can create two types: a cron trigger or an event trigger. Inputs are different for each type

SecuritybearerAuth
Request
Request Body schema: application/json
type
required
string
Enum: "Event" "Cron"
name
required
string
projectId
required
string
active
required
boolean
Responses
200

Ok

post/triggers
Request samples
application/json
{
  • "type": "Event",
  • "name": "string",
  • "projectId": "string",
  • "active": true
}
Response samples
application/json
{
  • "type": "Event",
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "creator": "string",
  • "name": "string",
  • "projectId": "string",
  • "active": true
}