launchdarkly_api 2.0.10 → 2.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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
data/docs/FeatureFlagsApi.md
CHANGED
|
@@ -4,15 +4,75 @@ All URIs are relative to *https://app.launchdarkly.com/api/v2*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**copy_feature_flag**](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.
|
|
7
8
|
[**delete_feature_flag**](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.
|
|
8
9
|
[**get_feature_flag**](FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
|
|
9
10
|
[**get_feature_flag_status**](FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
|
|
11
|
+
[**get_feature_flag_status_across_environments**](FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
|
|
10
12
|
[**get_feature_flag_statuses**](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.
|
|
11
13
|
[**get_feature_flags**](FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
|
|
12
14
|
[**patch_feature_flag**](FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
|
|
13
15
|
[**post_feature_flag**](FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
# **copy_feature_flag**
|
|
19
|
+
> FeatureFlag copy_feature_flag(project_key, feature_flag_key, feature_flag_copy_body)
|
|
20
|
+
|
|
21
|
+
Copies the feature flag configuration from one environment to the same feature flag in another environment.
|
|
22
|
+
|
|
23
|
+
### Example
|
|
24
|
+
```ruby
|
|
25
|
+
# load the gem
|
|
26
|
+
require 'launchdarkly_api'
|
|
27
|
+
# setup authorization
|
|
28
|
+
LaunchDarklyApi.configure do |config|
|
|
29
|
+
# Configure API key authorization: Token
|
|
30
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
31
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
36
|
+
|
|
37
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
38
|
+
|
|
39
|
+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
|
|
40
|
+
|
|
41
|
+
feature_flag_copy_body = LaunchDarklyApi::FeatureFlagCopyBody.new # FeatureFlagCopyBody | Copy feature flag configurations between environments.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
begin
|
|
45
|
+
#Copies the feature flag configuration from one environment to the same feature flag in another environment.
|
|
46
|
+
result = api_instance.copy_feature_flag(project_key, feature_flag_key, feature_flag_copy_body)
|
|
47
|
+
p result
|
|
48
|
+
rescue LaunchDarklyApi::ApiError => e
|
|
49
|
+
puts "Exception when calling FeatureFlagsApi->copy_feature_flag: #{e}"
|
|
50
|
+
end
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Parameters
|
|
54
|
+
|
|
55
|
+
Name | Type | Description | Notes
|
|
56
|
+
------------- | ------------- | ------------- | -------------
|
|
57
|
+
**project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
|
|
58
|
+
**feature_flag_key** | **String**| The feature flag's key. The key identifies the flag in your code. |
|
|
59
|
+
**feature_flag_copy_body** | [**FeatureFlagCopyBody**](FeatureFlagCopyBody.md)| Copy feature flag configurations between environments. |
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
[**FeatureFlag**](FeatureFlag.md)
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
[Token](../README.md#Token)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: application/json
|
|
72
|
+
- **Accept**: application/json
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
16
76
|
# **delete_feature_flag**
|
|
17
77
|
> delete_feature_flag(project_key, feature_flag_key, )
|
|
18
78
|
|
|
@@ -32,9 +92,9 @@ end
|
|
|
32
92
|
|
|
33
93
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
34
94
|
|
|
35
|
-
project_key =
|
|
95
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
36
96
|
|
|
37
|
-
feature_flag_key =
|
|
97
|
+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
|
|
38
98
|
|
|
39
99
|
|
|
40
100
|
begin
|
|
@@ -86,12 +146,12 @@ end
|
|
|
86
146
|
|
|
87
147
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
88
148
|
|
|
89
|
-
project_key =
|
|
149
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
90
150
|
|
|
91
|
-
feature_flag_key =
|
|
151
|
+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
|
|
92
152
|
|
|
93
153
|
opts = {
|
|
94
|
-
env:
|
|
154
|
+
env: 'env_example' # String | By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=production will restrict the returned configurations to just your production environment.
|
|
95
155
|
}
|
|
96
156
|
|
|
97
157
|
begin
|
|
@@ -145,11 +205,11 @@ end
|
|
|
145
205
|
|
|
146
206
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
147
207
|
|
|
148
|
-
project_key =
|
|
208
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
149
209
|
|
|
150
|
-
environment_key =
|
|
210
|
+
environment_key = 'environment_key_example' # String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
|
|
151
211
|
|
|
152
|
-
feature_flag_key =
|
|
212
|
+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
|
|
153
213
|
|
|
154
214
|
|
|
155
215
|
begin
|
|
@@ -184,6 +244,61 @@ Name | Type | Description | Notes
|
|
|
184
244
|
|
|
185
245
|
|
|
186
246
|
|
|
247
|
+
# **get_feature_flag_status_across_environments**
|
|
248
|
+
> FeatureFlagStatusAcrossEnvironments get_feature_flag_status_across_environments(project_key, feature_flag_key, )
|
|
249
|
+
|
|
250
|
+
Get the status for a particular feature flag across environments
|
|
251
|
+
|
|
252
|
+
### Example
|
|
253
|
+
```ruby
|
|
254
|
+
# load the gem
|
|
255
|
+
require 'launchdarkly_api'
|
|
256
|
+
# setup authorization
|
|
257
|
+
LaunchDarklyApi.configure do |config|
|
|
258
|
+
# Configure API key authorization: Token
|
|
259
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
|
260
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
261
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
265
|
+
|
|
266
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
267
|
+
|
|
268
|
+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
begin
|
|
272
|
+
#Get the status for a particular feature flag across environments
|
|
273
|
+
result = api_instance.get_feature_flag_status_across_environments(project_key, feature_flag_key, )
|
|
274
|
+
p result
|
|
275
|
+
rescue LaunchDarklyApi::ApiError => e
|
|
276
|
+
puts "Exception when calling FeatureFlagsApi->get_feature_flag_status_across_environments: #{e}"
|
|
277
|
+
end
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### Parameters
|
|
281
|
+
|
|
282
|
+
Name | Type | Description | Notes
|
|
283
|
+
------------- | ------------- | ------------- | -------------
|
|
284
|
+
**project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
|
|
285
|
+
**feature_flag_key** | **String**| The feature flag's key. The key identifies the flag in your code. |
|
|
286
|
+
|
|
287
|
+
### Return type
|
|
288
|
+
|
|
289
|
+
[**FeatureFlagStatusAcrossEnvironments**](FeatureFlagStatusAcrossEnvironments.md)
|
|
290
|
+
|
|
291
|
+
### Authorization
|
|
292
|
+
|
|
293
|
+
[Token](../README.md#Token)
|
|
294
|
+
|
|
295
|
+
### HTTP request headers
|
|
296
|
+
|
|
297
|
+
- **Content-Type**: application/json
|
|
298
|
+
- **Accept**: application/json
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
187
302
|
# **get_feature_flag_statuses**
|
|
188
303
|
> FeatureFlagStatuses get_feature_flag_statuses(project_key, environment_key, )
|
|
189
304
|
|
|
@@ -203,9 +318,9 @@ end
|
|
|
203
318
|
|
|
204
319
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
205
320
|
|
|
206
|
-
project_key =
|
|
321
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
207
322
|
|
|
208
|
-
environment_key =
|
|
323
|
+
environment_key = 'environment_key_example' # String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
|
|
209
324
|
|
|
210
325
|
|
|
211
326
|
begin
|
|
@@ -258,11 +373,13 @@ end
|
|
|
258
373
|
|
|
259
374
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
260
375
|
|
|
261
|
-
project_key =
|
|
376
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
262
377
|
|
|
263
378
|
opts = {
|
|
264
|
-
env:
|
|
265
|
-
|
|
379
|
+
env: 'env_example' # String | By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=production will restrict the returned configurations to just your production environment.
|
|
380
|
+
summary: true, # BOOLEAN | By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned.
|
|
381
|
+
archived: true, # BOOLEAN | When set to 1, archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags.
|
|
382
|
+
tag: 'tag_example' # String | Filter by tag. A tag can be used to group flags across projects.
|
|
266
383
|
}
|
|
267
384
|
|
|
268
385
|
begin
|
|
@@ -280,6 +397,8 @@ Name | Type | Description | Notes
|
|
|
280
397
|
------------- | ------------- | ------------- | -------------
|
|
281
398
|
**project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
|
|
282
399
|
**env** | **String**| By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=production will restrict the returned configurations to just your production environment. | [optional]
|
|
400
|
+
**summary** | **BOOLEAN**| By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned. | [optional]
|
|
401
|
+
**archived** | **BOOLEAN**| When set to 1, archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags. | [optional]
|
|
283
402
|
**tag** | **String**| Filter by tag. A tag can be used to group flags across projects. | [optional]
|
|
284
403
|
|
|
285
404
|
### Return type
|
|
@@ -316,9 +435,9 @@ end
|
|
|
316
435
|
|
|
317
436
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
318
437
|
|
|
319
|
-
project_key =
|
|
438
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
320
439
|
|
|
321
|
-
feature_flag_key =
|
|
440
|
+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key. The key identifies the flag in your code.
|
|
322
441
|
|
|
323
442
|
patch_comment = LaunchDarklyApi::PatchComment.new # PatchComment | Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' The addition of comments is also supported.
|
|
324
443
|
|
|
@@ -374,12 +493,12 @@ end
|
|
|
374
493
|
|
|
375
494
|
api_instance = LaunchDarklyApi::FeatureFlagsApi.new
|
|
376
495
|
|
|
377
|
-
project_key =
|
|
496
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
378
497
|
|
|
379
498
|
feature_flag_body = LaunchDarklyApi::FeatureFlagBody.new # FeatureFlagBody | Create a new feature flag.
|
|
380
499
|
|
|
381
500
|
opts = {
|
|
382
|
-
clone:
|
|
501
|
+
clone: 'clone_example' # String | The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting clone=flagKey will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag.
|
|
383
502
|
}
|
|
384
503
|
|
|
385
504
|
begin
|
data/docs/MAU.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::MAU
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_links** | [**UsageLinks**](UsageLinks.md) | | [optional]
|
|
7
|
+
**metadata** | [**Array<StreamBySDKLinksMetadata>**](StreamBySDKLinksMetadata.md) | | [optional]
|
|
8
|
+
**series** | [**Array<StreamUsageSeries>**](StreamUsageSeries.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::MAUbyCategory
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_links** | [**StreamBySDKLinks**](StreamBySDKLinks.md) | | [optional]
|
|
7
|
+
**metadata** | [**Array<MAUMetadata>**](MAUMetadata.md) | | [optional]
|
|
8
|
+
**series** | [**Array<StreamUsageSeries>**](StreamUsageSeries.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
data/docs/Member.md
CHANGED
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**_id** | [**Id**](Id.md) | | [optional]
|
|
8
8
|
**role** | [**Role**](Role.md) | | [optional]
|
|
9
9
|
**email** | **String** | | [optional]
|
|
10
|
+
**first_name** | **String** | | [optional]
|
|
11
|
+
**last_name** | **String** | | [optional]
|
|
10
12
|
**_pending_invite** | **BOOLEAN** | | [optional]
|
|
11
13
|
**is_beta** | **BOOLEAN** | | [optional]
|
|
12
14
|
**custom_roles** | [**Array<Id>**](Id.md) | | [optional]
|
data/docs/Members.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**_links** | [**Links**](Links.md) | | [optional]
|
|
7
|
-
**items** | [**Member
|
|
7
|
+
**items** | [**Array<Member>**](Member.md) | | [optional]
|
|
8
8
|
|
|
9
9
|
|
data/docs/MembersBody.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**first_name** | **String** | | [optional]
|
|
8
8
|
**last_name** | **String** | | [optional]
|
|
9
9
|
**role** | [**Role**](Role.md) | | [optional]
|
|
10
|
-
**custom_roles** |
|
|
10
|
+
**custom_roles** | **Array<String>** | | [optional]
|
|
11
11
|
**inline_role** | [**Statements**](Statements.md) | | [optional]
|
|
12
12
|
|
|
13
13
|
|
data/docs/Policy.md
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**resources** |
|
|
7
|
-
**
|
|
6
|
+
**resources** | **Array<String>** | | [optional]
|
|
7
|
+
**not_resources** | **Array<String>** | Targeted resource will be those resources NOT in this list. The \"resources`\" field must be empty to use this field. | [optional]
|
|
8
|
+
**actions** | **Array<String>** | | [optional]
|
|
9
|
+
**not_actions** | **Array<String>** | Targeted actions will be those actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional]
|
|
8
10
|
**effect** | **String** | Effect of the policy - allow or deny. | [optional]
|
|
9
11
|
|
|
10
12
|
|
data/docs/ProjectBody.md
CHANGED
|
@@ -5,6 +5,8 @@ Name | Type | Description | Notes
|
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**name** | **String** | |
|
|
7
7
|
**key** | **String** | |
|
|
8
|
+
**include_in_snippet_by_default** | **BOOLEAN** | | [optional]
|
|
9
|
+
**tags** | **Array<String>** | | [optional]
|
|
8
10
|
**environments** | [**Array<EnvironmentPost>**](EnvironmentPost.md) | | [optional]
|
|
9
11
|
|
|
10
12
|
|
data/docs/ProjectsApi.md
CHANGED
|
@@ -30,7 +30,7 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = LaunchDarklyApi::ProjectsApi.new
|
|
32
32
|
|
|
33
|
-
project_key =
|
|
33
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
begin
|
|
@@ -81,7 +81,7 @@ end
|
|
|
81
81
|
|
|
82
82
|
api_instance = LaunchDarklyApi::ProjectsApi.new
|
|
83
83
|
|
|
84
|
-
project_key =
|
|
84
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
begin
|
|
@@ -179,7 +179,7 @@ end
|
|
|
179
179
|
|
|
180
180
|
api_instance = LaunchDarklyApi::ProjectsApi.new
|
|
181
181
|
|
|
182
|
-
project_key =
|
|
182
|
+
project_key = 'project_key_example' # String | The project key, used to tie the flags together under one project so they can be managed together.
|
|
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_project**
|
|
219
|
-
> post_project(project_body)
|
|
219
|
+
> Project post_project(project_body)
|
|
220
220
|
|
|
221
221
|
Create a new project with the given key and name.
|
|
222
222
|
|
|
@@ -239,7 +239,8 @@ project_body = LaunchDarklyApi::ProjectBody.new # ProjectBody | Project keys mus
|
|
|
239
239
|
|
|
240
240
|
begin
|
|
241
241
|
#Create a new project with the given key and name.
|
|
242
|
-
api_instance.post_project(project_body)
|
|
242
|
+
result = api_instance.post_project(project_body)
|
|
243
|
+
p result
|
|
243
244
|
rescue LaunchDarklyApi::ApiError => e
|
|
244
245
|
puts "Exception when calling ProjectsApi->post_project: #{e}"
|
|
245
246
|
end
|
|
@@ -253,7 +254,7 @@ Name | Type | Description | Notes
|
|
|
253
254
|
|
|
254
255
|
### Return type
|
|
255
256
|
|
|
256
|
-
|
|
257
|
+
[**Project**](Project.md)
|
|
257
258
|
|
|
258
259
|
### Authorization
|
|
259
260
|
|
data/docs/Rollout.md
CHANGED
data/docs/Statement.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**resources** |
|
|
7
|
-
**
|
|
8
|
-
**actions** |
|
|
9
|
-
**
|
|
6
|
+
**resources** | **Array<String>** | | [optional]
|
|
7
|
+
**not_resources** | **Array<String>** | Targeted resource will be those resources NOT in this list. The \"resources`\" field must be empty to use this field. | [optional]
|
|
8
|
+
**actions** | **Array<String>** | | [optional]
|
|
9
|
+
**not_actions** | **Array<String>** | Targeted actions will be those actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional]
|
|
10
10
|
**effect** | **String** | | [optional]
|
|
11
11
|
|
|
12
12
|
|
data/docs/Stream.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::Stream
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_links** | [**StreamUsageLinks**](StreamUsageLinks.md) | | [optional]
|
|
7
|
+
**metadata** | [**Array<StreamUsageMetadata>**](StreamUsageMetadata.md) | | [optional]
|
|
8
|
+
**series** | [**Array<StreamUsageSeries>**](StreamUsageSeries.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
data/docs/StreamBySDK.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamBySDK
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_links** | [**StreamBySDKLinks**](StreamBySDKLinks.md) | | [optional]
|
|
7
|
+
**metadata** | [**Array<StreamBySDKLinksMetadata>**](StreamBySDKLinksMetadata.md) | | [optional]
|
|
8
|
+
**series** | [**Array<StreamUsageSeries>**](StreamUsageSeries.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamBySDKLinksMetadata
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**sdk** | **String** | | [optional]
|
|
7
|
+
**version** | **String** | | [optional]
|
|
8
|
+
**source** | **String** | | [optional]
|
|
9
|
+
|
|
10
|
+
|
data/docs/StreamLinks.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamLinks
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**parent** | [**Link**](Link.md) | | [optional]
|
|
7
|
+
**_self** | [**Link**](Link.md) | | [optional]
|
|
8
|
+
**subseries** | [**Array<Link>**](Link.md) | Links to endpoints that are in the request path. | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamSDKVersion
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_links** | [**StreamBySDKLinks**](StreamBySDKLinks.md) | | [optional]
|
|
7
|
+
**sdk_versions** | [**Array<StreamSDKVersionData>**](StreamSDKVersionData.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamSDKVersionData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**sdk** | **String** | The language of the sdk | [optional]
|
|
7
|
+
**version** | **String** | The version of the sdk | [optional]
|
|
8
|
+
|
|
9
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamUsageLinks
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**parent** | [**Link**](Link.md) | | [optional]
|
|
7
|
+
**_self** | [**Link**](Link.md) | | [optional]
|
|
8
|
+
**subseries** | [**Array<Link>**](Link.md) | The following links that are in the response. | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamUsageMetadata
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**sdk** | **String** | The language of the sdk | [optional]
|
|
7
|
+
**version** | **String** | The version of the SDK | [optional]
|
|
8
|
+
**source** | **String** | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# LaunchDarklyApi::StreamUsageSeries
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_0** | **Float** | A key corresponding to a time series data point. | [optional]
|
|
7
|
+
**time** | **Float** | A unix epoch time in milliseconds specifying the creation time of this flag. | [optional]
|
|
8
|
+
|
|
9
|
+
|
data/docs/Streams.md
ADDED
data/docs/TeamMembersApi.md
CHANGED
|
@@ -30,7 +30,7 @@ end
|
|
|
30
30
|
|
|
31
31
|
api_instance = LaunchDarklyApi::TeamMembersApi.new
|
|
32
32
|
|
|
33
|
-
member_id =
|
|
33
|
+
member_id = 'member_id_example' # String | The member ID.
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
begin
|
|
@@ -81,7 +81,7 @@ end
|
|
|
81
81
|
|
|
82
82
|
api_instance = LaunchDarklyApi::TeamMembersApi.new
|
|
83
83
|
|
|
84
|
-
member_id =
|
|
84
|
+
member_id = 'member_id_example' # String | The member ID.
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
begin
|
|
@@ -179,7 +179,7 @@ end
|
|
|
179
179
|
|
|
180
180
|
api_instance = LaunchDarklyApi::TeamMembersApi.new
|
|
181
181
|
|
|
182
|
-
member_id =
|
|
182
|
+
member_id = 'member_id_example' # String | The member ID.
|
|
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_members**
|
|
219
|
-
> post_members(members_body)
|
|
219
|
+
> Members post_members(members_body)
|
|
220
220
|
|
|
221
221
|
Invite new members.
|
|
222
222
|
|
|
@@ -239,7 +239,8 @@ members_body = [LaunchDarklyApi::MembersBody.new] # Array<MembersBody> | New mem
|
|
|
239
239
|
|
|
240
240
|
begin
|
|
241
241
|
#Invite new members.
|
|
242
|
-
api_instance.post_members(members_body)
|
|
242
|
+
result = api_instance.post_members(members_body)
|
|
243
|
+
p result
|
|
243
244
|
rescue LaunchDarklyApi::ApiError => e
|
|
244
245
|
puts "Exception when calling TeamMembersApi->post_members: #{e}"
|
|
245
246
|
end
|
|
@@ -253,7 +254,7 @@ Name | Type | Description | Notes
|
|
|
253
254
|
|
|
254
255
|
### Return type
|
|
255
256
|
|
|
256
|
-
|
|
257
|
+
[**Members**](Members.md)
|
|
257
258
|
|
|
258
259
|
### Authorization
|
|
259
260
|
|
data/docs/Usage.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# LaunchDarklyApi::Usage
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**_links** | [**UsageLinks**](UsageLinks.md) | | [optional]
|
|
7
|
+
**series** | [**Array<StreamUsageSeries>**](StreamUsageSeries.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
|
data/docs/UsageLinks.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# LaunchDarklyApi::UsageLinks
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**parent** | [**Link**](Link.md) | | [optional]
|
|
7
|
+
**_self** | [**Link**](Link.md) | | [optional]
|
|
8
|
+
**subseries** | [**Array<Link>**](Link.md) | The following links that are in the response. | [optional]
|
|
9
|
+
|
|
10
|
+
|