@@ -12478,7 +12478,14 @@ components:
1247812478 - type
1247912479 type: object
1248012480 Dataset:
12481- description: Dataset object.
12481+ description: "Dataset object.\n\n### Datasets Constraints\n- **Tag Limit per
12482+ Dataset**:\n - Each restricted dataset supports a maximum of 10 key:value
12483+ pairs per product.\n\n- **Tag Key Rules per Telemetry Type**:\n - Only one
12484+ tag key or attribute may be used to define access within a single telemetry
12485+ type.\n - The same or different tag key may be used across different telemetry
12486+ types.\n\n- **Tag Value Uniqueness**:\n - Tag values must be unique within
12487+ a single dataset.\n - A tag value used in one dataset cannot be reused in
12488+ another dataset of the same telemetry type."
1248212489 properties:
1248312490 attributes:
1248412491 $ref: '#/components/schemas/DatasetAttributes'
@@ -12537,6 +12544,14 @@ components:
1253712544 required:
1253812545 - data
1253912546 type: object
12547+ DatasetEditRequest:
12548+ description: Edit request for a dataset.
12549+ properties:
12550+ data:
12551+ $ref: '#/components/schemas/Dataset'
12552+ required:
12553+ - data
12554+ type: object
1254012555 DatasetResponseMulti:
1254112556 description: Response containing a list of datasets.
1254212557 properties:
@@ -16083,10 +16098,9 @@ components:
1608316098 type: array
1608416099 product:
1608516100 description: 'Name of the product the dataset is for. Possible values are
16086- ''apm'', ''rum'', ''synthetics'',
16101+ ''apm'', ''rum'',
1608716102
16088- ''metrics'', ''logs'', ''sd_repoinfo'', ''error_tracking'', ''cloud_cost'',
16089- and ''ml_obs''.'
16103+ ''metrics'', ''logs'', ''error_tracking'', and ''cloud_cost''.'
1609016104 example: logs
1609116105 type: string
1609216106 required:
@@ -48271,6 +48285,44 @@ paths:
4827148285 x-permission:
4827248286 operator: OPEN
4827348287 permissions: []
48288+ put:
48289+ description: Edits the dataset associated with the ID.
48290+ operationId: EditDataset
48291+ parameters:
48292+ - $ref: '#/components/parameters/DatasetID'
48293+ requestBody:
48294+ content:
48295+ application/json:
48296+ schema:
48297+ $ref: '#/components/schemas/DatasetEditRequest'
48298+ description: Dataset payload
48299+ required: true
48300+ responses:
48301+ '200':
48302+ content:
48303+ application/json:
48304+ schema:
48305+ $ref: '#/components/schemas/DatasetResponseSingle'
48306+ description: OK
48307+ '400':
48308+ $ref: '#/components/responses/BadRequestResponse'
48309+ '403':
48310+ $ref: '#/components/responses/NotAuthorizedResponse'
48311+ '404':
48312+ $ref: '#/components/responses/NotFoundResponse'
48313+ '429':
48314+ $ref: '#/components/responses/TooManyRequestsResponse'
48315+ security:
48316+ - apiKeyAuth: []
48317+ appKeyAuth: []
48318+ - AuthZ: []
48319+ summary: Edits a dataset
48320+ tags:
48321+ - Datasets
48322+ x-codegen-request-body-name: body
48323+ x-permission:
48324+ operator: OPEN
48325+ permissions: []
4827448326 /api/v2/deletion/data/{product}:
4827548327 post:
4827648328 description: Creates a data deletion request by providing a query and a timeframe
0 commit comments