diff --git a/content/en/api/v2/on-call/examples.json b/content/en/api/v2/on-call/examples.json index 3bee55c24e1..2630a391431 100644 --- a/content/en/api/v2/on-call/examples.json +++ b/content/en/api/v2/on-call/examples.json @@ -58,6 +58,10 @@ "id": "00000000-aba2-0000-0000-000000000000", "type": "schedules" }, + { + "id": "00000000-aba2-0000-0000-000000000000_previous", + "type": "schedule_target" + }, { "id": "00000000-aba3-0000-0000-000000000000", "type": "teams" @@ -75,13 +79,28 @@ "id": "00000000-aba2-0000-0000-000000000000", "type": "schedules" }, + { + "attributes": { + "position": "previous" + }, + "id": "00000000-aba2-0000-0000-000000000000_previous", + "relationships": { + "schedule": { + "data": { + "id": "00000000-aba2-0000-0000-000000000000", + "type": "schedules" + } + } + }, + "type": "schedule_target" + }, { "id": "00000000-aba3-0000-0000-000000000000", "type": "teams" } ] }, - "html": "
data
\nobject
Represents the data for a single escalation policy, including its attributes, ID, relationships, and resource type.
attributes
\nobject
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
id
\nstring
Specifies the unique identifier of the escalation policy.
relationships
\nobject
Represents the relationships for an escalation policy, including references to steps and teams.
steps [required]
\nobject
Defines the relationship to a collection of steps within an escalation policy. Contains an array of step data references.
data
\n[object]
An array of references to the steps defined in this escalation policy.
id [required]
\nstring
Specifies the unique identifier for the step resource.
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
included
\n[ <oneOf>]
Provides any included related resources, such as steps or targets, returned with the policy.
Option 1
\nobject
Provides a reference to a team, including ID, type, and basic attributes/relationships.
attributes
\nobject
Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.
avatar
\nstring
URL or reference for the team's avatar (if available).
description
\nstring
A short text describing the team.
handle
\nstring
A unique handle/slug for the team.
name
\nstring
The full, human-readable name of the team.
id
\nstring
The team's unique identifier.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a single step in an escalation policy, including its attributes, relationships, and resource type.
attributes
\nobject
Defines attributes for an escalation policy step, such as assignment strategy and escalation timeout.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Specifies how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this escalation policy step.
relationships
\nobject
Represents the relationship of an escalation policy step to its targets.
targets
\nobject
A list of escalation targets for a step
data
\n[ <oneOf>]
The EscalationTargets data.
Option 1
\nobject
Represents a team target for an escalation policy step, including the team's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the team resource.
type [required]
\nenum
Indicates that the resource is of type teams. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a user target for an escalation policy step, including the user's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the user resource.
type [required]
\nenum
Indicates that the resource is of type users. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
Option 3
\nobject
Represents a user object in the context of an escalation policy, including their id, type, and basic attributes.
attributes
\nobject
Provides basic user information for an escalation policy, including a name and email address.
string
The user's email address.
name
\nstring
The user's name.
status
\nenum
The user's status. \nAllowed enum values: active,deactivated,pending
id
\nstring
The unique user identifier.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
Option 4
\nobject
Represents the primary data object for a schedule, linking attributes and relationships.
attributes
\nobject
Provides core properties of a schedule object such as its name and time zone.
name
\nstring
A short name for the schedule.
time_zone
\nstring
The time zone in which this schedule operates.
id
\nstring
The schedule's unique identifier.
relationships
\nobject
Groups the relationships for a schedule object, referencing layers and teams.
layers
\nobject
Associates layers with this schedule in a data structure.
data
\n[object]
An array of layer references for this schedule.
id [required]
\nstring
The unique identifier of the layer in this relationship.
type [required]
\nenum
Layers resource type. \nAllowed enum values: layers
default: layers
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Schedules resource type. \nAllowed enum values: schedules
default: schedules
data
\nobject
Represents the data for a single escalation policy, including its attributes, ID, relationships, and resource type.
attributes
\nobject
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
id
\nstring
Specifies the unique identifier of the escalation policy.
relationships
\nobject
Represents the relationships for an escalation policy, including references to steps and teams.
steps [required]
\nobject
Defines the relationship to a collection of steps within an escalation policy. Contains an array of step data references.
data
\n[object]
An array of references to the steps defined in this escalation policy.
id [required]
\nstring
Specifies the unique identifier for the step resource.
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
included
\n[ <oneOf>]
Provides any included related resources, such as steps or targets, returned with the policy.
Option 1
\nobject
Represents a single step in an escalation policy, including its attributes, relationships, and resource type.
attributes
\nobject
Defines attributes for an escalation policy step, such as assignment strategy and escalation timeout.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Specifies how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this escalation policy step.
relationships
\nobject
Represents the relationship of an escalation policy step to its targets.
targets
\nobject
A list of escalation targets for a step
data
\n[ <oneOf>]
The EscalationTargets data.
Option 1
\nobject
Represents a team target for an escalation policy step, including the team's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the team resource.
type [required]
\nenum
Indicates that the resource is of type teams. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a user target for an escalation policy step, including the user's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the user resource.
type [required]
\nenum
Indicates that the resource is of type users. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
Option 4
\nobject
Relationship reference to a configured schedule target.
id [required]
\nstring
Specifies the unique identifier of the configured schedule target.
type [required]
\nenum
Indicates that the resource is of type schedule_target. \nAllowed enum values: schedule_target
default: schedule_target
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
Option 2
\nobject
Represents a user object in the context of an escalation policy, including their id, type, and basic attributes.
attributes
\nobject
Provides basic user information for an escalation policy, including a name and email address.
string
The user's email address.
name
\nstring
The user's name.
status
\nenum
The user's status. \nAllowed enum values: active,deactivated,pending
id
\nstring
The unique user identifier.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents the primary data object for a schedule, linking attributes and relationships.
attributes
\nobject
Provides core properties of a schedule object such as its name and time zone.
name
\nstring
A short name for the schedule.
time_zone
\nstring
The time zone in which this schedule operates.
id
\nstring
The schedule's unique identifier.
relationships
\nobject
Groups the relationships for a schedule object, referencing layers and teams.
layers
\nobject
Associates layers with this schedule in a data structure.
data
\n[object]
An array of layer references for this schedule.
id [required]
\nstring
The unique identifier of the layer in this relationship.
type [required]
\nenum
Layers resource type. \nAllowed enum values: layers
default: layers
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Schedules resource type. \nAllowed enum values: schedules
default: schedules
Option 4
\nobject
Full resource representation of a configured schedule target with position (previous, current, or next).
attributes [required]
\nobject
Attributes for a configured schedule target, including position.
position [required]
\nenum
Specifies the position of a schedule target (example previous, current, or next). \nAllowed enum values: previous,current,next
id [required]
\nstring
Specifies the unique identifier of the configured schedule target.
relationships [required]
\nobject
Represents the relationships of a configured schedule target.
schedule [required]
\nobject
Holds the schedule reference for a configured schedule target.
data [required]
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
type [required]
\nenum
Indicates that the resource is of type schedule_target. \nAllowed enum values: schedule_target
default: schedule_target
Option 5
\nobject
Provides a reference to a team, including ID, type, and basic attributes/relationships.
attributes
\nobject
Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.
avatar
\nstring
URL or reference for the team's avatar (if available).
description
\nstring
A short text describing the team.
handle
\nstring
A unique handle/slug for the team.
name
\nstring
The full, human-readable name of the team.
id
\nstring
The team's unique identifier.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
data [required]
\nobject
Represents the data for creating an escalation policy, including its attributes, relationships, and resource type.
attributes [required]
\nobject
Defines the attributes for creating an escalation policy, including its description, name, resolution behavior, retries, and steps.
name [required]
\nstring
Specifies the name for the new escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
steps [required]
\n[object]
A list of escalation steps, each defining assignment, escalation timeout, and targets for the new policy.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Defines how many seconds to wait before escalating to the next step.
targets [required]
\n[object]
Specifies the collection of escalation targets for this step.
id
\nstring
Specifies the unique identifier for this target.
type
\nenum
Specifies the type of escalation target (example users, schedules, or teams). \nAllowed enum values: users,schedules,teams
relationships
\nobject
Represents relationships in an escalation policy creation request, including references to teams.
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
data [required]
\nobject
Represents the data for creating an escalation policy, including its attributes, relationships, and resource type.
attributes [required]
\nobject
Defines the attributes for creating an escalation policy, including its description, name, resolution behavior, retries, and steps.
name [required]
\nstring
Specifies the name for the new escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
steps [required]
\n[object]
A list of escalation steps, each defining assignment, escalation timeout, and targets for the new policy.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Defines how many seconds to wait before escalating to the next step.
targets [required]
\n[object]
Specifies the collection of escalation targets for this step.
config
\nobject
Configuration for an escalation target, such as schedule position.
schedule
\nobject
Schedule-specific configuration for an escalation target.
position
\nenum
Specifies the position of a schedule target (example previous, current, or next). \nAllowed enum values: previous,current,next
id
\nstring
Specifies the unique identifier for this target.
type
\nenum
Specifies the type of escalation target (example users, schedules, or teams). \nAllowed enum values: users,schedules,teams
relationships
\nobject
Represents relationships in an escalation policy creation request, including references to teams.
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
data
\nobject
Represents the data for a single escalation policy, including its attributes, ID, relationships, and resource type.
attributes
\nobject
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
id
\nstring
Specifies the unique identifier of the escalation policy.
relationships
\nobject
Represents the relationships for an escalation policy, including references to steps and teams.
steps [required]
\nobject
Defines the relationship to a collection of steps within an escalation policy. Contains an array of step data references.
data
\n[object]
An array of references to the steps defined in this escalation policy.
id [required]
\nstring
Specifies the unique identifier for the step resource.
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
included
\n[ <oneOf>]
Provides any included related resources, such as steps or targets, returned with the policy.
Option 1
\nobject
Provides a reference to a team, including ID, type, and basic attributes/relationships.
attributes
\nobject
Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.
avatar
\nstring
URL or reference for the team's avatar (if available).
description
\nstring
A short text describing the team.
handle
\nstring
A unique handle/slug for the team.
name
\nstring
The full, human-readable name of the team.
id
\nstring
The team's unique identifier.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a single step in an escalation policy, including its attributes, relationships, and resource type.
attributes
\nobject
Defines attributes for an escalation policy step, such as assignment strategy and escalation timeout.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Specifies how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this escalation policy step.
relationships
\nobject
Represents the relationship of an escalation policy step to its targets.
targets
\nobject
A list of escalation targets for a step
data
\n[ <oneOf>]
The EscalationTargets data.
Option 1
\nobject
Represents a team target for an escalation policy step, including the team's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the team resource.
type [required]
\nenum
Indicates that the resource is of type teams. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a user target for an escalation policy step, including the user's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the user resource.
type [required]
\nenum
Indicates that the resource is of type users. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
Option 3
\nobject
Represents a user object in the context of an escalation policy, including their id, type, and basic attributes.
attributes
\nobject
Provides basic user information for an escalation policy, including a name and email address.
string
The user's email address.
name
\nstring
The user's name.
status
\nenum
The user's status. \nAllowed enum values: active,deactivated,pending
id
\nstring
The unique user identifier.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
Option 4
\nobject
Represents the primary data object for a schedule, linking attributes and relationships.
attributes
\nobject
Provides core properties of a schedule object such as its name and time zone.
name
\nstring
A short name for the schedule.
time_zone
\nstring
The time zone in which this schedule operates.
id
\nstring
The schedule's unique identifier.
relationships
\nobject
Groups the relationships for a schedule object, referencing layers and teams.
layers
\nobject
Associates layers with this schedule in a data structure.
data
\n[object]
An array of layer references for this schedule.
id [required]
\nstring
The unique identifier of the layer in this relationship.
type [required]
\nenum
Layers resource type. \nAllowed enum values: layers
default: layers
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Schedules resource type. \nAllowed enum values: schedules
default: schedules
data
\nobject
Represents the data for a single escalation policy, including its attributes, ID, relationships, and resource type.
attributes
\nobject
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
id
\nstring
Specifies the unique identifier of the escalation policy.
relationships
\nobject
Represents the relationships for an escalation policy, including references to steps and teams.
steps [required]
\nobject
Defines the relationship to a collection of steps within an escalation policy. Contains an array of step data references.
data
\n[object]
An array of references to the steps defined in this escalation policy.
id [required]
\nstring
Specifies the unique identifier for the step resource.
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
included
\n[ <oneOf>]
Provides any included related resources, such as steps or targets, returned with the policy.
Option 1
\nobject
Represents a single step in an escalation policy, including its attributes, relationships, and resource type.
attributes
\nobject
Defines attributes for an escalation policy step, such as assignment strategy and escalation timeout.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Specifies how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this escalation policy step.
relationships
\nobject
Represents the relationship of an escalation policy step to its targets.
targets
\nobject
A list of escalation targets for a step
data
\n[ <oneOf>]
The EscalationTargets data.
Option 1
\nobject
Represents a team target for an escalation policy step, including the team's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the team resource.
type [required]
\nenum
Indicates that the resource is of type teams. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a user target for an escalation policy step, including the user's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the user resource.
type [required]
\nenum
Indicates that the resource is of type users. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
Option 4
\nobject
Relationship reference to a configured schedule target.
id [required]
\nstring
Specifies the unique identifier of the configured schedule target.
type [required]
\nenum
Indicates that the resource is of type schedule_target. \nAllowed enum values: schedule_target
default: schedule_target
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
Option 2
\nobject
Represents a user object in the context of an escalation policy, including their id, type, and basic attributes.
attributes
\nobject
Provides basic user information for an escalation policy, including a name and email address.
string
The user's email address.
name
\nstring
The user's name.
status
\nenum
The user's status. \nAllowed enum values: active,deactivated,pending
id
\nstring
The unique user identifier.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents the primary data object for a schedule, linking attributes and relationships.
attributes
\nobject
Provides core properties of a schedule object such as its name and time zone.
name
\nstring
A short name for the schedule.
time_zone
\nstring
The time zone in which this schedule operates.
id
\nstring
The schedule's unique identifier.
relationships
\nobject
Groups the relationships for a schedule object, referencing layers and teams.
layers
\nobject
Associates layers with this schedule in a data structure.
data
\n[object]
An array of layer references for this schedule.
id [required]
\nstring
The unique identifier of the layer in this relationship.
type [required]
\nenum
Layers resource type. \nAllowed enum values: layers
default: layers
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Schedules resource type. \nAllowed enum values: schedules
default: schedules
Option 4
\nobject
Full resource representation of a configured schedule target with position (previous, current, or next).
attributes [required]
\nobject
Attributes for a configured schedule target, including position.
position [required]
\nenum
Specifies the position of a schedule target (example previous, current, or next). \nAllowed enum values: previous,current,next
id [required]
\nstring
Specifies the unique identifier of the configured schedule target.
relationships [required]
\nobject
Represents the relationships of a configured schedule target.
schedule [required]
\nobject
Holds the schedule reference for a configured schedule target.
data [required]
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
type [required]
\nenum
Indicates that the resource is of type schedule_target. \nAllowed enum values: schedule_target
default: schedule_target
Option 5
\nobject
Provides a reference to a team, including ID, type, and basic attributes/relationships.
attributes
\nobject
Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.
avatar
\nstring
URL or reference for the team's avatar (if available).
description
\nstring
A short text describing the team.
handle
\nstring
A unique handle/slug for the team.
name
\nstring
The full, human-readable name of the team.
id
\nstring
The team's unique identifier.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
data
\nobject
Represents the data for a single escalation policy, including its attributes, ID, relationships, and resource type.
attributes
\nobject
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
id
\nstring
Specifies the unique identifier of the escalation policy.
relationships
\nobject
Represents the relationships for an escalation policy, including references to steps and teams.
steps [required]
\nobject
Defines the relationship to a collection of steps within an escalation policy. Contains an array of step data references.
data
\n[object]
An array of references to the steps defined in this escalation policy.
id [required]
\nstring
Specifies the unique identifier for the step resource.
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
included
\n[ <oneOf>]
Provides any included related resources, such as steps or targets, returned with the policy.
Option 1
\nobject
Provides a reference to a team, including ID, type, and basic attributes/relationships.
attributes
\nobject
Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.
avatar
\nstring
URL or reference for the team's avatar (if available).
description
\nstring
A short text describing the team.
handle
\nstring
A unique handle/slug for the team.
name
\nstring
The full, human-readable name of the team.
id
\nstring
The team's unique identifier.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a single step in an escalation policy, including its attributes, relationships, and resource type.
attributes
\nobject
Defines attributes for an escalation policy step, such as assignment strategy and escalation timeout.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Specifies how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this escalation policy step.
relationships
\nobject
Represents the relationship of an escalation policy step to its targets.
targets
\nobject
A list of escalation targets for a step
data
\n[ <oneOf>]
The EscalationTargets data.
Option 1
\nobject
Represents a team target for an escalation policy step, including the team's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the team resource.
type [required]
\nenum
Indicates that the resource is of type teams. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a user target for an escalation policy step, including the user's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the user resource.
type [required]
\nenum
Indicates that the resource is of type users. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
Option 3
\nobject
Represents a user object in the context of an escalation policy, including their id, type, and basic attributes.
attributes
\nobject
Provides basic user information for an escalation policy, including a name and email address.
string
The user's email address.
name
\nstring
The user's name.
status
\nenum
The user's status. \nAllowed enum values: active,deactivated,pending
id
\nstring
The unique user identifier.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
Option 4
\nobject
Represents the primary data object for a schedule, linking attributes and relationships.
attributes
\nobject
Provides core properties of a schedule object such as its name and time zone.
name
\nstring
A short name for the schedule.
time_zone
\nstring
The time zone in which this schedule operates.
id
\nstring
The schedule's unique identifier.
relationships
\nobject
Groups the relationships for a schedule object, referencing layers and teams.
layers
\nobject
Associates layers with this schedule in a data structure.
data
\n[object]
An array of layer references for this schedule.
id [required]
\nstring
The unique identifier of the layer in this relationship.
type [required]
\nenum
Layers resource type. \nAllowed enum values: layers
default: layers
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Schedules resource type. \nAllowed enum values: schedules
default: schedules
data
\nobject
Represents the data for a single escalation policy, including its attributes, ID, relationships, and resource type.
attributes
\nobject
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
id
\nstring
Specifies the unique identifier of the escalation policy.
relationships
\nobject
Represents the relationships for an escalation policy, including references to steps and teams.
steps [required]
\nobject
Defines the relationship to a collection of steps within an escalation policy. Contains an array of step data references.
data
\n[object]
An array of references to the steps defined in this escalation policy.
id [required]
\nstring
Specifies the unique identifier for the step resource.
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
included
\n[ <oneOf>]
Provides any included related resources, such as steps or targets, returned with the policy.
Option 1
\nobject
Represents a single step in an escalation policy, including its attributes, relationships, and resource type.
attributes
\nobject
Defines attributes for an escalation policy step, such as assignment strategy and escalation timeout.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Specifies how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this escalation policy step.
relationships
\nobject
Represents the relationship of an escalation policy step to its targets.
targets
\nobject
A list of escalation targets for a step
data
\n[ <oneOf>]
The EscalationTargets data.
Option 1
\nobject
Represents a team target for an escalation policy step, including the team's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the team resource.
type [required]
\nenum
Indicates that the resource is of type teams. \nAllowed enum values: teams
default: teams
Option 2
\nobject
Represents a user target for an escalation policy step, including the user's ID and resource type.
id [required]
\nstring
Specifies the unique identifier of the user resource.
type [required]
\nenum
Indicates that the resource is of type users. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
Option 4
\nobject
Relationship reference to a configured schedule target.
id [required]
\nstring
Specifies the unique identifier of the configured schedule target.
type [required]
\nenum
Indicates that the resource is of type schedule_target. \nAllowed enum values: schedule_target
default: schedule_target
type [required]
\nenum
Indicates that the resource is of type steps. \nAllowed enum values: steps
default: steps
Option 2
\nobject
Represents a user object in the context of an escalation policy, including their id, type, and basic attributes.
attributes
\nobject
Provides basic user information for an escalation policy, including a name and email address.
string
The user's email address.
name
\nstring
The user's name.
status
\nenum
The user's status. \nAllowed enum values: active,deactivated,pending
id
\nstring
The unique user identifier.
type [required]
\nenum
Users resource type. \nAllowed enum values: users
default: users
Option 3
\nobject
Represents the primary data object for a schedule, linking attributes and relationships.
attributes
\nobject
Provides core properties of a schedule object such as its name and time zone.
name
\nstring
A short name for the schedule.
time_zone
\nstring
The time zone in which this schedule operates.
id
\nstring
The schedule's unique identifier.
relationships
\nobject
Groups the relationships for a schedule object, referencing layers and teams.
layers
\nobject
Associates layers with this schedule in a data structure.
data
\n[object]
An array of layer references for this schedule.
id [required]
\nstring
The unique identifier of the layer in this relationship.
type [required]
\nenum
Layers resource type. \nAllowed enum values: layers
default: layers
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Schedules resource type. \nAllowed enum values: schedules
default: schedules
Option 4
\nobject
Full resource representation of a configured schedule target with position (previous, current, or next).
attributes [required]
\nobject
Attributes for a configured schedule target, including position.
position [required]
\nenum
Specifies the position of a schedule target (example previous, current, or next). \nAllowed enum values: previous,current,next
id [required]
\nstring
Specifies the unique identifier of the configured schedule target.
relationships [required]
\nobject
Represents the relationships of a configured schedule target.
schedule [required]
\nobject
Holds the schedule reference for a configured schedule target.
data [required]
\nobject
Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'.
id [required]
\nstring
Specifies the unique identifier of the schedule resource.
type [required]
\nenum
Indicates that the resource is of type schedules. \nAllowed enum values: schedules
default: schedules
type [required]
\nenum
Indicates that the resource is of type schedule_target. \nAllowed enum values: schedule_target
default: schedule_target
Option 5
\nobject
Provides a reference to a team, including ID, type, and basic attributes/relationships.
attributes
\nobject
Encapsulates the basic attributes of a Team reference, such as name, handle, and an optional avatar or description.
avatar
\nstring
URL or reference for the team's avatar (if available).
description
\nstring
A short text describing the team.
handle
\nstring
A unique handle/slug for the team.
name
\nstring
The full, human-readable name of the team.
id
\nstring
The team's unique identifier.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
data [required]
\nobject
Represents the data for updating an existing escalation policy, including its ID, attributes, relationships, and resource type.
attributes [required]
\nobject
Defines the attributes that can be updated for an escalation policy, such as description, name, resolution behavior, retries, and steps.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
steps [required]
\n[object]
A list of escalation steps, each defining assignment, escalation timeout, and targets.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Defines how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this step.
targets [required]
\n[object]
Specifies the collection of escalation targets for this step.
id
\nstring
Specifies the unique identifier for this target.
type
\nenum
Specifies the type of escalation target (example users, schedules, or teams). \nAllowed enum values: users,schedules,teams
id [required]
\nstring
Specifies the unique identifier of the escalation policy being updated.
relationships
\nobject
Represents relationships in an escalation policy update request, including references to teams.
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies
data [required]
\nobject
Represents the data for updating an existing escalation policy, including its ID, attributes, relationships, and resource type.
attributes [required]
\nobject
Defines the attributes that can be updated for an escalation policy, such as description, name, resolution behavior, retries, and steps.
name [required]
\nstring
Specifies the name of the escalation policy.
resolve_page_on_policy_end
\nboolean
Indicates whether the page is automatically resolved when the policy ends.
retries
\nint64
Specifies how many times the escalation sequence is retried if there is no response.
steps [required]
\n[object]
A list of escalation steps, each defining assignment, escalation timeout, and targets.
assignment
\nenum
Specifies how this escalation step will assign targets (example default or round-robin). \nAllowed enum values: default,round-robin
escalate_after_seconds
\nint64
Defines how many seconds to wait before escalating to the next step.
id
\nstring
Specifies the unique identifier of this step.
targets [required]
\n[object]
Specifies the collection of escalation targets for this step.
config
\nobject
Configuration for an escalation target, such as schedule position.
schedule
\nobject
Schedule-specific configuration for an escalation target.
position
\nenum
Specifies the position of a schedule target (example previous, current, or next). \nAllowed enum values: previous,current,next
id
\nstring
Specifies the unique identifier for this target.
type
\nenum
Specifies the type of escalation target (example users, schedules, or teams). \nAllowed enum values: users,schedules,teams
id [required]
\nstring
Specifies the unique identifier of the escalation policy being updated.
relationships
\nobject
Represents relationships in an escalation policy update request, including references to teams.
teams
\nobject
Associates teams with this schedule in a data structure.
data
\n[object]
An array of team references for this schedule.
id [required]
\nstring
The unique identifier of the team in this relationship.
type [required]
\nenum
Teams resource type. \nAllowed enum values: teams
default: teams
type [required]
\nenum
Indicates that the resource is of type policies. \nAllowed enum values: policies
default: policies