@@ -12342,7 +12342,14 @@ components:
1234212342 - type
1234312343 type: object
1234412344 Dataset:
12345- description: Dataset object.
12345+ description: "Dataset object.\n\n### Datasets Constraints\n- **Tag Limit per
12346+ Dataset**:\n - Each restricted dataset supports a maximum of 10 key:value
12347+ pairs per product.\n\n- **Tag Key Rules per Telemetry Type**:\n - Only one
12348+ tag key or attribute may be used to define access within a single telemetry
12349+ type.\n - The same or different tag key may be used across different telemetry
12350+ types.\n\n- **Tag Value Uniqueness**:\n - Tag values must be unique within
12351+ a single dataset.\n - A tag value used in one dataset cannot be reused in
12352+ another dataset of the same telemetry type."
1234612353 properties:
1234712354 attributes:
1234812355 $ref: '#/components/schemas/DatasetAttributes'
@@ -12420,6 +12427,14 @@ components:
1242012427 required:
1242112428 - data
1242212429 type: object
12430+ DatasetUpdateRequest:
12431+ description: Edit request for a dataset.
12432+ properties:
12433+ data:
12434+ $ref: '#/components/schemas/Dataset'
12435+ required:
12436+ - data
12437+ type: object
1242312438 Date:
1242412439 description: Date as Unix timestamp in milliseconds.
1242512440 example: 1722439510282
@@ -16194,10 +16209,9 @@ components:
1619416209 type: array
1619516210 product:
1619616211 description: 'Name of the product the dataset is for. Possible values are
16197- ''apm'', ''rum'', ''synthetics'',
16212+ ''apm'', ''rum'',
1619816213
16199- ''metrics'', ''logs'', ''sd_repoinfo'', ''error_tracking'', ''cloud_cost'',
16200- and ''ml_obs''.'
16214+ ''metrics'', ''logs'', ''error_tracking'', and ''cloud_cost''.'
1620116215 example: logs
1620216216 type: string
1620316217 required:
@@ -49630,6 +49644,47 @@ paths:
4963049644 permissions: []
4963149645 x-undo:
4963249646 type: safe
49647+ put:
49648+ description: Edits the dataset associated with the ID.
49649+ operationId: UpdateDataset
49650+ parameters:
49651+ - $ref: '#/components/parameters/DatasetID'
49652+ requestBody:
49653+ content:
49654+ application/json:
49655+ schema:
49656+ $ref: '#/components/schemas/DatasetUpdateRequest'
49657+ description: Dataset payload
49658+ required: true
49659+ responses:
49660+ '200':
49661+ content:
49662+ application/json:
49663+ schema:
49664+ $ref: '#/components/schemas/DatasetResponseSingle'
49665+ description: OK
49666+ '400':
49667+ $ref: '#/components/responses/BadRequestResponse'
49668+ '403':
49669+ $ref: '#/components/responses/NotAuthorizedResponse'
49670+ '404':
49671+ $ref: '#/components/responses/NotFoundResponse'
49672+ '429':
49673+ $ref: '#/components/responses/TooManyRequestsResponse'
49674+ security:
49675+ - apiKeyAuth: []
49676+ appKeyAuth: []
49677+ - AuthZ: []
49678+ summary: Edit a dataset
49679+ tags:
49680+ - Datasets
49681+ x-codegen-request-body-name: body
49682+ x-menu-order: 4
49683+ x-permission:
49684+ operator: OPEN
49685+ permissions: []
49686+ x-undo:
49687+ type: idempotent
4963349688 /api/v2/domain_allowlist:
4963449689 get:
4963549690 description: Get the domain allowlist for an organization.
0 commit comments