Skip to content

Commit 3737e33

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Modify api spec description of create postmortem attachment (#3654)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent cd934d6 commit 3737e33

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77857,7 +77857,16 @@ paths:
7785777857
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
7785877858
/api/v2/incidents/{incident_id}/attachments/postmortems:
7785977859
post:
77860-
description: Create a postmortem attachment for an incident.
77860+
description: 'Create a postmortem attachment for an incident.
77861+
77862+
77863+
The endpoint accepts markdown for notebooks created in Confluence or Google
77864+
Docs.
77865+
77866+
Postmortems created from notebooks need to be formatted using frontend notebook
77867+
cells,
77868+
77869+
in addition to markdown format.'
7786177870
operationId: CreateIncidentPostmortemAttachment
7786277871
parameters:
7786377872
- description: The ID of the incident

api/datadogV2/api_incidents.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,10 @@ func (a *IncidentsApi) CreateIncidentNotificationTemplate(ctx _context.Context,
730730

731731
// CreateIncidentPostmortemAttachment Create postmortem attachment.
732732
// Create a postmortem attachment for an incident.
733+
//
734+
// The endpoint accepts markdown for notebooks created in Confluence or Google Docs.
735+
// Postmortems created from notebooks need to be formatted using frontend notebook cells,
736+
// in addition to markdown format.
733737
func (a *IncidentsApi) CreateIncidentPostmortemAttachment(ctx _context.Context, incidentId string, body PostmortemAttachmentRequest) (Attachment, *_nethttp.Response, error) {
734738
var (
735739
localVarHTTPMethod = _nethttp.MethodPost

0 commit comments

Comments
 (0)