Skip to content

Commit 74d3cab

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
authored andcommitted
Uncomment edit dataset block, add dataset limitations into endpoint descriptions (#30624)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1150b76 commit 74d3cab

File tree

7 files changed

+1142
-48
lines changed

7 files changed

+1142
-48
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-07-24 19:59:19.182981",
8-
"spec_repo_commit": "c09ac236"
7+
"regenerated": "2025-07-25 14:08:30.909404",
8+
"spec_repo_commit": "e4f653f1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-24 19:59:28.761694",
13-
"spec_repo_commit": "c09ac236"
12+
"regenerated": "2025-07-25 14:08:40.468056",
13+
"spec_repo_commit": "e4f653f1"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6573,6 +6573,18 @@ menu:
65736573
url: /api/latest/datasets/
65746574
identifier: datasets
65756575
generated: true
6576+
- name: Edit a dataset
6577+
url: '#edit-a-dataset'
6578+
identifier: datasets-edit-a-dataset
6579+
parent: datasets
6580+
generated: true
6581+
params:
6582+
versions:
6583+
- v2
6584+
operationids:
6585+
- UpdateDataset
6586+
unstable: []
6587+
order: 4
65766588
- name: Get a single dataset by ID
65776589
url: '#get-a-single-dataset-by-id'
65786590
identifier: datasets-get-a-single-dataset-by-id

content/en/api/v2/datasets/examples.json

Lines changed: 109 additions & 4 deletions
Large diffs are not rendered by default.

data/api/v2/full_spec.yaml

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)