launchdarkly_api 2.0.10 → 2.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +153 -151
- data/docs/AuditLogApi.md +7 -7
- data/docs/{Action.md → CopyActions.md} +1 -1
- data/docs/CustomProperty.md +1 -1
- data/docs/CustomRole.md +1 -1
- data/docs/CustomRoleBody.md +1 -1
- data/docs/CustomRoles.md +1 -1
- data/docs/CustomRolesApi.md +7 -6
- data/docs/CustomerMetricsApi.md +511 -0
- data/docs/DataExportDestinationsApi.md +293 -0
- data/docs/Destination.md +14 -0
- data/docs/DestinationAmazonKinesis.md +10 -0
- data/docs/DestinationBody.md +11 -0
- data/docs/DestinationGooglePubSub.md +9 -0
- data/docs/DestinationMParticle.md +11 -0
- data/docs/{CustomRoleKeyOrId.md → DestinationSegment.md} +2 -1
- data/docs/Destinations.md +9 -0
- data/docs/Environment.md +2 -0
- data/docs/EnvironmentPost.md +5 -0
- data/docs/EnvironmentsApi.md +11 -10
- data/docs/EvaluationUsageError.md +9 -0
- data/docs/Events.md +8 -0
- data/docs/FeatureFlag.md +4 -1
- data/docs/FeatureFlagConfig.md +0 -1
- data/docs/FeatureFlagCopyBody.md +12 -0
- data/docs/FeatureFlagCopyObject.md +9 -0
- data/docs/FeatureFlagStatus.md +1 -1
- data/docs/FeatureFlagStatusAcrossEnvironments.md +10 -0
- data/docs/FeatureFlagStatusForQueriedEnvironment.md +10 -0
- data/docs/FeatureFlagsApi.md +136 -17
- data/docs/MAU.md +10 -0
- data/docs/{Actions.md → MAUMetadata.md} +1 -1
- data/docs/MAUbyCategory.md +10 -0
- data/docs/Member.md +2 -0
- data/docs/Members.md +1 -1
- data/docs/MembersBody.md +1 -1
- data/docs/Policy.md +4 -2
- data/docs/ProjectBody.md +2 -0
- data/docs/ProjectsApi.md +7 -6
- data/docs/Rollout.md +1 -0
- data/docs/Statement.md +4 -4
- data/docs/Stream.md +10 -0
- data/docs/StreamBySDK.md +10 -0
- data/docs/StreamBySDKLinks.md +9 -0
- data/docs/StreamBySDKLinksMetadata.md +10 -0
- data/docs/StreamLinks.md +10 -0
- data/docs/StreamSDKVersion.md +9 -0
- data/docs/StreamSDKVersionData.md +9 -0
- data/docs/StreamUsageError.md +9 -0
- data/docs/StreamUsageLinks.md +10 -0
- data/docs/StreamUsageMetadata.md +10 -0
- data/docs/StreamUsageSeries.md +9 -0
- data/docs/Streams.md +8 -0
- data/docs/TeamMembersApi.md +7 -6
- data/docs/Usage.md +9 -0
- data/docs/{CustomProperties.md → UsageError.md} +2 -1
- data/docs/UsageLinks.md +10 -0
- data/docs/UserSegmentsApi.md +18 -17
- data/docs/UserSettingsApi.md +11 -11
- data/docs/UsersApi.md +15 -15
- data/docs/Webhook.md +1 -0
- data/docs/WebhookBody.md +2 -0
- data/docs/WebhooksApi.md +7 -6
- data/launchdarkly_api.gemspec +5 -6
- data/lib/launchdarkly_api/api/audit_log_api.rb +13 -19
- data/lib/launchdarkly_api/api/custom_roles_api.rb +23 -37
- data/lib/launchdarkly_api/api/customer_metrics_api.rb +519 -0
- data/lib/launchdarkly_api/api/data_export_destinations_api.rb +330 -0
- data/lib/launchdarkly_api/api/environments_api.rb +20 -31
- data/lib/launchdarkly_api/api/feature_flags_api.rb +150 -43
- data/lib/launchdarkly_api/api/projects_api.rb +23 -37
- data/lib/launchdarkly_api/api/root_api.rb +6 -9
- data/lib/launchdarkly_api/api/team_members_api.rb +23 -37
- data/lib/launchdarkly_api/api/user_segments_api.rb +23 -37
- data/lib/launchdarkly_api/api/user_settings_api.rb +12 -21
- data/lib/launchdarkly_api/api/users_api.rb +17 -29
- data/lib/launchdarkly_api/api/webhooks_api.rb +23 -37
- data/lib/launchdarkly_api/api_client.rb +10 -10
- data/lib/launchdarkly_api/api_error.rb +2 -2
- data/lib/launchdarkly_api/configuration.rb +3 -3
- data/lib/launchdarkly_api/models/audit_log_entries.rb +7 -12
- data/lib/launchdarkly_api/models/audit_log_entry.rb +7 -12
- data/lib/launchdarkly_api/models/audit_log_entry_target.rb +7 -12
- data/lib/launchdarkly_api/models/clause.rb +7 -12
- data/lib/launchdarkly_api/models/copy_actions.rb +34 -0
- data/lib/launchdarkly_api/models/custom_property.rb +13 -14
- data/lib/launchdarkly_api/models/custom_property_values.rb +7 -11
- data/lib/launchdarkly_api/models/custom_role.rb +9 -13
- data/lib/launchdarkly_api/models/custom_role_body.rb +12 -16
- data/lib/launchdarkly_api/models/custom_roles.rb +11 -14
- data/lib/launchdarkly_api/models/destination.rb +276 -0
- data/lib/launchdarkly_api/models/destination_amazon_kinesis.rb +201 -0
- data/lib/launchdarkly_api/models/destination_body.rb +263 -0
- data/lib/launchdarkly_api/models/destination_google_pub_sub.rb +192 -0
- data/lib/launchdarkly_api/models/destination_m_particle.rb +210 -0
- data/lib/launchdarkly_api/models/destination_segment.rb +183 -0
- data/lib/launchdarkly_api/models/destinations.rb +194 -0
- data/lib/launchdarkly_api/models/environment.rb +29 -14
- data/lib/launchdarkly_api/models/environment_post.rb +64 -17
- data/lib/launchdarkly_api/models/evaluation_usage_error.rb +192 -0
- data/lib/launchdarkly_api/models/{action.rb → events.rb} +17 -13
- data/lib/launchdarkly_api/models/fallthrough.rb +7 -12
- data/lib/launchdarkly_api/models/feature_flag.rb +46 -16
- data/lib/launchdarkly_api/models/feature_flag_body.rb +10 -15
- data/lib/launchdarkly_api/models/feature_flag_config.rb +8 -24
- data/lib/launchdarkly_api/models/feature_flag_copy_body.rb +226 -0
- data/lib/launchdarkly_api/models/feature_flag_copy_object.rb +199 -0
- data/lib/launchdarkly_api/models/feature_flag_status.rb +22 -26
- data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +203 -0
- data/lib/launchdarkly_api/models/feature_flag_status_for_queried_environment.rb +236 -0
- data/lib/launchdarkly_api/models/feature_flag_statuses.rb +7 -12
- data/lib/launchdarkly_api/models/feature_flags.rb +7 -12
- data/lib/launchdarkly_api/models/id.rb +7 -11
- data/lib/launchdarkly_api/models/link.rb +7 -12
- data/lib/launchdarkly_api/models/links.rb +7 -12
- data/lib/launchdarkly_api/models/ma_uby_category.rb +205 -0
- data/lib/launchdarkly_api/models/mau.rb +205 -0
- data/lib/launchdarkly_api/models/{actions.rb → mau_metadata.rb} +8 -13
- data/lib/launchdarkly_api/models/member.rb +26 -13
- data/lib/launchdarkly_api/models/members.rb +11 -14
- data/lib/launchdarkly_api/models/members_body.rb +9 -14
- data/lib/launchdarkly_api/models/patch_comment.rb +7 -12
- data/lib/launchdarkly_api/models/patch_operation.rb +10 -15
- data/lib/launchdarkly_api/models/policy.rb +40 -17
- data/lib/launchdarkly_api/models/prerequisite.rb +7 -12
- data/lib/launchdarkly_api/models/project.rb +7 -12
- data/lib/launchdarkly_api/models/project_body.rb +30 -15
- data/lib/launchdarkly_api/models/projects.rb +7 -12
- data/lib/launchdarkly_api/models/role.rb +7 -8
- data/lib/launchdarkly_api/models/rollout.rb +17 -13
- data/lib/launchdarkly_api/models/rule.rb +7 -12
- data/lib/launchdarkly_api/models/statement.rb +35 -31
- data/lib/launchdarkly_api/models/statements.rb +7 -12
- data/lib/launchdarkly_api/models/stream.rb +205 -0
- data/lib/launchdarkly_api/models/stream_by_sdk.rb +205 -0
- data/lib/launchdarkly_api/models/stream_by_sdk_links.rb +192 -0
- data/lib/launchdarkly_api/models/{resources.rb → stream_by_sdk_links_metadata.rb} +34 -12
- data/lib/launchdarkly_api/models/stream_links.rb +204 -0
- data/lib/launchdarkly_api/models/stream_sdk_version.rb +194 -0
- data/lib/launchdarkly_api/models/stream_sdk_version_data.rb +194 -0
- data/lib/launchdarkly_api/models/stream_usage_error.rb +192 -0
- data/lib/launchdarkly_api/models/stream_usage_links.rb +204 -0
- data/lib/launchdarkly_api/models/stream_usage_metadata.rb +203 -0
- data/lib/launchdarkly_api/models/stream_usage_series.rb +194 -0
- data/lib/launchdarkly_api/models/{custom_properties.rb → streams.rb} +17 -13
- data/lib/launchdarkly_api/models/target.rb +7 -12
- data/lib/launchdarkly_api/models/usage.rb +194 -0
- data/lib/launchdarkly_api/models/{custom_role_key_or_id.rb → usage_error.rb} +17 -13
- data/lib/launchdarkly_api/models/usage_links.rb +204 -0
- data/lib/launchdarkly_api/models/user.rb +7 -12
- data/lib/launchdarkly_api/models/user_flag_setting.rb +7 -12
- data/lib/launchdarkly_api/models/user_flag_settings.rb +7 -12
- data/lib/launchdarkly_api/models/user_record.rb +7 -12
- data/lib/launchdarkly_api/models/user_segment.rb +10 -15
- data/lib/launchdarkly_api/models/user_segment_body.rb +9 -14
- data/lib/launchdarkly_api/models/user_segment_rule.rb +7 -12
- data/lib/launchdarkly_api/models/user_segments.rb +7 -12
- data/lib/launchdarkly_api/models/user_settings_body.rb +7 -12
- data/lib/launchdarkly_api/models/users.rb +7 -12
- data/lib/launchdarkly_api/models/variation.rb +8 -13
- data/lib/launchdarkly_api/models/webhook.rb +17 -13
- data/lib/launchdarkly_api/models/webhook_body.rb +33 -17
- data/lib/launchdarkly_api/models/webhooks.rb +7 -12
- data/lib/launchdarkly_api/models/weighted_variation.rb +7 -12
- data/lib/launchdarkly_api/version.rb +3 -3
- data/lib/launchdarkly_api.rb +36 -8
- data/openapi.yml +1004 -115
- data/spec/api/audit_log_api_spec.rb +6 -8
- data/spec/api/custom_roles_api_spec.rb +8 -13
- data/spec/api/customer_metrics_api_spec.rb +141 -0
- data/spec/api/data_export_destinations_api_spec.rb +98 -0
- data/spec/api/environments_api_spec.rb +7 -11
- data/spec/api/feature_flags_api_spec.rb +36 -16
- data/spec/api/projects_api_spec.rb +8 -13
- data/spec/api/root_api_spec.rb +3 -4
- data/spec/api/team_members_api_spec.rb +8 -13
- data/spec/api/user_segments_api_spec.rb +8 -13
- data/spec/api/user_settings_api_spec.rb +5 -8
- data/spec/api/users_api_spec.rb +7 -11
- data/spec/api/webhooks_api_spec.rb +8 -13
- data/spec/api_client_spec.rb +36 -36
- data/spec/configuration_spec.rb +10 -10
- data/spec/models/audit_log_entries_spec.rb +4 -5
- data/spec/models/audit_log_entry_spec.rb +14 -15
- data/spec/models/audit_log_entry_target_spec.rb +5 -6
- data/spec/models/clause_spec.rb +6 -7
- data/spec/models/{action_spec.rb → copy_actions_spec.rb} +8 -9
- data/spec/models/custom_property_spec.rb +4 -5
- data/spec/models/custom_property_values_spec.rb +2 -3
- data/spec/models/custom_role_body_spec.rb +6 -7
- data/spec/models/custom_role_spec.rb +8 -9
- data/spec/models/custom_roles_spec.rb +4 -5
- data/spec/models/destination_amazon_kinesis_spec.rb +53 -0
- data/spec/models/destination_body_spec.rb +63 -0
- data/spec/models/destination_google_pub_sub_spec.rb +47 -0
- data/spec/models/destination_m_particle_spec.rb +59 -0
- data/spec/models/destination_segment_spec.rb +41 -0
- data/spec/models/destination_spec.rb +81 -0
- data/spec/models/destinations_spec.rb +47 -0
- data/spec/models/environment_post_spec.rb +36 -7
- data/spec/models/environment_spec.rb +25 -14
- data/spec/models/evaluation_usage_error_spec.rb +47 -0
- data/spec/models/events_spec.rb +41 -0
- data/spec/models/fallthrough_spec.rb +4 -5
- data/spec/models/feature_flag_body_spec.rb +9 -10
- data/spec/models/feature_flag_config_spec.rb +14 -21
- data/spec/models/feature_flag_copy_body_spec.rb +65 -0
- data/spec/models/feature_flag_copy_object_spec.rb +47 -0
- data/spec/models/feature_flag_spec.rb +35 -18
- data/spec/models/feature_flag_status_across_environments_spec.rb +53 -0
- data/spec/models/feature_flag_status_for_queried_environment_spec.rb +57 -0
- data/spec/models/feature_flag_status_spec.rb +14 -15
- data/spec/models/feature_flag_statuses_spec.rb +4 -5
- data/spec/models/feature_flags_spec.rb +4 -5
- data/spec/models/id_spec.rb +2 -3
- data/spec/models/link_spec.rb +4 -5
- data/spec/models/links_spec.rb +4 -5
- data/spec/models/ma_uby_category_spec.rb +53 -0
- data/spec/models/{actions_spec.rb → mau_metadata_spec.rb} +8 -9
- data/spec/models/mau_spec.rb +53 -0
- data/spec/models/member_spec.rb +21 -10
- data/spec/models/members_body_spec.rb +8 -9
- data/spec/models/members_spec.rb +4 -5
- data/spec/models/patch_comment_spec.rb +4 -5
- data/spec/models/patch_operation_spec.rb +5 -6
- data/spec/models/policy_spec.rb +17 -6
- data/spec/models/prerequisite_spec.rb +4 -5
- data/spec/models/project_body_spec.rb +17 -6
- data/spec/models/project_spec.rb +8 -9
- data/spec/models/projects_spec.rb +4 -5
- data/spec/models/role_spec.rb +2 -3
- data/spec/models/rollout_spec.rb +9 -4
- data/spec/models/rule_spec.rb +6 -7
- data/spec/models/statement_spec.rb +13 -14
- data/spec/models/statements_spec.rb +2 -3
- data/spec/models/stream_by_sdk_links_metadata_spec.rb +53 -0
- data/spec/models/stream_by_sdk_links_spec.rb +47 -0
- data/spec/models/stream_by_sdk_spec.rb +53 -0
- data/spec/models/stream_links_spec.rb +53 -0
- data/spec/models/stream_sdk_version_data_spec.rb +47 -0
- data/spec/models/stream_sdk_version_spec.rb +47 -0
- data/spec/models/stream_spec.rb +53 -0
- data/spec/models/stream_usage_error_spec.rb +47 -0
- data/spec/models/stream_usage_links_spec.rb +53 -0
- data/spec/models/stream_usage_metadata_spec.rb +53 -0
- data/spec/models/stream_usage_series_spec.rb +47 -0
- data/spec/models/streams_spec.rb +41 -0
- data/spec/models/target_spec.rb +4 -5
- data/spec/models/usage_error_spec.rb +41 -0
- data/spec/models/usage_links_spec.rb +53 -0
- data/spec/models/usage_spec.rb +47 -0
- data/spec/models/user_flag_setting_spec.rb +5 -6
- data/spec/models/user_flag_settings_spec.rb +4 -5
- data/spec/models/user_record_spec.rb +7 -8
- data/spec/models/user_segment_body_spec.rb +6 -7
- data/spec/models/user_segment_rule_spec.rb +5 -6
- data/spec/models/user_segment_spec.rb +12 -13
- data/spec/models/user_segments_spec.rb +4 -5
- data/spec/models/user_settings_body_spec.rb +3 -4
- data/spec/models/user_spec.rb +13 -14
- data/spec/models/users_spec.rb +5 -6
- data/spec/models/variation_spec.rb +5 -6
- data/spec/models/webhook_body_spec.rb +19 -8
- data/spec/models/webhook_spec.rb +15 -10
- data/spec/models/webhooks_spec.rb +4 -5
- data/spec/models/weighted_variation_spec.rb +4 -5
- data/spec/spec_helper.rb +2 -2
- metadata +187 -74
- data/docs/Resource.md +0 -7
- data/docs/Resources.md +0 -7
- data/lib/launchdarkly_api/models/resource.rb +0 -179
- data/spec/models/custom_properties_spec.rb +0 -36
- data/spec/models/custom_role_key_or_id_spec.rb +0 -36
- data/spec/models/resource_spec.rb +0 -36
- data/spec/models/resources_spec.rb +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a3eac003714bcf996b20cbbbe7ec6abc52d57801
|
4
|
+
data.tar.gz: b508583c22cd7e961ee3454e86d75e55d8c2869e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29a57cdeb124c9feb629e832e3fce5b8a73a4a0753fa4c3693db293937873f8d98848419b538f50165dc068ce2101fa23640f041b720062654096c54aff8e7e1
|
7
|
+
data.tar.gz: cc2a5c49a41434e8727672633b5107ca759c9bfc5ad61a04a9bd56789793bb71a8da382081485e4e9d9dffff16eea43bcce9c23253120cbf1527741d9736b45f
|
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: 2.0.
|
15
|
-
- Package version: 2.0.
|
14
|
+
- API version: 2.0.27
|
15
|
+
- Package version: 2.0.27
|
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-2.0.
|
32
|
+
gem install ./launchdarkly_api-2.0.27.gem
|
33
33
|
```
|
34
|
-
(for development, run `gem install --dev ./launchdarkly_api-2.0.
|
34
|
+
(for development, run `gem install --dev ./launchdarkly_api-2.0.27.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', '~> 2.0.
|
40
|
+
gem 'launchdarkly_api', '~> 2.0.27'
|
41
41
|
|
42
42
|
### Install from Git
|
43
43
|
|
@@ -55,38 +55,7 @@ ruby -Ilib script.rb
|
|
55
55
|
|
56
56
|
## Getting Started
|
57
57
|
|
58
|
-
Please follow the [installation](#installation) procedure and
|
59
|
-
```ruby
|
60
|
-
# Load the gem
|
61
|
-
require 'launchdarkly_api'
|
62
|
-
|
63
|
-
# Setup authorization
|
64
|
-
LaunchDarklyApi.configure do |config|
|
65
|
-
# Configure API key authorization: Token
|
66
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
67
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
68
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
69
|
-
end
|
70
|
-
|
71
|
-
api_instance = LaunchDarklyApi::AuditLogApi.new
|
72
|
-
|
73
|
-
opts = {
|
74
|
-
before: 8.14, # Float | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp.
|
75
|
-
after: 8.14, # Float | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp.
|
76
|
-
q: "q_example", # String | Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change.
|
77
|
-
limit: 8.14, # Float | A limit on the number of audit log entries to be returned, between 1 and 20.
|
78
|
-
spec: "spec_example" # String | A resource specifier, allowing you to filter audit log listings by resource.
|
79
|
-
}
|
80
|
-
|
81
|
-
begin
|
82
|
-
#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.
|
83
|
-
result = api_instance.get_audit_log_entries(opts)
|
84
|
-
p result
|
85
|
-
rescue LaunchDarklyApi::ApiError => e
|
86
|
-
puts "Exception when calling AuditLogApi->get_audit_log_entries: #{e}"
|
87
|
-
end
|
88
|
-
|
89
|
-
```
|
58
|
+
Please follow the [installation](#installation) procedure and see the [sample code](#sample%20code) below.
|
90
59
|
|
91
60
|
## Documentation for API Endpoints
|
92
61
|
|
@@ -94,124 +63,157 @@ All URIs are relative to *https://app.launchdarkly.com/api/v2*
|
|
94
63
|
|
95
64
|
Class | Method | HTTP request | Description
|
96
65
|
------------ | ------------- | ------------- | -------------
|
97
|
-
*LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](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.
|
98
|
-
*LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](docs/AuditLogApi.md#get_audit_log_entry) | **GET** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
|
99
|
-
*LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
|
100
|
-
*LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
|
101
|
-
*LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
|
102
|
-
*LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
|
103
|
-
*LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
|
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::
|
136
|
-
*LaunchDarklyApi::
|
137
|
-
*LaunchDarklyApi::
|
138
|
-
*LaunchDarklyApi::
|
139
|
-
*LaunchDarklyApi::
|
140
|
-
*LaunchDarklyApi::
|
141
|
-
*LaunchDarklyApi::
|
142
|
-
*LaunchDarklyApi::
|
66
|
+
*LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entries**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
67
|
+
*LaunchDarklyApi::AuditLogApi* | [**get_audit_log_entry**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogApi.md#get_audit_log_entry) | **GET** /auditlog/{resourceId} | Use this endpoint to fetch a single audit log entry by its resouce ID.
|
68
|
+
*LaunchDarklyApi::CustomRolesApi* | [**delete_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRolesApi.md#delete_custom_role) | **DELETE** /roles/{customRoleKey} | Delete a custom role by key.
|
69
|
+
*LaunchDarklyApi::CustomRolesApi* | [**get_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRolesApi.md#get_custom_role) | **GET** /roles/{customRoleKey} | Get one custom role by key.
|
70
|
+
*LaunchDarklyApi::CustomRolesApi* | [**get_custom_roles**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRolesApi.md#get_custom_roles) | **GET** /roles | Return a complete list of custom roles.
|
71
|
+
*LaunchDarklyApi::CustomRolesApi* | [**patch_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRolesApi.md#patch_custom_role) | **PATCH** /roles/{customRoleKey} | Modify a custom role by key.
|
72
|
+
*LaunchDarklyApi::CustomRolesApi* | [**post_custom_role**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRolesApi.md#post_custom_role) | **POST** /roles | Create a new custom role.
|
73
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_evaluations**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_evaluations) | **GET** /usage/evaluations/{envId}/{flagKey} | Get events usage by event id and the feature flag key.
|
74
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_event**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_event) | **GET** /usage/events/{type} | Get events usage by event type.
|
75
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_events**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_events) | **GET** /usage/events | Get events usage endpoints.
|
76
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_mau**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_mau) | **GET** /usage/mau | Get monthly active user data.
|
77
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_mau_by_category**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_mau_by_category) | **GET** /usage/mau/bycategory | Get monthly active user data by category.
|
78
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_stream**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_stream) | **GET** /usage/streams/{source} | Get a stream endpoint and return timeseries data.
|
79
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_by_sdk**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_stream_by_sdk) | **GET** /usage/streams/{source}/bysdkversion | Get a stream timeseries data by source show sdk version metadata.
|
80
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_stream_sdk_version**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
81
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_streams**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_streams) | **GET** /usage/streams | Returns a list of all streams.
|
82
|
+
*LaunchDarklyApi::CustomerMetricsApi* | [**get_usage**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomerMetricsApi.md#get_usage) | **GET** /usage | Returns of the usage endpoints available.
|
83
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**delete_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DataExportDestinationsApi.md#delete_destination) | **DELETE** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
|
84
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**get_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DataExportDestinationsApi.md#get_destination) | **GET** /destinations/{projectKey}/{environmentKey}/{destinationId} | Get a single data export destination by ID
|
85
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**get_destinations**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DataExportDestinationsApi.md#get_destinations) | **GET** /destinations | Returns a list of all data export destinations.
|
86
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**patch_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DataExportDestinationsApi.md#patch_destination) | **PATCH** /destinations/{projectKey}/{environmentKey}/{destinationId} | Perform a partial update to a data export destination.
|
87
|
+
*LaunchDarklyApi::DataExportDestinationsApi* | [**post_destination**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DataExportDestinationsApi.md#post_destination) | **POST** /destinations/{projectKey}/{environmentKey} | Create a new data export destination
|
88
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**delete_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EnvironmentsApi.md#delete_environment) | **DELETE** /projects/{projectKey}/environments/{environmentKey} | Delete an environment in a specific project.
|
89
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**get_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
|
90
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**patch_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
|
91
|
+
*LaunchDarklyApi::EnvironmentsApi* | [**post_environment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
92
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**copy_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
93
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**delete_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
94
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
|
95
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
|
96
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_status_across_environments**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
|
97
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flag_statuses**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
98
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**get_feature_flags**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
|
99
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**patch_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
|
100
|
+
*LaunchDarklyApi::FeatureFlagsApi* | [**post_feature_flag**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
|
101
|
+
*LaunchDarklyApi::ProjectsApi* | [**delete_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
102
|
+
*LaunchDarklyApi::ProjectsApi* | [**get_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/ProjectsApi.md#get_project) | **GET** /projects/{projectKey} | Fetch a single project by key.
|
103
|
+
*LaunchDarklyApi::ProjectsApi* | [**get_projects**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
|
104
|
+
*LaunchDarklyApi::ProjectsApi* | [**patch_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
|
105
|
+
*LaunchDarklyApi::ProjectsApi* | [**post_project**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
|
106
|
+
*LaunchDarklyApi::RootApi* | [**get_root**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/RootApi.md#get_root) | **GET** / |
|
107
|
+
*LaunchDarklyApi::TeamMembersApi* | [**delete_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
|
108
|
+
*LaunchDarklyApi::TeamMembersApi* | [**get_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/TeamMembersApi.md#get_member) | **GET** /members/{memberId} | Get a single team member by ID.
|
109
|
+
*LaunchDarklyApi::TeamMembersApi* | [**get_members**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/TeamMembersApi.md#get_members) | **GET** /members | Returns a list of all members in the account.
|
110
|
+
*LaunchDarklyApi::TeamMembersApi* | [**patch_member**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/TeamMembersApi.md#patch_member) | **PATCH** /members/{memberId} | Modify a team member by ID.
|
111
|
+
*LaunchDarklyApi::TeamMembersApi* | [**post_members**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/TeamMembersApi.md#post_members) | **POST** /members | Invite new members.
|
112
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**delete_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentsApi.md#delete_user_segment) | **DELETE** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Delete a user segment.
|
113
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**get_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentsApi.md#get_user_segment) | **GET** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Get a single user segment by key.
|
114
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**get_user_segments**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentsApi.md#get_user_segments) | **GET** /segments/{projectKey}/{environmentKey} | Get a list of all user segments in the given project.
|
115
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**patch_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
|
116
|
+
*LaunchDarklyApi::UserSegmentsApi* | [**post_user_segment**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
|
117
|
+
*LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
|
118
|
+
*LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
|
119
|
+
*LaunchDarklyApi::UserSettingsApi* | [**put_flag_setting**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
120
|
+
*LaunchDarklyApi::UsersApi* | [**delete_user**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
|
121
|
+
*LaunchDarklyApi::UsersApi* | [**get_search_users**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
122
|
+
*LaunchDarklyApi::UsersApi* | [**get_user**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
|
123
|
+
*LaunchDarklyApi::UsersApi* | [**get_users**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/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.
|
124
|
+
*LaunchDarklyApi::WebhooksApi* | [**delete_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhooksApi.md#delete_webhook) | **DELETE** /webhooks/{resourceId} | Delete a webhook by ID.
|
125
|
+
*LaunchDarklyApi::WebhooksApi* | [**get_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhooksApi.md#get_webhook) | **GET** /webhooks/{resourceId} | Get a webhook by ID.
|
126
|
+
*LaunchDarklyApi::WebhooksApi* | [**get_webhooks**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhooksApi.md#get_webhooks) | **GET** /webhooks | Fetch a list of all webhooks.
|
127
|
+
*LaunchDarklyApi::WebhooksApi* | [**patch_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhooksApi.md#patch_webhook) | **PATCH** /webhooks/{resourceId} | Modify a webhook by ID.
|
128
|
+
*LaunchDarklyApi::WebhooksApi* | [**post_webhook**](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhooksApi.md#post_webhook) | **POST** /webhooks | Create a webhook.
|
143
129
|
|
144
130
|
|
145
131
|
## Documentation for Models
|
146
132
|
|
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
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
133
|
+
- [LaunchDarklyApi::AuditLogEntries](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogEntries.md)
|
134
|
+
- [LaunchDarklyApi::AuditLogEntry](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogEntry.md)
|
135
|
+
- [LaunchDarklyApi::AuditLogEntryTarget](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/AuditLogEntryTarget.md)
|
136
|
+
- [LaunchDarklyApi::Clause](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Clause.md)
|
137
|
+
- [LaunchDarklyApi::CopyActions](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CopyActions.md)
|
138
|
+
- [LaunchDarklyApi::CustomProperty](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomProperty.md)
|
139
|
+
- [LaunchDarklyApi::CustomPropertyValues](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomPropertyValues.md)
|
140
|
+
- [LaunchDarklyApi::CustomRole](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRole.md)
|
141
|
+
- [LaunchDarklyApi::CustomRoleBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRoleBody.md)
|
142
|
+
- [LaunchDarklyApi::CustomRoles](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/CustomRoles.md)
|
143
|
+
- [LaunchDarklyApi::Destination](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Destination.md)
|
144
|
+
- [LaunchDarklyApi::DestinationAmazonKinesis](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationAmazonKinesis.md)
|
145
|
+
- [LaunchDarklyApi::DestinationBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationBody.md)
|
146
|
+
- [LaunchDarklyApi::DestinationGooglePubSub](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationGooglePubSub.md)
|
147
|
+
- [LaunchDarklyApi::DestinationMParticle](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationMParticle.md)
|
148
|
+
- [LaunchDarklyApi::DestinationSegment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/DestinationSegment.md)
|
149
|
+
- [LaunchDarklyApi::Destinations](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Destinations.md)
|
150
|
+
- [LaunchDarklyApi::Environment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Environment.md)
|
151
|
+
- [LaunchDarklyApi::EnvironmentPost](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EnvironmentPost.md)
|
152
|
+
- [LaunchDarklyApi::EvaluationUsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/EvaluationUsageError.md)
|
153
|
+
- [LaunchDarklyApi::Events](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Events.md)
|
154
|
+
- [LaunchDarklyApi::Fallthrough](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Fallthrough.md)
|
155
|
+
- [LaunchDarklyApi::FeatureFlag](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlag.md)
|
156
|
+
- [LaunchDarklyApi::FeatureFlagBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagBody.md)
|
157
|
+
- [LaunchDarklyApi::FeatureFlagConfig](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagConfig.md)
|
158
|
+
- [LaunchDarklyApi::FeatureFlagCopyBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagCopyBody.md)
|
159
|
+
- [LaunchDarklyApi::FeatureFlagCopyObject](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagCopyObject.md)
|
160
|
+
- [LaunchDarklyApi::FeatureFlagStatus](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatus.md)
|
161
|
+
- [LaunchDarklyApi::FeatureFlagStatusAcrossEnvironments](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatusAcrossEnvironments.md)
|
162
|
+
- [LaunchDarklyApi::FeatureFlagStatusForQueriedEnvironment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatusForQueriedEnvironment.md)
|
163
|
+
- [LaunchDarklyApi::FeatureFlagStatuses](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlagStatuses.md)
|
164
|
+
- [LaunchDarklyApi::FeatureFlags](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/FeatureFlags.md)
|
165
|
+
- [LaunchDarklyApi::Id](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Id.md)
|
166
|
+
- [LaunchDarklyApi::Link](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Link.md)
|
167
|
+
- [LaunchDarklyApi::Links](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Links.md)
|
168
|
+
- [LaunchDarklyApi::MAU](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MAU.md)
|
169
|
+
- [LaunchDarklyApi::MAUMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MAUMetadata.md)
|
170
|
+
- [LaunchDarklyApi::MAUbyCategory](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MAUbyCategory.md)
|
171
|
+
- [LaunchDarklyApi::Member](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Member.md)
|
172
|
+
- [LaunchDarklyApi::Members](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Members.md)
|
173
|
+
- [LaunchDarklyApi::MembersBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/MembersBody.md)
|
174
|
+
- [LaunchDarklyApi::PatchComment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/PatchComment.md)
|
175
|
+
- [LaunchDarklyApi::PatchOperation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/PatchOperation.md)
|
176
|
+
- [LaunchDarklyApi::Policy](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Policy.md)
|
177
|
+
- [LaunchDarklyApi::Prerequisite](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Prerequisite.md)
|
178
|
+
- [LaunchDarklyApi::Project](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Project.md)
|
179
|
+
- [LaunchDarklyApi::ProjectBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/ProjectBody.md)
|
180
|
+
- [LaunchDarklyApi::Projects](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Projects.md)
|
181
|
+
- [LaunchDarklyApi::Role](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Role.md)
|
182
|
+
- [LaunchDarklyApi::Rollout](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Rollout.md)
|
183
|
+
- [LaunchDarklyApi::Rule](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Rule.md)
|
184
|
+
- [LaunchDarklyApi::Statement](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Statement.md)
|
185
|
+
- [LaunchDarklyApi::Statements](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Statements.md)
|
186
|
+
- [LaunchDarklyApi::Stream](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Stream.md)
|
187
|
+
- [LaunchDarklyApi::StreamBySDK](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamBySDK.md)
|
188
|
+
- [LaunchDarklyApi::StreamBySDKLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamBySDKLinks.md)
|
189
|
+
- [LaunchDarklyApi::StreamBySDKLinksMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamBySDKLinksMetadata.md)
|
190
|
+
- [LaunchDarklyApi::StreamLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamLinks.md)
|
191
|
+
- [LaunchDarklyApi::StreamSDKVersion](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamSDKVersion.md)
|
192
|
+
- [LaunchDarklyApi::StreamSDKVersionData](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamSDKVersionData.md)
|
193
|
+
- [LaunchDarklyApi::StreamUsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageError.md)
|
194
|
+
- [LaunchDarklyApi::StreamUsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageLinks.md)
|
195
|
+
- [LaunchDarklyApi::StreamUsageMetadata](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageMetadata.md)
|
196
|
+
- [LaunchDarklyApi::StreamUsageSeries](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/StreamUsageSeries.md)
|
197
|
+
- [LaunchDarklyApi::Streams](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Streams.md)
|
198
|
+
- [LaunchDarklyApi::Target](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Target.md)
|
199
|
+
- [LaunchDarklyApi::Usage](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Usage.md)
|
200
|
+
- [LaunchDarklyApi::UsageError](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UsageError.md)
|
201
|
+
- [LaunchDarklyApi::UsageLinks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UsageLinks.md)
|
202
|
+
- [LaunchDarklyApi::User](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/User.md)
|
203
|
+
- [LaunchDarklyApi::UserFlagSetting](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserFlagSetting.md)
|
204
|
+
- [LaunchDarklyApi::UserFlagSettings](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserFlagSettings.md)
|
205
|
+
- [LaunchDarklyApi::UserRecord](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserRecord.md)
|
206
|
+
- [LaunchDarklyApi::UserSegment](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegment.md)
|
207
|
+
- [LaunchDarklyApi::UserSegmentBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentBody.md)
|
208
|
+
- [LaunchDarklyApi::UserSegmentRule](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegmentRule.md)
|
209
|
+
- [LaunchDarklyApi::UserSegments](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSegments.md)
|
210
|
+
- [LaunchDarklyApi::UserSettingsBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/UserSettingsBody.md)
|
211
|
+
- [LaunchDarklyApi::Users](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Users.md)
|
212
|
+
- [LaunchDarklyApi::Variation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Variation.md)
|
213
|
+
- [LaunchDarklyApi::Webhook](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Webhook.md)
|
214
|
+
- [LaunchDarklyApi::WebhookBody](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WebhookBody.md)
|
215
|
+
- [LaunchDarklyApi::Webhooks](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/Webhooks.md)
|
216
|
+
- [LaunchDarklyApi::WeightedVariation](https://github.com/launchdarkly/api-client-ruby/blob/2.0.27/docs/WeightedVariation.md)
|
215
217
|
|
216
218
|
## Sample Code
|
217
219
|
|
data/docs/AuditLogApi.md
CHANGED
@@ -28,11 +28,11 @@ end
|
|
28
28
|
api_instance = LaunchDarklyApi::AuditLogApi.new
|
29
29
|
|
30
30
|
opts = {
|
31
|
-
before:
|
32
|
-
after:
|
33
|
-
q:
|
31
|
+
before: 789, # Integer | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp.
|
32
|
+
after: 789, # Integer | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp.
|
33
|
+
q: 'q_example', # String | Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change.
|
34
34
|
limit: 8.14, # Float | A limit on the number of audit log entries to be returned, between 1 and 20.
|
35
|
-
spec:
|
35
|
+
spec: 'spec_example' # String | A resource specifier, allowing you to filter audit log listings by resource.
|
36
36
|
}
|
37
37
|
|
38
38
|
begin
|
@@ -48,8 +48,8 @@ end
|
|
48
48
|
|
49
49
|
Name | Type | Description | Notes
|
50
50
|
------------- | ------------- | ------------- | -------------
|
51
|
-
**before** | **
|
52
|
-
**after** | **
|
51
|
+
**before** | **Integer**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. | [optional]
|
52
|
+
**after** | **Integer**| A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occured after this timestamp. | [optional]
|
53
53
|
**q** | **String**| Text to search for. You can search for the full or partial name of the resource involved or fullpartial email address of the member who made the change. | [optional]
|
54
54
|
**limit** | **Float**| A limit on the number of audit log entries to be returned, between 1 and 20. | [optional]
|
55
55
|
**spec** | **String**| A resource specifier, allowing you to filter audit log listings by resource. | [optional]
|
@@ -88,7 +88,7 @@ end
|
|
88
88
|
|
89
89
|
api_instance = LaunchDarklyApi::AuditLogApi.new
|
90
90
|
|
91
|
-
resource_id =
|
91
|
+
resource_id = 'resource_id_example' # String | The resource ID.
|
92
92
|
|
93
93
|
|
94
94
|
begin
|
data/docs/CustomProperty.md
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | The name of the property. |
|
7
|
-
**value** |
|
7
|
+
**value** | **Array<String>** | Values for this property. | [optional]
|
8
8
|
|
9
9
|
|
data/docs/CustomRole.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**_links** | [**Links**](Links.md) | | [optional]
|
7
7
|
**name** | **String** | Name of the custom role. | [optional]
|
8
|
-
**key** |
|
8
|
+
**key** | **String** | The 20-hexdigit id or the key for a custom role. | [optional]
|
9
9
|
**description** | **String** | Description of the custom role. | [optional]
|
10
10
|
**_id** | [**Id**](Id.md) | | [optional]
|
11
11
|
**policy** | [**Array<Policy>**](Policy.md) | | [optional]
|
data/docs/CustomRoleBody.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Name of the custom role. |
|
7
7
|
**description** | **String** | Description of the custom role. | [optional]
|
8
|
-
**key** |
|
8
|
+
**key** | **String** | The 20-hexdigit id or the key for a custom role. |
|
9
9
|
**policy** | [**Array<Policy>**](Policy.md) | |
|
10
10
|
|
11
11
|
|
data/docs/CustomRoles.md
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**_links** | [**Links**](Links.md) | | [optional]
|
7
|
-
**items** | [**CustomRole
|
7
|
+
**items** | [**Array<CustomRole>**](CustomRole.md) | | [optional]
|
8
8
|
|
9
9
|
|
data/docs/CustomRolesApi.md
CHANGED
@@ -30,7 +30,7 @@ end
|
|
30
30
|
|
31
31
|
api_instance = LaunchDarklyApi::CustomRolesApi.new
|
32
32
|
|
33
|
-
custom_role_key =
|
33
|
+
custom_role_key = 'custom_role_key_example' # String | The custom role key.
|
34
34
|
|
35
35
|
|
36
36
|
begin
|
@@ -81,7 +81,7 @@ end
|
|
81
81
|
|
82
82
|
api_instance = LaunchDarklyApi::CustomRolesApi.new
|
83
83
|
|
84
|
-
custom_role_key =
|
84
|
+
custom_role_key = 'custom_role_key_example' # String | The custom role key.
|
85
85
|
|
86
86
|
|
87
87
|
begin
|
@@ -179,7 +179,7 @@ end
|
|
179
179
|
|
180
180
|
api_instance = LaunchDarklyApi::CustomRolesApi.new
|
181
181
|
|
182
|
-
custom_role_key =
|
182
|
+
custom_role_key = 'custom_role_key_example' # String | The custom role key.
|
183
183
|
|
184
184
|
patch_delta = [LaunchDarklyApi::PatchOperation.new] # Array<PatchOperation> | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
|
185
185
|
|
@@ -216,7 +216,7 @@ Name | Type | Description | Notes
|
|
216
216
|
|
217
217
|
|
218
218
|
# **post_custom_role**
|
219
|
-
> post_custom_role(custom_role_body)
|
219
|
+
> CustomRole post_custom_role(custom_role_body)
|
220
220
|
|
221
221
|
Create a new custom role.
|
222
222
|
|
@@ -239,7 +239,8 @@ custom_role_body = LaunchDarklyApi::CustomRoleBody.new # CustomRoleBody | New ro
|
|
239
239
|
|
240
240
|
begin
|
241
241
|
#Create a new custom role.
|
242
|
-
api_instance.post_custom_role(custom_role_body)
|
242
|
+
result = api_instance.post_custom_role(custom_role_body)
|
243
|
+
p result
|
243
244
|
rescue LaunchDarklyApi::ApiError => e
|
244
245
|
puts "Exception when calling CustomRolesApi->post_custom_role: #{e}"
|
245
246
|
end
|
@@ -253,7 +254,7 @@ Name | Type | Description | Notes
|
|
253
254
|
|
254
255
|
### Return type
|
255
256
|
|
256
|
-
|
257
|
+
[**CustomRole**](CustomRole.md)
|
257
258
|
|
258
259
|
### Authorization
|
259
260
|
|