Skip to content

Commit a5ed8d1

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

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/datadog_api_client/v2/api/incidents_api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,10 @@ def create_incident_postmortem_attachment(
14451445
14461446
Create a postmortem attachment for an incident.
14471447
1448+
The endpoint accepts markdown for notebooks created in Confluence or Google Docs.
1449+
Postmortems created from notebooks need to be formatted using frontend notebook cells,
1450+
in addition to markdown format.
1451+
14481452
:param incident_id: The ID of the incident
14491453
:type incident_id: str
14501454
:type body: PostmortemAttachmentRequest

0 commit comments

Comments
 (0)