File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/datadog_api_client/v2/api Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -65621,6 +65621,7 @@ paths:
6562165621
6562265622 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6562365623 patch:
65624+ deprecated: true
6562465625 description: The bulk update endpoint for creating, updating, and deleting attachments
6562565626 for a given incident.
6562665627 operationId: UpdateIncidentAttachments
@@ -65659,9 +65660,7 @@ paths:
6565965660 operator: OR
6566065661 permissions:
6566165662 - incident_write
65662- x-unstable: '**Note**: This endpoint is in public beta.
65663-
65664- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
65663+ x-unstable: '**Note**: This endpoint is deprecated.'
6566565664 /api/v2/incidents/{incident_id}/impacts:
6566665665 get:
6566765666 description: Get all impacts for an incident.
Original file line number Diff line number Diff line change 55
66import collections
77from typing import Any , Dict , List , Union
8+ import warnings
89
910from datadog_api_client .api_client import ApiClient , Endpoint as _Endpoint
1011from datadog_api_client .configuration import Configuration
@@ -1848,7 +1849,7 @@ def update_incident_attachments(
18481849 * ,
18491850 include : Union [List [IncidentAttachmentRelatedObject ], UnsetType ] = unset ,
18501851 ) -> IncidentAttachmentUpdateResponse :
1851- """Create, update, and delete incident attachments.
1852+ """Create, update, and delete incident attachments. **Deprecated**.
18521853
18531854 The bulk update endpoint for creating, updating, and deleting attachments for a given incident.
18541855
@@ -1868,6 +1869,7 @@ def update_incident_attachments(
18681869
18691870 kwargs ["body" ] = body
18701871
1872+ warnings .warn ("update_incident_attachments is deprecated" , DeprecationWarning , stacklevel = 2 )
18711873 return self ._update_incident_attachments_endpoint .call_with_http_info (** kwargs )
18721874
18731875 def update_incident_integration (
You can’t perform that action at this time.
0 commit comments