Incident Templates
Create Incident Template
API Documentation
Components
Component Groups
Incident Updates
Incident Templates
MetricPoint
Incident Templates
Create Incident Template
POST
/
incident-templates
curl --request POST \
--url http://localhost/api/incident-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"template": "<string>",
"engine": "blade"
}'
{
"data": {
"id": "<string>",
"type": "incidentTemplates",
"attributes": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"template": "<string>",
"engine": "<string>",
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
`CreateIncidentTemplateRequestData`
Maximum length:
255
Available options:
blade
, twig
Response
200
application/json
`IncidentTemplate`
Available options:
incidentTemplates
curl --request POST \
--url http://localhost/api/incident-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"template": "<string>",
"engine": "blade"
}'
{
"data": {
"id": "<string>",
"type": "incidentTemplates",
"attributes": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"template": "<string>",
"engine": "<string>",
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
}
}
}