Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.5 KB

File metadata and controls

22 lines (16 loc) · 1.5 KB

LaunchDarklyApi::ViewLinkRequestKeys

Properties

Name Type Description Notes
keys Array<String> Keys of the resources (flags, segments) to link/unlink
filter String Optional filter string to determine which resources should be linked. Resources only need to match either the filter or explicitly-listed keys to be linked (union). 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. [optional]
comment String Optional comment for the link/unlink operation [optional][default to '']

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::ViewLinkRequestKeys.new(
  keys: [&quot;flag-1&quot;,&quot;flag-2&quot;],
  filter: maintainerId:507f1f77bcf86cd799439011,tags:backend+beta,
  comment: null
)