Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions hugo/content/en/api/latest/tag-rules/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: Tag Rules
aliases:
- /api/latest/tag-policies/
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: Create a tag rule
aliases:
- /api/latest/tag-policies/create-a-tag-policy/
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: Delete a tag rule
aliases:
- /api/latest/tag-policies/delete-a-tag-policy/
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: Get a tag rule compliance score
aliases:
- /api/latest/tag-policies/get-a-tag-policy-compliance-score/
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: Get a tag rule
aliases:
- /api/latest/tag-policies/get-a-tag-policy/
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: List tag rules
aliases:
- /api/latest/tag-policies/list-tag-policies/
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
title: Update a tag rule
aliases:
- /api/latest/tag-policies/update-a-tag-policy/
---
7 changes: 5 additions & 2 deletions hugo/content/en/api/v2/feature-flags/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row table-row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">object</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">Data for updating a feature flag.</p></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"data\" class=\"row table-row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">object</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">Attributes for updating a feature flag.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">description</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">The description of the feature flag.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">json_schema</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">JSON schema for validation when value_type is JSON.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">name</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">The name of the feature flag.</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"data\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">type&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">enum</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">The resource type. \nAllowed enum values: <code>feature-flags</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row table-row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">object</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">Data for updating a feature flag.</p></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"data\" class=\"row table-row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">object</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">Attributes for updating a feature flag.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">description</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">The description of the feature flag.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">json_schema</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">JSON schema for validation when value_type is JSON.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">name</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">The name of the feature flag.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"attributes\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">tags</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">[string]</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">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\n<code>team:&lt;team-handle&gt;</code> in this array.</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div data-parent-field=\"data\" class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">type&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">enum</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">The resource type. \nAllowed enum values: <code>feature-flags</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
}
},
"ArchiveFeatureFlag": {
Expand Down
19 changes: 19 additions & 0 deletions hugo/data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:<team-handle>` 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.
Expand Down Expand Up @@ -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:<team-handle>` 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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion hugo/data/api/v2/translate_actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:<team-handle>` 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."
Expand Down
Loading