Skip to content

Update On-Call Escalation policies endpoints schemas and description #28946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-22 18:30:05.951046",
"spec_repo_commit": "2b6fa951"
"regenerated": "2025-04-24 13:40:52.400928",
"spec_repo_commit": "4295fd1a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-22 18:30:14.967308",
"spec_repo_commit": "2b6fa951"
"regenerated": "2025-04-24 13:41:01.298481",
"spec_repo_commit": "4295fd1a"
}
}
}
8 changes: 4 additions & 4 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7478,7 +7478,7 @@ menu:
- CreateOnCallSchedule
unstable: []
order: 1
- name: Update on call escalation policy
- name: Update on-call escalation policy
url: '#update-on-call-escalation-policy'
identifier: on-call-update-on-call-escalation-policy
parent: on-call
Expand All @@ -7490,7 +7490,7 @@ menu:
- UpdateOnCallEscalationPolicy
unstable: []
order: 6
- name: Get on call escalation policy
- name: Get on-call escalation policy
url: '#get-on-call-escalation-policy'
identifier: on-call-get-on-call-escalation-policy
parent: on-call
Expand All @@ -7502,7 +7502,7 @@ menu:
- GetOnCallEscalationPolicy
unstable: []
order: 7
- name: Delete on call escalation policy
- name: Delete on-call escalation policy
url: '#delete-on-call-escalation-policy'
identifier: on-call-delete-on-call-escalation-policy
parent: on-call
Expand All @@ -7514,7 +7514,7 @@ menu:
- DeleteOnCallEscalationPolicy
unstable: []
order: 8
- name: Create on call escalation policy
- name: Create on-call escalation policy
url: '#create-on-call-escalation-policy'
identifier: on-call-create-on-call-escalation-policy
parent: on-call
Expand Down
8 changes: 4 additions & 4 deletions content/en/api/v2/on-call/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"id": "00000000-aba1-0000-0000-000000000000",
"targets": [
{
"id": "c1d4eb9e-8bb0-974d-85a5-a7dd9db46bee",
"id": "string",
"type": "users"
}
]
}
]
},
"id": "string",
"id": "ab000000-0000-0000-0000-000000000000",
"relationships": {
"teams": {
"data": [
Expand Down
4 changes: 2 additions & 2 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
{
"group": "on-call",
"suffix": "",
"description": "Create on call escalation policy returns \"Created\" response"
"description": "Create on-call escalation policy returns \"Created\" response"
}
],
"CreateOnCallSchedule": [
Expand All @@ -893,7 +893,7 @@
{
"group": "on-call",
"suffix": "",
"description": "Update on call escalation policy returns \"OK\" response"
"description": "Update on-call escalation policy returns \"OK\" response"
}
],
"UpdateOnCallSchedule": [
Expand Down
10 changes: 6 additions & 4 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12945,6 +12945,7 @@ components:
$ref: '#/components/schemas/EscalationPolicyDataAttributes'
id:
description: Specifies the unique identifier of the escalation policy.
example: ab000000-0000-0000-0000-000000000000
type: string
relationships:
$ref: '#/components/schemas/EscalationPolicyDataRelationships'
Expand Down Expand Up @@ -28662,6 +28663,7 @@ components:
$ref: '#/components/schemas/ScheduleCreateRequestDataType'
required:
- type
- attributes
type: object
ScheduleCreateRequestDataAttributes:
description: Describes the main attributes for creating a new schedule, including
Expand Down Expand Up @@ -49819,7 +49821,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Create on call escalation policy
summary: Create on-call escalation policy
tags:
- On-Call
x-given:
Expand Down Expand Up @@ -49878,7 +49880,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Delete on call escalation policy
summary: Delete on-call escalation policy
tags:
- On-Call
x-menu-order: 8
Expand Down Expand Up @@ -49922,7 +49924,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Get on call escalation policy
summary: Get on-call escalation policy
tags:
- On-Call
x-menu-order: 7
Expand Down Expand Up @@ -49972,7 +49974,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Update on call escalation policy
summary: Update on-call escalation policy
tags:
- On-Call
x-menu-order: 6
Expand Down
22 changes: 15 additions & 7 deletions data/api/v2/full_spec_deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -76739,6 +76739,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -77904,6 +77905,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -186930,7 +186932,8 @@
}
},
"required": [
"type"
"type",
"attributes"
],
"type": "object"
}
Expand Down Expand Up @@ -187170,7 +187173,8 @@
}
},
"required": [
"type"
"type",
"attributes"
],
"type": "object"
},
Expand Down Expand Up @@ -377182,6 +377186,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -377734,7 +377739,7 @@
"AuthZ": []
}
],
"summary": "Create on call escalation policy",
"summary": "Create on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -377904,7 +377909,7 @@
"AuthZ": []
}
],
"summary": "Delete on call escalation policy",
"summary": "Delete on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -378055,6 +378060,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -378635,7 +378641,7 @@
"AuthZ": []
}
],
"summary": "Get on call escalation policy",
"summary": "Get on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -379007,6 +379013,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -379587,7 +379594,7 @@
"AuthZ": []
}
],
"summary": "Update on call escalation policy",
"summary": "Update on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -379896,7 +379903,8 @@
}
},
"required": [
"type"
"type",
"attributes"
],
"type": "object"
}
Expand Down
8 changes: 4 additions & 4 deletions data/api/v2/translate_actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1277,21 +1277,21 @@
},
"CreateOnCallEscalationPolicy": {
"description": "Create a new on-call escalation policy",
"summary": "Create on call escalation policy",
"summary": "Create on-call escalation policy",
"request_description": "",
"request_schema_description": "Represents a request to create a new escalation policy, including the policy data."
},
"DeleteOnCallEscalationPolicy": {
"description": "Delete an on-call escalation policy",
"summary": "Delete on call escalation policy"
"summary": "Delete on-call escalation policy"
},
"GetOnCallEscalationPolicy": {
"description": "Get an on-call escalation policy",
"summary": "Get on call escalation policy"
"summary": "Get on-call escalation policy"
},
"UpdateOnCallEscalationPolicy": {
"description": "Update an on-call escalation policy",
"summary": "Update on call escalation policy",
"summary": "Update on-call escalation policy",
"request_description": "",
"request_schema_description": "Represents a request to update an existing escalation policy, including the updated policy data."
},
Expand Down
22 changes: 15 additions & 7 deletions static/resources/json/full_spec_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -76739,6 +76739,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -77904,6 +77905,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -186930,7 +186932,8 @@
}
},
"required": [
"type"
"type",
"attributes"
],
"type": "object"
}
Expand Down Expand Up @@ -187170,7 +187173,8 @@
}
},
"required": [
"type"
"type",
"attributes"
],
"type": "object"
},
Expand Down Expand Up @@ -377182,6 +377186,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -377734,7 +377739,7 @@
"AuthZ": []
}
],
"summary": "Create on call escalation policy",
"summary": "Create on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -377904,7 +377909,7 @@
"AuthZ": []
}
],
"summary": "Delete on call escalation policy",
"summary": "Delete on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -378055,6 +378060,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -378635,7 +378641,7 @@
"AuthZ": []
}
],
"summary": "Get on call escalation policy",
"summary": "Get on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -379007,6 +379013,7 @@
},
"id": {
"description": "Specifies the unique identifier of the escalation policy.",
"example": "ab000000-0000-0000-0000-000000000000",
"type": "string"
},
"relationships": {
Expand Down Expand Up @@ -379587,7 +379594,7 @@
"AuthZ": []
}
],
"summary": "Update on call escalation policy",
"summary": "Update on-call escalation policy",
"tags": [
"On-Call"
],
Expand Down Expand Up @@ -379896,7 +379903,8 @@
}
},
"required": [
"type"
"type",
"attributes"
],
"type": "object"
}
Expand Down
Loading