launchdarkly_api 3.9.0 → 5.0.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/README.md +235 -223
- data/docs/ApprovalRequest.md +18 -0
- data/docs/{FeatureFlagChangeRequestApplyConfigBody.md → ApprovalRequestApplyConfigBody.md} +1 -1
- data/docs/{FeatureFlagChangeRequestConfigBody.md → ApprovalRequestConfigBody.md} +1 -1
- data/docs/{FeatureFlagChangeRequestReview.md → ApprovalRequestReview.md} +3 -3
- data/docs/{FeatureFlagChangeRequestReviewConfigBody.md → ApprovalRequestReviewConfigBody.md} +2 -2
- data/docs/{FeatureFlagChangeRequestReviewStatus.md → ApprovalRequestReviewStatus.md} +1 -1
- data/docs/{FeatureFlagChangeRequests.md → ApprovalRequests.md} +2 -2
- data/docs/Environment.md +1 -0
- data/docs/EnvironmentApprovalSettings.md +12 -0
- data/docs/FeatureFlagConfig.md +2 -0
- data/docs/FeatureFlagsApi.md +517 -77
- data/docs/FlagConfigScheduledChangesConflictsBody.md +9 -0
- data/docs/FlagConfigScheduledChangesPatchBody.md +9 -0
- data/docs/FlagConfigScheduledChangesPostBody.md +10 -0
- data/docs/Member.md +2 -0
- data/docs/MemberLastSeenMetadata.md +8 -0
- data/docs/UserRecordApi.md +67 -0
- data/docs/UsersApi.md +0 -59
- data/launchdarkly_api.gemspec +1 -1
- data/lib/launchdarkly_api.rb +14 -8
- data/lib/launchdarkly_api/api/access_tokens_api.rb +1 -1
- data/lib/launchdarkly_api/api/audit_log_api.rb +1 -1
- data/lib/launchdarkly_api/api/custom_roles_api.rb +1 -1
- data/lib/launchdarkly_api/api/customer_metrics_api.rb +1 -1
- data/lib/launchdarkly_api/api/data_export_destinations_api.rb +1 -1
- data/lib/launchdarkly_api/api/environments_api.rb +1 -1
- data/lib/launchdarkly_api/api/feature_flags_api.rb +639 -141
- data/lib/launchdarkly_api/api/integrations_api.rb +1 -1
- data/lib/launchdarkly_api/api/projects_api.rb +1 -1
- data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +1 -1
- data/lib/launchdarkly_api/api/root_api.rb +1 -1
- data/lib/launchdarkly_api/api/team_members_api.rb +1 -1
- data/lib/launchdarkly_api/api/user_record_api.rb +87 -0
- data/lib/launchdarkly_api/api/user_segments_api.rb +1 -1
- data/lib/launchdarkly_api/api/user_settings_api.rb +1 -1
- data/lib/launchdarkly_api/api/users_api.rb +1 -65
- data/lib/launchdarkly_api/api/webhooks_api.rb +1 -1
- data/lib/launchdarkly_api/api_client.rb +1 -1
- data/lib/launchdarkly_api/api_error.rb +1 -1
- data/lib/launchdarkly_api/configuration.rb +1 -1
- data/lib/launchdarkly_api/models/{feature_flag_change_request.rb → approval_request.rb} +9 -18
- data/lib/launchdarkly_api/models/{feature_flag_change_request_apply_config_body.rb → approval_request_apply_config_body.rb} +2 -2
- data/lib/launchdarkly_api/models/{feature_flag_change_request_config_body.rb → approval_request_config_body.rb} +2 -2
- data/lib/launchdarkly_api/models/{feature_flag_change_request_review.rb → approval_request_review.rb} +4 -4
- data/lib/launchdarkly_api/models/{feature_flag_change_request_review_config_body.rb → approval_request_review_config_body.rb} +5 -5
- data/lib/launchdarkly_api/models/{feature_flag_change_request_review_status.rb → approval_request_review_status.rb} +4 -4
- data/lib/launchdarkly_api/models/{feature_flag_change_requests.rb → approval_requests.rb} +3 -3
- data/lib/launchdarkly_api/models/audit_log_entries.rb +1 -1
- data/lib/launchdarkly_api/models/audit_log_entry.rb +1 -1
- data/lib/launchdarkly_api/models/audit_log_entry_target.rb +1 -1
- data/lib/launchdarkly_api/models/clause.rb +1 -1
- data/lib/launchdarkly_api/models/client_side_availability.rb +1 -1
- data/lib/launchdarkly_api/models/copy_actions.rb +1 -1
- data/lib/launchdarkly_api/models/custom_property.rb +1 -1
- data/lib/launchdarkly_api/models/custom_property_values.rb +1 -1
- data/lib/launchdarkly_api/models/custom_role.rb +1 -1
- data/lib/launchdarkly_api/models/custom_role_body.rb +1 -1
- data/lib/launchdarkly_api/models/custom_roles.rb +1 -1
- data/lib/launchdarkly_api/models/defaults.rb +1 -1
- data/lib/launchdarkly_api/models/destination.rb +1 -1
- data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +1 -1
- data/lib/launchdarkly_api/models/destination_body.rb +1 -1
- data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +1 -1
- data/lib/launchdarkly_api/models/destination_m_particle.rb +1 -1
- data/lib/launchdarkly_api/models/destination_segment.rb +1 -1
- data/lib/launchdarkly_api/models/destinations.rb +1 -1
- data/lib/launchdarkly_api/models/environment.rb +14 -5
- data/lib/launchdarkly_api/models/environment_approval_settings.rb +259 -0
- data/lib/launchdarkly_api/models/environment_post.rb +1 -1
- data/lib/launchdarkly_api/models/evaluation_usage_error.rb +1 -1
- data/lib/launchdarkly_api/models/events.rb +1 -1
- data/lib/launchdarkly_api/models/fallthrough.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_body.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_config.rb +23 -5
- data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_scheduled_change.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts_instructions.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_status.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flag_statuses.rb +1 -1
- data/lib/launchdarkly_api/models/feature_flags.rb +1 -1
- data/lib/launchdarkly_api/models/flag_config_scheduled_changes_conflicts_body.rb +193 -0
- data/lib/launchdarkly_api/models/flag_config_scheduled_changes_patch_body.rb +193 -0
- data/lib/launchdarkly_api/models/flag_config_scheduled_changes_post_body.rb +203 -0
- data/lib/launchdarkly_api/models/flag_list_item.rb +1 -1
- data/lib/launchdarkly_api/models/hierarchical_links.rb +1 -1
- data/lib/launchdarkly_api/models/id.rb +1 -1
- data/lib/launchdarkly_api/models/integration.rb +1 -1
- data/lib/launchdarkly_api/models/integration__links.rb +1 -1
- data/lib/launchdarkly_api/models/integration_subscription.rb +1 -1
- data/lib/launchdarkly_api/models/integration_subscription__status.rb +1 -1
- data/lib/launchdarkly_api/models/integrations.rb +1 -1
- data/lib/launchdarkly_api/models/link.rb +1 -1
- data/lib/launchdarkly_api/models/links.rb +1 -1
- data/lib/launchdarkly_api/models/ma_uby_category.rb +1 -1
- data/lib/launchdarkly_api/models/mau.rb +1 -1
- data/lib/launchdarkly_api/models/mau_metadata.rb +1 -1
- data/lib/launchdarkly_api/models/member.rb +24 -5
- data/lib/launchdarkly_api/models/member__last_seen_metadata.rb +184 -0
- data/lib/launchdarkly_api/models/members.rb +1 -1
- data/lib/launchdarkly_api/models/members_body.rb +1 -1
- data/lib/launchdarkly_api/models/patch_comment.rb +1 -1
- data/lib/launchdarkly_api/models/patch_operation.rb +1 -1
- data/lib/launchdarkly_api/models/policy.rb +1 -1
- data/lib/launchdarkly_api/models/prerequisite.rb +1 -1
- data/lib/launchdarkly_api/models/project.rb +1 -1
- data/lib/launchdarkly_api/models/project_body.rb +1 -1
- data/lib/launchdarkly_api/models/projects.rb +1 -1
- data/lib/launchdarkly_api/models/relay_proxy_config.rb +1 -1
- data/lib/launchdarkly_api/models/relay_proxy_config_body.rb +1 -1
- data/lib/launchdarkly_api/models/relay_proxy_configs.rb +1 -1
- data/lib/launchdarkly_api/models/role.rb +1 -1
- data/lib/launchdarkly_api/models/rollout.rb +1 -1
- data/lib/launchdarkly_api/models/rule.rb +1 -1
- data/lib/launchdarkly_api/models/scheduled_changes_feature_flag_conflict.rb +1 -1
- data/lib/launchdarkly_api/models/semantic_patch_instruction.rb +1 -1
- data/lib/launchdarkly_api/models/semantic_patch_instruction_inner.rb +1 -1
- data/lib/launchdarkly_api/models/semantic_patch_operation.rb +1 -1
- data/lib/launchdarkly_api/models/site.rb +1 -1
- data/lib/launchdarkly_api/models/statement.rb +1 -1
- data/lib/launchdarkly_api/models/stream.rb +1 -1
- data/lib/launchdarkly_api/models/stream_by_sdk.rb +1 -1
- data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +1 -1
- data/lib/launchdarkly_api/models/stream_by_sdk_links_metadata.rb +1 -1
- data/lib/launchdarkly_api/models/stream_links.rb +1 -1
- data/lib/launchdarkly_api/models/stream_sdk_version.rb +1 -1
- data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +1 -1
- data/lib/launchdarkly_api/models/stream_usage_error.rb +1 -1
- data/lib/launchdarkly_api/models/stream_usage_links.rb +1 -1
- data/lib/launchdarkly_api/models/stream_usage_metadata.rb +1 -1
- data/lib/launchdarkly_api/models/stream_usage_series.rb +1 -1
- data/lib/launchdarkly_api/models/streams.rb +1 -1
- data/lib/launchdarkly_api/models/subscription_body.rb +1 -1
- data/lib/launchdarkly_api/models/target.rb +1 -1
- data/lib/launchdarkly_api/models/token.rb +1 -1
- data/lib/launchdarkly_api/models/token_body.rb +1 -1
- data/lib/launchdarkly_api/models/tokens.rb +1 -1
- data/lib/launchdarkly_api/models/unbounded_segment_target_changes.rb +1 -1
- data/lib/launchdarkly_api/models/unbounded_segment_targets_body.rb +1 -1
- data/lib/launchdarkly_api/models/usage.rb +1 -1
- data/lib/launchdarkly_api/models/usage_error.rb +1 -1
- data/lib/launchdarkly_api/models/usage_links.rb +1 -1
- data/lib/launchdarkly_api/models/user.rb +1 -1
- data/lib/launchdarkly_api/models/user_flag_setting.rb +1 -1
- data/lib/launchdarkly_api/models/user_flag_settings.rb +1 -1
- data/lib/launchdarkly_api/models/user_record.rb +1 -1
- data/lib/launchdarkly_api/models/user_segment.rb +1 -1
- data/lib/launchdarkly_api/models/user_segment_body.rb +1 -1
- data/lib/launchdarkly_api/models/user_segment_rule.rb +1 -1
- data/lib/launchdarkly_api/models/user_segments.rb +1 -1
- data/lib/launchdarkly_api/models/user_settings_body.rb +1 -1
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_flag.rb +1 -1
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +1 -1
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +1 -1
- data/lib/launchdarkly_api/models/user_targeting_expiration_on_flags_for_user.rb +1 -1
- data/lib/launchdarkly_api/models/user_targeting_expiration_resource_id_for_flag.rb +1 -1
- data/lib/launchdarkly_api/models/users.rb +1 -1
- data/lib/launchdarkly_api/models/variation.rb +1 -1
- data/lib/launchdarkly_api/models/webhook.rb +1 -1
- data/lib/launchdarkly_api/models/webhook_body.rb +1 -1
- data/lib/launchdarkly_api/models/webhooks.rb +1 -1
- data/lib/launchdarkly_api/models/weighted_variation.rb +1 -1
- data/lib/launchdarkly_api/version.rb +2 -2
- data/openapi.yml +306 -71
- data/spec/api/access_tokens_api_spec.rb +1 -1
- data/spec/api/audit_log_api_spec.rb +1 -1
- data/spec/api/custom_roles_api_spec.rb +1 -1
- data/spec/api/customer_metrics_api_spec.rb +1 -1
- data/spec/api/data_export_destinations_api_spec.rb +1 -1
- data/spec/api/environments_api_spec.rb +1 -1
- data/spec/api/feature_flags_api_spec.rb +138 -37
- data/spec/api/integrations_api_spec.rb +1 -1
- data/spec/api/projects_api_spec.rb +1 -1
- data/spec/api/relay_proxy_configurations_api_spec.rb +1 -1
- data/spec/api/root_api_spec.rb +1 -1
- data/spec/api/team_members_api_spec.rb +1 -1
- data/spec/api/user_record_api_spec.rb +48 -0
- data/spec/api/user_segments_api_spec.rb +1 -1
- data/spec/api/user_settings_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -14
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/{feature_flag_change_request_apply_config_body_spec.rb → approval_request_apply_config_body_spec.rb} +7 -7
- data/spec/models/{feature_flag_change_request_config_body_spec.rb → approval_request_config_body_spec.rb} +7 -7
- data/spec/models/{feature_flag_change_request_review_config_body_spec.rb → approval_request_review_config_body_spec.rb} +8 -8
- data/spec/models/{feature_flag_change_request_review_spec.rb → approval_request_review_spec.rb} +7 -7
- data/spec/models/{feature_flag_change_request_review_status_spec.rb → approval_request_review_status_spec.rb} +7 -7
- data/spec/models/{feature_flag_change_request_spec.rb → approval_request_spec.rb} +7 -13
- data/spec/models/{feature_flag_change_requests_spec.rb → approval_requests_spec.rb} +7 -7
- data/spec/models/audit_log_entries_spec.rb +1 -1
- data/spec/models/audit_log_entry_spec.rb +1 -1
- data/spec/models/audit_log_entry_target_spec.rb +1 -1
- data/spec/models/clause_spec.rb +1 -1
- data/spec/models/client_side_availability_spec.rb +1 -1
- data/spec/models/copy_actions_spec.rb +1 -1
- data/spec/models/custom_property_spec.rb +1 -1
- data/spec/models/custom_property_values_spec.rb +1 -1
- data/spec/models/custom_role_body_spec.rb +1 -1
- data/spec/models/custom_role_spec.rb +1 -1
- data/spec/models/custom_roles_spec.rb +1 -1
- data/spec/models/defaults_spec.rb +1 -1
- data/spec/models/destination_amazon_kinesis_spec.rb +1 -1
- data/spec/models/destination_body_spec.rb +1 -1
- data/spec/models/destination_google_pub_sub_spec.rb +1 -1
- data/spec/models/destination_m_particle_spec.rb +1 -1
- data/spec/models/destination_segment_spec.rb +1 -1
- data/spec/models/destination_spec.rb +1 -1
- data/spec/models/destinations_spec.rb +1 -1
- data/spec/models/environment_approval_settings_spec.rb +69 -0
- data/spec/models/environment_post_spec.rb +1 -1
- data/spec/models/environment_spec.rb +7 -1
- data/spec/models/evaluation_usage_error_spec.rb +1 -1
- data/spec/models/events_spec.rb +1 -1
- data/spec/models/fallthrough_spec.rb +1 -1
- data/spec/models/feature_flag_body_spec.rb +1 -1
- data/spec/models/feature_flag_config_spec.rb +13 -1
- data/spec/models/feature_flag_copy_body_spec.rb +1 -1
- data/spec/models/feature_flag_copy_object_spec.rb +1 -1
- data/spec/models/feature_flag_scheduled_change_spec.rb +1 -1
- data/spec/models/feature_flag_scheduled_changes_conflicts_instructions_spec.rb +1 -1
- data/spec/models/feature_flag_scheduled_changes_conflicts_spec.rb +1 -1
- data/spec/models/feature_flag_scheduled_changes_spec.rb +1 -1
- data/spec/models/feature_flag_spec.rb +1 -1
- data/spec/models/feature_flag_status_across_environments_spec.rb +1 -1
- data/spec/models/feature_flag_status_for_queried_environment_spec.rb +1 -1
- data/spec/models/feature_flag_status_spec.rb +1 -1
- data/spec/models/feature_flag_statuses_spec.rb +1 -1
- data/spec/models/feature_flags_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/hierarchical_links_spec.rb +1 -1
- data/spec/models/id_spec.rb +1 -1
- data/spec/models/integration__links_spec.rb +1 -1
- data/spec/models/integration_spec.rb +1 -1
- data/spec/models/integration_subscription__status_spec.rb +1 -1
- data/spec/models/integration_subscription_spec.rb +1 -1
- data/spec/models/integrations_spec.rb +1 -1
- data/spec/models/link_spec.rb +1 -1
- data/spec/models/links_spec.rb +1 -1
- data/spec/models/ma_uby_category_spec.rb +1 -1
- data/spec/models/mau_metadata_spec.rb +1 -1
- data/spec/models/mau_spec.rb +1 -1
- data/spec/models/member__last_seen_metadata_spec.rb +41 -0
- data/spec/models/member_spec.rb +13 -1
- data/spec/models/members_body_spec.rb +1 -1
- data/spec/models/members_spec.rb +1 -1
- data/spec/models/patch_comment_spec.rb +1 -1
- data/spec/models/patch_operation_spec.rb +1 -1
- data/spec/models/policy_spec.rb +1 -1
- data/spec/models/prerequisite_spec.rb +1 -1
- data/spec/models/project_body_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/projects_spec.rb +1 -1
- data/spec/models/relay_proxy_config_body_spec.rb +1 -1
- data/spec/models/relay_proxy_config_spec.rb +1 -1
- data/spec/models/relay_proxy_configs_spec.rb +1 -1
- data/spec/models/role_spec.rb +1 -1
- data/spec/models/rollout_spec.rb +1 -1
- data/spec/models/rule_spec.rb +1 -1
- data/spec/models/scheduled_changes_feature_flag_conflict_spec.rb +1 -1
- data/spec/models/semantic_patch_instruction_inner_spec.rb +1 -1
- data/spec/models/semantic_patch_instruction_spec.rb +1 -1
- data/spec/models/semantic_patch_operation_spec.rb +1 -1
- data/spec/models/site_spec.rb +1 -1
- data/spec/models/statement_spec.rb +1 -1
- data/spec/models/stream_by_sdk_links_metadata_spec.rb +1 -1
- data/spec/models/stream_by_sdk_links_spec.rb +1 -1
- data/spec/models/stream_by_sdk_spec.rb +1 -1
- data/spec/models/stream_links_spec.rb +1 -1
- data/spec/models/stream_sdk_version_data_spec.rb +1 -1
- data/spec/models/stream_sdk_version_spec.rb +1 -1
- data/spec/models/stream_spec.rb +1 -1
- data/spec/models/stream_usage_error_spec.rb +1 -1
- data/spec/models/stream_usage_links_spec.rb +1 -1
- data/spec/models/stream_usage_metadata_spec.rb +1 -1
- data/spec/models/stream_usage_series_spec.rb +1 -1
- data/spec/models/streams_spec.rb +1 -1
- data/spec/models/subscription_body_spec.rb +1 -1
- data/spec/models/target_spec.rb +1 -1
- data/spec/models/token_body_spec.rb +1 -1
- data/spec/models/token_spec.rb +1 -1
- data/spec/models/tokens_spec.rb +1 -1
- data/spec/models/unbounded_segment_target_changes_spec.rb +1 -1
- data/spec/models/unbounded_segment_targets_body_spec.rb +1 -1
- data/spec/models/usage_error_spec.rb +1 -1
- data/spec/models/usage_links_spec.rb +1 -1
- data/spec/models/usage_spec.rb +1 -1
- data/spec/models/user_flag_setting_spec.rb +1 -1
- data/spec/models/user_flag_settings_spec.rb +1 -1
- data/spec/models/user_record_spec.rb +1 -1
- data/spec/models/user_segment_body_spec.rb +1 -1
- data/spec/models/user_segment_rule_spec.rb +1 -1
- data/spec/models/user_segment_spec.rb +1 -1
- data/spec/models/user_segments_spec.rb +1 -1
- data/spec/models/user_settings_body_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/user_targeting_expiration_for_flag_spec.rb +1 -1
- data/spec/models/user_targeting_expiration_for_flags_spec.rb +1 -1
- data/spec/models/user_targeting_expiration_for_segment_spec.rb +1 -1
- data/spec/models/user_targeting_expiration_on_flags_for_user_spec.rb +1 -1
- data/spec/models/user_targeting_expiration_resource_id_for_flag_spec.rb +1 -1
- data/spec/models/users_spec.rb +1 -1
- data/spec/models/variation_spec.rb +1 -1
- data/spec/models/webhook_body_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/spec/models/webhooks_spec.rb +1 -1
- data/spec/models/weighted_variation_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +161 -137
- data/docs/FeatureFlagChangeRequest.md +0 -19
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Build custom integrations with the LaunchDarkly REST API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version:
|
|
6
|
+
OpenAPI spec version: 5.0.0
|
|
7
7
|
Contact: support@launchdarkly.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.4.8
|
|
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.8
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module LaunchDarklyApi
|
|
14
|
-
VERSION = '
|
|
14
|
+
VERSION = '5.0.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.0.0
|
|
14
14
|
host: app.launchdarkly.com
|
|
15
15
|
basePath: /api/v2
|
|
16
16
|
schemes:
|
|
@@ -436,10 +436,10 @@ paths:
|
|
|
436
436
|
$ref: '#/responses/Standard409'
|
|
437
437
|
tags:
|
|
438
438
|
- Feature flags
|
|
439
|
-
'/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/
|
|
439
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes':
|
|
440
440
|
get:
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
summary: Get all scheduled workflows for a feature flag by key.
|
|
442
|
+
operationId: getFlagConfigScheduledChanges
|
|
443
443
|
parameters:
|
|
444
444
|
- $ref: '#/parameters/ProjectKey'
|
|
445
445
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
@@ -447,8 +447,8 @@ paths:
|
|
|
447
447
|
responses:
|
|
448
448
|
'200':
|
|
449
449
|
schema:
|
|
450
|
-
$ref: '#/definitions/
|
|
451
|
-
description:
|
|
450
|
+
$ref: '#/definitions/FeatureFlagScheduledChanges'
|
|
451
|
+
description: A list of scheduled changes for feature flag response.
|
|
452
452
|
'401':
|
|
453
453
|
$ref: '#/responses/Standard401'
|
|
454
454
|
'404':
|
|
@@ -456,79 +456,223 @@ paths:
|
|
|
456
456
|
tags:
|
|
457
457
|
- Feature flags
|
|
458
458
|
post:
|
|
459
|
-
|
|
459
|
+
summary: Creates a new scheduled change for a feature flag.
|
|
460
|
+
operationId: postFlagConfigScheduledChanges
|
|
460
461
|
parameters:
|
|
461
462
|
- $ref: '#/parameters/ProjectKey'
|
|
463
|
+
- $ref: '#/parameters/FlagConfigScheduledChangesPostBody'
|
|
462
464
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
463
465
|
- $ref: '#/parameters/EnvironmentKey'
|
|
464
|
-
|
|
466
|
+
responses:
|
|
467
|
+
'201':
|
|
468
|
+
description: A scheduled change for feature flag response.
|
|
469
|
+
schema:
|
|
470
|
+
$ref: '#/definitions/FeatureFlagScheduledChange'
|
|
471
|
+
'400':
|
|
472
|
+
$ref: '#/responses/Standard400'
|
|
473
|
+
'401':
|
|
474
|
+
$ref: '#/responses/Standard401'
|
|
475
|
+
'409':
|
|
476
|
+
$ref: '#/responses/Standard409'
|
|
477
|
+
tags:
|
|
478
|
+
- Feature flags
|
|
479
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes-conflicts':
|
|
480
|
+
post:
|
|
481
|
+
summary: >-
|
|
482
|
+
Lists conflicts between the given instructions and any existing
|
|
483
|
+
scheduled changes for the feature flag. The actual HTTP verb should be
|
|
484
|
+
REPORT, not POST.
|
|
485
|
+
operationId: getFlagConfigScheduledChangesConflicts
|
|
486
|
+
parameters:
|
|
487
|
+
- $ref: '#/parameters/ProjectKey'
|
|
488
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
489
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
490
|
+
- $ref: '#/parameters/FlagConfigScheduledChangesConflictsBody'
|
|
465
491
|
responses:
|
|
466
492
|
'200':
|
|
467
493
|
schema:
|
|
468
|
-
$ref: '#/definitions/
|
|
469
|
-
description:
|
|
494
|
+
$ref: '#/definitions/FeatureFlagScheduledChangesConflicts'
|
|
495
|
+
description: Scheduled changes conflict response
|
|
470
496
|
'401':
|
|
471
497
|
$ref: '#/responses/Standard401'
|
|
472
498
|
'404':
|
|
473
499
|
$ref: '#/responses/Standard404'
|
|
474
500
|
tags:
|
|
475
501
|
- Feature flags
|
|
476
|
-
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/
|
|
502
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{scheduledChangeId}':
|
|
477
503
|
get:
|
|
478
|
-
|
|
479
|
-
|
|
504
|
+
summary: Get a scheduled change on a feature flag by id.
|
|
505
|
+
operationId: getFlagConfigScheduledChange
|
|
506
|
+
parameters:
|
|
507
|
+
- $ref: '#/parameters/ProjectKey'
|
|
508
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
509
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
510
|
+
- $ref: '#/parameters/ScheduledChangeId'
|
|
511
|
+
responses:
|
|
512
|
+
'200':
|
|
513
|
+
schema:
|
|
514
|
+
$ref: '#/definitions/FeatureFlagScheduledChange'
|
|
515
|
+
description: A scheduled change for feature flag response.
|
|
516
|
+
'401':
|
|
517
|
+
$ref: '#/responses/Standard401'
|
|
518
|
+
'404':
|
|
519
|
+
$ref: '#/responses/Standard404'
|
|
520
|
+
tags:
|
|
521
|
+
- Feature flags
|
|
522
|
+
patch:
|
|
523
|
+
summary: >-
|
|
524
|
+
Updates an existing scheduled-change on a feature flag in an
|
|
525
|
+
environment.
|
|
526
|
+
operationId: patchFlagConfigScheduledChange
|
|
527
|
+
parameters:
|
|
528
|
+
- $ref: '#/parameters/ProjectKey'
|
|
529
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
530
|
+
- $ref: '#/parameters/FlagConfigScheduledChangesPatchBody'
|
|
531
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
532
|
+
- $ref: '#/parameters/ScheduledChangeId'
|
|
533
|
+
responses:
|
|
534
|
+
'201':
|
|
535
|
+
description: A Scheduled change for feature flag response.
|
|
536
|
+
schema:
|
|
537
|
+
$ref: '#/definitions/FeatureFlagScheduledChange'
|
|
538
|
+
'400':
|
|
539
|
+
$ref: '#/responses/Standard400'
|
|
540
|
+
'401':
|
|
541
|
+
$ref: '#/responses/Standard401'
|
|
542
|
+
'409':
|
|
543
|
+
$ref: '#/responses/Standard409'
|
|
544
|
+
tags:
|
|
545
|
+
- Feature flags
|
|
546
|
+
delete:
|
|
547
|
+
summary: Delete a scheduled change on a feature flag in an environment.
|
|
548
|
+
operationId: deleteFlagConfigScheduledChanges
|
|
549
|
+
parameters:
|
|
550
|
+
- $ref: '#/parameters/ProjectKey'
|
|
551
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
552
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
553
|
+
- $ref: '#/parameters/ScheduledChangeId'
|
|
554
|
+
responses:
|
|
555
|
+
'204':
|
|
556
|
+
$ref: '#/responses/Standard204'
|
|
557
|
+
'401':
|
|
558
|
+
$ref: '#/responses/Standard401'
|
|
559
|
+
'404':
|
|
560
|
+
$ref: '#/responses/Standard404'
|
|
561
|
+
tags:
|
|
562
|
+
- Feature flags
|
|
563
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests':
|
|
564
|
+
get:
|
|
565
|
+
operationId: getApprovalRequests
|
|
566
|
+
summary: Get all approval requests for a feature flag config
|
|
567
|
+
parameters:
|
|
568
|
+
- $ref: '#/parameters/ProjectKey'
|
|
569
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
570
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
571
|
+
responses:
|
|
572
|
+
'200':
|
|
573
|
+
schema:
|
|
574
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
575
|
+
description: Approval requests response
|
|
576
|
+
'401':
|
|
577
|
+
$ref: '#/responses/Standard401'
|
|
578
|
+
'404':
|
|
579
|
+
$ref: '#/responses/Standard404'
|
|
580
|
+
tags:
|
|
581
|
+
- Feature flags
|
|
582
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}':
|
|
583
|
+
get:
|
|
584
|
+
operationId: getApprovalRequest
|
|
585
|
+
summary: Get a single approval request for a feature flag config
|
|
586
|
+
parameters:
|
|
587
|
+
- $ref: '#/parameters/ProjectKey'
|
|
588
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
589
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
590
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
591
|
+
responses:
|
|
592
|
+
'200':
|
|
593
|
+
schema:
|
|
594
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
595
|
+
description: Approval request response
|
|
596
|
+
'401':
|
|
597
|
+
$ref: '#/responses/Standard401'
|
|
598
|
+
'404':
|
|
599
|
+
$ref: '#/responses/Standard404'
|
|
600
|
+
tags:
|
|
601
|
+
- Feature flags
|
|
602
|
+
post:
|
|
603
|
+
operationId: postApprovalRequest
|
|
604
|
+
summary: Create an approval request for a feature flag config
|
|
480
605
|
parameters:
|
|
481
606
|
- $ref: '#/parameters/ProjectKey'
|
|
482
607
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
483
608
|
- $ref: '#/parameters/EnvironmentKey'
|
|
484
|
-
- $ref: '#/parameters/
|
|
609
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
610
|
+
- $ref: '#/parameters/ApprovalRequestPostRequest'
|
|
485
611
|
responses:
|
|
486
612
|
'200':
|
|
487
613
|
schema:
|
|
488
|
-
$ref: '#/definitions/
|
|
489
|
-
description:
|
|
614
|
+
$ref: '#/definitions/ApprovalRequest'
|
|
615
|
+
description: Approval request response
|
|
490
616
|
'401':
|
|
491
617
|
$ref: '#/responses/Standard401'
|
|
492
618
|
'404':
|
|
493
619
|
$ref: '#/responses/Standard404'
|
|
494
620
|
tags:
|
|
495
621
|
- Feature flags
|
|
496
|
-
|
|
622
|
+
delete:
|
|
623
|
+
operationId: deleteApprovalRequest
|
|
624
|
+
summary: Delete an approval request for a feature flag config
|
|
625
|
+
parameters:
|
|
626
|
+
- $ref: '#/parameters/ProjectKey'
|
|
627
|
+
- $ref: '#/parameters/EnvironmentKey'
|
|
628
|
+
- $ref: '#/parameters/FeatureFlagKey'
|
|
629
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
630
|
+
- $ref: '#/parameters/ApprovalRequestPostRequest'
|
|
631
|
+
responses:
|
|
632
|
+
'204':
|
|
633
|
+
$ref: '#/responses/Standard204'
|
|
634
|
+
'401':
|
|
635
|
+
$ref: '#/responses/Standard401'
|
|
636
|
+
'404':
|
|
637
|
+
$ref: '#/responses/Standard404'
|
|
638
|
+
tags:
|
|
639
|
+
- Feature flags
|
|
640
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/apply':
|
|
497
641
|
post:
|
|
498
|
-
operationId:
|
|
499
|
-
summary: Apply
|
|
642
|
+
operationId: postApplyApprovalRequest
|
|
643
|
+
summary: Apply approval request for a feature flag config
|
|
500
644
|
parameters:
|
|
501
645
|
- $ref: '#/parameters/ProjectKey'
|
|
502
646
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
503
647
|
- $ref: '#/parameters/EnvironmentKey'
|
|
504
|
-
- $ref: '#/parameters/
|
|
505
|
-
- $ref: '#/parameters/
|
|
648
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
649
|
+
- $ref: '#/parameters/ApprovalRequestApplyPostRequest'
|
|
506
650
|
responses:
|
|
507
651
|
'200':
|
|
508
652
|
schema:
|
|
509
|
-
$ref: '#/definitions/
|
|
510
|
-
description:
|
|
653
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
654
|
+
description: Approval request applied response
|
|
511
655
|
'401':
|
|
512
656
|
$ref: '#/responses/Standard401'
|
|
513
657
|
'404':
|
|
514
658
|
$ref: '#/responses/Standard404'
|
|
515
659
|
tags:
|
|
516
660
|
- Feature flags
|
|
517
|
-
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{
|
|
661
|
+
'/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{approvalRequestId}/review':
|
|
518
662
|
post:
|
|
519
|
-
operationId:
|
|
520
|
-
summary: Review
|
|
663
|
+
operationId: postReviewApprovalRequest
|
|
664
|
+
summary: Review approval request for a feature flag config
|
|
521
665
|
parameters:
|
|
522
666
|
- $ref: '#/parameters/ProjectKey'
|
|
523
667
|
- $ref: '#/parameters/FeatureFlagKey'
|
|
524
668
|
- $ref: '#/parameters/EnvironmentKey'
|
|
525
|
-
- $ref: '#/parameters/
|
|
526
|
-
- $ref: '#/parameters/
|
|
669
|
+
- $ref: '#/parameters/ApprovalRequestId'
|
|
670
|
+
- $ref: '#/parameters/ApprovalRequestReviewPostRequest'
|
|
527
671
|
responses:
|
|
528
672
|
'200':
|
|
529
673
|
schema:
|
|
530
|
-
$ref: '#/definitions/
|
|
531
|
-
description:
|
|
674
|
+
$ref: '#/definitions/ApprovalRequests'
|
|
675
|
+
description: Approval request reviewed response
|
|
532
676
|
'401':
|
|
533
677
|
$ref: '#/responses/Standard401'
|
|
534
678
|
'404':
|
|
@@ -749,7 +893,7 @@ paths:
|
|
|
749
893
|
'404':
|
|
750
894
|
$ref: '#/responses/Standard404'
|
|
751
895
|
tags:
|
|
752
|
-
-
|
|
896
|
+
- UserRecord
|
|
753
897
|
delete:
|
|
754
898
|
summary: Delete a user by ID.
|
|
755
899
|
operationId: deleteUser
|
|
@@ -1911,6 +2055,23 @@ definitions:
|
|
|
1911
2055
|
type: array
|
|
1912
2056
|
items:
|
|
1913
2057
|
$ref: '#/definitions/Id'
|
|
2058
|
+
_lastSeen:
|
|
2059
|
+
type: integer
|
|
2060
|
+
format: int64
|
|
2061
|
+
example: 1469326565348
|
|
2062
|
+
description: >-
|
|
2063
|
+
A unix epoch time in milliseconds specifying the last time this member
|
|
2064
|
+
was active in LaunchDarkly.
|
|
2065
|
+
_lastSeenMetadata:
|
|
2066
|
+
type: object
|
|
2067
|
+
properties:
|
|
2068
|
+
tokenId:
|
|
2069
|
+
type: string
|
|
2070
|
+
example: 5fd2a1ee05600316d5cb3e96
|
|
2071
|
+
description: >-
|
|
2072
|
+
If the last time this member accessed LaunchDarkly was using the
|
|
2073
|
+
REST API, this value will be set to the ID of the personal access
|
|
2074
|
+
token used.
|
|
1914
2075
|
Members:
|
|
1915
2076
|
type: object
|
|
1916
2077
|
properties:
|
|
@@ -1968,6 +2129,10 @@ definitions:
|
|
|
1968
2129
|
description: >-
|
|
1969
2130
|
Set to true to send detailed event information when targeting is
|
|
1970
2131
|
enabled but no individual targeting rule is matched.
|
|
2132
|
+
_site:
|
|
2133
|
+
$ref: '#/definitions/Site'
|
|
2134
|
+
_environmentName:
|
|
2135
|
+
type: string
|
|
1971
2136
|
Target:
|
|
1972
2137
|
type: object
|
|
1973
2138
|
properties:
|
|
@@ -2123,7 +2288,7 @@ definitions:
|
|
|
2123
2288
|
reason:
|
|
2124
2289
|
type: string
|
|
2125
2290
|
description: Feature flag scheduled change conflict reason
|
|
2126
|
-
|
|
2291
|
+
ApprovalRequests:
|
|
2127
2292
|
type: object
|
|
2128
2293
|
properties:
|
|
2129
2294
|
_links:
|
|
@@ -2131,8 +2296,8 @@ definitions:
|
|
|
2131
2296
|
items:
|
|
2132
2297
|
type: array
|
|
2133
2298
|
items:
|
|
2134
|
-
$ref: '#/definitions/
|
|
2135
|
-
|
|
2299
|
+
$ref: '#/definitions/ApprovalRequest'
|
|
2300
|
+
ApprovalRequest:
|
|
2136
2301
|
type: object
|
|
2137
2302
|
properties:
|
|
2138
2303
|
_id:
|
|
@@ -2142,13 +2307,13 @@ definitions:
|
|
|
2142
2307
|
creationDate:
|
|
2143
2308
|
type: integer
|
|
2144
2309
|
description: >-
|
|
2145
|
-
A unix epoch time in milliseconds specifying the date the
|
|
2310
|
+
A unix epoch time in milliseconds specifying the date the approval
|
|
2146
2311
|
request was requested
|
|
2147
2312
|
requestorId:
|
|
2148
2313
|
type: string
|
|
2149
2314
|
description: The id of the member that requested the change
|
|
2150
2315
|
reviewStatus:
|
|
2151
|
-
$ref: '#/definitions/
|
|
2316
|
+
$ref: '#/definitions/ApprovalRequestReviewStatus'
|
|
2152
2317
|
status:
|
|
2153
2318
|
type: string
|
|
2154
2319
|
description: >
|
|
@@ -2156,32 +2321,28 @@ definitions:
|
|
|
2156
2321
|
|
|
2157
2322
|
| --------:| ----------- |
|
|
2158
2323
|
|
|
2159
|
-
| pending | the
|
|
2160
|
-
|
|
|
2324
|
+
| pending | the approval request has not been applied yet |
|
|
2161
2325
|
|
|
2162
|
-
| completed| the
|
|
2163
|
-
successfully |
|
|
2326
|
+
| completed| the approval request has been applied successfully |
|
|
2164
2327
|
|
|
2165
|
-
| failed | the
|
|
2166
|
-
|
|
2328
|
+
| failed | the approval request has been applied but the changes
|
|
2329
|
+
were not applied successfully |
|
|
2167
2330
|
enum:
|
|
2168
2331
|
- pending
|
|
2169
2332
|
- completed
|
|
2170
2333
|
- failed
|
|
2171
2334
|
appliedByMemberID:
|
|
2172
2335
|
type: string
|
|
2173
|
-
description: The id of the member that applied the
|
|
2336
|
+
description: The id of the member that applied the approval request
|
|
2174
2337
|
appliedDate:
|
|
2175
2338
|
type: integer
|
|
2176
2339
|
description: >-
|
|
2177
|
-
A unix epoch time in milliseconds specifying the date the
|
|
2340
|
+
A unix epoch time in milliseconds specifying the date the approval
|
|
2178
2341
|
request was applied
|
|
2179
|
-
currentReviewsByMemberId:
|
|
2180
|
-
$ref: '#/definitions/FeatureFlagChangeRequestReview'
|
|
2181
2342
|
allReviews:
|
|
2182
2343
|
type: array
|
|
2183
2344
|
items:
|
|
2184
|
-
$ref: '#/definitions/
|
|
2345
|
+
$ref: '#/definitions/ApprovalRequestReview'
|
|
2185
2346
|
notifyMemberIds:
|
|
2186
2347
|
type: array
|
|
2187
2348
|
items:
|
|
@@ -2191,34 +2352,34 @@ definitions:
|
|
|
2191
2352
|
- memberId2
|
|
2192
2353
|
instructions:
|
|
2193
2354
|
$ref: '#/definitions/SemanticPatchInstruction'
|
|
2194
|
-
|
|
2355
|
+
ApprovalRequestReview:
|
|
2195
2356
|
type: object
|
|
2196
2357
|
properties:
|
|
2197
2358
|
creationDate:
|
|
2198
2359
|
type: integer
|
|
2199
2360
|
description: >-
|
|
2200
|
-
A unix epoch time in milliseconds specifying the date the
|
|
2361
|
+
A unix epoch time in milliseconds specifying the date the approval
|
|
2201
2362
|
request was reviewed
|
|
2202
2363
|
kind:
|
|
2203
|
-
$ref: '#/definitions/
|
|
2364
|
+
$ref: '#/definitions/ApprovalRequestReviewStatus'
|
|
2204
2365
|
memberId:
|
|
2205
2366
|
$ref: '#/definitions/Id'
|
|
2206
2367
|
_id:
|
|
2207
2368
|
$ref: '#/definitions/Id'
|
|
2208
|
-
|
|
2369
|
+
ApprovalRequestReviewStatus:
|
|
2209
2370
|
type: string
|
|
2210
2371
|
description: >
|
|
2211
2372
|
| Name | Description |
|
|
2212
2373
|
|
|
2213
2374
|
| --------:| ----------- |
|
|
2214
2375
|
|
|
2215
|
-
| pending | the
|
|
2376
|
+
| pending | the approval request has not been reviewed yet |
|
|
2216
2377
|
|
|
2217
|
-
| approved | the
|
|
2218
|
-
|
|
2378
|
+
| approved | the approval request has been approved and can now be applied
|
|
2379
|
+
|
|
|
2219
2380
|
|
|
2220
|
-
| declined | the
|
|
2221
|
-
|
|
2381
|
+
| declined | the approval request has been declined and cannot be applied
|
|
2382
|
+
|
|
|
2222
2383
|
enum:
|
|
2223
2384
|
- pending
|
|
2224
2385
|
- approved
|
|
@@ -2684,6 +2845,40 @@ definitions:
|
|
|
2684
2845
|
description: >-
|
|
2685
2846
|
Determines if this environment requires confirmation for flag and
|
|
2686
2847
|
segment changes.
|
|
2848
|
+
approvalSettings:
|
|
2849
|
+
type: object
|
|
2850
|
+
description: >-
|
|
2851
|
+
Approval settings for an environment. Only appears if the approvals
|
|
2852
|
+
feature is enabled.
|
|
2853
|
+
properties:
|
|
2854
|
+
serviceKind:
|
|
2855
|
+
type: string
|
|
2856
|
+
description: The approvals system used.
|
|
2857
|
+
enum:
|
|
2858
|
+
- launchdarkly
|
|
2859
|
+
- service-now
|
|
2860
|
+
required:
|
|
2861
|
+
type: boolean
|
|
2862
|
+
description: >-
|
|
2863
|
+
Whether any changes to flags in this environment will require
|
|
2864
|
+
approval.
|
|
2865
|
+
canReviewOwnRequest:
|
|
2866
|
+
type: boolean
|
|
2867
|
+
description: >-
|
|
2868
|
+
Whether requesters can approve or decline their own request. They
|
|
2869
|
+
may always comment.
|
|
2870
|
+
minNumApprovals:
|
|
2871
|
+
type: integer
|
|
2872
|
+
format: int64
|
|
2873
|
+
description: >-
|
|
2874
|
+
The number of approvals required before an approval request can be
|
|
2875
|
+
applied.
|
|
2876
|
+
example: 2
|
|
2877
|
+
canApplyDeclinedChanges:
|
|
2878
|
+
type: boolean
|
|
2879
|
+
description: >-
|
|
2880
|
+
Whether changes can be applied as long as minNumApprovals is met,
|
|
2881
|
+
regardless of if any reviewers have declined a request.
|
|
2687
2882
|
EnvironmentPost:
|
|
2688
2883
|
type: object
|
|
2689
2884
|
properties:
|
|
@@ -3730,14 +3925,40 @@ parameters:
|
|
|
3730
3925
|
- name
|
|
3731
3926
|
- key
|
|
3732
3927
|
- variations
|
|
3733
|
-
|
|
3734
|
-
name:
|
|
3928
|
+
ScheduledChangeId:
|
|
3929
|
+
name: scheduledChangeId
|
|
3930
|
+
in: path
|
|
3931
|
+
required: true
|
|
3932
|
+
description: The id of the scheduled change
|
|
3933
|
+
type: string
|
|
3934
|
+
FlagConfigScheduledChangesConflictsBody:
|
|
3935
|
+
name: flagConfigScheduledChangesConflictsBody
|
|
3936
|
+
in: body
|
|
3937
|
+
required: true
|
|
3938
|
+
description: >-
|
|
3939
|
+
Used to determine if a semantic patch will result in conflicts with
|
|
3940
|
+
scheduled changes on a feature flag.
|
|
3941
|
+
schema:
|
|
3942
|
+
type: object
|
|
3943
|
+
properties:
|
|
3944
|
+
executionDate:
|
|
3945
|
+
type: integer
|
|
3946
|
+
description: >-
|
|
3947
|
+
A unix epoch time in milliseconds specifying the date the scheduled
|
|
3948
|
+
changes will be applied
|
|
3949
|
+
instructions:
|
|
3950
|
+
$ref: '#/definitions/SemanticPatchInstruction'
|
|
3951
|
+
FlagConfigScheduledChangesPostBody:
|
|
3952
|
+
name: flagConfigScheduledChangesPostBody
|
|
3735
3953
|
in: body
|
|
3736
3954
|
required: true
|
|
3737
3955
|
description: Create scheduled changes on a feature flag.
|
|
3738
3956
|
schema:
|
|
3739
3957
|
type: object
|
|
3740
3958
|
properties:
|
|
3959
|
+
comment:
|
|
3960
|
+
type: string
|
|
3961
|
+
description: Used to describe the scheduled changes.
|
|
3741
3962
|
executionDate:
|
|
3742
3963
|
type: integer
|
|
3743
3964
|
description: >-
|
|
@@ -3745,6 +3966,19 @@ parameters:
|
|
|
3745
3966
|
changes will be applied
|
|
3746
3967
|
instructions:
|
|
3747
3968
|
$ref: '#/definitions/SemanticPatchInstruction'
|
|
3969
|
+
FlagConfigScheduledChangesPatchBody:
|
|
3970
|
+
name: flagConfigScheduledChangesPatchBody
|
|
3971
|
+
in: body
|
|
3972
|
+
required: true
|
|
3973
|
+
description: Update scheduled changes on a feature flag.
|
|
3974
|
+
schema:
|
|
3975
|
+
type: object
|
|
3976
|
+
properties:
|
|
3977
|
+
comment:
|
|
3978
|
+
type: string
|
|
3979
|
+
description: Used to describe the scheduled changes.
|
|
3980
|
+
instructions:
|
|
3981
|
+
$ref: '#/definitions/SemanticPatchInstruction'
|
|
3748
3982
|
DestinationPostRequest:
|
|
3749
3983
|
name: destinationBody
|
|
3750
3984
|
in: body
|
|
@@ -4340,16 +4574,16 @@ parameters:
|
|
|
4340
4574
|
An expiration time for the old relay proxy configuration key, expressed as
|
|
4341
4575
|
a Unix epoch time in milliseconds. By default, the relay proxy
|
|
4342
4576
|
configuration will expire immediately
|
|
4343
|
-
|
|
4344
|
-
name:
|
|
4577
|
+
ApprovalRequestId:
|
|
4578
|
+
name: approvalRequestId
|
|
4345
4579
|
in: path
|
|
4346
4580
|
required: true
|
|
4347
|
-
description: The
|
|
4581
|
+
description: The approval request ID
|
|
4348
4582
|
type: string
|
|
4349
|
-
|
|
4350
|
-
name:
|
|
4583
|
+
ApprovalRequestPostRequest:
|
|
4584
|
+
name: approvalRequestConfigBody
|
|
4351
4585
|
in: body
|
|
4352
|
-
description: Create a new
|
|
4586
|
+
description: Create a new approval request
|
|
4353
4587
|
schema:
|
|
4354
4588
|
type: object
|
|
4355
4589
|
properties:
|
|
@@ -4374,20 +4608,21 @@ parameters:
|
|
|
4374
4608
|
- description
|
|
4375
4609
|
- instructions
|
|
4376
4610
|
- notifyMemberIds
|
|
4377
|
-
|
|
4378
|
-
name:
|
|
4611
|
+
ApprovalRequestReviewPostRequest:
|
|
4612
|
+
name: approvalRequestReviewConfigBody
|
|
4379
4613
|
in: body
|
|
4380
4614
|
required: true
|
|
4381
|
-
description: Review
|
|
4615
|
+
description: Review an approval request
|
|
4382
4616
|
schema:
|
|
4383
4617
|
type: object
|
|
4384
4618
|
properties:
|
|
4385
4619
|
kind:
|
|
4386
4620
|
type: string
|
|
4387
|
-
description:
|
|
4621
|
+
description: 'One of approve, decline, or comment.'
|
|
4388
4622
|
enum:
|
|
4389
4623
|
- approve
|
|
4390
4624
|
- decline
|
|
4625
|
+
- comment
|
|
4391
4626
|
example: approve
|
|
4392
4627
|
comment:
|
|
4393
4628
|
type: string
|
|
@@ -4395,11 +4630,11 @@ parameters:
|
|
|
4395
4630
|
example: This is a comment string
|
|
4396
4631
|
required:
|
|
4397
4632
|
- kind
|
|
4398
|
-
|
|
4399
|
-
name:
|
|
4633
|
+
ApprovalRequestApplyPostRequest:
|
|
4634
|
+
name: approvalRequestApplyConfigBody
|
|
4400
4635
|
in: body
|
|
4401
4636
|
required: true
|
|
4402
|
-
description: Apply
|
|
4637
|
+
description: Apply an approval request
|
|
4403
4638
|
schema:
|
|
4404
4639
|
type: object
|
|
4405
4640
|
properties:
|