Skip to content
Open
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
64 changes: 48 additions & 16 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9512,22 +9512,6 @@ menu:
unstable:
- v2
order: 5
- name: Integrations
url: /api/latest/integrations/
identifier: integrations
generated: true
- name: List Integrations
url: '#list-integrations'
identifier: integrations-list-integrations
parent: integrations
generated: true
params:
versions:
- v2
operationids:
- ListIntegrations
unstable: []
order: 1
- name: Jira Integration
url: /api/latest/jira-integration/
identifier: jira-integration
Expand Down Expand Up @@ -12957,6 +12941,42 @@ menu:
url: /api/latest/status-pages/
identifier: status-pages
generated: true
- name: Update maintenance
url: '#update-maintenance'
identifier: status-pages-update-maintenance
parent: status-pages
generated: true
params:
versions:
- v2
operationids:
- UpdateMaintenance
unstable: []
order: 17
- name: Get maintenance
url: '#get-maintenance'
identifier: status-pages-get-maintenance
parent: status-pages
generated: true
params:
versions:
- v2
operationids:
- GetMaintenance
unstable: []
order: 19
- name: Create maintenance
url: '#create-maintenance'
identifier: status-pages-create-maintenance
parent: status-pages
generated: true
params:
versions:
- v2
operationids:
- CreateMaintenance
unstable: []
order: 16
- name: Update degradation
url: '#update-degradation'
identifier: status-pages-update-degradation
Expand Down Expand Up @@ -13101,6 +13121,18 @@ menu:
- DeleteStatusPage
unstable: []
order: 5
- name: List maintenances
url: '#list-maintenances'
identifier: status-pages-list-maintenances
parent: status-pages
generated: true
params:
versions:
- v2
operationids:
- ListMaintenances
unstable: []
order: 18
- name: List degradations
url: '#list-degradations'
identifier: status-pages-list-degradations
Expand Down
458 changes: 458 additions & 0 deletions content/en/api/v2/status-pages/examples.json

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions content/en/api/v2/status-pages/request.CreateMaintenance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"data": {
"attributes": {
"title": "API Maintenance",
"scheduled_description": "We will be performing maintenance on the API to improve performance.",
"in_progress_description": "We are currently performing maintenance on the API to improve performance.",
"completed_description": "We have completed maintenance on the API to improve performance.",
"start_date": "2021-11-11T12:11:11+00:00",
"completed_date": "2021-11-11T13:11:11+00:00",
"components_affected": [
{
"id": "4e9d3726-bdd7-0079-613c-e9aaba89eb01",
"status": "operational"
}
]
},
"type": "maintenances"
}
}
10 changes: 10 additions & 0 deletions content/en/api/v2/status-pages/request.UpdateMaintenance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"data": {
"attributes": {
"scheduled_description": "We will be performing maintenance on the API to improve performance for 40 minutes.",
"in_progress_description": "We are currently performing maintenance on the API to improve performance for 40 minutes."
},
"id": "6a167dcd-4975-9fda-c895-ee008c4256f9",
"type": "maintenances"
}
}
14 changes: 14 additions & 0 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -2028,6 +2028,13 @@
"description": "Create degradation returns \"Created\" response"
}
],
"CreateMaintenance": [
{
"group": "status_pages",
"suffix": "",
"description": "Create maintenance returns \"Created\" response"
}
],
"CreateStatusPage": [
{
"group": "status_pages",
Expand All @@ -2049,6 +2056,13 @@
"description": "Update degradation returns \"OK\" response"
}
],
"UpdateMaintenance": [
{
"group": "status_pages",
"suffix": "",
"description": "Update maintenance returns \"OK\" response"
}
],
"UpdateStatusPage": [
{
"group": "status_pages",
Expand Down
Loading
Loading