Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.99 KB

File metadata and controls

28 lines (21 loc) · 1.99 KB

ViewLinkRequest

Properties

Name Type Description Notes
keys Array<string> Keys of the resources (flags, segments) to link/unlink [default to undefined]
filter string Filter string to match resources for linking. Uses the same syntax as list endpoints: flags use comma-separated field:value filters, segments use queryfilter syntax. Supported filters by resource type: - flags: query, tags, maintainerId, maintainerTeamKey, type, status, state, staleState, sdkAvailability, targeting, hasExperiment, hasDataExport, evaluated, creationDate, contextKindTargeted, contextKindsEvaluated, filterEnv, segmentTargeted, codeReferences.min, codeReferences.max, excludeSettings, releasePipeline, applicationEvaluated, purpose, guardedRollout, view, key, name, archived, followerId - segments (queryfilter): query, tags, keys, excludedKeys, unbounded, external, view, type Some filters are only available when the corresponding feature is enabled on your account. [default to undefined]
comment string Optional comment for the link/unlink operation [optional] [default to '']
segmentIdentifiers Array<ViewLinkRequestSegmentIdentifier> Identifiers of the segments to link/unlink (environmentId and segmentKey) [default to undefined]
environmentId string Required when using filter for segment resources. Specifies which environment to query for segments matching the filter. Ignored for flag resources (flags are global across environments). [optional] [default to undefined]

Example

import { ViewLinkRequest } from 'launchdarkly-api-typescript';

const instance: ViewLinkRequest = {
    keys,
    filter,
    comment,
    segmentIdentifiers,
    environmentId,
};

[Back to Model list] [Back to API list] [Back to README]