FeatureFlags
July 9, 2025 ยท View on GitHub
Example Usage
import { FeatureFlags } from "@launchdarkly/mcp-server/models/components";
let value: FeatureFlags = {
items: [],
links: {
"self": {
href: "/api/v2/flags/default",
type: "application/json",
},
},
totalCount: 1,
totalCountWithDifferences: 0,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
items | components.FeatureFlag[] | :heavy_check_mark: | An array of feature flags | |
links | Record<string, components.Link> | :heavy_check_mark: | The location and content type of related resources | { "self": { "href": "/api/v2/flags/default", "type": "application/json" } } |
totalCount | number | :heavy_minus_sign: | The total number of flags | 1 |
totalCountWithDifferences | number | :heavy_minus_sign: | The number of flags that have differences between environments. Only shown when query parameter compare is true. | 0 |