Skip to content

Commit 1ea0b6e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1e0b6ab of spec repo
1 parent 5d87dab commit 1ea0b6e

21 files changed

Lines changed: 1208 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 242 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64693,6 +64693,126 @@ components:
6469364693
- type
6469464694
- id
6469564695
type: object
64696+
MaintenanceUpdate:
64697+
description: Response object for a maintenance update.
64698+
properties:
64699+
data:
64700+
$ref: "#/components/schemas/MaintenanceUpdateData"
64701+
type: object
64702+
MaintenanceUpdateData:
64703+
description: The data object for a maintenance update.
64704+
properties:
64705+
attributes:
64706+
$ref: "#/components/schemas/MaintenanceUpdateDataAttributes"
64707+
id:
64708+
description: The ID of the maintenance update.
64709+
example: "1234abcd-12ab-34cd-56ef-123456abcdef"
64710+
format: uuid
64711+
type: string
64712+
relationships:
64713+
$ref: "#/components/schemas/MaintenanceUpdateDataRelationships"
64714+
type:
64715+
$ref: "#/components/schemas/PatchMaintenanceUpdateRequestDataType"
64716+
required:
64717+
- id
64718+
- type
64719+
type: object
64720+
MaintenanceUpdateDataAttributes:
64721+
description: Attributes of a maintenance update resource.
64722+
properties:
64723+
components_affected:
64724+
description: Components affected at the time of the update.
64725+
items:
64726+
$ref: "#/components/schemas/CreateMaintenanceRequestDataAttributesComponentsAffectedItems"
64727+
type: array
64728+
created_at:
64729+
description: The date and time the update was created.
64730+
format: date-time
64731+
type: string
64732+
description:
64733+
description: The message body of the update.
64734+
type: string
64735+
manual_transition:
64736+
description: Whether the update was applied manually by a user (true) or automatically by the system (false).
64737+
type: boolean
64738+
modified_at:
64739+
description: The date and time the update was last modified.
64740+
format: date-time
64741+
type: string
64742+
started_at:
64743+
description: The date and time the update started.
64744+
format: date-time
64745+
type: string
64746+
status:
64747+
$ref: "#/components/schemas/MaintenanceUpdateDataAttributesStatus"
64748+
type: object
64749+
MaintenanceUpdateDataAttributesStatus:
64750+
description: The status of the maintenance update.
64751+
enum:
64752+
- scheduled
64753+
- in_progress
64754+
- completed
64755+
- canceled
64756+
type: string
64757+
x-enum-varnames:
64758+
- SCHEDULED
64759+
- IN_PROGRESS
64760+
- COMPLETED
64761+
- CANCELED
64762+
MaintenanceUpdateDataRelationships:
64763+
description: Relationships of a maintenance update resource.
64764+
properties:
64765+
created_by_user:
64766+
$ref: "#/components/schemas/MaintenanceUpdateDataRelationshipsUser"
64767+
last_modified_by_user:
64768+
$ref: "#/components/schemas/MaintenanceUpdateDataRelationshipsUser"
64769+
maintenance:
64770+
$ref: "#/components/schemas/MaintenanceUpdateDataRelationshipsMaintenance"
64771+
type: object
64772+
MaintenanceUpdateDataRelationshipsMaintenance:
64773+
description: The parent maintenance of the update.
64774+
properties:
64775+
data:
64776+
$ref: "#/components/schemas/MaintenanceUpdateDataRelationshipsMaintenanceData"
64777+
required:
64778+
- data
64779+
type: object
64780+
MaintenanceUpdateDataRelationshipsMaintenanceData:
64781+
description: The maintenance linked to a maintenance update.
64782+
properties:
64783+
id:
64784+
description: The ID of the maintenance.
64785+
example: ""
64786+
format: uuid
64787+
type: string
64788+
type:
64789+
$ref: "#/components/schemas/PatchMaintenanceRequestDataType"
64790+
required:
64791+
- type
64792+
- id
64793+
type: object
64794+
MaintenanceUpdateDataRelationshipsUser:
64795+
description: A user relationship of a maintenance update.
64796+
properties:
64797+
data:
64798+
$ref: "#/components/schemas/MaintenanceUpdateDataRelationshipsUserData"
64799+
required:
64800+
- data
64801+
type: object
64802+
MaintenanceUpdateDataRelationshipsUserData:
64803+
description: The data object identifying a Datadog user linked to a maintenance update.
64804+
properties:
64805+
id:
64806+
description: The ID of the Datadog user.
64807+
example: ""
64808+
format: uuid
64809+
type: string
64810+
type:
64811+
$ref: "#/components/schemas/StatusPagesUserType"
64812+
required:
64813+
- type
64814+
- id
64815+
type: object
6469664816
MaintenanceWindow:
6469764817
description: A maintenance window that defines a scheduled time period during which case-related notifications and automation rules are suppressed. Each maintenance window applies to cases matching a specified query.
6469864818
properties:
@@ -80255,6 +80375,9 @@ components:
8025580375
PatchMaintenanceRequestDataAttributes:
8025680376
description: The supported attributes for updating a maintenance.
8025780377
properties:
80378+
canceled_description:
80379+
description: The description shown when the maintenance is canceled.
80380+
type: string
8025880381
completed_date:
8025980382
description: Timestamp of when the maintenance was completed.
8026080383
format: date-time
@@ -80403,6 +80526,50 @@ components:
8040380526
type: string
8040480527
x-enum-varnames:
8040580528
- MAINTENANCE_TEMPLATES
80529+
PatchMaintenanceUpdateRequest:
80530+
description: Request object for editing a maintenance update.
80531+
example:
80532+
data:
80533+
attributes:
80534+
description: We have completed maintenance on the API to improve performance.
80535+
id: 00000000-0000-0000-0000-000000000000
80536+
type: maintenance_updates
80537+
properties:
80538+
data:
80539+
$ref: "#/components/schemas/PatchMaintenanceUpdateRequestData"
80540+
type: object
80541+
PatchMaintenanceUpdateRequestData:
80542+
description: The data object for editing a maintenance update.
80543+
properties:
80544+
attributes:
80545+
$ref: "#/components/schemas/PatchMaintenanceUpdateRequestDataAttributes"
80546+
id:
80547+
description: The ID of the maintenance update to edit. Must match the `update_id` path parameter.
80548+
example: "1234abcd-12ab-34cd-56ef-123456abcdef"
80549+
type: string
80550+
type:
80551+
$ref: "#/components/schemas/PatchMaintenanceUpdateRequestDataType"
80552+
required:
80553+
- id
80554+
- type
80555+
type: object
80556+
PatchMaintenanceUpdateRequestDataAttributes:
80557+
description: Attributes for editing a maintenance update.
80558+
properties:
80559+
description:
80560+
description: The message body of the update.
80561+
example: ""
80562+
type: string
80563+
type: object
80564+
PatchMaintenanceUpdateRequestDataType:
80565+
default: maintenance_updates
80566+
description: Maintenance updates resource type.
80567+
enum:
80568+
- maintenance_updates
80569+
example: maintenance_updates
80570+
type: string
80571+
x-enum-varnames:
80572+
- MAINTENANCE_UPDATES
8040680573
PatchNotificationRuleParameters:
8040780574
description: Body of the notification rule patch request.
8040880575
properties:
@@ -203994,6 +204161,81 @@ paths:
203994204161
operator: AND
203995204162
permissions:
203996204163
- status_pages_incident_write
204164+
/api/v2/statuspages/{page_id}/maintenances/{maintenance_id}/updates/{update_id}:
204165+
patch:
204166+
description: Edits the message of a specific maintenance update. Editing is allowed regardless of the parent maintenance's status, including completed and canceled maintenances.
204167+
operationId: PatchMaintenanceUpdate
204168+
parameters:
204169+
- description: The ID of the status page.
204170+
in: path
204171+
name: page_id
204172+
required: true
204173+
schema:
204174+
format: uuid
204175+
type: string
204176+
- description: The ID of the maintenance.
204177+
in: path
204178+
name: maintenance_id
204179+
required: true
204180+
schema:
204181+
format: uuid
204182+
type: string
204183+
- description: The ID of the maintenance update.
204184+
in: path
204185+
name: update_id
204186+
required: true
204187+
schema:
204188+
format: uuid
204189+
type: string
204190+
requestBody:
204191+
content:
204192+
application/json:
204193+
examples:
204194+
default:
204195+
value:
204196+
data:
204197+
attributes:
204198+
description: We have completed maintenance on the API to improve performance.
204199+
id: 00000000-0000-0000-0000-000000000000
204200+
type: maintenance_updates
204201+
schema:
204202+
$ref: "#/components/schemas/PatchMaintenanceUpdateRequest"
204203+
required: true
204204+
responses:
204205+
"200":
204206+
content:
204207+
application/json:
204208+
examples:
204209+
default:
204210+
value:
204211+
data:
204212+
attributes:
204213+
components_affected: []
204214+
created_at: "2026-04-27T13:37:31+00:00"
204215+
description: We have completed maintenance on the API to improve performance.
204216+
manual_transition: true
204217+
modified_at: "2026-04-27T14:37:31+00:00"
204218+
started_at: "2026-04-27T13:37:31+00:00"
204219+
status: completed
204220+
id: 00000000-0000-0000-0000-000000000000
204221+
type: maintenance_updates
204222+
schema:
204223+
$ref: "#/components/schemas/MaintenanceUpdate"
204224+
description: OK
204225+
"429":
204226+
$ref: "#/components/responses/TooManyRequestsResponse"
204227+
security:
204228+
- apiKeyAuth: []
204229+
appKeyAuth: []
204230+
- AuthZ:
204231+
- status_pages_incident_write
204232+
summary: Edit maintenance update
204233+
tags:
204234+
- Status Pages
204235+
x-permission:
204236+
operator: AND
204237+
permissions:
204238+
- status_pages_incident_write
203997204239
/api/v2/statuspages/{page_id}/publish:
203998204240
post:
203999204241
description: Publishes a status page. For pages of type `public`, makes the status page available on the public internet and requires the `status_pages_public_page_publish` permission. For pages of type `internal`, makes the status page available under the `status-pages/$domain_prefix/view` route within the Datadog organization and requires the `status_pages_internal_page_publish` permission. The `status_pages_settings_write` permission is temporarily honored as we migrate publishing functionality from the update status page endpoint to the publish status page endpoint.

docs/datadog_api_client.v2.model.rst

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26709,6 +26709,69 @@ datadog\_api\_client.v2.model.maintenance\_template\_data\_relationships\_status
2670926709
:members:
2671026710
:show-inheritance:
2671126711

26712+
datadog\_api\_client.v2.model.maintenance\_update module
26713+
--------------------------------------------------------
26714+
26715+
.. automodule:: datadog_api_client.v2.model.maintenance_update
26716+
:members:
26717+
:show-inheritance:
26718+
26719+
datadog\_api\_client.v2.model.maintenance\_update\_data module
26720+
--------------------------------------------------------------
26721+
26722+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data
26723+
:members:
26724+
:show-inheritance:
26725+
26726+
datadog\_api\_client.v2.model.maintenance\_update\_data\_attributes module
26727+
--------------------------------------------------------------------------
26728+
26729+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_attributes
26730+
:members:
26731+
:show-inheritance:
26732+
26733+
datadog\_api\_client.v2.model.maintenance\_update\_data\_attributes\_status module
26734+
----------------------------------------------------------------------------------
26735+
26736+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_attributes_status
26737+
:members:
26738+
:show-inheritance:
26739+
26740+
datadog\_api\_client.v2.model.maintenance\_update\_data\_relationships module
26741+
-----------------------------------------------------------------------------
26742+
26743+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_relationships
26744+
:members:
26745+
:show-inheritance:
26746+
26747+
datadog\_api\_client.v2.model.maintenance\_update\_data\_relationships\_maintenance module
26748+
------------------------------------------------------------------------------------------
26749+
26750+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_relationships_maintenance
26751+
:members:
26752+
:show-inheritance:
26753+
26754+
datadog\_api\_client.v2.model.maintenance\_update\_data\_relationships\_maintenance\_data module
26755+
------------------------------------------------------------------------------------------------
26756+
26757+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_relationships_maintenance_data
26758+
:members:
26759+
:show-inheritance:
26760+
26761+
datadog\_api\_client.v2.model.maintenance\_update\_data\_relationships\_user module
26762+
-----------------------------------------------------------------------------------
26763+
26764+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_relationships_user
26765+
:members:
26766+
:show-inheritance:
26767+
26768+
datadog\_api\_client.v2.model.maintenance\_update\_data\_relationships\_user\_data module
26769+
-----------------------------------------------------------------------------------------
26770+
26771+
.. automodule:: datadog_api_client.v2.model.maintenance_update_data_relationships_user_data
26772+
:members:
26773+
:show-inheritance:
26774+
2671226775
datadog\_api\_client.v2.model.maintenance\_window module
2671326776
--------------------------------------------------------
2671426777

@@ -33919,6 +33982,34 @@ datadog\_api\_client.v2.model.patch\_maintenance\_template\_request\_data\_type
3391933982
:members:
3392033983
:show-inheritance:
3392133984

33985+
datadog\_api\_client.v2.model.patch\_maintenance\_update\_request module
33986+
------------------------------------------------------------------------
33987+
33988+
.. automodule:: datadog_api_client.v2.model.patch_maintenance_update_request
33989+
:members:
33990+
:show-inheritance:
33991+
33992+
datadog\_api\_client.v2.model.patch\_maintenance\_update\_request\_data module
33993+
------------------------------------------------------------------------------
33994+
33995+
.. automodule:: datadog_api_client.v2.model.patch_maintenance_update_request_data
33996+
:members:
33997+
:show-inheritance:
33998+
33999+
datadog\_api\_client.v2.model.patch\_maintenance\_update\_request\_data\_attributes module
34000+
------------------------------------------------------------------------------------------
34001+
34002+
.. automodule:: datadog_api_client.v2.model.patch_maintenance_update_request_data_attributes
34003+
:members:
34004+
:show-inheritance:
34005+
34006+
datadog\_api\_client.v2.model.patch\_maintenance\_update\_request\_data\_type module
34007+
------------------------------------------------------------------------------------
34008+
34009+
.. automodule:: datadog_api_client.v2.model.patch_maintenance_update_request_data_type
34010+
:members:
34011+
:show-inheritance:
34012+
3392234013
datadog\_api\_client.v2.model.patch\_notification\_rule\_parameters module
3392334014
--------------------------------------------------------------------------
3392434015

0 commit comments

Comments
 (0)