Skip to content

Create a notification target

POST
/v1/notificationtarget/

Create a new notification target.

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
id
required
string format: uuid
display_name
required
string
<= 300 characters
target
string
<= 300 characters
time_from
string format: time
nullable
time_to
string format: time
nullable
notify_on_monday
boolean
notify_on_tuesday
boolean
notify_on_wednesday
boolean
notify_on_thursday
boolean
notify_on_friday
boolean
notify_on_saturday
boolean
notify_on_sunday
boolean
notify_on_ok
boolean
notify_on_warning
boolean
notify_on_critical
boolean
integration
required
string format: uuid
rules
Array<string>
contactsgroups
Array<string>
last_error_message
required
string
nullable
private_target
boolean
oncall_count
required
integer
enabled
boolean

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
id
required
string format: uuid
display_name
required
string
<= 300 characters
target
string
<= 300 characters
time_from
string format: time
nullable
time_to
string format: time
nullable
notify_on_monday
boolean
notify_on_tuesday
boolean
notify_on_wednesday
boolean
notify_on_thursday
boolean
notify_on_friday
boolean
notify_on_saturday
boolean
notify_on_sunday
boolean
notify_on_ok
boolean
notify_on_warning
boolean
notify_on_critical
boolean
integration
required
string format: uuid
rules
Array<string>
contactsgroups
Array<string>
last_error_message
required
string
nullable
private_target
boolean
oncall_count
required
integer
enabled
boolean