diff --git a/content/en/api/v2/monitors/examples.json b/content/en/api/v2/monitors/examples.json index aadd419de0c25..f3249194f2e2f 100644 --- a/content/en/api/v2/monitors/examples.json +++ b/content/en/api/v2/monitors/examples.json @@ -101,7 +101,7 @@ } ] }, - "html": "
data
\n[object]
A list of monitor notification rules.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitors by tags. Monitors must match all tags.
tags [required]
\n[string]
A list of monitor tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rules.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data
\n[object]
A list of monitor notification rules.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitor notifications by tags. A monitor notification must match all tags.
tags [required]
\n[string]
A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.
Option 2
\nobject
Filter monitor notifications. A monitor notification must match the scope.
scope [required]
\nstring
A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rules.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data
\nobject
Monitor notification rule data.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitors by tags. Monitors must match all tags.
tags [required]
\n[string]
A list of monitor tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rule that the user requested.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data
\nobject
Monitor notification rule data.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitor notifications by tags. A monitor notification must match all tags.
tags [required]
\n[string]
A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.
Option 2
\nobject
Filter monitor notifications. A monitor notification must match the scope.
scope [required]
\nstring
A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rule that the user requested.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data [required]
\nobject
Object to create a monitor notification rule.
attributes [required]
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitors by tags. Monitors must match all tags.
tags [required]
\n[string]
A list of monitor tags.
name [required]
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
data [required]
\nobject
Object to create a monitor notification rule.
attributes [required]
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitor notifications by tags. A monitor notification must match all tags.
tags [required]
\n[string]
A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.
Option 2
\nobject
Filter monitor notifications. A monitor notification must match the scope.
scope [required]
\nstring
A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.
name [required]
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
data
\nobject
Monitor notification rule data.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitors by tags. Monitors must match all tags.
tags [required]
\n[string]
A list of monitor tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rule that the user requested.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data
\nobject
Monitor notification rule data.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitor notifications by tags. A monitor notification must match all tags.
tags [required]
\n[string]
A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.
Option 2
\nobject
Filter monitor notifications. A monitor notification must match the scope.
scope [required]
\nstring
A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rule that the user requested.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data
\nobject
Monitor notification rule data.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitors by tags. Monitors must match all tags.
tags [required]
\n[string]
A list of monitor tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rule that the user requested.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data
\nobject
Monitor notification rule data.
attributes
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
created
\ndate-time
Creation time of the monitor notification rule.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitor notifications by tags. A monitor notification must match all tags.
tags [required]
\n[string]
A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.
Option 2
\nobject
Filter monitor notifications. A monitor notification must match the scope.
scope [required]
\nstring
A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.
modified
\ndate-time
Time the monitor notification rule was last modified.
name
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.
id
\nstring
The ID of the monitor notification rule.
relationships
\nobject
All relationships associated with monitor notification rule.
created_by
\nobject
The user who created the monitor notification rule.
data
\nobject
Data for the user who created the monitor notification rule.
id
\nstring
User ID of the monitor notification rule creator.
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
included
\n[ <oneOf>]
Array of objects related to the monitor notification rule that the user requested.
Option 1
\nobject
User object returned by the API.
attributes
\nobject
Attributes of user object returned by the API.
created_at
\ndate-time
Creation time of the user.
disabled
\nboolean
Whether the user is disabled.
string
Email of the user.
handle
\nstring
Handle of the user.
icon
\nstring
URL of the user's icon.
last_login_time
\ndate-time
The last time the user logged in.
mfa_enabled
\nboolean
If user has MFA enabled.
modified_at
\ndate-time
Time that the user was last modified.
name
\nstring
Name of the user.
service_account
\nboolean
Whether the user is a service account.
status
\nstring
Status of the user.
title
\nstring
Title of the user.
verified
\nboolean
Whether the user is verified.
id
\nstring
ID of the user.
relationships
\nobject
Relationships of the user object returned by the API.
org
\nobject
Relationship to an organization.
data [required]
\nobject
Relationship to organization object.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_orgs
\nobject
Relationship to organizations.
data [required]
\n[object]
Relationships to organization objects.
id [required]
\nstring
ID of the organization.
type [required]
\nenum
Organizations resource type. \nAllowed enum values: orgs
default: orgs
other_users
\nobject
Relationship to users.
data [required]
\n[object]
Relationships to user objects.
id [required]
\nstring
A unique identifier that represents the user.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
roles
\nobject
Relationship to roles.
data
\n[object]
An array containing type and the unique identifier of a role.
id
\nstring
The unique identifier of the role.
type
\nenum
Roles type. \nAllowed enum values: roles
default: roles
type
\nenum
Users resource type. \nAllowed enum values: users
default: users
data [required]
\nobject
Object to update a monitor notification rule.
attributes [required]
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitors by tags. Monitors must match all tags.
tags [required]
\n[string]
A list of monitor tags.
name [required]
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
id [required]
\nstring
The ID of the monitor notification rule.
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule
data [required]
\nobject
Object to update a monitor notification rule.
attributes [required]
\nobject
Attributes of the monitor notification rule.
conditional_recipients
\nobject
Use conditional recipients to define different recipients for different situations. Cannot be used with recipients.
conditions [required]
\n[object]
Conditions of the notification rule.
recipients [required]
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'.
scope [required]
\nstring
The scope to which the monitor applied.
fallback_recipients
\n[string]
If none of the conditions applied, fallback_recipients will get notified.
filter
\n<oneOf>
Filter used to associate the notification rule with monitors.
Option 1
\nobject
Filter monitor notifications by tags. A monitor notification must match all tags.
tags [required]
\n[string]
A list of tags (key:value pairs), which can be used to filter monitor notifications on monitor and group tags.
Option 2
\nobject
Filter monitor notifications. A monitor notification must match the scope.
scope [required]
\nstring
A scope composed of one or several key:value pairs, which can be used to filter monitor notifications on monitor and group tags.
name [required]
\nstring
The name of the monitor notification rule.
recipients
\n[string]
A list of recipients to notify. Uses the same format as the monitor message field. Must not start with an '@'. Cannot be used with conditional_recipients.
id [required]
\nstring
The ID of the monitor notification rule.
type
\nenum
Monitor notification rule resource type. \nAllowed enum values: monitor-notification-rule
default: monitor-notification-rule