Skip to content

Commit 348cda3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark PATCH /api/v2/incidents/incident_id/attachments endpoint as deprecated (#3453)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 8e5d758 commit 348cda3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

api/datadogV2/api_incidents.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,6 +3168,8 @@ func (r *UpdateIncidentAttachmentsOptionalParameters) WithInclude(include []Inci
31683168

31693169
// UpdateIncidentAttachments Create, update, and delete incident attachments.
31703170
// The bulk update endpoint for creating, updating, and deleting attachments for a given incident.
3171+
//
3172+
// Deprecated: This API is deprecated.
31713173
func (a *IncidentsApi) UpdateIncidentAttachments(ctx _context.Context, incidentId string, body IncidentAttachmentUpdateRequest, o ...UpdateIncidentAttachmentsOptionalParameters) (IncidentAttachmentUpdateResponse, *_nethttp.Response, error) {
31723174
var (
31733175
localVarHTTPMethod = _nethttp.MethodPatch

0 commit comments

Comments
 (0)