Incident Templates

Get incident templates.

get
Authorizations
Query parameters
start-indexinteger · int32Optional

an integer specifying the starting point (beginning with 0) when paging through a list of entities

Default: 0
max-resultsinteger · int32 · max: 100Optional

the maximum number of results when paging through a list of entities.

Default: 50
Responses
200
The incident templates
application/json
get
GET /api/incident-templates HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

The incident templates

[
  {
    "id": 1,
    "name": "text",
    "summary": "text",
    "status": "INVESTIGATING",
    "message": "text",
    "sendNotification": true,
    "teams": [
      {
        "id": 1,
        "name": "text"
      }
    ]
  }
]

Create a new incident template.

post
Authorizations
Body
idnumberOptional
namestringOptional
summarystringOptional
statusstring · enumOptional

the incident status

Possible values:
messagestringOptional
sendNotificationbooleanOptional
Responses
200
The newly created incident template
application/json
post
POST /api/incident-templates HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 138

{
  "id": 1,
  "name": "text",
  "summary": "text",
  "status": "INVESTIGATING",
  "message": "text",
  "sendNotification": true,
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ]
}
200

The newly created incident template

{
  "id": 1,
  "name": "text",
  "summary": "text",
  "status": "INVESTIGATING",
  "message": "text",
  "sendNotification": true,
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ]
}

Get a specific incident template.

get
Authorizations
Path parameters
idnumberRequired

entity ID

Responses
200
The requested incident template
application/json
get
GET /api/incident-templates/{id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200

The requested incident template

{
  "id": 1,
  "name": "text",
  "summary": "text",
  "status": "INVESTIGATING",
  "message": "text",
  "sendNotification": true,
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ]
}

Update the specific incident template

put
Authorizations
Path parameters
idnumberRequired

entity ID

Body
idnumberOptional
namestringOptional
summarystringOptional
statusstring · enumOptional

the incident status

Possible values:
messagestringOptional
sendNotificationbooleanOptional
Responses
200
The updated incident template
application/json
put
PUT /api/incident-templates/{id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 138

{
  "id": 1,
  "name": "text",
  "summary": "text",
  "status": "INVESTIGATING",
  "message": "text",
  "sendNotification": true,
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ]
}
200

The updated incident template

{
  "id": 1,
  "name": "text",
  "summary": "text",
  "status": "INVESTIGATING",
  "message": "text",
  "sendNotification": true,
  "teams": [
    {
      "id": 1,
      "name": "text"
    }
  ]
}

Remove a specific incident template.

delete
Authorizations
Path parameters
idnumberRequired

entity ID

Responses
204
Empty body delete response
delete
DELETE /api/incident-templates/{id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
204

Empty body delete response

No content

Was this helpful?