@@ -11227,6 +11227,62 @@ components:
1122711227 required:
1122811228 - type
1122911229 type: object
11230+ ConfiguredScheduleTarget:
11231+ description: Represents a configured schedule target with a specific position
11232+ (previous, current, or next).
11233+ properties:
11234+ attributes:
11235+ $ref: '#/components/schemas/ConfiguredScheduleTargetAttributes'
11236+ id:
11237+ description: Specifies the unique identifier of the configured schedule
11238+ target.
11239+ example: 00000000-aba1-0000-0000-000000000000_previous
11240+ type: string
11241+ relationships:
11242+ $ref: '#/components/schemas/ConfiguredScheduleTargetRelationships'
11243+ type:
11244+ $ref: '#/components/schemas/ConfiguredScheduleTargetType'
11245+ required:
11246+ - type
11247+ - id
11248+ - attributes
11249+ - relationships
11250+ type: object
11251+ ConfiguredScheduleTargetAttributes:
11252+ description: Attributes for a configured schedule target, including position.
11253+ example:
11254+ position: previous
11255+ properties:
11256+ position:
11257+ $ref: '#/components/schemas/ScheduleTargetPosition'
11258+ required:
11259+ - position
11260+ type: object
11261+ ConfiguredScheduleTargetRelationships:
11262+ description: Represents the relationships of a configured schedule target.
11263+ properties:
11264+ schedule:
11265+ $ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule'
11266+ required:
11267+ - schedule
11268+ type: object
11269+ ConfiguredScheduleTargetRelationshipsSchedule:
11270+ description: Holds the schedule reference for a configured schedule target.
11271+ properties:
11272+ data:
11273+ $ref: '#/components/schemas/ScheduleTarget'
11274+ required:
11275+ - data
11276+ type: object
11277+ ConfiguredScheduleTargetType:
11278+ default: schedule_target
11279+ description: Indicates that the resource is of type `schedule_target`.
11280+ enum:
11281+ - schedule_target
11282+ example: schedule_target
11283+ type: string
11284+ x-enum-varnames:
11285+ - SCHEDULE_TARGET
1123011286 ConfluentAccountCreateRequest:
1123111287 description: Payload schema when adding a Confluent account.
1123211288 properties:
@@ -18936,13 +18992,24 @@ components:
1893618992 type: users
1893718993 - id: 00000000-aba2-0000-0000-000000000000
1893818994 type: schedules
18995+ - id: 00000000-aba2-0000-0000-000000000000_previous
18996+ type: schedule_target
1893918997 - id: 00000000-aba3-0000-0000-000000000000
1894018998 type: teams
1894118999 type: steps
1894219000 - id: 00000000-aba1-0000-0000-000000000000
1894319001 type: users
1894419002 - id: 00000000-aba2-0000-0000-000000000000
1894519003 type: schedules
19004+ - attributes:
19005+ position: previous
19006+ id: 00000000-aba2-0000-0000-000000000000_previous
19007+ relationships:
19008+ schedule:
19009+ data:
19010+ id: 00000000-aba2-0000-0000-000000000000
19011+ type: schedules
19012+ type: schedule_target
1894619013 - id: 00000000-aba3-0000-0000-000000000000
1894719014 type: teams
1894819015 properties:
@@ -19014,6 +19081,7 @@ components:
1901419081 name:
1901519082 description: Specifies the name for the new escalation policy.
1901619083 example: On-Call Escalation Policy
19084+ minLength: 1
1901719085 type: string
1901819086 resolve_page_on_policy_end:
1901919087 description: Indicates whether the page is automatically resolved when the
@@ -19023,12 +19091,16 @@ components:
1902319091 description: Specifies how many times the escalation sequence is retried
1902419092 if there is no response.
1902519093 format: int64
19094+ maximum: 10
19095+ minimum: 0
1902619096 type: integer
1902719097 steps:
1902819098 description: A list of escalation steps, each defining assignment, escalation
1902919099 timeout, and targets for the new policy.
1903019100 items:
1903119101 $ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems'
19102+ maxItems: 10
19103+ minItems: 1
1903219104 type: array
1903319105 required:
1903419106 - name
@@ -19045,6 +19117,8 @@ components:
1904519117 step.
1904619118 example: 3600
1904719119 format: int64
19120+ maximum: 36000
19121+ minimum: 60
1904819122 type: integer
1904919123 targets:
1905019124 description: Specifies the collection of escalation targets for this step.
@@ -19096,6 +19170,7 @@ components:
1909619170 name:
1909719171 description: Specifies the name of the escalation policy.
1909819172 example: On-Call Escalation Policy
19173+ minLength: 1
1909919174 type: string
1910019175 resolve_page_on_policy_end:
1910119176 description: Indicates whether the page is automatically resolved when the
@@ -19105,6 +19180,8 @@ components:
1910519180 description: Specifies how many times the escalation sequence is retried
1910619181 if there is no response.
1910719182 format: int64
19183+ maximum: 10
19184+ minimum: 0
1910819185 type: integer
1910919186 required:
1911019187 - name
@@ -19167,10 +19244,11 @@ components:
1916719244 description: Represents included related resources when retrieving an escalation
1916819245 policy, such as teams, steps, or targets.
1916919246 oneOf:
19170- - $ref: '#/components/schemas/TeamReference'
1917119247 - $ref: '#/components/schemas/EscalationPolicyStep'
1917219248 - $ref: '#/components/schemas/EscalationPolicyUser'
1917319249 - $ref: '#/components/schemas/ScheduleData'
19250+ - $ref: '#/components/schemas/ConfiguredScheduleTarget'
19251+ - $ref: '#/components/schemas/TeamTarget'
1917419252 EscalationPolicyStep:
1917519253 description: Represents a single step in an escalation policy, including its
1917619254 attributes, relationships, and resource type.
@@ -19218,15 +19296,29 @@ components:
1921819296 type: object
1921919297 EscalationPolicyStepTarget:
1922019298 description: Defines a single escalation target within a step for an escalation
19221- policy creation request. Contains `id` and `type `.
19299+ policy creation request. Contains `id`, `type`, and optional `config `.
1922219300 properties:
19301+ config:
19302+ $ref: '#/components/schemas/EscalationPolicyStepTargetConfig'
1922319303 id:
1922419304 description: Specifies the unique identifier for this target.
1922519305 example: 00000000-aba1-0000-0000-000000000000
1922619306 type: string
1922719307 type:
1922819308 $ref: '#/components/schemas/EscalationPolicyStepTargetType'
1922919309 type: object
19310+ EscalationPolicyStepTargetConfig:
19311+ description: Configuration for an escalation target, such as schedule position.
19312+ properties:
19313+ schedule:
19314+ $ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule'
19315+ type: object
19316+ EscalationPolicyStepTargetConfigSchedule:
19317+ description: Schedule-specific configuration for an escalation target.
19318+ properties:
19319+ position:
19320+ $ref: '#/components/schemas/ScheduleTargetPosition'
19321+ type: object
1923019322 EscalationPolicyStepTargetType:
1923119323 description: Specifies the type of escalation target (example `users`, `schedules`,
1923219324 or `teams`).
@@ -19307,6 +19399,7 @@ components:
1930719399 name:
1930819400 description: Specifies the name of the escalation policy.
1930919401 example: On-Call Escalation Policy
19402+ minLength: 1
1931019403 type: string
1931119404 resolve_page_on_policy_end:
1931219405 description: Indicates whether the page is automatically resolved when the
@@ -19316,12 +19409,16 @@ components:
1931619409 description: Specifies how many times the escalation sequence is retried
1931719410 if there is no response.
1931819411 format: int64
19412+ maximum: 10
19413+ minimum: 0
1931919414 type: integer
1932019415 steps:
1932119416 description: A list of escalation steps, each defining assignment, escalation
1932219417 timeout, and targets.
1932319418 items:
1932419419 $ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems'
19420+ maxItems: 10
19421+ minItems: 1
1932519422 type: array
1932619423 required:
1932719424 - name
@@ -19339,6 +19436,8 @@ components:
1933919436 step.
1934019437 example: 3600
1934119438 format: int64
19439+ maximum: 36000
19440+ minimum: 60
1934219441 type: integer
1934319442 id:
1934419443 description: Specifies the unique identifier of this step.
@@ -19447,12 +19546,13 @@ components:
1944719546 x-enum-varnames:
1944819547 - USERS
1944919548 EscalationTarget:
19450- description: Represents an escalation target, which can be a team, user, or
19451- schedule.
19549+ description: Represents an escalation target, which can be a team, user, schedule,
19550+ or configured schedule target .
1945219551 oneOf:
1945319552 - $ref: '#/components/schemas/TeamTarget'
1945419553 - $ref: '#/components/schemas/UserTarget'
1945519554 - $ref: '#/components/schemas/ScheduleTarget'
19555+ - $ref: '#/components/schemas/ConfiguredScheduleTarget'
1945619556 EscalationTargets:
1945719557 description: A list of escalation targets for a step
1945819558 properties:
@@ -44917,7 +45017,8 @@ components:
4491745017 type: object
4491845018 ScheduleTarget:
4491945019 description: Represents a schedule target for an escalation policy step, including
44920- its ID and resource type.
45020+ its ID and resource type. This is a shortcut for a configured schedule target
45021+ with position set to 'current'.
4492145022 properties:
4492245023 id:
4492345024 description: Specifies the unique identifier of the schedule resource.
@@ -44929,6 +45030,19 @@ components:
4492945030 - type
4493045031 - id
4493145032 type: object
45033+ ScheduleTargetPosition:
45034+ description: Specifies the position of a schedule target (example `previous`,
45035+ `current`, or `next`).
45036+ enum:
45037+ - previous
45038+ - current
45039+ - next
45040+ example: previous
45041+ type: string
45042+ x-enum-varnames:
45043+ - PREVIOUS
45044+ - CURRENT
45045+ - NEXT
4493245046 ScheduleTargetType:
4493345047 default: schedules
4493445048 description: Indicates that the resource is of type `schedules`.
0 commit comments