launchdarkly_api 4.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +246 -226
- data/docs/ApprovalRequest.md +20 -0
- data/docs/{FeatureFlagApprovalRequestApplyConfigBody.md → ApprovalRequestApplyConfigBody.md} +1 -1
- data/docs/{FeatureFlagApprovalRequestConfigBody.md → ApprovalRequestConfigBody.md} +3 -1
- data/docs/{FeatureFlagApprovalRequestReview.md → ApprovalRequestReview.md} +2 -2
- data/docs/{FeatureFlagApprovalRequestReviewConfigBody.md → ApprovalRequestReviewConfigBody.md} +1 -1
- data/docs/{FeatureFlagApprovalRequestReviewStatus.md → ApprovalRequestReviewStatus.md} +1 -1
- data/docs/{FeatureFlagApprovalRequests.md → ApprovalRequests.md} +2 -2
- data/docs/{UnboundedSegmentTargetChanges.md → BigSegmentTargetChanges.md} +1 -1
- data/docs/BigSegmentTargetsBody.md +9 -0
- data/docs/DependentFlag.md +11 -0
- data/docs/DependentFlagEnvironment.md +11 -0
- data/docs/DependentFlagEnvironmentLinks.md +9 -0
- data/docs/{IntegrationLinks.md → DependentFlagLinks.md} +1 -1
- data/docs/DependentFlagsByEnvironment.md +10 -0
- data/docs/DependentFlagsLinks.md +9 -0
- data/docs/FeatureFlagStatus.md +1 -1
- data/docs/FeatureFlagStatusAcrossEnvironments.md +1 -1
- data/docs/FeatureFlagStatusLinks.md +9 -0
- data/docs/FeatureFlagStatuses.md +1 -1
- data/docs/FeatureFlagsApi.md +577 -91
- data/docs/FlagConfigScheduledChangesConflictsBody.md +9 -0
- data/docs/FlagConfigScheduledChangesPatchBody.md +9 -0
- data/docs/FlagConfigScheduledChangesPostBody.md +10 -0
- data/docs/Integration.md +1 -1
- data/docs/Member.md +2 -0
- data/docs/MemberLastSeenMetadata.md +8 -0
- data/docs/MultiEnvironmentDependentFlag.md +12 -0
- data/docs/MultiEnvironmentDependentFlags.md +10 -0
- data/docs/UserSegment.md +1 -1
- data/docs/UserSegmentBody.md +1 -1
- data/docs/UserSegmentsApi.md +9 -9
- data/docs/UsersApi.md +2 -2
- data/launchdarkly_api.gemspec +3 -2
- data/lib/launchdarkly_api.rb +24 -12
- data/lib/launchdarkly_api/api/access_tokens_api.rb +2 -2
- data/lib/launchdarkly_api/api/audit_log_api.rb +2 -2
- data/lib/launchdarkly_api/api/custom_roles_api.rb +2 -2
- data/lib/launchdarkly_api/api/customer_metrics_api.rb +2 -2
- data/lib/launchdarkly_api/api/data_export_destinations_api.rb +2 -2
- data/lib/launchdarkly_api/api/environments_api.rb +2 -2
- data/lib/launchdarkly_api/api/feature_flags_api.rb +702 -161
- data/lib/launchdarkly_api/api/integrations_api.rb +2 -2
- data/lib/launchdarkly_api/api/projects_api.rb +2 -2
- data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +2 -2
- data/lib/launchdarkly_api/api/root_api.rb +2 -2
- data/lib/launchdarkly_api/api/team_members_api.rb +2 -2
- data/lib/launchdarkly_api/api/user_segments_api.rb +19 -19
- data/lib/launchdarkly_api/api/user_settings_api.rb +2 -2
- data/lib/launchdarkly_api/api/users_api.rb +5 -5
- data/lib/launchdarkly_api/api/webhooks_api.rb +2 -2
- data/lib/launchdarkly_api/api_client.rb +7 -5
- data/lib/launchdarkly_api/api_error.rb +2 -2
- data/lib/launchdarkly_api/configuration.rb +4 -4
- data/lib/launchdarkly_api/models/{feature_flag_approval_request.rb → approval_request.rb} +34 -13
- data/lib/launchdarkly_api/models/{feature_flag_approval_request_apply_config_body.rb → approval_request_apply_config_body.rb} +5 -4
- data/lib/launchdarkly_api/models/{feature_flag_approval_request_config_body.rb → approval_request_config_body.rb} +29 -8
- data/lib/launchdarkly_api/models/{feature_flag_approval_request_review.rb → approval_request_review.rb} +6 -5
- data/lib/launchdarkly_api/models/{feature_flag_approval_request_review_config_body.rb → approval_request_review_config_body.rb} +5 -4
- data/lib/launchdarkly_api/models/{feature_flag_approval_request_review_status.rb → approval_request_review_status.rb} +5 -5
- data/lib/launchdarkly_api/models/{feature_flag_approval_requests.rb → approval_requests.rb} +6 -5
- data/lib/launchdarkly_api/models/audit_log_entries.rb +4 -3
- data/lib/launchdarkly_api/models/audit_log_entry.rb +4 -3
- data/lib/launchdarkly_api/models/audit_log_entry_target.rb +4 -3
- data/lib/launchdarkly_api/models/{unbounded_segment_target_changes.rb → big_segment_target_changes.rb} +5 -4
- data/lib/launchdarkly_api/models/{unbounded_segment_targets_body.rb → big_segment_targets_body.rb} +7 -6
- data/lib/launchdarkly_api/models/clause.rb +4 -3
- data/lib/launchdarkly_api/models/client_side_availability.rb +4 -3
- data/lib/launchdarkly_api/models/copy_actions.rb +2 -2
- data/lib/launchdarkly_api/models/custom_property.rb +4 -3
- data/lib/launchdarkly_api/models/custom_property_values.rb +4 -3
- data/lib/launchdarkly_api/models/custom_role.rb +4 -3
- data/lib/launchdarkly_api/models/custom_role_body.rb +4 -3
- data/lib/launchdarkly_api/models/custom_roles.rb +4 -3
- data/lib/launchdarkly_api/models/defaults.rb +4 -3
- data/lib/launchdarkly_api/models/dependent_flag.rb +211 -0
- data/lib/launchdarkly_api/models/{integration__links.rb → dependent_flag__links.rb} +5 -4
- data/lib/launchdarkly_api/models/dependent_flag_environment.rb +211 -0
- data/lib/launchdarkly_api/models/dependent_flag_environment__links.rb +193 -0
- data/lib/launchdarkly_api/models/dependent_flags_by_environment.rb +204 -0
- data/lib/launchdarkly_api/models/dependent_flags_links.rb +193 -0
- data/lib/launchdarkly_api/models/destination.rb +4 -3
- data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +4 -3
- data/lib/launchdarkly_api/models/destination_body.rb +4 -3
- data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +4 -3
- data/lib/launchdarkly_api/models/destination_m_particle.rb +4 -3
- data/lib/launchdarkly_api/models/destination_segment.rb +4 -3
- data/lib/launchdarkly_api/models/destinations.rb +4 -3
- data/lib/launchdarkly_api/models/environment.rb +4 -3
- data/lib/launchdarkly_api/models/environment_approval_settings.rb +4 -3
- data/lib/launchdarkly_api/models/environment_post.rb +4 -3
- data/lib/launchdarkly_api/models/evaluation_usage_error.rb +4 -3
- data/lib/launchdarkly_api/models/events.rb +4 -3
- data/lib/launchdarkly_api/models/fallthrough.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_body.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_config.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_scheduled_change.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts_instructions.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_status.rb +5 -4
- data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +5 -4
- data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +4 -3
- data/lib/launchdarkly_api/models/feature_flag_status_links.rb +193 -0
- data/lib/launchdarkly_api/models/feature_flag_statuses.rb +5 -4
- data/lib/launchdarkly_api/models/feature_flags.rb +4 -3
- data/lib/launchdarkly_api/models/flag_config_scheduled_changes_conflicts_body.rb +194 -0
- data/lib/launchdarkly_api/models/flag_config_scheduled_changes_patch_body.rb +194 -0
- data/lib/launchdarkly_api/models/flag_config_scheduled_changes_post_body.rb +204 -0
- data/lib/launchdarkly_api/models/flag_list_item.rb +4 -3
- data/lib/launchdarkly_api/models/hierarchical_links.rb +4 -3
- data/lib/launchdarkly_api/models/id.rb +4 -3
- data/lib/launchdarkly_api/models/integration.rb +5 -4
- data/lib/launchdarkly_api/models/integration_subscription.rb +4 -3
- data/lib/launchdarkly_api/models/integration_subscription__status.rb +4 -3
- data/lib/launchdarkly_api/models/integrations.rb +4 -3
- data/lib/launchdarkly_api/models/link.rb +4 -3
- data/lib/launchdarkly_api/models/links.rb +4 -3
- data/lib/launchdarkly_api/models/ma_uby_category.rb +4 -3
- data/lib/launchdarkly_api/models/mau.rb +4 -3
- data/lib/launchdarkly_api/models/mau_metadata.rb +4 -3
- data/lib/launchdarkly_api/models/member.rb +27 -7
- data/lib/launchdarkly_api/models/member__last_seen_metadata.rb +185 -0
- data/lib/launchdarkly_api/models/members.rb +4 -3
- data/lib/launchdarkly_api/models/members_body.rb +4 -3
- data/lib/launchdarkly_api/models/multi_environment_dependent_flag.rb +222 -0
- data/lib/launchdarkly_api/models/multi_environment_dependent_flags.rb +204 -0
- data/lib/launchdarkly_api/models/patch_comment.rb +4 -3
- data/lib/launchdarkly_api/models/patch_operation.rb +4 -3
- data/lib/launchdarkly_api/models/policy.rb +4 -3
- data/lib/launchdarkly_api/models/prerequisite.rb +4 -3
- data/lib/launchdarkly_api/models/project.rb +4 -3
- data/lib/launchdarkly_api/models/project_body.rb +4 -3
- data/lib/launchdarkly_api/models/projects.rb +4 -3
- data/lib/launchdarkly_api/models/relay_proxy_config.rb +4 -3
- data/lib/launchdarkly_api/models/relay_proxy_config_body.rb +4 -3
- data/lib/launchdarkly_api/models/relay_proxy_configs.rb +4 -3
- data/lib/launchdarkly_api/models/role.rb +2 -2
- data/lib/launchdarkly_api/models/rollout.rb +4 -3
- data/lib/launchdarkly_api/models/rule.rb +4 -3
- data/lib/launchdarkly_api/models/scheduled_changes_feature_flag_conflict.rb +4 -3
- data/lib/launchdarkly_api/models/semantic_patch_instruction.rb +4 -3
- data/lib/launchdarkly_api/models/semantic_patch_instruction_inner.rb +4 -3
- data/lib/launchdarkly_api/models/semantic_patch_operation.rb +4 -3
- data/lib/launchdarkly_api/models/site.rb +4 -3
- data/lib/launchdarkly_api/models/statement.rb +4 -3
- data/lib/launchdarkly_api/models/stream.rb +4 -3
- data/lib/launchdarkly_api/models/stream_by_sdk.rb +4 -3
- data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +4 -3
- data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +4 -3
- data/lib/launchdarkly_api/models/stream_links.rb +4 -3
- data/lib/launchdarkly_api/models/stream_sdk_version.rb +4 -3
- data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +4 -3
- data/lib/launchdarkly_api/models/stream_usage_error.rb +4 -3
- data/lib/launchdarkly_api/models/stream_usage_links.rb +4 -3
- data/lib/launchdarkly_api/models/stream_usage_metadata.rb +4 -3
- data/lib/launchdarkly_api/models/stream_usage_series.rb +4 -3
- data/lib/launchdarkly_api/models/streams.rb +4 -3
- data/lib/launchdarkly_api/models/subscription_body.rb +4 -3
- data/lib/launchdarkly_api/models/target.rb +4 -3
- data/lib/launchdarkly_api/models/token.rb +4 -3
- data/lib/launchdarkly_api/models/token_body.rb +4 -3
- data/lib/launchdarkly_api/models/tokens.rb +4 -3
- data/lib/launchdarkly_api/models/usage.rb +4 -3
- data/lib/launchdarkly_api/models/usage_error.rb +4 -3
- data/lib/launchdarkly_api/models/usage_links.rb +4 -3
- data/lib/launchdarkly_api/models/user.rb +4 -3
- data/lib/launchdarkly_api/models/user_flag_setting.rb +4 -3
- data/lib/launchdarkly_api/models/user_flag_settings.rb +4 -3
- data/lib/launchdarkly_api/models/user_record.rb +4 -3
- data/lib/launchdarkly_api/models/user_segment.rb +5 -4
- data/lib/launchdarkly_api/models/user_segment_body.rb +5 -4
- data/lib/launchdarkly_api/models/user_segment_rule.rb +4 -3
- data/lib/launchdarkly_api/models/user_segments.rb +4 -3
- data/lib/launchdarkly_api/models/user_settings_body.rb +4 -3
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +4 -3
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +4 -3
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +4 -3
- data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +4 -3
- data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +4 -3
- data/lib/launchdarkly_api/models/users.rb +4 -3
- data/lib/launchdarkly_api/models/variation.rb +4 -3
- data/lib/launchdarkly_api/models/webhook.rb +4 -3
- data/lib/launchdarkly_api/models/webhook_body.rb +4 -3
- data/lib/launchdarkly_api/models/webhooks.rb +4 -3
- data/lib/launchdarkly_api/models/weighted_variation.rb +4 -3
- data/lib/launchdarkly_api/version.rb +3 -3
- data/openapi.yml +413 -91
- data/spec/api/access_tokens_api_spec.rb +2 -2
- data/spec/api/audit_log_api_spec.rb +2 -2
- data/spec/api/custom_roles_api_spec.rb +2 -2
- data/spec/api/customer_metrics_api_spec.rb +2 -2
- data/spec/api/data_export_destinations_api_spec.rb +2 -2
- data/spec/api/environments_api_spec.rb +2 -2
- data/spec/api/feature_flags_api_spec.rb +153 -44
- data/spec/api/integrations_api_spec.rb +2 -2
- data/spec/api/projects_api_spec.rb +2 -2
- data/spec/api/relay_proxy_configurations_api_spec.rb +2 -2
- data/spec/api/root_api_spec.rb +2 -2
- data/spec/api/team_members_api_spec.rb +2 -2
- data/spec/api/user_segments_api_spec.rb +6 -6
- data/spec/api/user_settings_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +3 -3
- data/spec/api/webhooks_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +19 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/{feature_flag_approval_request_apply_config_body_spec.rb → approval_request_apply_config_body_spec.rb} +8 -8
- data/spec/models/approval_request_config_body_spec.rb +71 -0
- data/spec/models/{feature_flag_approval_request_review_config_body_spec.rb → approval_request_review_config_body_spec.rb} +8 -8
- data/spec/models/{feature_flag_approval_request_review_spec.rb → approval_request_review_spec.rb} +8 -8
- data/spec/models/approval_request_review_status_spec.rb +35 -0
- data/spec/models/{feature_flag_approval_request_spec.rb → approval_request_spec.rb} +21 -9
- data/spec/models/{feature_flag_approval_requests_spec.rb → approval_requests_spec.rb} +8 -8
- data/spec/models/audit_log_entries_spec.rb +2 -2
- data/spec/models/audit_log_entry_spec.rb +2 -2
- data/spec/models/audit_log_entry_target_spec.rb +2 -2
- data/spec/models/{unbounded_segment_target_changes_spec.rb → big_segment_target_changes_spec.rb} +8 -8
- data/spec/models/{unbounded_segment_targets_body_spec.rb → big_segment_targets_body_spec.rb} +8 -8
- data/spec/models/clause_spec.rb +2 -2
- data/spec/models/client_side_availability_spec.rb +2 -2
- data/spec/models/copy_actions_spec.rb +2 -2
- data/spec/models/custom_property_spec.rb +2 -2
- data/spec/models/custom_property_values_spec.rb +2 -2
- data/spec/models/custom_role_body_spec.rb +2 -2
- data/spec/models/custom_role_spec.rb +2 -2
- data/spec/models/custom_roles_spec.rb +2 -2
- data/spec/models/defaults_spec.rb +2 -2
- data/spec/models/{integration__links_spec.rb → dependent_flag__links_spec.rb} +8 -8
- data/spec/models/dependent_flag_environment__links_spec.rb +47 -0
- data/spec/models/{feature_flag_approval_request_config_body_spec.rb → dependent_flag_environment_spec.rb} +12 -12
- data/spec/models/dependent_flag_spec.rb +59 -0
- data/spec/models/dependent_flags_by_environment_spec.rb +53 -0
- data/spec/models/dependent_flags_links_spec.rb +47 -0
- data/spec/models/destination_amazon_kinesis_spec.rb +2 -2
- data/spec/models/destination_body_spec.rb +2 -2
- data/spec/models/destination_google_pub_sub_spec.rb +2 -2
- data/spec/models/destination_m_particle_spec.rb +2 -2
- data/spec/models/destination_segment_spec.rb +2 -2
- data/spec/models/destination_spec.rb +2 -2
- data/spec/models/destinations_spec.rb +2 -2
- data/spec/models/environment_approval_settings_spec.rb +2 -2
- data/spec/models/environment_post_spec.rb +2 -2
- data/spec/models/environment_spec.rb +2 -2
- data/spec/models/evaluation_usage_error_spec.rb +2 -2
- data/spec/models/events_spec.rb +2 -2
- data/spec/models/fallthrough_spec.rb +2 -2
- data/spec/models/feature_flag_body_spec.rb +2 -2
- data/spec/models/feature_flag_config_spec.rb +2 -2
- data/spec/models/feature_flag_copy_body_spec.rb +2 -2
- data/spec/models/feature_flag_copy_object_spec.rb +2 -2
- data/spec/models/feature_flag_scheduled_change_spec.rb +2 -2
- data/spec/models/feature_flag_scheduled_changes_conflicts_instructions_spec.rb +2 -2
- data/spec/models/feature_flag_scheduled_changes_conflicts_spec.rb +2 -2
- data/spec/models/feature_flag_scheduled_changes_spec.rb +2 -2
- data/spec/models/feature_flag_spec.rb +2 -2
- data/spec/models/feature_flag_status_across_environments_spec.rb +2 -2
- data/spec/models/feature_flag_status_for_queried_environment_spec.rb +2 -2
- data/spec/models/feature_flag_status_links_spec.rb +47 -0
- data/spec/models/feature_flag_status_spec.rb +2 -2
- data/spec/models/feature_flag_statuses_spec.rb +2 -2
- data/spec/models/feature_flags_spec.rb +2 -2
- data/spec/models/flag_config_scheduled_changes_conflicts_body_spec.rb +47 -0
- data/spec/models/flag_config_scheduled_changes_patch_body_spec.rb +47 -0
- data/spec/models/flag_config_scheduled_changes_post_body_spec.rb +53 -0
- data/spec/models/flag_list_item_spec.rb +2 -2
- data/spec/models/hierarchical_links_spec.rb +2 -2
- data/spec/models/id_spec.rb +2 -2
- data/spec/models/integration_spec.rb +2 -2
- data/spec/models/integration_subscription__status_spec.rb +2 -2
- data/spec/models/integration_subscription_spec.rb +2 -2
- data/spec/models/integrations_spec.rb +2 -2
- data/spec/models/link_spec.rb +2 -2
- data/spec/models/links_spec.rb +2 -2
- data/spec/models/ma_uby_category_spec.rb +2 -2
- data/spec/models/mau_metadata_spec.rb +2 -2
- data/spec/models/mau_spec.rb +2 -2
- data/spec/models/member__last_seen_metadata_spec.rb +41 -0
- data/spec/models/member_spec.rb +14 -2
- data/spec/models/members_body_spec.rb +2 -2
- data/spec/models/members_spec.rb +2 -2
- data/spec/models/multi_environment_dependent_flag_spec.rb +65 -0
- data/spec/models/multi_environment_dependent_flags_spec.rb +53 -0
- data/spec/models/patch_comment_spec.rb +2 -2
- data/spec/models/patch_operation_spec.rb +2 -2
- data/spec/models/policy_spec.rb +2 -2
- data/spec/models/prerequisite_spec.rb +2 -2
- data/spec/models/project_body_spec.rb +2 -2
- data/spec/models/project_spec.rb +2 -2
- data/spec/models/projects_spec.rb +2 -2
- data/spec/models/relay_proxy_config_body_spec.rb +2 -2
- data/spec/models/relay_proxy_config_spec.rb +2 -2
- data/spec/models/relay_proxy_configs_spec.rb +2 -2
- data/spec/models/role_spec.rb +2 -2
- data/spec/models/rollout_spec.rb +2 -2
- data/spec/models/rule_spec.rb +2 -2
- data/spec/models/scheduled_changes_feature_flag_conflict_spec.rb +2 -2
- data/spec/models/semantic_patch_instruction_inner_spec.rb +2 -2
- data/spec/models/semantic_patch_instruction_spec.rb +2 -2
- data/spec/models/semantic_patch_operation_spec.rb +2 -2
- data/spec/models/site_spec.rb +2 -2
- data/spec/models/statement_spec.rb +2 -2
- data/spec/models/stream_by_sdk_links_metadata_spec.rb +2 -2
- data/spec/models/stream_by_sdk_links_spec.rb +2 -2
- data/spec/models/stream_by_sdk_spec.rb +2 -2
- data/spec/models/stream_links_spec.rb +2 -2
- data/spec/models/stream_sdk_version_data_spec.rb +2 -2
- data/spec/models/stream_sdk_version_spec.rb +2 -2
- data/spec/models/stream_spec.rb +2 -2
- data/spec/models/stream_usage_error_spec.rb +2 -2
- data/spec/models/stream_usage_links_spec.rb +2 -2
- data/spec/models/stream_usage_metadata_spec.rb +2 -2
- data/spec/models/stream_usage_series_spec.rb +2 -2
- data/spec/models/streams_spec.rb +2 -2
- data/spec/models/subscription_body_spec.rb +2 -2
- data/spec/models/target_spec.rb +2 -2
- data/spec/models/token_body_spec.rb +2 -2
- data/spec/models/token_spec.rb +2 -2
- data/spec/models/tokens_spec.rb +2 -2
- data/spec/models/usage_error_spec.rb +2 -2
- data/spec/models/usage_links_spec.rb +2 -2
- data/spec/models/usage_spec.rb +2 -2
- data/spec/models/user_flag_setting_spec.rb +2 -2
- data/spec/models/user_flag_settings_spec.rb +2 -2
- data/spec/models/user_record_spec.rb +2 -2
- data/spec/models/user_segment_body_spec.rb +2 -2
- data/spec/models/user_segment_rule_spec.rb +2 -2
- data/spec/models/user_segment_spec.rb +2 -2
- data/spec/models/user_segments_spec.rb +2 -2
- data/spec/models/user_settings_body_spec.rb +2 -2
- data/spec/models/user_spec.rb +2 -2
- data/spec/models/user_targeting_expiration_for_flag_spec.rb +2 -2
- data/spec/models/user_targeting_expiration_for_flags_spec.rb +2 -2
- data/spec/models/user_targeting_expiration_for_segment_spec.rb +2 -2
- data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +2 -2
- data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +2 -2
- data/spec/models/users_spec.rb +2 -2
- data/spec/models/variation_spec.rb +2 -2
- data/spec/models/webhook_body_spec.rb +2 -2
- data/spec/models/webhook_spec.rb +2 -2
- data/spec/models/webhooks_spec.rb +2 -2
- data/spec/models/weighted_variation_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +218 -150
- data/docs/FeatureFlagApprovalRequest.md +0 -18
- data/docs/UnboundedSegmentTargetsBody.md +0 -9
- data/spec/models/feature_flag_approval_request_review_status_spec.rb +0 -35
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -84,7 +84,7 @@ module LaunchDarklyApi
|
|
|
84
84
|
return nil unless attributes.is_a?(Hash)
|
|
85
85
|
self.class.swagger_types.each_pair do |key, type|
|
|
86
86
|
if type =~ /\AArray<(.*)>/i
|
|
87
|
-
# check to ensure the input is an array given that the
|
|
87
|
+
# check to ensure the input is an array given that the attribute
|
|
88
88
|
# is documented as an array but the input is not
|
|
89
89
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
90
90
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -180,5 +180,6 @@ module LaunchDarklyApi
|
|
|
180
180
|
value
|
|
181
181
|
end
|
|
182
182
|
end
|
|
183
|
+
|
|
183
184
|
end
|
|
184
185
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -140,7 +140,7 @@ module LaunchDarklyApi
|
|
|
140
140
|
return nil unless attributes.is_a?(Hash)
|
|
141
141
|
self.class.swagger_types.each_pair do |key, type|
|
|
142
142
|
if type =~ /\AArray<(.*)>/i
|
|
143
|
-
# check to ensure the input is an array given that the
|
|
143
|
+
# check to ensure the input is an array given that the attribute
|
|
144
144
|
# is documented as an array but the input is not
|
|
145
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
146
146
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -236,5 +236,6 @@ module LaunchDarklyApi
|
|
|
236
236
|
value
|
|
237
237
|
end
|
|
238
238
|
end
|
|
239
|
+
|
|
239
240
|
end
|
|
240
241
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -94,7 +94,7 @@ module LaunchDarklyApi
|
|
|
94
94
|
return nil unless attributes.is_a?(Hash)
|
|
95
95
|
self.class.swagger_types.each_pair do |key, type|
|
|
96
96
|
if type =~ /\AArray<(.*)>/i
|
|
97
|
-
# check to ensure the input is an array given that the
|
|
97
|
+
# check to ensure the input is an array given that the attribute
|
|
98
98
|
# is documented as an array but the input is not
|
|
99
99
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
100
100
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -190,5 +190,6 @@ module LaunchDarklyApi
|
|
|
190
190
|
value
|
|
191
191
|
end
|
|
192
192
|
end
|
|
193
|
+
|
|
193
194
|
end
|
|
194
195
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -140,7 +140,7 @@ module LaunchDarklyApi
|
|
|
140
140
|
return nil unless attributes.is_a?(Hash)
|
|
141
141
|
self.class.swagger_types.each_pair do |key, type|
|
|
142
142
|
if type =~ /\AArray<(.*)>/i
|
|
143
|
-
# check to ensure the input is an array given that the
|
|
143
|
+
# check to ensure the input is an array given that the attribute
|
|
144
144
|
# is documented as an array but the input is not
|
|
145
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
146
146
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -236,5 +236,6 @@ module LaunchDarklyApi
|
|
|
236
236
|
value
|
|
237
237
|
end
|
|
238
238
|
end
|
|
239
|
+
|
|
239
240
|
end
|
|
240
241
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -94,7 +94,7 @@ module LaunchDarklyApi
|
|
|
94
94
|
return nil unless attributes.is_a?(Hash)
|
|
95
95
|
self.class.swagger_types.each_pair do |key, type|
|
|
96
96
|
if type =~ /\AArray<(.*)>/i
|
|
97
|
-
# check to ensure the input is an array given that the
|
|
97
|
+
# check to ensure the input is an array given that the attribute
|
|
98
98
|
# is documented as an array but the input is not
|
|
99
99
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
100
100
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -190,5 +190,6 @@ module LaunchDarklyApi
|
|
|
190
190
|
value
|
|
191
191
|
end
|
|
192
192
|
end
|
|
193
|
+
|
|
193
194
|
end
|
|
194
195
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -119,7 +119,7 @@ module LaunchDarklyApi
|
|
|
119
119
|
return nil unless attributes.is_a?(Hash)
|
|
120
120
|
self.class.swagger_types.each_pair do |key, type|
|
|
121
121
|
if type =~ /\AArray<(.*)>/i
|
|
122
|
-
# check to ensure the input is an array given that the
|
|
122
|
+
# check to ensure the input is an array given that the attribute
|
|
123
123
|
# is documented as an array but the input is not
|
|
124
124
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
125
125
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -215,5 +215,6 @@ module LaunchDarklyApi
|
|
|
215
215
|
value
|
|
216
216
|
end
|
|
217
217
|
end
|
|
218
|
+
|
|
218
219
|
end
|
|
219
220
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -103,7 +103,7 @@ module LaunchDarklyApi
|
|
|
103
103
|
return nil unless attributes.is_a?(Hash)
|
|
104
104
|
self.class.swagger_types.each_pair do |key, type|
|
|
105
105
|
if type =~ /\AArray<(.*)>/i
|
|
106
|
-
# check to ensure the input is an array given that the
|
|
106
|
+
# check to ensure the input is an array given that the attribute
|
|
107
107
|
# is documented as an array but the input is not
|
|
108
108
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
109
109
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -199,5 +199,6 @@ module LaunchDarklyApi
|
|
|
199
199
|
value
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
|
+
|
|
202
203
|
end
|
|
203
204
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -115,7 +115,7 @@ module LaunchDarklyApi
|
|
|
115
115
|
return nil unless attributes.is_a?(Hash)
|
|
116
116
|
self.class.swagger_types.each_pair do |key, type|
|
|
117
117
|
if type =~ /\AArray<(.*)>/i
|
|
118
|
-
# check to ensure the input is an array given that the
|
|
118
|
+
# check to ensure the input is an array given that the attribute
|
|
119
119
|
# is documented as an array but the input is not
|
|
120
120
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
121
121
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -211,5 +211,6 @@ module LaunchDarklyApi
|
|
|
211
211
|
value
|
|
212
212
|
end
|
|
213
213
|
end
|
|
214
|
+
|
|
214
215
|
end
|
|
215
216
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -155,7 +155,7 @@ module LaunchDarklyApi
|
|
|
155
155
|
return nil unless attributes.is_a?(Hash)
|
|
156
156
|
self.class.swagger_types.each_pair do |key, type|
|
|
157
157
|
if type =~ /\AArray<(.*)>/i
|
|
158
|
-
# check to ensure the input is an array given that the
|
|
158
|
+
# check to ensure the input is an array given that the attribute
|
|
159
159
|
# is documented as an array but the input is not
|
|
160
160
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
161
161
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -251,5 +251,6 @@ module LaunchDarklyApi
|
|
|
251
251
|
value
|
|
252
252
|
end
|
|
253
253
|
end
|
|
254
|
+
|
|
254
255
|
end
|
|
255
256
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -162,7 +162,7 @@ module LaunchDarklyApi
|
|
|
162
162
|
return nil unless attributes.is_a?(Hash)
|
|
163
163
|
self.class.swagger_types.each_pair do |key, type|
|
|
164
164
|
if type =~ /\AArray<(.*)>/i
|
|
165
|
-
# check to ensure the input is an array given that the
|
|
165
|
+
# check to ensure the input is an array given that the attribute
|
|
166
166
|
# is documented as an array but the input is not
|
|
167
167
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
168
168
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -258,5 +258,6 @@ module LaunchDarklyApi
|
|
|
258
258
|
value
|
|
259
259
|
end
|
|
260
260
|
end
|
|
261
|
+
|
|
261
262
|
end
|
|
262
263
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -94,7 +94,7 @@ module LaunchDarklyApi
|
|
|
94
94
|
return nil unless attributes.is_a?(Hash)
|
|
95
95
|
self.class.swagger_types.each_pair do |key, type|
|
|
96
96
|
if type =~ /\AArray<(.*)>/i
|
|
97
|
-
# check to ensure the input is an array given that the
|
|
97
|
+
# check to ensure the input is an array given that the attribute
|
|
98
98
|
# is documented as an array but the input is not
|
|
99
99
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
100
100
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -190,5 +190,6 @@ module LaunchDarklyApi
|
|
|
190
190
|
value
|
|
191
191
|
end
|
|
192
192
|
end
|
|
193
|
+
|
|
193
194
|
end
|
|
194
195
|
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -92,7 +92,7 @@ module LaunchDarklyApi
|
|
|
92
92
|
return nil unless attributes.is_a?(Hash)
|
|
93
93
|
self.class.swagger_types.each_pair do |key, type|
|
|
94
94
|
if type =~ /\AArray<(.*)>/i
|
|
95
|
-
# check to ensure the input is an array given that the
|
|
95
|
+
# check to ensure the input is an array given that the attribute
|
|
96
96
|
# is documented as an array but the input is not
|
|
97
97
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
98
98
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -188,5 +188,6 @@ module LaunchDarklyApi
|
|
|
188
188
|
value
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
|
+
|
|
191
192
|
end
|
|
192
193
|
end
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.1.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.17
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module LaunchDarklyApi
|
|
14
|
-
VERSION = '
|
|
14
|
+
VERSION = '5.1.0'
|
|
15
15
|
end
|
data/openapi.yml
CHANGED
|
@@ -10,7 +10,7 @@ info:
|
|
|
10
10
|
license:
|
|
11
11
|
name: Apache 2.0
|
|
12
12
|
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
|
|
13
|
-
version:
|
|
13
|
+
version: 5.1.0
|
|
14
14
|
host: app.launchdarkly.com
|
|
15
15
|
basePath: /api/v2
|
|
16
16
|
schemes:
|
|
@@ -436,10 +436,177 @@ paths:
|
|
|
436
436
|
$ref: '#/responses/Standard409'
|
|
437
437
|
tags:
|
|
438
438
|
- Feature flags
|
|
439
|
+
'/flags/{projectKey}/{featureFlagKey}/dependent-flags':
|
|
440
|
+
get:
|
|
441
|
+
summary: >-
|
|
442
|
+
Get dependent flags across all environments for the flag specified in
|
|
443
|
+
the path parameters
|
|
444
|
+
parameters:
|
|
445
|
+
- $ref: '#/parameters/ProjectKey'
|
|
446
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
447
|
+
responses:
|
|
448
|
+
'200':
|
|
449
|
+
description: Dependent flags accross all environemnts in the project response
|
|
450
|
+
schema:
|
|
451
|
+
$ref: '#/definitions/MultiEnvironmentDependentFlags'
|
|
452
|
+
'401':
|
|
453
|
+
$ref: '#/responses/Standard401'
|
|
454
|
+
'403':
|
|
455
|
+
$ref: '#/responses/BetaApi403'
|
|
456
|
+
'404':
|
|
457
|
+
$ref: '#/responses/Standard404'
|
|
458
|
+
tags:
|
|
459
|
+
- Feature flags
|
|
460
|
+
'/flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags':
|
|
461
|
+
get:
|
|
462
|
+
summary: >-
|
|
463
|
+
Get dependent flags for the flag in the environment specified in path
|
|
464
|
+
parameters
|
|
465
|
+
parameters:
|
|
466
|
+
- $ref: '#/parameters/ProjectKey'
|
|
467
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
468
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
469
|
+
responses:
|
|
470
|
+
'200':
|
|
471
|
+
description: Dependent flags in a single envrionemnt response
|
|
472
|
+
schema:
|
|
473
|
+
$ref: '#/definitions/DependentFlagsByEnvironment'
|
|
474
|
+
'401':
|
|
475
|
+
$ref: '#/responses/Standard401'
|
|
476
|
+
'403':
|
|
477
|
+
$ref: '#/responses/BetaApi403'
|
|
478
|
+
'404':
|
|
479
|
+
$ref: '#/responses/Standard404'
|
|
480
|
+
tags:
|
|
481
|
+
- Feature flags
|
|
482
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes':
|
|
483
|
+
get:
|
|
484
|
+
summary: Get all scheduled workflows for a feature flag by key.
|
|
485
|
+
operationId: getFlagConfigScheduledChanges
|
|
486
|
+
parameters:
|
|
487
|
+
- $ref: '#/parameters/ProjectKey'
|
|
488
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
489
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
490
|
+
responses:
|
|
491
|
+
'200':
|
|
492
|
+
schema:
|
|
493
|
+
$ref: '#/definitions/FeatureFlagScheduledChanges'
|
|
494
|
+
description: A list of scheduled changes for feature flag response.
|
|
495
|
+
'401':
|
|
496
|
+
$ref: '#/responses/Standard401'
|
|
497
|
+
'404':
|
|
498
|
+
$ref: '#/responses/Standard404'
|
|
499
|
+
tags:
|
|
500
|
+
- Feature flags
|
|
501
|
+
post:
|
|
502
|
+
summary: Creates a new scheduled change for a feature flag.
|
|
503
|
+
operationId: postFlagConfigScheduledChanges
|
|
504
|
+
parameters:
|
|
505
|
+
- $ref: '#/parameters/ProjectKey'
|
|
506
|
+
- $ref: '#/parameters/FlagConfigScheduledChangesPostBody'
|
|
507
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
508
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
509
|
+
responses:
|
|
510
|
+
'201':
|
|
511
|
+
description: A scheduled change for feature flag response.
|
|
512
|
+
schema:
|
|
513
|
+
$ref: '#/definitions/FeatureFlagScheduledChange'
|
|
514
|
+
'400':
|
|
515
|
+
$ref: '#/responses/Standard400'
|
|
516
|
+
'401':
|
|
517
|
+
$ref: '#/responses/Standard401'
|
|
518
|
+
'409':
|
|
519
|
+
$ref: '#/responses/Standard409'
|
|
520
|
+
tags:
|
|
521
|
+
- Feature flags
|
|
522
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes-conflicts':
|
|
523
|
+
post:
|
|
524
|
+
summary: >-
|
|
525
|
+
Lists conflicts between the given instructions and any existing
|
|
526
|
+
scheduled changes for the feature flag. The actual HTTP verb should be
|
|
527
|
+
REPORT, not POST.
|
|
528
|
+
operationId: getFlagConfigScheduledChangesConflicts
|
|
529
|
+
parameters:
|
|
530
|
+
- $ref: '#/parameters/ProjectKey'
|
|
531
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
532
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
533
|
+
- $ref: '#/parameters/FlagConfigScheduledChangesConflictsBody'
|
|
534
|
+
responses:
|
|
535
|
+
'200':
|
|
536
|
+
schema:
|
|
537
|
+
$ref: '#/definitions/FeatureFlagScheduledChangesConflicts'
|
|
538
|
+
description: Scheduled changes conflict response
|
|
539
|
+
'401':
|
|
540
|
+
$ref: '#/responses/Standard401'
|
|
541
|
+
'404':
|
|
542
|
+
$ref: '#/responses/Standard404'
|
|
543
|
+
tags:
|
|
544
|
+
- Feature flags
|
|
545
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId}':
|
|
546
|
+
get:
|
|
547
|
+
summary: Get a scheduled change on a feature flag by id.
|
|
548
|
+
operationId: getFlagConfigScheduledChange
|
|
549
|
+
parameters:
|
|
550
|
+
- $ref: '#/parameters/ProjectKey'
|
|
551
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
552
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
553
|
+
- $ref: '#/parameters/ScheduledChangeId'
|
|
554
|
+
responses:
|
|
555
|
+
'200':
|
|
556
|
+
schema:
|
|
557
|
+
$ref: '#/definitions/FeatureFlagScheduledChange'
|
|
558
|
+
description: A scheduled change for feature flag response.
|
|
559
|
+
'401':
|
|
560
|
+
$ref: '#/responses/Standard401'
|
|
561
|
+
'404':
|
|
562
|
+
$ref: '#/responses/Standard404'
|
|
563
|
+
tags:
|
|
564
|
+
- Feature flags
|
|
565
|
+
patch:
|
|
566
|
+
summary: >-
|
|
567
|
+
Updates an existing scheduled-change on a feature flag in an
|
|
568
|
+
environment.
|
|
569
|
+
operationId: patchFlagConfigScheduledChange
|
|
570
|
+
parameters:
|
|
571
|
+
- $ref: '#/parameters/ProjectKey'
|
|
572
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
573
|
+
- $ref: '#/parameters/FlagConfigScheduledChangesPatchBody'
|
|
574
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
575
|
+
- $ref: '#/parameters/ScheduledChangeId'
|
|
576
|
+
responses:
|
|
577
|
+
'201':
|
|
578
|
+
description: A Scheduled change for feature flag response.
|
|
579
|
+
schema:
|
|
580
|
+
$ref: '#/definitions/FeatureFlagScheduledChange'
|
|
581
|
+
'400':
|
|
582
|
+
$ref: '#/responses/Standard400'
|
|
583
|
+
'401':
|
|
584
|
+
$ref: '#/responses/Standard401'
|
|
585
|
+
'409':
|
|
586
|
+
$ref: '#/responses/Standard409'
|
|
587
|
+
tags:
|
|
588
|
+
- Feature flags
|
|
589
|
+
delete:
|
|
590
|
+
summary: Delete a scheduled change on a feature flag in an environment.
|
|
591
|
+
operationId: deleteFlagConfigScheduledChanges
|
|
592
|
+
parameters:
|
|
593
|
+
- $ref: '#/parameters/ProjectKey'
|
|
594
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
595
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
596
|
+
- $ref: '#/parameters/ScheduledChangeId'
|
|
597
|
+
responses:
|
|
598
|
+
'204':
|
|
599
|
+
$ref: '#/responses/Standard204'
|
|
600
|
+
'401':
|
|
601
|
+
$ref: '#/responses/Standard401'
|
|
602
|
+
'404':
|
|
603
|
+
$ref: '#/responses/Standard404'
|
|
604
|
+
tags:
|
|
605
|
+
- Feature flags
|
|
439
606
|
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests':
|
|
440
607
|
get:
|
|
441
|
-
operationId:
|
|
442
|
-
summary: Get all approval requests for a feature flag
|
|
608
|
+
operationId: getApprovalRequests
|
|
609
|
+
summary: Get all approval requests for a feature flag config
|
|
443
610
|
parameters:
|
|
444
611
|
- $ref: '#/parameters/ProjectKey'
|
|
445
612
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
@@ -447,28 +614,28 @@ paths:
|
|
|
447
614
|
responses:
|
|
448
615
|
'200':
|
|
449
616
|
schema:
|
|
450
|
-
$ref: '#/definitions/
|
|
451
|
-
description:
|
|
617
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
618
|
+
description: Approval requests response
|
|
452
619
|
'401':
|
|
453
620
|
$ref: '#/responses/Standard401'
|
|
454
621
|
'404':
|
|
455
622
|
$ref: '#/responses/Standard404'
|
|
456
623
|
tags:
|
|
457
624
|
- Feature flags
|
|
458
|
-
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{
|
|
625
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}':
|
|
459
626
|
get:
|
|
460
|
-
operationId:
|
|
461
|
-
summary: Get a single approval request for a feature flag
|
|
627
|
+
operationId: getApprovalRequest
|
|
628
|
+
summary: Get a single approval request for a feature flag config
|
|
462
629
|
parameters:
|
|
463
630
|
- $ref: '#/parameters/ProjectKey'
|
|
464
631
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
465
632
|
- $ref: '#/parameters/EnvironmentKey'
|
|
466
|
-
- $ref: '#/parameters/
|
|
633
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
467
634
|
responses:
|
|
468
635
|
'200':
|
|
469
636
|
schema:
|
|
470
|
-
$ref: '#/definitions/
|
|
471
|
-
description:
|
|
637
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
638
|
+
description: Approval request response
|
|
472
639
|
'401':
|
|
473
640
|
$ref: '#/responses/Standard401'
|
|
474
641
|
'404':
|
|
@@ -476,19 +643,19 @@ paths:
|
|
|
476
643
|
tags:
|
|
477
644
|
- Feature flags
|
|
478
645
|
post:
|
|
479
|
-
operationId:
|
|
480
|
-
summary: Create an approval request for a feature flag
|
|
646
|
+
operationId: postApprovalRequest
|
|
647
|
+
summary: Create an approval request for a feature flag config
|
|
481
648
|
parameters:
|
|
482
649
|
- $ref: '#/parameters/ProjectKey'
|
|
483
650
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
484
651
|
- $ref: '#/parameters/EnvironmentKey'
|
|
485
|
-
- $ref: '#/parameters/
|
|
486
|
-
- $ref: '#/parameters/
|
|
652
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
653
|
+
- $ref: '#/parameters/ApprovalRequestPostRequest'
|
|
487
654
|
responses:
|
|
488
655
|
'200':
|
|
489
656
|
schema:
|
|
490
|
-
$ref: '#/definitions/
|
|
491
|
-
description:
|
|
657
|
+
$ref: '#/definitions/ApprovalRequest'
|
|
658
|
+
description: Approval request response
|
|
492
659
|
'401':
|
|
493
660
|
$ref: '#/responses/Standard401'
|
|
494
661
|
'404':
|
|
@@ -496,14 +663,14 @@ paths:
|
|
|
496
663
|
tags:
|
|
497
664
|
- Feature flags
|
|
498
665
|
delete:
|
|
499
|
-
operationId:
|
|
500
|
-
summary: Delete an approval request for a feature flag
|
|
666
|
+
operationId: deleteApprovalRequest
|
|
667
|
+
summary: Delete an approval request for a feature flag config
|
|
501
668
|
parameters:
|
|
502
669
|
- $ref: '#/parameters/ProjectKey'
|
|
503
670
|
- $ref: '#/parameters/EnvironmentKey'
|
|
504
671
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
505
|
-
- $ref: '#/parameters/
|
|
506
|
-
- $ref: '#/parameters/
|
|
672
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
673
|
+
- $ref: '#/parameters/ApprovalRequestPostRequest'
|
|
507
674
|
responses:
|
|
508
675
|
'204':
|
|
509
676
|
$ref: '#/responses/Standard204'
|
|
@@ -513,42 +680,42 @@ paths:
|
|
|
513
680
|
$ref: '#/responses/Standard404'
|
|
514
681
|
tags:
|
|
515
682
|
- Feature flags
|
|
516
|
-
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{
|
|
683
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/apply':
|
|
517
684
|
post:
|
|
518
|
-
operationId:
|
|
519
|
-
summary: Apply approval request for a feature flag
|
|
685
|
+
operationId: postApplyApprovalRequest
|
|
686
|
+
summary: Apply approval request for a feature flag config
|
|
520
687
|
parameters:
|
|
521
688
|
- $ref: '#/parameters/ProjectKey'
|
|
522
689
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
523
690
|
- $ref: '#/parameters/EnvironmentKey'
|
|
524
|
-
- $ref: '#/parameters/
|
|
525
|
-
- $ref: '#/parameters/
|
|
691
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
692
|
+
- $ref: '#/parameters/ApprovalRequestApplyPostRequest'
|
|
526
693
|
responses:
|
|
527
694
|
'200':
|
|
528
695
|
schema:
|
|
529
|
-
$ref: '#/definitions/
|
|
530
|
-
description:
|
|
696
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
697
|
+
description: Approval request applied response
|
|
531
698
|
'401':
|
|
532
699
|
$ref: '#/responses/Standard401'
|
|
533
700
|
'404':
|
|
534
701
|
$ref: '#/responses/Standard404'
|
|
535
702
|
tags:
|
|
536
703
|
- Feature flags
|
|
537
|
-
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{
|
|
704
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/review':
|
|
538
705
|
post:
|
|
539
|
-
operationId:
|
|
540
|
-
summary: Review approval request for a feature flag
|
|
706
|
+
operationId: postReviewApprovalRequest
|
|
707
|
+
summary: Review approval request for a feature flag config
|
|
541
708
|
parameters:
|
|
542
709
|
- $ref: '#/parameters/ProjectKey'
|
|
543
710
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
544
711
|
- $ref: '#/parameters/EnvironmentKey'
|
|
545
|
-
- $ref: '#/parameters/
|
|
546
|
-
- $ref: '#/parameters/
|
|
712
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
713
|
+
- $ref: '#/parameters/ApprovalRequestReviewPostRequest'
|
|
547
714
|
responses:
|
|
548
715
|
'200':
|
|
549
716
|
schema:
|
|
550
|
-
$ref: '#/definitions/
|
|
551
|
-
description:
|
|
717
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
718
|
+
description: Approval request reviewed response
|
|
552
719
|
'401':
|
|
553
720
|
$ref: '#/responses/Standard401'
|
|
554
721
|
'404':
|
|
@@ -686,15 +853,15 @@ paths:
|
|
|
686
853
|
$ref: '#/responses/Standard409'
|
|
687
854
|
tags:
|
|
688
855
|
- User segments
|
|
689
|
-
'/segments/{projectKey}/{environmentKey}/{userSegmentKey}/
|
|
856
|
+
'/segments/{projectKey}/{environmentKey}/{userSegmentKey}/users':
|
|
690
857
|
post:
|
|
691
|
-
summary: Update targets included or excluded in
|
|
692
|
-
operationId:
|
|
858
|
+
summary: Update targets included or excluded in a big segment
|
|
859
|
+
operationId: updateBigSegmentTargets
|
|
693
860
|
parameters:
|
|
694
861
|
- $ref: '#/parameters/ProjectKey'
|
|
695
862
|
- $ref: '#/parameters/EnvironmentKey'
|
|
696
863
|
- $ref: '#/parameters/UserSegmentKey'
|
|
697
|
-
- $ref: '#/parameters/
|
|
864
|
+
- $ref: '#/parameters/BigSegmentTargetsPostRequest'
|
|
698
865
|
responses:
|
|
699
866
|
'204':
|
|
700
867
|
$ref: '#/responses/Standard204'
|
|
@@ -763,7 +930,7 @@ paths:
|
|
|
763
930
|
'200':
|
|
764
931
|
description: User response.
|
|
765
932
|
schema:
|
|
766
|
-
$ref: '#/definitions/
|
|
933
|
+
$ref: '#/definitions/UserRecord'
|
|
767
934
|
'401':
|
|
768
935
|
$ref: '#/responses/Standard401'
|
|
769
936
|
'404':
|
|
@@ -1931,6 +2098,23 @@ definitions:
|
|
|
1931
2098
|
type: array
|
|
1932
2099
|
items:
|
|
1933
2100
|
$ref: '#/definitions/Id'
|
|
2101
|
+
_lastSeen:
|
|
2102
|
+
type: integer
|
|
2103
|
+
format: int64
|
|
2104
|
+
example: 1469326565348
|
|
2105
|
+
description: >-
|
|
2106
|
+
A unix epoch time in milliseconds specifying the last time this member
|
|
2107
|
+
was active in LaunchDarkly.
|
|
2108
|
+
_lastSeenMetadata:
|
|
2109
|
+
type: object
|
|
2110
|
+
properties:
|
|
2111
|
+
tokenId:
|
|
2112
|
+
type: string
|
|
2113
|
+
example: 5fd2a1ee05600316d5cb3e96
|
|
2114
|
+
description: >-
|
|
2115
|
+
If the last time this member accessed LaunchDarkly was using the
|
|
2116
|
+
REST API, this value will be set to the ID of the personal access
|
|
2117
|
+
token used.
|
|
1934
2118
|
Members:
|
|
1935
2119
|
type: object
|
|
1936
2120
|
properties:
|
|
@@ -2147,7 +2331,7 @@ definitions:
|
|
|
2147
2331
|
reason:
|
|
2148
2332
|
type: string
|
|
2149
2333
|
description: Feature flag scheduled change conflict reason
|
|
2150
|
-
|
|
2334
|
+
ApprovalRequests:
|
|
2151
2335
|
type: object
|
|
2152
2336
|
properties:
|
|
2153
2337
|
_links:
|
|
@@ -2155,8 +2339,8 @@ definitions:
|
|
|
2155
2339
|
items:
|
|
2156
2340
|
type: array
|
|
2157
2341
|
items:
|
|
2158
|
-
$ref: '#/definitions/
|
|
2159
|
-
|
|
2342
|
+
$ref: '#/definitions/ApprovalRequest'
|
|
2343
|
+
ApprovalRequest:
|
|
2160
2344
|
type: object
|
|
2161
2345
|
properties:
|
|
2162
2346
|
_id:
|
|
@@ -2172,25 +2356,27 @@ definitions:
|
|
|
2172
2356
|
type: string
|
|
2173
2357
|
description: The id of the member that requested the change
|
|
2174
2358
|
reviewStatus:
|
|
2175
|
-
$ref: '#/definitions/
|
|
2359
|
+
$ref: '#/definitions/ApprovalRequestReviewStatus'
|
|
2176
2360
|
status:
|
|
2177
2361
|
type: string
|
|
2178
2362
|
description: >
|
|
2179
|
-
| Name
|
|
2363
|
+
| Name | Description |
|
|
2180
2364
|
|
|
2181
|
-
|
|
|
2365
|
+
| ---------:| ----------- |
|
|
2366
|
+
|
|
2367
|
+
| pending | the approval request has not been applied yet |
|
|
2182
2368
|
|
|
2183
|
-
|
|
|
2184
|
-
yet |
|
|
2369
|
+
| completed | the approval request has been applied successfully |
|
|
2185
2370
|
|
|
2186
|
-
|
|
|
2187
|
-
successfully |
|
|
2371
|
+
| scheduled | the approval request for a scheduled change has been
|
|
2372
|
+
applied successfully |
|
|
2188
2373
|
|
|
2189
|
-
| failed
|
|
2190
|
-
|
|
2374
|
+
| failed | the approval request has been applied but the changes
|
|
2375
|
+
were not applied successfully |
|
|
2191
2376
|
enum:
|
|
2192
2377
|
- pending
|
|
2193
2378
|
- completed
|
|
2379
|
+
- scheduled
|
|
2194
2380
|
- failed
|
|
2195
2381
|
appliedByMemberID:
|
|
2196
2382
|
type: string
|
|
@@ -2203,7 +2389,7 @@ definitions:
|
|
|
2203
2389
|
allReviews:
|
|
2204
2390
|
type: array
|
|
2205
2391
|
items:
|
|
2206
|
-
$ref: '#/definitions/
|
|
2392
|
+
$ref: '#/definitions/ApprovalRequestReview'
|
|
2207
2393
|
notifyMemberIds:
|
|
2208
2394
|
type: array
|
|
2209
2395
|
items:
|
|
@@ -2213,7 +2399,14 @@ definitions:
|
|
|
2213
2399
|
- memberId2
|
|
2214
2400
|
instructions:
|
|
2215
2401
|
$ref: '#/definitions/SemanticPatchInstruction'
|
|
2216
|
-
|
|
2402
|
+
executionDate:
|
|
2403
|
+
type: integer
|
|
2404
|
+
format: int64
|
|
2405
|
+
description: Timestamp for when instructions will be executed
|
|
2406
|
+
operatingOnId:
|
|
2407
|
+
type: string
|
|
2408
|
+
description: ID of scheduled change to edit or delete
|
|
2409
|
+
ApprovalRequestReview:
|
|
2217
2410
|
type: object
|
|
2218
2411
|
properties:
|
|
2219
2412
|
creationDate:
|
|
@@ -2222,25 +2415,25 @@ definitions:
|
|
|
2222
2415
|
A unix epoch time in milliseconds specifying the date the approval
|
|
2223
2416
|
request was reviewed
|
|
2224
2417
|
kind:
|
|
2225
|
-
$ref: '#/definitions/
|
|
2418
|
+
$ref: '#/definitions/ApprovalRequestReviewStatus'
|
|
2226
2419
|
memberId:
|
|
2227
2420
|
$ref: '#/definitions/Id'
|
|
2228
2421
|
_id:
|
|
2229
2422
|
$ref: '#/definitions/Id'
|
|
2230
|
-
|
|
2423
|
+
ApprovalRequestReviewStatus:
|
|
2231
2424
|
type: string
|
|
2232
2425
|
description: >
|
|
2233
2426
|
| Name | Description |
|
|
2234
2427
|
|
|
2235
2428
|
| --------:| ----------- |
|
|
2236
2429
|
|
|
2237
|
-
| pending | the
|
|
2430
|
+
| pending | the approval request has not been reviewed yet |
|
|
2238
2431
|
|
|
2239
|
-
| approved | the
|
|
2240
|
-
|
|
2432
|
+
| approved | the approval request has been approved and can now be applied
|
|
2433
|
+
|
|
|
2241
2434
|
|
|
2242
|
-
| declined | the
|
|
2243
|
-
|
|
2435
|
+
| declined | the approval request has been declined and cannot be applied
|
|
2436
|
+
|
|
|
2244
2437
|
enum:
|
|
2245
2438
|
- pending
|
|
2246
2439
|
- approved
|
|
@@ -2291,12 +2484,12 @@ definitions:
|
|
|
2291
2484
|
default:
|
|
2292
2485
|
type: object
|
|
2293
2486
|
_links:
|
|
2294
|
-
$ref: '#/definitions/
|
|
2487
|
+
$ref: '#/definitions/FeatureFlagStatusLinks'
|
|
2295
2488
|
FeatureFlagStatuses:
|
|
2296
2489
|
type: object
|
|
2297
2490
|
properties:
|
|
2298
2491
|
_links:
|
|
2299
|
-
$ref: '#/definitions/
|
|
2492
|
+
$ref: '#/definitions/FeatureFlagStatusLinks'
|
|
2300
2493
|
items:
|
|
2301
2494
|
type: array
|
|
2302
2495
|
items:
|
|
@@ -2337,13 +2530,94 @@ definitions:
|
|
|
2337
2530
|
type: object
|
|
2338
2531
|
properties:
|
|
2339
2532
|
_links:
|
|
2340
|
-
$ref: '#/definitions/
|
|
2533
|
+
$ref: '#/definitions/FeatureFlagStatusLinks'
|
|
2341
2534
|
key:
|
|
2342
2535
|
type: string
|
|
2343
2536
|
environments:
|
|
2344
2537
|
type: object
|
|
2345
2538
|
additionalProperties:
|
|
2346
2539
|
$ref: '#/definitions/FeatureFlagStatusForQueriedEnvironment'
|
|
2540
|
+
FeatureFlagStatusLinks:
|
|
2541
|
+
type: object
|
|
2542
|
+
properties:
|
|
2543
|
+
parent:
|
|
2544
|
+
$ref: '#/definitions/Link'
|
|
2545
|
+
self:
|
|
2546
|
+
$ref: '#/definitions/Link'
|
|
2547
|
+
DependentFlagsByEnvironment:
|
|
2548
|
+
type: object
|
|
2549
|
+
properties:
|
|
2550
|
+
items:
|
|
2551
|
+
type: array
|
|
2552
|
+
items:
|
|
2553
|
+
$ref: '#/definitions/DependentFlag'
|
|
2554
|
+
_links:
|
|
2555
|
+
$ref: '#/definitions/DependentFlagsLinks'
|
|
2556
|
+
_site:
|
|
2557
|
+
$ref: '#/definitions/Site'
|
|
2558
|
+
DependentFlag:
|
|
2559
|
+
type: object
|
|
2560
|
+
properties:
|
|
2561
|
+
name:
|
|
2562
|
+
type: string
|
|
2563
|
+
key:
|
|
2564
|
+
type: string
|
|
2565
|
+
_links:
|
|
2566
|
+
type: object
|
|
2567
|
+
properties:
|
|
2568
|
+
self:
|
|
2569
|
+
$ref: '#/definitions/Link'
|
|
2570
|
+
_site:
|
|
2571
|
+
$ref: '#/definitions/Site'
|
|
2572
|
+
DependentFlagsLinks:
|
|
2573
|
+
type: object
|
|
2574
|
+
properties:
|
|
2575
|
+
parent:
|
|
2576
|
+
$ref: '#/definitions/Link'
|
|
2577
|
+
self:
|
|
2578
|
+
$ref: '#/definitions/Link'
|
|
2579
|
+
MultiEnvironmentDependentFlags:
|
|
2580
|
+
type: object
|
|
2581
|
+
properties:
|
|
2582
|
+
items:
|
|
2583
|
+
type: array
|
|
2584
|
+
items:
|
|
2585
|
+
$ref: '#/definitions/MultiEnvironmentDependentFlag'
|
|
2586
|
+
_links:
|
|
2587
|
+
$ref: '#/definitions/DependentFlagsLinks'
|
|
2588
|
+
_site:
|
|
2589
|
+
$ref: '#/definitions/Site'
|
|
2590
|
+
MultiEnvironmentDependentFlag:
|
|
2591
|
+
type: object
|
|
2592
|
+
properties:
|
|
2593
|
+
name:
|
|
2594
|
+
type: string
|
|
2595
|
+
key:
|
|
2596
|
+
type: string
|
|
2597
|
+
environments:
|
|
2598
|
+
type: array
|
|
2599
|
+
items:
|
|
2600
|
+
$ref: '#/definitions/DependentFlagEnvironment'
|
|
2601
|
+
_links:
|
|
2602
|
+
$ref: '#/definitions/DependentFlagsLinks'
|
|
2603
|
+
_site:
|
|
2604
|
+
$ref: '#/definitions/Site'
|
|
2605
|
+
DependentFlagEnvironment:
|
|
2606
|
+
type: object
|
|
2607
|
+
properties:
|
|
2608
|
+
name:
|
|
2609
|
+
type: string
|
|
2610
|
+
key:
|
|
2611
|
+
type: string
|
|
2612
|
+
_links:
|
|
2613
|
+
type: object
|
|
2614
|
+
properties:
|
|
2615
|
+
self:
|
|
2616
|
+
$ref: '#/definitions/Link'
|
|
2617
|
+
flagLink:
|
|
2618
|
+
$ref: '#/definitions/Link'
|
|
2619
|
+
_site:
|
|
2620
|
+
$ref: '#/definitions/Site'
|
|
2347
2621
|
UserTargetingExpirationForFlags:
|
|
2348
2622
|
type: object
|
|
2349
2623
|
properties:
|
|
@@ -2478,9 +2752,10 @@ definitions:
|
|
|
2478
2752
|
type: boolean
|
|
2479
2753
|
example: false
|
|
2480
2754
|
description: >-
|
|
2481
|
-
Controls whether this
|
|
2482
|
-
|
|
2483
|
-
|
|
2755
|
+
Controls whether this is considered a "big segment" which can support
|
|
2756
|
+
an unlimited numbers of users. Include/exclude lists sent with this
|
|
2757
|
+
payload are not used in big segments. Contact your account manager for
|
|
2758
|
+
early access to this feature.
|
|
2484
2759
|
version:
|
|
2485
2760
|
type: integer
|
|
2486
2761
|
_links:
|
|
@@ -2510,7 +2785,7 @@ definitions:
|
|
|
2510
2785
|
type: array
|
|
2511
2786
|
items:
|
|
2512
2787
|
$ref: '#/definitions/UserSegment'
|
|
2513
|
-
|
|
2788
|
+
BigSegmentTargetChanges:
|
|
2514
2789
|
type: object
|
|
2515
2790
|
properties:
|
|
2516
2791
|
add:
|
|
@@ -3786,14 +4061,40 @@ parameters:
|
|
|
3786
4061
|
- name
|
|
3787
4062
|
- key
|
|
3788
4063
|
- variations
|
|
3789
|
-
|
|
3790
|
-
name:
|
|
4064
|
+
ScheduledChangeId:
|
|
4065
|
+
name: scheduledChangeId
|
|
4066
|
+
in: path
|
|
4067
|
+
required: true
|
|
4068
|
+
description: The id of the scheduled change
|
|
4069
|
+
type: string
|
|
4070
|
+
FlagConfigScheduledChangesConflictsBody:
|
|
4071
|
+
name: flagConfigScheduledChangesConflictsBody
|
|
4072
|
+
in: body
|
|
4073
|
+
required: true
|
|
4074
|
+
description: >-
|
|
4075
|
+
Used to determine if a semantic patch will result in conflicts with
|
|
4076
|
+
scheduled changes on a feature flag.
|
|
4077
|
+
schema:
|
|
4078
|
+
type: object
|
|
4079
|
+
properties:
|
|
4080
|
+
executionDate:
|
|
4081
|
+
type: integer
|
|
4082
|
+
description: >-
|
|
4083
|
+
A unix epoch time in milliseconds specifying the date the scheduled
|
|
4084
|
+
changes will be applied
|
|
4085
|
+
instructions:
|
|
4086
|
+
$ref: '#/definitions/SemanticPatchInstruction'
|
|
4087
|
+
FlagConfigScheduledChangesPostBody:
|
|
4088
|
+
name: flagConfigScheduledChangesPostBody
|
|
3791
4089
|
in: body
|
|
3792
4090
|
required: true
|
|
3793
4091
|
description: Create scheduled changes on a feature flag.
|
|
3794
4092
|
schema:
|
|
3795
4093
|
type: object
|
|
3796
4094
|
properties:
|
|
4095
|
+
comment:
|
|
4096
|
+
type: string
|
|
4097
|
+
description: Used to describe the scheduled changes.
|
|
3797
4098
|
executionDate:
|
|
3798
4099
|
type: integer
|
|
3799
4100
|
description: >-
|
|
@@ -3801,6 +4102,19 @@ parameters:
|
|
|
3801
4102
|
changes will be applied
|
|
3802
4103
|
instructions:
|
|
3803
4104
|
$ref: '#/definitions/SemanticPatchInstruction'
|
|
4105
|
+
FlagConfigScheduledChangesPatchBody:
|
|
4106
|
+
name: flagConfigScheduledChangesPatchBody
|
|
4107
|
+
in: body
|
|
4108
|
+
required: true
|
|
4109
|
+
description: Update scheduled changes on a feature flag.
|
|
4110
|
+
schema:
|
|
4111
|
+
type: object
|
|
4112
|
+
properties:
|
|
4113
|
+
comment:
|
|
4114
|
+
type: string
|
|
4115
|
+
description: Used to describe the scheduled changes.
|
|
4116
|
+
instructions:
|
|
4117
|
+
$ref: '#/definitions/SemanticPatchInstruction'
|
|
3804
4118
|
DestinationPostRequest:
|
|
3805
4119
|
name: destinationBody
|
|
3806
4120
|
in: body
|
|
@@ -3864,9 +4178,10 @@ parameters:
|
|
|
3864
4178
|
type: boolean
|
|
3865
4179
|
example: false
|
|
3866
4180
|
description: >-
|
|
3867
|
-
Controls whether this
|
|
3868
|
-
|
|
3869
|
-
|
|
4181
|
+
Controls whether this is considered a "big segment" which can
|
|
4182
|
+
support an unlimited numbers of users. Include/exclude lists sent
|
|
4183
|
+
with this payload are not used in big segments. Contact your account
|
|
4184
|
+
manager for early access to this feature.
|
|
3870
4185
|
tags:
|
|
3871
4186
|
type: array
|
|
3872
4187
|
items:
|
|
@@ -3876,20 +4191,20 @@ parameters:
|
|
|
3876
4191
|
required:
|
|
3877
4192
|
- name
|
|
3878
4193
|
- key
|
|
3879
|
-
|
|
3880
|
-
name:
|
|
4194
|
+
BigSegmentTargetsPostRequest:
|
|
4195
|
+
name: bigSegmentTargetsBody
|
|
3881
4196
|
in: body
|
|
3882
4197
|
required: true
|
|
3883
4198
|
description: >-
|
|
3884
|
-
Add or remove user targets to the included or excluded lists on
|
|
3885
|
-
|
|
4199
|
+
Add or remove user targets to the included or excluded lists on a big
|
|
4200
|
+
segment. Contact your account manager for early access to this feature.
|
|
3886
4201
|
schema:
|
|
3887
4202
|
type: object
|
|
3888
4203
|
properties:
|
|
3889
4204
|
included:
|
|
3890
|
-
$ref: '#/definitions/
|
|
4205
|
+
$ref: '#/definitions/BigSegmentTargetChanges'
|
|
3891
4206
|
excluded:
|
|
3892
|
-
$ref: '#/definitions/
|
|
4207
|
+
$ref: '#/definitions/BigSegmentTargetChanges'
|
|
3893
4208
|
ProjectPostRequest:
|
|
3894
4209
|
name: projectBody
|
|
3895
4210
|
in: body
|
|
@@ -4396,16 +4711,16 @@ parameters:
|
|
|
4396
4711
|
An expiration time for the old relay proxy configuration key, expressed as
|
|
4397
4712
|
a Unix epoch time in milliseconds. By default, the relay proxy
|
|
4398
4713
|
configuration will expire immediately
|
|
4399
|
-
|
|
4400
|
-
name:
|
|
4714
|
+
ApprovalRequestId:
|
|
4715
|
+
name: approvalRequestId
|
|
4401
4716
|
in: path
|
|
4402
4717
|
required: true
|
|
4403
|
-
description: The
|
|
4718
|
+
description: The approval request ID
|
|
4404
4719
|
type: string
|
|
4405
|
-
|
|
4406
|
-
name:
|
|
4720
|
+
ApprovalRequestPostRequest:
|
|
4721
|
+
name: approvalRequestConfigBody
|
|
4407
4722
|
in: body
|
|
4408
|
-
description: Create a new
|
|
4723
|
+
description: Create a new approval request
|
|
4409
4724
|
schema:
|
|
4410
4725
|
type: object
|
|
4411
4726
|
properties:
|
|
@@ -4426,15 +4741,22 @@ parameters:
|
|
|
4426
4741
|
comment:
|
|
4427
4742
|
type: string
|
|
4428
4743
|
description: comment will be included in audit log item for change.
|
|
4744
|
+
executionDate:
|
|
4745
|
+
type: integer
|
|
4746
|
+
format: int64
|
|
4747
|
+
description: Timestamp for when instructions will be executed
|
|
4748
|
+
operatingOnId:
|
|
4749
|
+
type: string
|
|
4750
|
+
description: ID of scheduled change to edit or delete
|
|
4429
4751
|
required:
|
|
4430
4752
|
- description
|
|
4431
4753
|
- instructions
|
|
4432
4754
|
- notifyMemberIds
|
|
4433
|
-
|
|
4434
|
-
name:
|
|
4755
|
+
ApprovalRequestReviewPostRequest:
|
|
4756
|
+
name: approvalRequestReviewConfigBody
|
|
4435
4757
|
in: body
|
|
4436
4758
|
required: true
|
|
4437
|
-
description: Review
|
|
4759
|
+
description: Review an approval request
|
|
4438
4760
|
schema:
|
|
4439
4761
|
type: object
|
|
4440
4762
|
properties:
|
|
@@ -4452,11 +4774,11 @@ parameters:
|
|
|
4452
4774
|
example: This is a comment string
|
|
4453
4775
|
required:
|
|
4454
4776
|
- kind
|
|
4455
|
-
|
|
4456
|
-
name:
|
|
4777
|
+
ApprovalRequestApplyPostRequest:
|
|
4778
|
+
name: approvalRequestApplyConfigBody
|
|
4457
4779
|
in: body
|
|
4458
4780
|
required: true
|
|
4459
|
-
description: Apply
|
|
4781
|
+
description: Apply an approval request
|
|
4460
4782
|
schema:
|
|
4461
4783
|
type: object
|
|
4462
4784
|
properties:
|