From 178da5d43622ff58552f76d2a162df755e0ed008 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 2 Sep 2026 19:41:04 +0000 Subject: [PATCH] Regenerate client from commit 1f2a994 of spec repo --- .../content/en/api/latest/tag-rules/_index.md | 2 -- .../tag-rules/create-a-tag-rule/index.md | 2 -- .../tag-rules/delete-a-tag-rule/index.md | 2 -- .../get-a-tag-rule-compliance-score/index.md | 2 -- .../latest/tag-rules/get-a-tag-rule/index.md | 2 -- .../latest/tag-rules/list-tag-rules/index.md | 2 -- .../tag-rules/update-a-tag-rule/index.md | 2 -- .../en/api/v2/feature-flags/examples.json | 7 +++++-- hugo/data/api/v2/full_spec.yaml | 19 +++++++++++++++++++ hugo/data/api/v2/translate_actions.json | 2 +- 10 files changed, 25 insertions(+), 17 deletions(-) diff --git a/hugo/content/en/api/latest/tag-rules/_index.md b/hugo/content/en/api/latest/tag-rules/_index.md index 260cf368d88..77cdcd2939f 100644 --- a/hugo/content/en/api/latest/tag-rules/_index.md +++ b/hugo/content/en/api/latest/tag-rules/_index.md @@ -1,5 +1,3 @@ --- title: Tag Rules -aliases: -- /api/latest/tag-policies/ --- diff --git a/hugo/content/en/api/latest/tag-rules/create-a-tag-rule/index.md b/hugo/content/en/api/latest/tag-rules/create-a-tag-rule/index.md index e07eac69182..f5fdd282056 100644 --- a/hugo/content/en/api/latest/tag-rules/create-a-tag-rule/index.md +++ b/hugo/content/en/api/latest/tag-rules/create-a-tag-rule/index.md @@ -1,5 +1,3 @@ --- title: Create a tag rule -aliases: -- /api/latest/tag-policies/create-a-tag-policy/ --- diff --git a/hugo/content/en/api/latest/tag-rules/delete-a-tag-rule/index.md b/hugo/content/en/api/latest/tag-rules/delete-a-tag-rule/index.md index 4ca9a1a150a..bdf9ed321ee 100644 --- a/hugo/content/en/api/latest/tag-rules/delete-a-tag-rule/index.md +++ b/hugo/content/en/api/latest/tag-rules/delete-a-tag-rule/index.md @@ -1,5 +1,3 @@ --- title: Delete a tag rule -aliases: -- /api/latest/tag-policies/delete-a-tag-policy/ --- diff --git a/hugo/content/en/api/latest/tag-rules/get-a-tag-rule-compliance-score/index.md b/hugo/content/en/api/latest/tag-rules/get-a-tag-rule-compliance-score/index.md index eeb3ffe96c0..25fa8b719fc 100644 --- a/hugo/content/en/api/latest/tag-rules/get-a-tag-rule-compliance-score/index.md +++ b/hugo/content/en/api/latest/tag-rules/get-a-tag-rule-compliance-score/index.md @@ -1,5 +1,3 @@ --- title: Get a tag rule compliance score -aliases: -- /api/latest/tag-policies/get-a-tag-policy-compliance-score/ --- diff --git a/hugo/content/en/api/latest/tag-rules/get-a-tag-rule/index.md b/hugo/content/en/api/latest/tag-rules/get-a-tag-rule/index.md index 9ccb6a89f6e..784c5f7601d 100644 --- a/hugo/content/en/api/latest/tag-rules/get-a-tag-rule/index.md +++ b/hugo/content/en/api/latest/tag-rules/get-a-tag-rule/index.md @@ -1,5 +1,3 @@ --- title: Get a tag rule -aliases: -- /api/latest/tag-policies/get-a-tag-policy/ --- diff --git a/hugo/content/en/api/latest/tag-rules/list-tag-rules/index.md b/hugo/content/en/api/latest/tag-rules/list-tag-rules/index.md index 89ee2d21313..97b3eef7e4a 100644 --- a/hugo/content/en/api/latest/tag-rules/list-tag-rules/index.md +++ b/hugo/content/en/api/latest/tag-rules/list-tag-rules/index.md @@ -1,5 +1,3 @@ --- title: List tag rules -aliases: -- /api/latest/tag-policies/list-tag-policies/ --- diff --git a/hugo/content/en/api/latest/tag-rules/update-a-tag-rule/index.md b/hugo/content/en/api/latest/tag-rules/update-a-tag-rule/index.md index 61817d690dc..600dd1d735f 100644 --- a/hugo/content/en/api/latest/tag-rules/update-a-tag-rule/index.md +++ b/hugo/content/en/api/latest/tag-rules/update-a-tag-rule/index.md @@ -1,5 +1,3 @@ --- title: Update a tag rule -aliases: -- /api/latest/tag-policies/update-a-tag-policy/ --- diff --git a/hugo/content/en/api/v2/feature-flags/examples.json b/hugo/content/en/api/v2/feature-flags/examples.json index 9098214b397..1d7f8266fad 100644 --- a/hugo/content/en/api/v2/feature-flags/examples.json +++ b/hugo/content/en/api/v2/feature-flags/examples.json @@ -1107,12 +1107,15 @@ "attributes": { "description": "Updated description for feature flag XYZ789", "json_schema": "{\"type\": \"object\", \"properties\": {\"enabled\": {\"type\": \"boolean\"}}}", - "name": "Updated Feature Flag XYZ789" + "name": "Updated Feature Flag XYZ789", + "tags": [ + "team:feature-flagging" + ] }, "type": "feature-flags" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data for updating a feature flag.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for updating a feature flag.

\n
\n
\n
\n
\n
\n

description

\n
\n

string

\n

The description of the feature flag.

\n
\n \n
\n
\n
\n
\n
\n

json_schema

\n
\n

string

\n

JSON schema for validation when value_type is JSON.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the feature flag.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

The resource type. \nAllowed enum values: feature-flags

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data for updating a feature flag.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for updating a feature flag.

\n
\n
\n
\n
\n
\n

description

\n
\n

string

\n

The description of the feature flag.

\n
\n \n
\n
\n
\n
\n
\n

json_schema

\n
\n

string

\n

JSON schema for validation when value_type is JSON.

\n
\n \n
\n
\n
\n
\n
\n

name

\n
\n

string

\n

The name of the feature flag.

\n
\n \n
\n
\n
\n
\n
\n

tags

\n
\n

[string]

\n

Tags associated with the feature flag. This field replaces the full set of\nexisting tags; omit it to leave tags unchanged, or pass an empty array to\nclear all tags. The owning team is set by including a tag of the form\nteam:<team-handle> in this array.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

The resource type. \nAllowed enum values: feature-flags

\n
\n \n
\n
\n
\n
" } }, "ArchiveFeatureFlag": { diff --git a/hugo/data/api/v2/full_spec.yaml b/hugo/data/api/v2/full_spec.yaml index 83ebf630c56..b4883022a33 100644 --- a/hugo/data/api/v2/full_spec.yaml +++ b/hugo/data/api/v2/full_spec.yaml @@ -122217,6 +122217,19 @@ components: description: The name of the feature flag. example: "Updated Feature Flag XYZ789" type: string + tags: + description: |- + Tags associated with the feature flag. This field replaces the full set of + existing tags; omit it to leave tags unchanged, or pass an empty array to + clear all tags. The owning team is set by including a tag of the form + `team:` in this array. + example: ["team:feature-flagging"] + items: + description: A tag associated with the feature flag. + maxLength: 200 + type: string + maxItems: 100 + type: array type: object UpdateFeatureFlagData: description: Data for updating a feature flag. @@ -150956,6 +150969,11 @@ paths: description: |- Updates an existing feature flag's metadata such as name and description. Does not modify targeting rules or allocations. + + To change the owning team, update `tags` and include a tag of the form + `team:` in the array. `tags` is a full replacement of the + existing tag set (including any `team:` tag), so include every tag you + want to keep, not just the ones you're adding. operationId: UpdateFeatureFlag parameters: - $ref: "#/components/parameters/feature_flag_id" @@ -150970,6 +150988,7 @@ paths: description: Updated description for the feature flag enabled: true name: Updated Feature Flag XYZ789 + tags: ["team:feature-flagging"] type: feature-flags schema: $ref: "#/components/schemas/UpdateFeatureFlagRequest" diff --git a/hugo/data/api/v2/translate_actions.json b/hugo/data/api/v2/translate_actions.json index 6cca6bda831..57f32e0938a 100644 --- a/hugo/data/api/v2/translate_actions.json +++ b/hugo/data/api/v2/translate_actions.json @@ -1905,7 +1905,7 @@ "summary": "Get a feature flag" }, "UpdateFeatureFlag": { - "description": "Updates an existing feature flag's metadata such as\n name and description. Does not modify targeting rules or allocations.", + "description": "Updates an existing feature flag's metadata such as\n name and description. Does not modify targeting rules or allocations.\n\nTo change the owning team, update `tags` and include a tag of the form\n`team:` in the array. `tags` is a full replacement of the\nexisting tag set (including any `team:` tag), so include every tag you\nwant to keep, not just the ones you're adding.", "summary": "Update a feature flag", "request_description": "", "request_schema_description": "Request to update a feature flag."