Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.86 KB

Experiment.md

File metadata and controls

42 lines (36 loc) · 1.86 KB

LaunchDarklyApi::Experiment

Properties

Name Type Description Notes
_id String The experiment ID [optional]
key String The experiment key
name String The experiment name
description String The experiment description [optional]
_maintainer_id String The ID of the member who maintains this experiment.
_creation_date Integer
environment_key String
archived_date Integer [optional]
_links Hash<String, Link> The location and content type of related resources
holdout_id String The holdout ID [optional]
current_iteration IterationRep [optional]
draft_iteration IterationRep [optional]
previous_iterations Array<IterationRep> Details on the previous iterations for this experiment. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::Experiment.new(
  _id: 12ab3c45de678910fgh12345,
  key: experiment-key-123abc,
  name: Example experiment,
  description: An example experiment, used in testing,
  _maintainer_id: 12ab3c45de678910fgh12345,
  _creation_date: null,
  environment_key: null,
  archived_date: null,
  _links: {&quot;parent&quot;:{&quot;href&quot;:&quot;/api/v2/projects/my-project/environments/my-environment&quot;,&quot;type&quot;:&quot;application/json&quot;},&quot;self&quot;:{&quot;href&quot;:&quot;/api/v2/projects/my-project/environments/my-environment/experiments/my-experiment&quot;,&quot;type&quot;:&quot;application/json&quot;}},
  holdout_id: f3b74309-d581-44e1-8a2b-bb2933b4fe40,
  current_iteration: null,
  draft_iteration: null,
  previous_iterations: null
)