@@ -12476,31 +12476,33 @@ components:
1247612476 required:
1247712477 - type
1247812478 type: object
12479- Dataset:
12480- description: "Dataset object.\n\n### Datasets Constraints\n- **Tag Limit per
12481- Dataset**:\n - Each restricted dataset supports a maximum of 10 key:value
12482- pairs per product.\n\n- **Tag Key Rules per Telemetry Type**:\n - Only one
12483- tag key or attribute may be used to define access within a single telemetry
12484- type.\n - The same or different tag key may be used across different telemetry
12485- types.\n\n- **Tag Value Uniqueness**:\n - Tag values must be unique within
12486- a single dataset.\n - A tag value used in one dataset cannot be reused in
12487- another dataset of the same telemetry type."
12479+ DatasetAttributesRequest:
12480+ description: Dataset metadata and configurations.
1248812481 properties:
12489- attributes:
12490- $ref: '#/components/schemas/DatasetAttributes'
12491- id:
12492- description: Unique identifier for the dataset.
12493- example: 123e4567-e89b-12d3-a456-426614174000
12494- type: string
12495- type:
12496- description: Resource type, always "dataset".
12497- example: dataset
12482+ name:
12483+ description: Name of the dataset.
12484+ example: Security Audit Dataset
1249812485 type: string
12486+ principals:
12487+ description: List of access principals, formatted as `principal_type:id`.
12488+ Principal can be 'team' or 'role'.
12489+ example:
12490+ - role:94172442-be03-11e9-a77a-3b7612558ac1
12491+ items:
12492+ example: role:94172442-be03-11e9-a77a-3b7612558ac1
12493+ type: string
12494+ type: array
12495+ product_filters:
12496+ description: List of product-specific filters.
12497+ items:
12498+ $ref: '#/components/schemas/FiltersPerProduct'
12499+ type: array
1249912500 required:
12500- - type
12501- - attributes
12501+ - name
12502+ - product_filters
12503+ - principals
1250212504 type: object
12503- DatasetAttributes :
12505+ DatasetAttributesResponse :
1250412506 description: Dataset metadata and configuration(s).
1250512507 properties:
1250612508 created_at:
@@ -12530,26 +12532,63 @@ components:
1253012532 items:
1253112533 $ref: '#/components/schemas/FiltersPerProduct'
1253212534 type: array
12533- required:
12534- - name
12535- - product_filters
12536- - principals
1253712535 type: object
1253812536 DatasetCreateRequest:
1253912537 description: Create request for a dataset.
1254012538 properties:
1254112539 data:
12542- $ref: '#/components/schemas/Dataset '
12540+ $ref: '#/components/schemas/DatasetRequest '
1254312541 required:
1254412542 - data
1254512543 type: object
12544+ DatasetRequest:
12545+ description: "## Dataset object.\n\n# Datasets Constraints\n- **Tag limit per
12546+ dataset**:\n - Each restricted dataset supports a maximum of 10 key:value
12547+ pairs per product.\n\n- **Tag key rules per telemetry type**:\n - Only one
12548+ tag key or attribute may be used to define access within a single telemetry
12549+ type.\n - The same or different tag key may be used across different telemetry
12550+ types.\n\n- **Tag value uniqueness**:\n - Tag values must be unique within
12551+ a single dataset.\n - A tag value used in one dataset cannot be reused in
12552+ another dataset of the same telemetry type."
12553+ properties:
12554+ attributes:
12555+ $ref: '#/components/schemas/DatasetAttributesRequest'
12556+ type:
12557+ description: Resource type, always "dataset".
12558+ example: dataset
12559+ type: string
12560+ required:
12561+ - type
12562+ - attributes
12563+ type: object
12564+ DatasetResponse:
12565+ description: "\n**Datasets Object Constraints**\n- **Tag Limit per Dataset**:\n
12566+ \ - Each restricted dataset supports a maximum of 10 key:value pairs per product.\n\n-
12567+ **Tag Key Rules per Telemetry Type**:\n - Only one tag key or attribute may
12568+ be used to define access within a single telemetry type.\n - The same or
12569+ different tag key may be used across different telemetry types.\n\n- **Tag
12570+ Value Uniqueness**:\n - Tag values must be unique within a single dataset.\n
12571+ \ - A tag value used in one dataset cannot be reused in another dataset of
12572+ the same telemetry type."
12573+ properties:
12574+ attributes:
12575+ $ref: '#/components/schemas/DatasetAttributesResponse'
12576+ id:
12577+ description: Unique identifier for the dataset.
12578+ example: 123e4567-e89b-12d3-a456-426614174000
12579+ type: string
12580+ type:
12581+ description: Resource type, always "dataset".
12582+ example: dataset
12583+ type: string
12584+ type: object
1254612585 DatasetResponseMulti:
1254712586 description: Response containing a list of datasets.
1254812587 properties:
1254912588 data:
1255012589 description: The list of datasets returned in response.
1255112590 items:
12552- $ref: '#/components/schemas/Dataset '
12591+ $ref: '#/components/schemas/DatasetResponse '
1255312592 type: array
1255412593 required:
1255512594 - data
@@ -12558,15 +12597,15 @@ components:
1255812597 description: Response containing a single dataset object.
1255912598 properties:
1256012599 data:
12561- $ref: '#/components/schemas/Dataset '
12600+ $ref: '#/components/schemas/DatasetResponse '
1256212601 required:
1256312602 - data
1256412603 type: object
1256512604 DatasetUpdateRequest:
1256612605 description: Edit request for a dataset.
1256712606 properties:
1256812607 data:
12569- $ref: '#/components/schemas/Dataset '
12608+ $ref: '#/components/schemas/DatasetRequest '
1257012609 required:
1257112610 - data
1257212611 type: object
@@ -48200,6 +48239,9 @@ paths:
4820048239 operator: OR
4820148240 permissions:
4820248241 - user_access_read
48242+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48243+
48244+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4820348245 post:
4820448246 description: Create a dataset with the configurations in the request.
4820548247 operationId: CreateDataset
@@ -48211,7 +48253,7 @@ paths:
4821148253 attributes:
4821248254 name: Test RUM Dataset
4821348255 principals:
48214- - role:23bacb30-1c59-11f0-a596-da7ad0900002
48256+ - role:94172442-be03-11e9-a77a-3b7612558ac1
4821548257 product_filters:
4821648258 - filters:
4821748259 - '@application.id:application_123'
@@ -48249,6 +48291,9 @@ paths:
4824948291 operator: OR
4825048292 permissions:
4825148293 - user_access_manage
48294+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48295+
48296+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4825248297 /api/v2/datasets/{dataset_id}:
4825348298 delete:
4825448299 description: Deletes the dataset associated with the ID.
@@ -48276,6 +48321,9 @@ paths:
4827648321 x-permission:
4827748322 operator: OPEN
4827848323 permissions: []
48324+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48325+
48326+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4827948327 get:
4828048328 description: Retrieves the dataset associated with the ID.
4828148329 operationId: GetDataset
@@ -48306,6 +48354,9 @@ paths:
4830648354 x-permission:
4830748355 operator: OPEN
4830848356 permissions: []
48357+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48358+
48359+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4830948360 put:
4831048361 description: Edits the dataset associated with the ID.
4831148362 operationId: UpdateDataset
@@ -48344,6 +48395,9 @@ paths:
4834448395 x-permission:
4834548396 operator: OPEN
4834648397 permissions: []
48398+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48399+
48400+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4834748401 /api/v2/deletion/data/{product}:
4834848402 post:
4834948403 description: Creates a data deletion request by providing a query and a timeframe
0 commit comments