@@ -13145,31 +13145,33 @@ components:
13145
13145
required:
13146
13146
- type
13147
13147
type: object
13148
- Dataset:
13149
- description: "Dataset object.\n\n### Datasets Constraints\n- **Tag Limit per
13150
- Dataset**:\n - Each restricted dataset supports a maximum of 10 key:value
13151
- pairs per product.\n\n- **Tag Key Rules per Telemetry Type**:\n - Only one
13152
- tag key or attribute may be used to define access within a single telemetry
13153
- type.\n - The same or different tag key may be used across different telemetry
13154
- types.\n\n- **Tag Value Uniqueness**:\n - Tag values must be unique within
13155
- a single dataset.\n - A tag value used in one dataset cannot be reused in
13156
- another dataset of the same telemetry type."
13148
+ DatasetAttributesRequest:
13149
+ description: Dataset metadata and configurations.
13157
13150
properties:
13158
- attributes:
13159
- $ref: '#/components/schemas/DatasetAttributes'
13160
- id:
13161
- description: Unique identifier for the dataset.
13162
- example: 123e4567-e89b-12d3-a456-426614174000
13163
- type: string
13164
- type:
13165
- description: Resource type, always "dataset".
13166
- example: dataset
13151
+ name:
13152
+ description: Name of the dataset.
13153
+ example: Security Audit Dataset
13167
13154
type: string
13155
+ principals:
13156
+ description: List of access principals, formatted as `principal_type:id`.
13157
+ Principal can be 'team' or 'role'.
13158
+ example:
13159
+ - role:94172442-be03-11e9-a77a-3b7612558ac1
13160
+ items:
13161
+ example: role:94172442-be03-11e9-a77a-3b7612558ac1
13162
+ type: string
13163
+ type: array
13164
+ product_filters:
13165
+ description: List of product-specific filters.
13166
+ items:
13167
+ $ref: '#/components/schemas/FiltersPerProduct'
13168
+ type: array
13168
13169
required:
13169
- - type
13170
- - attributes
13170
+ - name
13171
+ - product_filters
13172
+ - principals
13171
13173
type: object
13172
- DatasetAttributes :
13174
+ DatasetAttributesResponse :
13173
13175
description: Dataset metadata and configuration(s).
13174
13176
properties:
13175
13177
created_at:
@@ -13199,43 +13201,76 @@ components:
13199
13201
items:
13200
13202
$ref: '#/components/schemas/FiltersPerProduct'
13201
13203
type: array
13202
- required:
13203
- - name
13204
- - product_filters
13205
- - principals
13206
13204
type: object
13207
13205
DatasetCreateRequest:
13208
13206
description: Create request for a dataset.
13209
13207
properties:
13210
13208
data:
13211
- $ref: '#/components/schemas/Dataset '
13209
+ $ref: '#/components/schemas/DatasetRequest '
13212
13210
required:
13213
13211
- data
13214
13212
type: object
13213
+ DatasetRequest:
13214
+ description: "**Datasets Object Constraints**\n- **Tag limit per dataset**:\n
13215
+ \ - Each restricted dataset supports a maximum of 10 key:value pairs per product.\n\n-
13216
+ **Tag key rules per telemetry type**:\n - Only one tag key or attribute may
13217
+ be used to define access within a single telemetry type.\n - The same or
13218
+ different tag key may be used across different telemetry types.\n\n- **Tag
13219
+ value uniqueness**:\n - Tag values must be unique within a single dataset.\n
13220
+ \ - A tag value used in one dataset cannot be reused in another dataset of
13221
+ the same telemetry type."
13222
+ properties:
13223
+ attributes:
13224
+ $ref: '#/components/schemas/DatasetAttributesRequest'
13225
+ type:
13226
+ description: Resource type, always "dataset".
13227
+ example: dataset
13228
+ type: string
13229
+ required:
13230
+ - type
13231
+ - attributes
13232
+ type: object
13233
+ DatasetResponse:
13234
+ description: "**Datasets Object Constraints**\n- **Tag Limit per Dataset**:\n
13235
+ \ - Each restricted dataset supports a maximum of 10 key:value pairs per product.\n\n-
13236
+ **Tag Key Rules per Telemetry Type**:\n - Only one tag key or attribute may
13237
+ be used to define access within a single telemetry type.\n - The same or
13238
+ different tag key may be used across different telemetry types.\n\n- **Tag
13239
+ Value Uniqueness**:\n - Tag values must be unique within a single dataset.\n
13240
+ \ - A tag value used in one dataset cannot be reused in another dataset of
13241
+ the same telemetry type."
13242
+ properties:
13243
+ attributes:
13244
+ $ref: '#/components/schemas/DatasetAttributesResponse'
13245
+ id:
13246
+ description: Unique identifier for the dataset.
13247
+ example: 123e4567-e89b-12d3-a456-426614174000
13248
+ type: string
13249
+ type:
13250
+ description: Resource type, always "dataset".
13251
+ example: dataset
13252
+ type: string
13253
+ type: object
13215
13254
DatasetResponseMulti:
13216
13255
description: Response containing a list of datasets.
13217
13256
properties:
13218
13257
data:
13219
13258
description: The list of datasets returned in response.
13220
13259
items:
13221
- $ref: '#/components/schemas/Dataset '
13260
+ $ref: '#/components/schemas/DatasetResponse '
13222
13261
type: array
13223
- required:
13224
- - data
13225
13262
type: object
13226
13263
DatasetResponseSingle:
13227
13264
description: Response containing a single dataset object.
13228
13265
properties:
13229
13266
data:
13230
- $ref: '#/components/schemas/Dataset'
13231
- required:
13232
- - data
13267
+ $ref: '#/components/schemas/DatasetResponse'
13233
13268
type: object
13234
13269
DatasetUpdateRequest:
13235
13270
description: Edit request for a dataset.
13236
13271
properties:
13237
13272
data:
13238
- $ref: '#/components/schemas/Dataset '
13273
+ $ref: '#/components/schemas/DatasetRequest '
13239
13274
required:
13240
13275
- data
13241
13276
type: object
@@ -49913,6 +49948,9 @@ paths:
49913
49948
operator: OR
49914
49949
permissions:
49915
49950
- user_access_read
49951
+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
49952
+
49953
+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
49916
49954
post:
49917
49955
description: Create a dataset with the configurations in the request.
49918
49956
operationId: CreateDataset
@@ -49924,7 +49962,7 @@ paths:
49924
49962
attributes:
49925
49963
name: Test RUM Dataset
49926
49964
principals:
49927
- - role:23bacb30-1c59-11f0-a596-da7ad0900002
49965
+ - role:94172442-be03-11e9-a77a-3b7612558ac1
49928
49966
product_filters:
49929
49967
- filters:
49930
49968
- '@application.id:application_123'
@@ -49962,6 +50000,9 @@ paths:
49962
50000
operator: OR
49963
50001
permissions:
49964
50002
- user_access_manage
50003
+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
50004
+
50005
+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
49965
50006
/api/v2/datasets/{dataset_id}:
49966
50007
delete:
49967
50008
description: Deletes the dataset associated with the ID.
@@ -49989,6 +50030,9 @@ paths:
49989
50030
x-permission:
49990
50031
operator: OPEN
49991
50032
permissions: []
50033
+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
50034
+
50035
+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
49992
50036
get:
49993
50037
description: Retrieves the dataset associated with the ID.
49994
50038
operationId: GetDataset
@@ -50019,6 +50063,9 @@ paths:
50019
50063
x-permission:
50020
50064
operator: OPEN
50021
50065
permissions: []
50066
+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
50067
+
50068
+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
50022
50069
put:
50023
50070
description: Edits the dataset associated with the ID.
50024
50071
operationId: UpdateDataset
@@ -50057,6 +50104,9 @@ paths:
50057
50104
x-permission:
50058
50105
operator: OPEN
50059
50106
permissions: []
50107
+ x-unstable: '**Note: Data Access is in preview. If you have any feedback,
50108
+
50109
+ contact [Datadog support](https://docs.datadoghq.com/help/).**'
50060
50110
/api/v2/deletion/data/{product}:
50061
50111
post:
50062
50112
description: Creates a data deletion request by providing a query and a timeframe
0 commit comments