Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
198 changes: 197 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41880,6 +41880,83 @@ components:
type: string
x-enum-varnames:
- PERMISSIONS
PostmortemAttachmentRequest:
properties:
data:
$ref: '#/components/schemas/PostmortemAttachmentRequestData'
required:
- data
type: object
PostmortemAttachmentRequestAttributes:
description: Postmortem attachment attributes
properties:
cells:
description: The cells of the postmortem
items:
$ref: '#/components/schemas/PostmortemCell'
type: array
content:
description: The content of the postmortem
example: '# Incident Report - IR-123

[...]'
type: string
postmortem_template_id:
description: The ID of the postmortem template
example: 93645509-874e-45c4-adfa-623bfeaead89-123
type: string
title:
description: The title of the postmortem
example: Postmortem-IR-123
type: string
type: object
PostmortemAttachmentRequestData:
description: Postmortem attachment data
properties:
attributes:
$ref: '#/components/schemas/PostmortemAttachmentRequestAttributes'
type:
$ref: '#/components/schemas/IncidentAttachmentType'
required:
- type
- attributes
type: object
PostmortemCell:
description: A cell in the postmortem
properties:
attributes:
$ref: '#/components/schemas/PostmortemCellAttributes'
id:
description: The unique identifier of the cell
example: cell-1
type: string
type:
$ref: '#/components/schemas/PostmortemCellType'
type: object
PostmortemCellAttributes:
description: Attributes of a postmortem cell
properties:
definition:
$ref: '#/components/schemas/PostmortemCellDefinition'
type: object
PostmortemCellDefinition:
description: Definition of a postmortem cell
properties:
content:
description: The content of the cell in markdown format
example: '## Incident Summary

This incident was caused by...'
type: string
type: object
PostmortemCellType:
description: The postmortem cell resource type.
enum:
- markdown
example: markdown
type: string
x-enum-varnames:
- MARKDOWN
Powerpack:
description: Powerpacks are templated groups of dashboard widgets you can save
from an existing dashboard and turn into reusable packs in the widget tray.
Expand Down Expand Up @@ -49179,6 +49256,18 @@ components:
meta:
$ref: '#/components/schemas/ResponseMetaAttributes'
type: object
SecurityMonitoringPaginatedSuppressionsResponse:
description: Response object containing the available suppression rules with
pagination metadata.
properties:
data:
description: A list of suppressions objects.
items:
$ref: '#/components/schemas/SecurityMonitoringSuppression'
type: array
meta:
$ref: '#/components/schemas/SecurityMonitoringSuppressionsMeta'
type: object
SecurityMonitoringReferenceTable:
description: Reference tables used in the queries.
properties:
Expand Down Expand Up @@ -51328,6 +51417,31 @@ components:
data:
$ref: '#/components/schemas/SecurityMonitoringSuppression'
type: object
SecurityMonitoringSuppressionSort:
description: The sort parameters used for querying suppression rules.
enum:
- name
- start_date
- expiration_date
- update_date
- enabled
- -name
- -start_date
- -expiration_date
- -update_date
- -enabled
type: string
x-enum-varnames:
- NAME
- START_DATE
- EXPIRATION_DATE
- UPDATE_DATE
- ENABLED
- NAME_DESCENDING
- START_DATE_DESCENDING
- EXPIRATION_DATE_DESCENDING
- UPDATE_DATE_DESCENDING
- ENABLED_DESCENDING
SecurityMonitoringSuppressionType:
default: suppressions
description: The type of the resource. The value should always be `suppressions`.
Expand Down Expand Up @@ -51423,6 +51537,31 @@ components:
required:
- data
type: object
SecurityMonitoringSuppressionsMeta:
description: Metadata for the suppression list response.
properties:
page:
$ref: '#/components/schemas/SecurityMonitoringSuppressionsPageMeta'
type: object
SecurityMonitoringSuppressionsPageMeta:
description: Pagination metadata.
properties:
pageNumber:
description: Current page number.
example: 0
format: int64
type: integer
pageSize:
description: Current page size.
example: 2
format: int64
type: integer
totalCount:
description: Total count of suppressions.
example: 2
format: int64
type: integer
type: object
SecurityMonitoringSuppressionsResponse:
description: Response object containing the available suppression rules.
properties:
Expand Down Expand Up @@ -71685,6 +71824,46 @@ paths:
- incident_write
x-unstable: '**Note**: This endpoint is in Preview.

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.
operationId: CreateIncidentPostmortemAttachment
parameters:
- description: The ID of the incident
in: path
name: incident_id
required: true
schema:
example: 00000000-0000-0000-0000-000000000000
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PostmortemAttachmentRequest'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/Attachment'
description: Created
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Create postmortem attachment
tags:
- Incidents
x-unstable: '**Note**: This endpoint is in public beta and it''s subject to
change.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/incidents/{incident_id}/attachments/{attachment_id}:
delete:
Expand Down Expand Up @@ -85553,12 +85732,29 @@ paths:
required: false
schema:
type: string
- description: Attribute used to sort the list of suppression rules. Prefix
with `-` to sort in descending order.
in: query
name: sort
required: false
schema:
$ref: '#/components/schemas/SecurityMonitoringSuppressionSort'
- description: Size for a given page. Use `-1` to return all items.
in: query
name: page[size]
required: false
schema:
default: -1
example: 10
format: int64
type: integer
- $ref: '#/components/parameters/PageNumber'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SecurityMonitoringSuppressionsResponse'
$ref: '#/components/schemas/SecurityMonitoringPaginatedSuppressionsResponse'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-11-07T12:27:26.759Z
2026-01-14T17:29:03.168Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-11-07T12:27:27.654Z
2026-01-14T17:29:04.856Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-11-26T13:33:06.482Z
2026-01-14T17:29:05.317Z
Loading
Loading