diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0fb2ea8943..828a201deb 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -77168,7 +77168,16 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' /api/v2/incidents/{incident_id}/attachments/postmortems: post: - description: Create a postmortem attachment for an incident. + description: 'Create a postmortem attachment for an incident. + + + The endpoint accepts markdown for notebooks created in Confluence or Google + Docs. + + Postmortems created from notebooks need to be formatted using frontend notebook + cells, + + in addition to markdown format.' operationId: CreateIncidentPostmortemAttachment parameters: - description: The ID of the incident diff --git a/src/datadog_api_client/v2/api/incidents_api.py b/src/datadog_api_client/v2/api/incidents_api.py index fc3297f913..ee28dec11e 100644 --- a/src/datadog_api_client/v2/api/incidents_api.py +++ b/src/datadog_api_client/v2/api/incidents_api.py @@ -1445,6 +1445,10 @@ def create_incident_postmortem_attachment( Create a postmortem attachment for an incident. + The endpoint accepts markdown for notebooks created in Confluence or Google Docs. + Postmortems created from notebooks need to be formatted using frontend notebook cells, + in addition to markdown format. + :param incident_id: The ID of the incident :type incident_id: str :type body: PostmortemAttachmentRequest