@@ -12512,31 +12512,33 @@ components:
1251212512 required:
1251312513 - type
1251412514 type: object
12515- Dataset:
12516- description: "Dataset object.\n\n### Datasets Constraints\n- **Tag Limit per
12517- Dataset**:\n - Each restricted dataset supports a maximum of 10 key:value
12518- pairs per product.\n\n- **Tag Key Rules per Telemetry Type**:\n - Only one
12519- tag key or attribute may be used to define access within a single telemetry
12520- type.\n - The same or different tag key may be used across different telemetry
12521- types.\n\n- **Tag Value Uniqueness**:\n - Tag values must be unique within
12522- a single dataset.\n - A tag value used in one dataset cannot be reused in
12523- another dataset of the same telemetry type."
12515+ DatasetAttributesRequest:
12516+ description: Dataset metadata and configurations.
1252412517 properties:
12525- attributes:
12526- $ref: '#/components/schemas/DatasetAttributes'
12527- id:
12528- description: Unique identifier for the dataset.
12529- example: 123e4567-e89b-12d3-a456-426614174000
12530- type: string
12531- type:
12532- description: Resource type, always "dataset".
12533- example: dataset
12518+ name:
12519+ description: Name of the dataset.
12520+ example: Security Audit Dataset
1253412521 type: string
12522+ principals:
12523+ description: List of access principals, formatted as `principal_type:id`.
12524+ Principal can be 'team' or 'role'.
12525+ example:
12526+ - role:94172442-be03-11e9-a77a-3b7612558ac1
12527+ items:
12528+ example: role:94172442-be03-11e9-a77a-3b7612558ac1
12529+ type: string
12530+ type: array
12531+ product_filters:
12532+ description: List of product-specific filters.
12533+ items:
12534+ $ref: '#/components/schemas/FiltersPerProduct'
12535+ type: array
1253512536 required:
12536- - type
12537- - attributes
12537+ - name
12538+ - product_filters
12539+ - principals
1253812540 type: object
12539- DatasetAttributes :
12541+ DatasetAttributesResponse :
1254012542 description: Dataset metadata and configuration(s).
1254112543 properties:
1254212544 created_at:
@@ -12566,43 +12568,76 @@ components:
1256612568 items:
1256712569 $ref: '#/components/schemas/FiltersPerProduct'
1256812570 type: array
12569- required:
12570- - name
12571- - product_filters
12572- - principals
1257312571 type: object
1257412572 DatasetCreateRequest:
1257512573 description: Create request for a dataset.
1257612574 properties:
1257712575 data:
12578- $ref: '#/components/schemas/Dataset '
12576+ $ref: '#/components/schemas/DatasetRequest '
1257912577 required:
1258012578 - data
1258112579 type: object
12580+ DatasetRequest:
12581+ description: "**Datasets Object Constraints**\n- **Tag limit per dataset**:\n
12582+ \ - Each restricted dataset supports a maximum of 10 key:value pairs per product.\n\n-
12583+ **Tag key rules per telemetry type**:\n - Only one tag key or attribute may
12584+ be used to define access within a single telemetry type.\n - The same or
12585+ different tag key may be used across different telemetry types.\n\n- **Tag
12586+ value uniqueness**:\n - Tag values must be unique within a single dataset.\n
12587+ \ - A tag value used in one dataset cannot be reused in another dataset of
12588+ the same telemetry type."
12589+ properties:
12590+ attributes:
12591+ $ref: '#/components/schemas/DatasetAttributesRequest'
12592+ type:
12593+ description: Resource type, always "dataset".
12594+ example: dataset
12595+ type: string
12596+ required:
12597+ - type
12598+ - attributes
12599+ type: object
12600+ DatasetResponse:
12601+ description: "**Datasets Object Constraints**\n- **Tag Limit per Dataset**:\n
12602+ \ - Each restricted dataset supports a maximum of 10 key:value pairs per product.\n\n-
12603+ **Tag Key Rules per Telemetry Type**:\n - Only one tag key or attribute may
12604+ be used to define access within a single telemetry type.\n - The same or
12605+ different tag key may be used across different telemetry types.\n\n- **Tag
12606+ Value Uniqueness**:\n - Tag values must be unique within a single dataset.\n
12607+ \ - A tag value used in one dataset cannot be reused in another dataset of
12608+ the same telemetry type."
12609+ properties:
12610+ attributes:
12611+ $ref: '#/components/schemas/DatasetAttributesResponse'
12612+ id:
12613+ description: Unique identifier for the dataset.
12614+ example: 123e4567-e89b-12d3-a456-426614174000
12615+ type: string
12616+ type:
12617+ description: Resource type, always "dataset".
12618+ example: dataset
12619+ type: string
12620+ type: object
1258212621 DatasetResponseMulti:
1258312622 description: Response containing a list of datasets.
1258412623 properties:
1258512624 data:
1258612625 description: The list of datasets returned in response.
1258712626 items:
12588- $ref: '#/components/schemas/Dataset '
12627+ $ref: '#/components/schemas/DatasetResponse '
1258912628 type: array
12590- required:
12591- - data
1259212629 type: object
1259312630 DatasetResponseSingle:
1259412631 description: Response containing a single dataset object.
1259512632 properties:
1259612633 data:
12597- $ref: '#/components/schemas/Dataset'
12598- required:
12599- - data
12634+ $ref: '#/components/schemas/DatasetResponse'
1260012635 type: object
1260112636 DatasetUpdateRequest:
1260212637 description: Edit request for a dataset.
1260312638 properties:
1260412639 data:
12605- $ref: '#/components/schemas/Dataset '
12640+ $ref: '#/components/schemas/DatasetRequest '
1260612641 required:
1260712642 - data
1260812643 type: object
@@ -48274,6 +48309,9 @@ paths:
4827448309 operator: OR
4827548310 permissions:
4827648311 - user_access_read
48312+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48313+
48314+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4827748315 post:
4827848316 description: Create a dataset with the configurations in the request.
4827948317 operationId: CreateDataset
@@ -48285,7 +48323,7 @@ paths:
4828548323 attributes:
4828648324 name: Test RUM Dataset
4828748325 principals:
48288- - role:23bacb30-1c59-11f0-a596-da7ad0900002
48326+ - role:94172442-be03-11e9-a77a-3b7612558ac1
4828948327 product_filters:
4829048328 - filters:
4829148329 - '@application.id:application_123'
@@ -48323,6 +48361,9 @@ paths:
4832348361 operator: OR
4832448362 permissions:
4832548363 - user_access_manage
48364+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48365+
48366+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4832648367 /api/v2/datasets/{dataset_id}:
4832748368 delete:
4832848369 description: Deletes the dataset associated with the ID.
@@ -48350,6 +48391,9 @@ paths:
4835048391 x-permission:
4835148392 operator: OPEN
4835248393 permissions: []
48394+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48395+
48396+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4835348397 get:
4835448398 description: Retrieves the dataset associated with the ID.
4835548399 operationId: GetDataset
@@ -48380,6 +48424,9 @@ paths:
4838048424 x-permission:
4838148425 operator: OPEN
4838248426 permissions: []
48427+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48428+
48429+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4838348430 put:
4838448431 description: Edits the dataset associated with the ID.
4838548432 operationId: UpdateDataset
@@ -48418,6 +48465,9 @@ paths:
4841848465 x-permission:
4841948466 operator: OPEN
4842048467 permissions: []
48468+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
48469+
48470+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
4842148471 /api/v2/deletion/data/{product}:
4842248472 post:
4842348473 description: Creates a data deletion request by providing a query and a timeframe
0 commit comments