Creates an automation with optional description. An automation's root structure is based off the agendajs library, with any custom data falling into the 'data' array
Route
POST /automation_catalog/automations
Roles
adminotherapiread
Parameters
DetailsExampleSchema
Name
Type
Required
Description
name
string
yes
Unique name of the automation
description
string
yes
Short description of the automation.
Copied to Clipboard
{
"name": "My fancy automation name",
"description": "ipsum nulla est ut elit"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"name": {
"title": "name",
"type": "string",
"minLength": 1,
"examples": [
"My fancy automation name"
],
"description": "Name of the automation. Two automations may not share the same name."
},
"description": {
"title": "description",
"type": "string",
"example": [
"My optional description"
]
}
},
"required": [
"name",
"description"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name
Type
Description
result
object
Automation document that was created by the request