launchdarkly_api 3.3.1 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +198 -168
- data/docs/AccessTokensApi.md +333 -0
- data/docs/AuditLogApi.md +4 -4
- data/docs/ClientSideAvailability.md +9 -0
- data/docs/EnvironmentsApi.md +120 -0
- data/docs/FeatureFlag.md +3 -2
- data/docs/FeatureFlagBody.md +1 -0
- data/docs/FeatureFlagScheduledChange.md +11 -0
- data/docs/FeatureFlagScheduledChanges.md +9 -0
- data/docs/FeatureFlagScheduledChangesConflicts.md +8 -0
- data/docs/FeatureFlagScheduledChangesConflictsInstructions.md +9 -0
- data/docs/FeatureFlagsApi.md +2 -2
- data/docs/Project.md +1 -0
- data/docs/ProjectBody.md +1 -0
- data/docs/RelayProxyConfig.md +15 -0
- data/docs/RelayProxyConfigBody.md +9 -0
- data/docs/RelayProxyConfigs.md +8 -0
- data/docs/RelayProxyConfigurationsApi.md +326 -0
- data/docs/ScheduledChangesFeatureFlagConflict.md +9 -0
- data/docs/SemanticPatchInstruction.md +7 -0
- data/docs/{SemanticPatchOperationInstructions.md → SemanticPatchInstructionInner.md} +1 -1
- data/docs/SemanticPatchOperation.md +1 -1
- data/docs/StreamUsageSeries.md +2 -2
- data/docs/Token.md +22 -0
- data/docs/TokenBody.md +13 -0
- data/docs/Tokens.md +9 -0
- data/docs/UnboundedSegmentTargetChanges.md +9 -0
- data/docs/UnboundedSegmentTargetsBody.md +9 -0
- data/docs/UserSegment.md +2 -1
- data/docs/UserSegmentBody.md +1 -0
- data/docs/UserSegmentsApi.md +61 -0
- data/docs/UserTargetingExpirationForFlag.md +1 -1
- data/docs/UserTargetingExpirationForSegment.md +1 -1
- data/docs/UsersApi.md +2 -2
- data/launchdarkly_api.gemspec +1 -1
- data/lib/launchdarkly_api.rb +19 -2
- data/lib/launchdarkly_api/api/access_tokens_api.rb +340 -0
- data/lib/launchdarkly_api/api/audit_log_api.rb +5 -5
- 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 +123 -1
- data/lib/launchdarkly_api/api/feature_flags_api.rb +3 -3
- data/lib/launchdarkly_api/api/projects_api.rb +1 -1
- data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +337 -0
- 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_segments_api.rb +70 -1
- data/lib/launchdarkly_api/api/user_settings_api.rb +1 -1
- data/lib/launchdarkly_api/api/users_api.rb +3 -3
- 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/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 +194 -0
- 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 +1 -1
- 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 +13 -4
- data/lib/launchdarkly_api/models/feature_flag_body.rb +11 -2
- data/lib/launchdarkly_api/models/feature_flag_config.rb +1 -1
- 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 +211 -0
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +194 -0
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts.rb +185 -0
- data/lib/launchdarkly_api/models/feature_flag_scheduled_changes_conflicts_instructions.rb +195 -0
- 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_list_item.rb +1 -1
- data/lib/launchdarkly_api/models/id.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 +1 -1
- 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 +14 -5
- data/lib/launchdarkly_api/models/project_body.rb +14 -5
- data/lib/launchdarkly_api/models/projects.rb +1 -1
- data/lib/launchdarkly_api/models/relay_proxy_config.rb +288 -0
- data/lib/launchdarkly_api/models/relay_proxy_config_body.rb +195 -0
- data/lib/launchdarkly_api/models/relay_proxy_configs.rb +185 -0
- 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 +194 -0
- data/lib/launchdarkly_api/models/semantic_patch_instruction.rb +174 -0
- data/lib/launchdarkly_api/models/{semantic_patch_operation_instructions.rb → semantic_patch_instruction_inner.rb} +2 -2
- data/lib/launchdarkly_api/models/semantic_patch_operation.rb +3 -5
- 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 +3 -3
- data/lib/launchdarkly_api/models/streams.rb +1 -1
- data/lib/launchdarkly_api/models/target.rb +1 -1
- data/lib/launchdarkly_api/models/token.rb +322 -0
- data/lib/launchdarkly_api/models/token_body.rb +237 -0
- data/lib/launchdarkly_api/models/tokens.rb +194 -0
- data/lib/launchdarkly_api/models/unbounded_segment_target_changes.rb +198 -0
- data/lib/launchdarkly_api/models/unbounded_segment_targets_body.rb +192 -0
- 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 +13 -3
- data/lib/launchdarkly_api/models/user_segment_body.rb +12 -2
- 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 +2 -2
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_flags.rb +1 -1
- data/lib/launchdarkly_api/models/user_targeting_expiration_for_segment.rb +2 -2
- 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 +639 -23
- data/spec/api/access_tokens_api_spec.rb +103 -0
- data/spec/api/audit_log_api_spec.rb +3 -3
- 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 +27 -1
- data/spec/api/feature_flags_api_spec.rb +2 -2
- data/spec/api/projects_api_spec.rb +1 -1
- data/spec/api/relay_proxy_configurations_api_spec.rb +102 -0
- data/spec/api/root_api_spec.rb +1 -1
- data/spec/api/team_members_api_spec.rb +1 -1
- data/spec/api/user_segments_api_spec.rb +15 -1
- data/spec/api/user_settings_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +2 -2
- 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/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 +47 -0
- 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_post_spec.rb +1 -1
- data/spec/models/environment_spec.rb +1 -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 +7 -1
- data/spec/models/feature_flag_config_spec.rb +1 -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 +59 -0
- data/spec/models/feature_flag_scheduled_changes_conflicts_instructions_spec.rb +47 -0
- data/spec/models/feature_flag_scheduled_changes_conflicts_spec.rb +41 -0
- data/spec/models/feature_flag_scheduled_changes_spec.rb +47 -0
- data/spec/models/feature_flag_spec.rb +7 -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_list_item_spec.rb +1 -1
- data/spec/models/id_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_spec.rb +1 -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 +7 -1
- data/spec/models/project_spec.rb +7 -1
- data/spec/models/projects_spec.rb +1 -1
- data/spec/models/relay_proxy_config_body_spec.rb +47 -0
- data/spec/models/relay_proxy_config_spec.rb +83 -0
- data/spec/models/relay_proxy_configs_spec.rb +41 -0
- 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 +47 -0
- data/spec/models/{semantic_patch_operation_instructions_spec.rb → semantic_patch_instruction_inner_spec.rb} +7 -7
- data/spec/models/semantic_patch_instruction_spec.rb +35 -0
- 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/target_spec.rb +1 -1
- data/spec/models/token_body_spec.rb +71 -0
- data/spec/models/token_spec.rb +125 -0
- data/spec/models/tokens_spec.rb +47 -0
- data/spec/models/unbounded_segment_target_changes_spec.rb +47 -0
- data/spec/models/unbounded_segment_targets_body_spec.rb +47 -0
- 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 +7 -1
- data/spec/models/user_segment_rule_spec.rb +1 -1
- data/spec/models/user_segment_spec.rb +7 -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 +160 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9760d202bc1cc11a4d158875a973f857023c49babc61e9fb1b2c00ee8f515183
|
4
|
+
data.tar.gz: 88d3cdf6ac598199538e2a988ab8e2dd89b0209fa47ffee09ddcdd60f95522c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a97ce13b273c60581d7020bc74e0b7cdea30df8a06cda00f6290df2c66ed024f159fbcf19f576c99d7a46b08c9a4b04aa4a534d35a68179fee4f8e318cb5a50
|
7
|
+
data.tar.gz: 0c0d8a848fa2836c345b07a439deef6d589bd4420f2d2873192c0678ad1340e4e69ca95ad0dfd933fc217eca5f1213877313b3bb45a904f764c4a070f99306e7
|
data/README.md
CHANGED
@@ -11,8 +11,8 @@ Build custom integrations with the LaunchDarkly REST API
|
|
11
11
|
|
12
12
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
13
13
|
|
14
|
-
- API version: 3.
|
15
|
-
- Package version: 3.
|
14
|
+
- API version: 3.7.0
|
15
|
+
- Package version: 3.7.0
|
16
16
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
17
17
|
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
|
18
18
|
|
@@ -29,15 +29,15 @@ gem build launchdarkly_api.gemspec
|
|
29
29
|
Then either install the gem locally:
|
30
30
|
|
31
31
|
```shell
|
32
|
-
gem install ./launchdarkly_api-3.
|
32
|
+
gem install ./launchdarkly_api-3.7.0.gem
|
33
33
|
```
|
34
|
-
(for development, run `gem install --dev ./launchdarkly_api-3.
|
34
|
+
(for development, run `gem install --dev ./launchdarkly_api-3.7.0.gem` to install the development dependencies)
|
35
35
|
|
36
36
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
37
37
|
|
38
38
|
Finally add this to the Gemfile:
|
39
39
|
|
40
|
-
gem 'launchdarkly_api', '~> 3.
|
40
|
+
gem 'launchdarkly_api', '~> 3.7.0'
|
41
41
|
|
42
42
|
### Install from Git
|
43
43
|
|
@@ -63,173 +63,203 @@ All URIs are relative to *https://app.launchdarkly.com/api/v2*
|
|
63
63
|
|
64
64
|
Class | Method | HTTP request | Description
|
65
65
|
------------ | ------------- | ------------- | -------------
|
66
|
-
*LaunchDarklyApi::
|
67
|
-
*LaunchDarklyApi::
|
68
|
-
*LaunchDarklyApi::
|
69
|
-
*LaunchDarklyApi::
|
70
|
-
*LaunchDarklyApi::
|
71
|
-
*LaunchDarklyApi::
|
72
|
-
*LaunchDarklyApi::
|
73
|
-
*LaunchDarklyApi::
|
74
|
-
*LaunchDarklyApi::
|
75
|
-
*LaunchDarklyApi::
|
76
|
-
*LaunchDarklyApi::
|
77
|
-
*LaunchDarklyApi::
|
78
|
-
*LaunchDarklyApi::
|
79
|
-
*LaunchDarklyApi::CustomerMetricsApi* | [**
|
80
|
-
*LaunchDarklyApi::CustomerMetricsApi* | [**
|
81
|
-
*LaunchDarklyApi::CustomerMetricsApi* | [**
|
82
|
-
*LaunchDarklyApi::CustomerMetricsApi* | [**
|
83
|
-
*LaunchDarklyApi::
|
84
|
-
*LaunchDarklyApi::
|
85
|
-
*LaunchDarklyApi::
|
86
|
-
*LaunchDarklyApi::
|
87
|
-
*LaunchDarklyApi::
|
88
|
-
*LaunchDarklyApi::
|
89
|
-
*LaunchDarklyApi::
|
90
|
-
*LaunchDarklyApi::
|
91
|
-
*LaunchDarklyApi::
|
92
|
-
*LaunchDarklyApi::
|
93
|
-
*LaunchDarklyApi::
|
94
|
-
*LaunchDarklyApi::
|
95
|
-
*LaunchDarklyApi::
|
96
|
-
*LaunchDarklyApi::
|
97
|
-
*LaunchDarklyApi::
|
98
|
-
*LaunchDarklyApi::
|
99
|
-
*LaunchDarklyApi::
|
100
|
-
*LaunchDarklyApi::FeatureFlagsApi* | [**
|
101
|
-
*LaunchDarklyApi::FeatureFlagsApi* | [**
|
102
|
-
*LaunchDarklyApi::FeatureFlagsApi* | [**
|
103
|
-
*LaunchDarklyApi::
|
104
|
-
*LaunchDarklyApi::
|
105
|
-
*LaunchDarklyApi::
|
106
|
-
*LaunchDarklyApi::
|
107
|
-
*LaunchDarklyApi::
|
108
|
-
*LaunchDarklyApi::
|
109
|
-
*LaunchDarklyApi::
|
110
|
-
*LaunchDarklyApi::
|
111
|
-
*LaunchDarklyApi::
|
112
|
-
*LaunchDarklyApi::
|
113
|
-
*LaunchDarklyApi::
|
114
|
-
*LaunchDarklyApi::
|
115
|
-
*LaunchDarklyApi::
|
116
|
-
*LaunchDarklyApi::
|
117
|
-
*LaunchDarklyApi::
|
118
|
-
*LaunchDarklyApi::
|
119
|
-
*LaunchDarklyApi::
|
120
|
-
*LaunchDarklyApi::
|
121
|
-
*LaunchDarklyApi::
|
122
|
-
*LaunchDarklyApi::
|
123
|
-
*LaunchDarklyApi::
|
124
|
-
*LaunchDarklyApi::
|
125
|
-
*LaunchDarklyApi::
|
126
|
-
*LaunchDarklyApi::
|
127
|
-
*LaunchDarklyApi::
|
128
|
-
*LaunchDarklyApi::
|
129
|
-
*LaunchDarklyApi::
|
130
|
-
*LaunchDarklyApi::
|
131
|
-
*LaunchDarklyApi::
|
132
|
-
*LaunchDarklyApi::
|
133
|
-
*LaunchDarklyApi::
|
134
|
-
*LaunchDarklyApi::
|
135
|
-
*LaunchDarklyApi::
|
66
|
+
*LaunchDarklyApi::AccessTokensApi* | [**delete_token**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AccessTokensApi.md#delete_token) | **DELETE** /tokens/{tokenId} | Delete an access token by ID.
|
67
|
+
*LaunchDarklyApi::AccessTokensApi* | [**get_token**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AccessTokensApi.md#get_token) | **GET** /tokens/{tokenId} | Get a single access token by ID.
|
68
|
+
*LaunchDarklyApi::AccessTokensApi* | [**get_tokens**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AccessTokensApi.md#get_tokens) | **GET** /tokens | Returns a list of tokens in the account.
|
69
|
+
*LaunchDarklyApi::AccessTokensApi* | [**patch_token**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access token by ID.
|
70
|
+
*LaunchDarklyApi::AccessTokensApi* | [**post_token**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AccessTokensApi.md#post_token) | **POST** /tokens | Create a new token.
|
71
|
+
*LaunchDarklyApi::AccessTokensApi* | [**reset_token**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AccessTokensApi.md#reset_token) | **POST** /tokens/{tokenId}/reset | Reset an access token's secret key with an optional expiry time for the old key.
|
72
|
+
*LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AuditLogApi.md#get_audit_log_entries) | **GET** /auditlog | Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.
|
73
|
+
*LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AuditLogApi.md#get_audit_log_entry) | **GET** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
|
74
|
+
*LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
|
75
|
+
*LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
|
76
|
+
*LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
|
77
|
+
*LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
|
78
|
+
*LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
|
79
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_evaluations**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_evaluations) | **GET** /usage/evaluations/{envId}/{flagKey} | Get events usage by event id and the feature flag key.
|
80
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_event**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_event) | **GET** /usage/events/{type} | Get events usage by event type.
|
81
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_events**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_events) | **GET** /usage/events | Get events usage endpoints.
|
82
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_mau**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_mau) | **GET** /usage/mau | Get monthly active user data.
|
83
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_mau_by_category**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_mau_by_category) | **GET** /usage/mau/bycategory | Get monthly active user data by category.
|
84
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_stream**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_stream) | **GET** /usage/streams/{source} | Get a stream endpoint and return timeseries data.
|
85
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_by_sdk**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_stream_by_sdk) | **GET** /usage/streams/{source}/bysdkversion | Get a stream timeseries data by source show sdk version metadata.
|
86
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_sdk_version**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_stream_sdk_version) | **GET** /usage/streams/{source}/sdkversions | Get a stream timeseries data by source and show all sdk version associated.
|
87
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_streams**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_streams) | **GET** /usage/streams | Returns a list of all streams.
|
88
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_usage**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomerMetricsApi.md#get_usage) | **GET** /usage | Returns of the usage endpoints available.
|
89
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**delete_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DataExportDestinationsApi.md#delete_destination) | **DELETE** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
|
90
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**get_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DataExportDestinationsApi.md#get_destination) | **GET** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
|
91
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**get_destinations**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DataExportDestinationsApi.md#get_destinations) | **GET** /destinations | Returns a list of all data export destinations.
|
92
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**patch_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DataExportDestinationsApi.md#patch_destination) | **PATCH** /destinations/{projectKey}/{environmentKey}/{destinationId} | Perform a partial update to a data export destination.
|
93
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**post_destination**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DataExportDestinationsApi.md#post_destination) | **POST** /destinations/{projectKey}/{environmentKey} | Create a new data export destination
|
94
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentsApi.md#delete_environment) | **DELETE** /projects/{projectKey}/environments/{environmentKey} | Delete an environment in a specific project.
|
95
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
|
96
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
|
97
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
|
98
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**reset_environment_mobile_key**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key with an optional expiry time for the old key.
|
99
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**reset_environment_sdk_key**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentsApi.md#reset_environment_sdk_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/apiKey | Reset an environment's SDK key with an optional expiry time for the old key.
|
100
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**copy_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#copy_feature_flag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
|
101
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
|
102
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_expiring_user_targets**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
|
103
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
|
104
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
|
105
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status_across_environments**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
|
106
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#get_feature_flag_statuses) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
|
107
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
|
108
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**patch_expiring_user_targets**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#patch_expiring_user_targets) | **PATCH** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on feature flag
|
109
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
|
110
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
|
111
|
+
*LaunchDarklyApi::ProjectsApi* | [**delete_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ProjectsApi.md#delete_project) | **DELETE** /projects/{projectKey} | Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.
|
112
|
+
*LaunchDarklyApi::ProjectsApi* | [**get_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ProjectsApi.md#get_project) | **GET** /projects/{projectKey} | Fetch a single project by key.
|
113
|
+
*LaunchDarklyApi::ProjectsApi* | [**get_projects**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
|
114
|
+
*LaunchDarklyApi::ProjectsApi* | [**patch_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
|
115
|
+
*LaunchDarklyApi::ProjectsApi* | [**post_project**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
|
116
|
+
*LaunchDarklyApi::RelayProxyConfigurationsApi* | [**delete_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigurationsApi.md#delete_relay_proxy_config) | **DELETE** /account/relay-auto-configs/{id} | Delete a relay proxy configuration by ID.
|
117
|
+
*LaunchDarklyApi::RelayProxyConfigurationsApi* | [**get_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigurationsApi.md#get_relay_proxy_config) | **GET** /account/relay-auto-configs/{id} | Get a single relay proxy configuration by ID.
|
118
|
+
*LaunchDarklyApi::RelayProxyConfigurationsApi* | [**get_relay_proxy_configs**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigurationsApi.md#get_relay_proxy_configs) | **GET** /account/relay-auto-configs | Returns a list of relay proxy configurations in the account.
|
119
|
+
*LaunchDarklyApi::RelayProxyConfigurationsApi* | [**patch_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigurationsApi.md#patch_relay_proxy_config) | **PATCH** /account/relay-auto-configs/{id} | Modify a relay proxy configuration by ID.
|
120
|
+
*LaunchDarklyApi::RelayProxyConfigurationsApi* | [**post_relay_auto_config**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigurationsApi.md#post_relay_auto_config) | **POST** /account/relay-auto-configs | Create a new relay proxy config.
|
121
|
+
*LaunchDarklyApi::RelayProxyConfigurationsApi* | [**reset_relay_proxy_config**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigurationsApi.md#reset_relay_proxy_config) | **POST** /account/relay-auto-configs/{id}/reset | Reset a relay proxy configuration's secret key with an optional expiry time for the old key.
|
122
|
+
*LaunchDarklyApi::RootApi* | [**get_root**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RootApi.md#get_root) | **GET** / |
|
123
|
+
*LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
|
124
|
+
*LaunchDarklyApi::TeamMembersApi* | [**get_me**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TeamMembersApi.md#get_me) | **GET** /members/me | Get the current team member associated with the token
|
125
|
+
*LaunchDarklyApi::TeamMembersApi* | [**get_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
|
126
|
+
*LaunchDarklyApi::TeamMembersApi* | [**get_members**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
|
127
|
+
*LaunchDarklyApi::TeamMembersApi* | [**patch_member**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
|
128
|
+
*LaunchDarklyApi::TeamMembersApi* | [**post_members**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
|
129
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
|
130
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**get_expiring_user_targets_on_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#get_expiring_user_targets_on_segment) | **GET** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for user segment
|
131
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
|
132
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
|
133
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**patch_expiring_user_targets_on_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#patch_expiring_user_targets_on_segment) | **PATCH** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on user segment
|
134
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
|
135
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
|
136
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**updated_unbounded_segment_targets**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentsApi.md#updated_unbounded_segment_targets) | **POST** /segments/{projectKey}/{environmentKey}/{userSegmentKey}/unbounded-users | Update targets included or excluded in an unbounded segment
|
137
|
+
*LaunchDarklyApi::UserSettingsApi* | [**get_expiring_user_targets_for_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSettingsApi.md#get_expiring_user_targets_for_user) | **GET** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Get expiring dates on flags for user
|
138
|
+
*LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
|
139
|
+
*LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
|
140
|
+
*LaunchDarklyApi::UserSettingsApi* | [**patch_expiring_user_targets_for_flags**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSettingsApi.md#patch_expiring_user_targets_for_flags) | **PATCH** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets for a single user on all flags
|
141
|
+
*LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSettingsApi.md#put_flag_setting) | **PUT** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Specifically enable or disable a feature flag for a user based on their key.
|
142
|
+
*LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
|
143
|
+
*LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UsersApi.md#get_search_users) | **GET** /user-search/{projectKey}/{environmentKey} | Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.
|
144
|
+
*LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
|
145
|
+
*LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UsersApi.md#get_users) | **GET** /users/{projectKey}/{environmentKey} | List all users in the environment. Includes the total count of users. In each page, there will be up to 'limit' users returned (default 20). This is useful for exporting all users in the system for further analysis. Paginated collections will include a next link containing a URL with the next set of elements in the collection.
|
146
|
+
*LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
|
147
|
+
*LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
|
148
|
+
*LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
|
149
|
+
*LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
|
150
|
+
*LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
|
136
151
|
|
137
152
|
|
138
153
|
## Documentation for Models
|
139
154
|
|
140
|
-
- [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/3.
|
141
|
-
- [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/3.
|
142
|
-
- [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/3.
|
143
|
-
- [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/3.
|
144
|
-
- [LaunchDarklyApi::
|
145
|
-
- [LaunchDarklyApi::
|
146
|
-
- [LaunchDarklyApi::
|
147
|
-
- [LaunchDarklyApi::
|
148
|
-
- [LaunchDarklyApi::
|
149
|
-
- [LaunchDarklyApi::
|
150
|
-
- [LaunchDarklyApi::
|
151
|
-
- [LaunchDarklyApi::
|
152
|
-
- [LaunchDarklyApi::
|
153
|
-
- [LaunchDarklyApi::
|
154
|
-
- [LaunchDarklyApi::
|
155
|
-
- [LaunchDarklyApi::
|
156
|
-
- [LaunchDarklyApi::
|
157
|
-
- [LaunchDarklyApi::
|
158
|
-
- [LaunchDarklyApi::
|
159
|
-
- [LaunchDarklyApi::
|
160
|
-
- [LaunchDarklyApi::
|
161
|
-
- [LaunchDarklyApi::
|
162
|
-
- [LaunchDarklyApi::
|
163
|
-
- [LaunchDarklyApi::
|
164
|
-
- [LaunchDarklyApi::
|
165
|
-
- [LaunchDarklyApi::
|
166
|
-
- [LaunchDarklyApi::
|
167
|
-
- [LaunchDarklyApi::
|
168
|
-
- [LaunchDarklyApi::
|
169
|
-
- [LaunchDarklyApi::
|
170
|
-
- [LaunchDarklyApi::
|
171
|
-
- [LaunchDarklyApi::
|
172
|
-
- [LaunchDarklyApi::
|
173
|
-
- [LaunchDarklyApi::
|
174
|
-
- [LaunchDarklyApi::
|
175
|
-
- [LaunchDarklyApi::
|
176
|
-
- [LaunchDarklyApi::
|
177
|
-
- [LaunchDarklyApi::
|
178
|
-
- [LaunchDarklyApi::
|
179
|
-
- [LaunchDarklyApi::
|
180
|
-
- [LaunchDarklyApi::
|
181
|
-
- [LaunchDarklyApi::
|
182
|
-
- [LaunchDarklyApi::
|
183
|
-
- [LaunchDarklyApi::
|
184
|
-
- [LaunchDarklyApi::
|
185
|
-
- [LaunchDarklyApi::
|
186
|
-
- [LaunchDarklyApi::
|
187
|
-
- [LaunchDarklyApi::
|
188
|
-
- [LaunchDarklyApi::
|
189
|
-
- [LaunchDarklyApi::
|
190
|
-
- [LaunchDarklyApi::
|
191
|
-
- [LaunchDarklyApi::
|
192
|
-
- [LaunchDarklyApi::
|
193
|
-
- [LaunchDarklyApi::
|
194
|
-
- [LaunchDarklyApi::
|
195
|
-
- [LaunchDarklyApi::
|
196
|
-
- [LaunchDarklyApi::
|
197
|
-
- [LaunchDarklyApi::
|
198
|
-
- [LaunchDarklyApi::
|
199
|
-
- [LaunchDarklyApi::
|
200
|
-
- [LaunchDarklyApi::
|
201
|
-
- [LaunchDarklyApi::
|
202
|
-
- [LaunchDarklyApi::
|
203
|
-
- [LaunchDarklyApi::
|
204
|
-
- [LaunchDarklyApi::
|
205
|
-
- [LaunchDarklyApi::
|
206
|
-
- [LaunchDarklyApi::
|
207
|
-
- [LaunchDarklyApi::
|
208
|
-
- [LaunchDarklyApi::
|
209
|
-
- [LaunchDarklyApi::
|
210
|
-
- [LaunchDarklyApi::
|
211
|
-
- [LaunchDarklyApi::
|
212
|
-
- [LaunchDarklyApi::
|
213
|
-
- [LaunchDarklyApi::
|
214
|
-
- [LaunchDarklyApi::
|
215
|
-
- [LaunchDarklyApi::
|
216
|
-
- [LaunchDarklyApi::
|
217
|
-
- [LaunchDarklyApi::
|
218
|
-
- [LaunchDarklyApi::
|
219
|
-
- [LaunchDarklyApi::
|
220
|
-
- [LaunchDarklyApi::
|
221
|
-
- [LaunchDarklyApi::
|
222
|
-
- [LaunchDarklyApi::
|
223
|
-
- [LaunchDarklyApi::
|
224
|
-
- [LaunchDarklyApi::
|
225
|
-
- [LaunchDarklyApi::
|
226
|
-
- [LaunchDarklyApi::
|
227
|
-
- [LaunchDarklyApi::
|
228
|
-
- [LaunchDarklyApi::
|
229
|
-
- [LaunchDarklyApi::
|
230
|
-
- [LaunchDarklyApi::
|
231
|
-
- [LaunchDarklyApi::
|
232
|
-
- [LaunchDarklyApi::
|
155
|
+
- [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AuditLogEntries.md)
|
156
|
+
- [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AuditLogEntry.md)
|
157
|
+
- [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/AuditLogEntryTarget.md)
|
158
|
+
- [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Clause.md)
|
159
|
+
- [LaunchDarklyApi::ClientSideAvailability](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ClientSideAvailability.md)
|
160
|
+
- [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CopyActions.md)
|
161
|
+
- [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomProperty.md)
|
162
|
+
- [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomPropertyValues.md)
|
163
|
+
- [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRole.md)
|
164
|
+
- [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRoleBody.md)
|
165
|
+
- [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/CustomRoles.md)
|
166
|
+
- [LaunchDarklyApi::Defaults](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Defaults.md)
|
167
|
+
- [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Destination.md)
|
168
|
+
- [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DestinationAmazonKinesis.md)
|
169
|
+
- [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DestinationBody.md)
|
170
|
+
- [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DestinationGooglePubSub.md)
|
171
|
+
- [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DestinationMParticle.md)
|
172
|
+
- [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/DestinationSegment.md)
|
173
|
+
- [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Destinations.md)
|
174
|
+
- [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Environment.md)
|
175
|
+
- [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EnvironmentPost.md)
|
176
|
+
- [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/EvaluationUsageError.md)
|
177
|
+
- [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Events.md)
|
178
|
+
- [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Fallthrough.md)
|
179
|
+
- [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlag.md)
|
180
|
+
- [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagBody.md)
|
181
|
+
- [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagConfig.md)
|
182
|
+
- [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagCopyBody.md)
|
183
|
+
- [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagCopyObject.md)
|
184
|
+
- [LaunchDarklyApi::FeatureFlagScheduledChange](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagScheduledChange.md)
|
185
|
+
- [LaunchDarklyApi::FeatureFlagScheduledChanges](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagScheduledChanges.md)
|
186
|
+
- [LaunchDarklyApi::FeatureFlagScheduledChangesConflicts](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagScheduledChangesConflicts.md)
|
187
|
+
- [LaunchDarklyApi::FeatureFlagScheduledChangesConflictsInstructions](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagScheduledChangesConflictsInstructions.md)
|
188
|
+
- [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagStatus.md)
|
189
|
+
- [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagStatusAcrossEnvironments.md)
|
190
|
+
- [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagStatusForQueriedEnvironment.md)
|
191
|
+
- [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlagStatuses.md)
|
192
|
+
- [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FeatureFlags.md)
|
193
|
+
- [LaunchDarklyApi::FlagListItem](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/FlagListItem.md)
|
194
|
+
- [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Id.md)
|
195
|
+
- [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Link.md)
|
196
|
+
- [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Links.md)
|
197
|
+
- [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/MAU.md)
|
198
|
+
- [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/MAUMetadata.md)
|
199
|
+
- [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/MAUbyCategory.md)
|
200
|
+
- [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Member.md)
|
201
|
+
- [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Members.md)
|
202
|
+
- [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/MembersBody.md)
|
203
|
+
- [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/PatchComment.md)
|
204
|
+
- [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/PatchOperation.md)
|
205
|
+
- [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Policy.md)
|
206
|
+
- [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Prerequisite.md)
|
207
|
+
- [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Project.md)
|
208
|
+
- [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ProjectBody.md)
|
209
|
+
- [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Projects.md)
|
210
|
+
- [LaunchDarklyApi::RelayProxyConfig](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfig.md)
|
211
|
+
- [LaunchDarklyApi::RelayProxyConfigBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigBody.md)
|
212
|
+
- [LaunchDarklyApi::RelayProxyConfigs](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/RelayProxyConfigs.md)
|
213
|
+
- [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Role.md)
|
214
|
+
- [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Rollout.md)
|
215
|
+
- [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Rule.md)
|
216
|
+
- [LaunchDarklyApi::ScheduledChangesFeatureFlagConflict](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/ScheduledChangesFeatureFlagConflict.md)
|
217
|
+
- [LaunchDarklyApi::SemanticPatchInstruction](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/SemanticPatchInstruction.md)
|
218
|
+
- [LaunchDarklyApi::SemanticPatchInstructionInner](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/SemanticPatchInstructionInner.md)
|
219
|
+
- [LaunchDarklyApi::SemanticPatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/SemanticPatchOperation.md)
|
220
|
+
- [LaunchDarklyApi::Site](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Site.md)
|
221
|
+
- [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Statement.md)
|
222
|
+
- [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Stream.md)
|
223
|
+
- [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamBySDK.md)
|
224
|
+
- [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamBySDKLinks.md)
|
225
|
+
- [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamBySDKLinksMetadata.md)
|
226
|
+
- [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamLinks.md)
|
227
|
+
- [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamSDKVersion.md)
|
228
|
+
- [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamSDKVersionData.md)
|
229
|
+
- [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamUsageError.md)
|
230
|
+
- [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamUsageLinks.md)
|
231
|
+
- [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamUsageMetadata.md)
|
232
|
+
- [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/StreamUsageSeries.md)
|
233
|
+
- [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Streams.md)
|
234
|
+
- [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Target.md)
|
235
|
+
- [LaunchDarklyApi::Token](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Token.md)
|
236
|
+
- [LaunchDarklyApi::TokenBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/TokenBody.md)
|
237
|
+
- [LaunchDarklyApi::Tokens](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Tokens.md)
|
238
|
+
- [LaunchDarklyApi::UnboundedSegmentTargetChanges](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UnboundedSegmentTargetChanges.md)
|
239
|
+
- [LaunchDarklyApi::UnboundedSegmentTargetsBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UnboundedSegmentTargetsBody.md)
|
240
|
+
- [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Usage.md)
|
241
|
+
- [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UsageError.md)
|
242
|
+
- [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UsageLinks.md)
|
243
|
+
- [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/User.md)
|
244
|
+
- [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserFlagSetting.md)
|
245
|
+
- [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserFlagSettings.md)
|
246
|
+
- [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserRecord.md)
|
247
|
+
- [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegment.md)
|
248
|
+
- [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentBody.md)
|
249
|
+
- [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegmentRule.md)
|
250
|
+
- [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSegments.md)
|
251
|
+
- [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserSettingsBody.md)
|
252
|
+
- [LaunchDarklyApi::UserTargetingExpirationForFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserTargetingExpirationForFlag.md)
|
253
|
+
- [LaunchDarklyApi::UserTargetingExpirationForFlags](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserTargetingExpirationForFlags.md)
|
254
|
+
- [LaunchDarklyApi::UserTargetingExpirationForSegment](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserTargetingExpirationForSegment.md)
|
255
|
+
- [LaunchDarklyApi::UserTargetingExpirationOnFlagsForUser](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserTargetingExpirationOnFlagsForUser.md)
|
256
|
+
- [LaunchDarklyApi::UserTargetingExpirationResourceIdForFlag](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/UserTargetingExpirationResourceIdForFlag.md)
|
257
|
+
- [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Users.md)
|
258
|
+
- [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Variation.md)
|
259
|
+
- [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Webhook.md)
|
260
|
+
- [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WebhookBody.md)
|
261
|
+
- [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/Webhooks.md)
|
262
|
+
- [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/3.7.0/docs/WeightedVariation.md)
|
233
263
|
|
234
264
|
## Sample Code
|
235
265
|
|
@@ -0,0 +1,333 @@
|
|
1
|
+
# LaunchDarklyApi::AccessTokensApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://app.launchdarkly.com/api/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete_token**](AccessTokensApi.md#delete_token) | **DELETE** /tokens/{tokenId} | Delete an access token by ID.
|
8
|
+
[**get_token**](AccessTokensApi.md#get_token) | **GET** /tokens/{tokenId} | Get a single access token by ID.
|
9
|
+
[**get_tokens**](AccessTokensApi.md#get_tokens) | **GET** /tokens | Returns a list of tokens in the account.
|
10
|
+
[**patch_token**](AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access token by ID.
|
11
|
+
[**post_token**](AccessTokensApi.md#post_token) | **POST** /tokens | Create a new token.
|
12
|
+
[**reset_token**](AccessTokensApi.md#reset_token) | **POST** /tokens/{tokenId}/reset | Reset an access token's secret key with an optional expiry time for the old key.
|
13
|
+
|
14
|
+
|
15
|
+
# **delete_token**
|
16
|
+
> delete_token(token_id)
|
17
|
+
|
18
|
+
Delete an access token by ID.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'launchdarkly_api'
|
24
|
+
# setup authorization
|
25
|
+
LaunchDarklyApi.configure do |config|
|
26
|
+
# Configure API key authorization: Token
|
27
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = LaunchDarklyApi::AccessTokensApi.new
|
33
|
+
|
34
|
+
token_id = 'token_id_example' # String | The access token ID.
|
35
|
+
|
36
|
+
|
37
|
+
begin
|
38
|
+
#Delete an access token by ID.
|
39
|
+
api_instance.delete_token(token_id)
|
40
|
+
rescue LaunchDarklyApi::ApiError => e
|
41
|
+
puts "Exception when calling AccessTokensApi->delete_token: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**token_id** | **String**| The access token ID. |
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
nil (empty response body)
|
54
|
+
|
55
|
+
### Authorization
|
56
|
+
|
57
|
+
[Token](../README.md#Token)
|
58
|
+
|
59
|
+
### HTTP request headers
|
60
|
+
|
61
|
+
- **Content-Type**: application/json
|
62
|
+
- **Accept**: application/json
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
# **get_token**
|
67
|
+
> Token get_token(token_id)
|
68
|
+
|
69
|
+
Get a single access token by ID.
|
70
|
+
|
71
|
+
### Example
|
72
|
+
```ruby
|
73
|
+
# load the gem
|
74
|
+
require 'launchdarkly_api'
|
75
|
+
# setup authorization
|
76
|
+
LaunchDarklyApi.configure do |config|
|
77
|
+
# Configure API key authorization: Token
|
78
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
79
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
81
|
+
end
|
82
|
+
|
83
|
+
api_instance = LaunchDarklyApi::AccessTokensApi.new
|
84
|
+
|
85
|
+
token_id = 'token_id_example' # String | The access token ID.
|
86
|
+
|
87
|
+
|
88
|
+
begin
|
89
|
+
#Get a single access token by ID.
|
90
|
+
result = api_instance.get_token(token_id)
|
91
|
+
p result
|
92
|
+
rescue LaunchDarklyApi::ApiError => e
|
93
|
+
puts "Exception when calling AccessTokensApi->get_token: #{e}"
|
94
|
+
end
|
95
|
+
```
|
96
|
+
|
97
|
+
### Parameters
|
98
|
+
|
99
|
+
Name | Type | Description | Notes
|
100
|
+
------------- | ------------- | ------------- | -------------
|
101
|
+
**token_id** | **String**| The access token ID. |
|
102
|
+
|
103
|
+
### Return type
|
104
|
+
|
105
|
+
[**Token**](Token.md)
|
106
|
+
|
107
|
+
### Authorization
|
108
|
+
|
109
|
+
[Token](../README.md#Token)
|
110
|
+
|
111
|
+
### HTTP request headers
|
112
|
+
|
113
|
+
- **Content-Type**: application/json
|
114
|
+
- **Accept**: application/json
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
# **get_tokens**
|
119
|
+
> Tokens get_tokens(opts)
|
120
|
+
|
121
|
+
Returns a list of tokens in the account.
|
122
|
+
|
123
|
+
### Example
|
124
|
+
```ruby
|
125
|
+
# load the gem
|
126
|
+
require 'launchdarkly_api'
|
127
|
+
# setup authorization
|
128
|
+
LaunchDarklyApi.configure do |config|
|
129
|
+
# Configure API key authorization: Token
|
130
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
131
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
132
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
133
|
+
end
|
134
|
+
|
135
|
+
api_instance = LaunchDarklyApi::AccessTokensApi.new
|
136
|
+
|
137
|
+
opts = {
|
138
|
+
show_all: true # BOOLEAN | If set to true, and the authentication access token has the \"Admin\" role, personal access tokens for all members will be retrieved.
|
139
|
+
}
|
140
|
+
|
141
|
+
begin
|
142
|
+
#Returns a list of tokens in the account.
|
143
|
+
result = api_instance.get_tokens(opts)
|
144
|
+
p result
|
145
|
+
rescue LaunchDarklyApi::ApiError => e
|
146
|
+
puts "Exception when calling AccessTokensApi->get_tokens: #{e}"
|
147
|
+
end
|
148
|
+
```
|
149
|
+
|
150
|
+
### Parameters
|
151
|
+
|
152
|
+
Name | Type | Description | Notes
|
153
|
+
------------- | ------------- | ------------- | -------------
|
154
|
+
**show_all** | **BOOLEAN**| If set to true, and the authentication access token has the \"Admin\" role, personal access tokens for all members will be retrieved. | [optional]
|
155
|
+
|
156
|
+
### Return type
|
157
|
+
|
158
|
+
[**Tokens**](Tokens.md)
|
159
|
+
|
160
|
+
### Authorization
|
161
|
+
|
162
|
+
[Token](../README.md#Token)
|
163
|
+
|
164
|
+
### HTTP request headers
|
165
|
+
|
166
|
+
- **Content-Type**: application/json
|
167
|
+
- **Accept**: application/json
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
# **patch_token**
|
172
|
+
> Token patch_token(token_idpatch_delta)
|
173
|
+
|
174
|
+
Modify an access token by ID.
|
175
|
+
|
176
|
+
### Example
|
177
|
+
```ruby
|
178
|
+
# load the gem
|
179
|
+
require 'launchdarkly_api'
|
180
|
+
# setup authorization
|
181
|
+
LaunchDarklyApi.configure do |config|
|
182
|
+
# Configure API key authorization: Token
|
183
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
184
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
185
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
186
|
+
end
|
187
|
+
|
188
|
+
api_instance = LaunchDarklyApi::AccessTokensApi.new
|
189
|
+
|
190
|
+
token_id = 'token_id_example' # String | The access token ID.
|
191
|
+
|
192
|
+
patch_delta = [LaunchDarklyApi::PatchOperation.new] # Array<PatchOperation> | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
|
193
|
+
|
194
|
+
|
195
|
+
begin
|
196
|
+
#Modify an access token by ID.
|
197
|
+
result = api_instance.patch_token(token_idpatch_delta)
|
198
|
+
p result
|
199
|
+
rescue LaunchDarklyApi::ApiError => e
|
200
|
+
puts "Exception when calling AccessTokensApi->patch_token: #{e}"
|
201
|
+
end
|
202
|
+
```
|
203
|
+
|
204
|
+
### Parameters
|
205
|
+
|
206
|
+
Name | Type | Description | Notes
|
207
|
+
------------- | ------------- | ------------- | -------------
|
208
|
+
**token_id** | **String**| The access token ID. |
|
209
|
+
**patch_delta** | [**Array<PatchOperation>**](PatchOperation.md)| Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' |
|
210
|
+
|
211
|
+
### Return type
|
212
|
+
|
213
|
+
[**Token**](Token.md)
|
214
|
+
|
215
|
+
### Authorization
|
216
|
+
|
217
|
+
[Token](../README.md#Token)
|
218
|
+
|
219
|
+
### HTTP request headers
|
220
|
+
|
221
|
+
- **Content-Type**: application/json
|
222
|
+
- **Accept**: application/json
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
# **post_token**
|
227
|
+
> Token post_token(token_body)
|
228
|
+
|
229
|
+
Create a new token.
|
230
|
+
|
231
|
+
### Example
|
232
|
+
```ruby
|
233
|
+
# load the gem
|
234
|
+
require 'launchdarkly_api'
|
235
|
+
# setup authorization
|
236
|
+
LaunchDarklyApi.configure do |config|
|
237
|
+
# Configure API key authorization: Token
|
238
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
239
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
240
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
241
|
+
end
|
242
|
+
|
243
|
+
api_instance = LaunchDarklyApi::AccessTokensApi.new
|
244
|
+
|
245
|
+
token_body = LaunchDarklyApi::TokenBody.new # TokenBody | Create a new access token.
|
246
|
+
|
247
|
+
|
248
|
+
begin
|
249
|
+
#Create a new token.
|
250
|
+
result = api_instance.post_token(token_body)
|
251
|
+
p result
|
252
|
+
rescue LaunchDarklyApi::ApiError => e
|
253
|
+
puts "Exception when calling AccessTokensApi->post_token: #{e}"
|
254
|
+
end
|
255
|
+
```
|
256
|
+
|
257
|
+
### Parameters
|
258
|
+
|
259
|
+
Name | Type | Description | Notes
|
260
|
+
------------- | ------------- | ------------- | -------------
|
261
|
+
**token_body** | [**TokenBody**](TokenBody.md)| Create a new access token. |
|
262
|
+
|
263
|
+
### Return type
|
264
|
+
|
265
|
+
[**Token**](Token.md)
|
266
|
+
|
267
|
+
### Authorization
|
268
|
+
|
269
|
+
[Token](../README.md#Token)
|
270
|
+
|
271
|
+
### HTTP request headers
|
272
|
+
|
273
|
+
- **Content-Type**: application/json
|
274
|
+
- **Accept**: application/json
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
# **reset_token**
|
279
|
+
> Token reset_token(token_id, opts)
|
280
|
+
|
281
|
+
Reset an access token's secret key with an optional expiry time for the old key.
|
282
|
+
|
283
|
+
### Example
|
284
|
+
```ruby
|
285
|
+
# load the gem
|
286
|
+
require 'launchdarkly_api'
|
287
|
+
# setup authorization
|
288
|
+
LaunchDarklyApi.configure do |config|
|
289
|
+
# Configure API key authorization: Token
|
290
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
291
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
292
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
293
|
+
end
|
294
|
+
|
295
|
+
api_instance = LaunchDarklyApi::AccessTokensApi.new
|
296
|
+
|
297
|
+
token_id = 'token_id_example' # String | The access token ID.
|
298
|
+
|
299
|
+
opts = {
|
300
|
+
expiry: 789 # Integer | An expiration time for the old token key, expressed as a Unix epoch time in milliseconds. By default, the token will expire immediately.
|
301
|
+
}
|
302
|
+
|
303
|
+
begin
|
304
|
+
#Reset an access token's secret key with an optional expiry time for the old key.
|
305
|
+
result = api_instance.reset_token(token_id, opts)
|
306
|
+
p result
|
307
|
+
rescue LaunchDarklyApi::ApiError => e
|
308
|
+
puts "Exception when calling AccessTokensApi->reset_token: #{e}"
|
309
|
+
end
|
310
|
+
```
|
311
|
+
|
312
|
+
### Parameters
|
313
|
+
|
314
|
+
Name | Type | Description | Notes
|
315
|
+
------------- | ------------- | ------------- | -------------
|
316
|
+
**token_id** | **String**| The access token ID. |
|
317
|
+
**expiry** | **Integer**| An expiration time for the old token key, expressed as a Unix epoch time in milliseconds. By default, the token will expire immediately. | [optional]
|
318
|
+
|
319
|
+
### Return type
|
320
|
+
|
321
|
+
[**Token**](Token.md)
|
322
|
+
|
323
|
+
### Authorization
|
324
|
+
|
325
|
+
[Token](../README.md#Token)
|
326
|
+
|
327
|
+
### HTTP request headers
|
328
|
+
|
329
|
+
- **Content-Type**: application/json
|
330
|
+
- **Accept**: application/json
|
331
|
+
|
332
|
+
|
333
|
+
|