Skip to content

Commit e277dc1

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

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.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

src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,10 @@ public CompletableFuture<Attachment> createIncidentPostmortemAttachmentAsync(
14771477
/**
14781478
* Create a postmortem attachment for an incident.
14791479
*
1480+
* <p>The endpoint accepts markdown for notebooks created in Confluence or Google Docs.
1481+
* Postmortems created from notebooks need to be formatted using frontend notebook cells, in
1482+
* addition to markdown format.
1483+
*
14801484
* @param incidentId The ID of the incident (required)
14811485
* @param body (required)
14821486
* @return ApiResponse&lt;Attachment&gt;

0 commit comments

Comments
 (0)