Skip to content

Commit 42f0ed0

Browse files
author
LaunchDarklyReleaseBot
committed
Version 8.0.0 automatically generated from ld-openapi.
1 parent cfd6691 commit 42f0ed0

File tree

632 files changed

+17962
-2324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

632 files changed

+17962
-2324
lines changed

.openapi-generator/FILES

+120-33
Large diffs are not rendered by default.

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ script:
1111
- bundle install --path vendor/bundle
1212
- bundle exec rspec
1313
- gem build launchdarkly_api.gemspec
14-
- gem install ./launchdarkly_api-7.1.1.gem
14+
- gem install ./launchdarkly_api-8.0.0.gem

README.md

+124-73
Large diffs are not rendered by default.

docs/Access.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# LaunchDarklyApi::Access
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **denied** | [**Array<AccessDenied>**](AccessDenied.md) | | |
8+
| **allowed** | [**Array<AccessAllowedRep>**](AccessAllowedRep.md) | | |
9+
10+
## Example
11+
12+
```ruby
13+
require 'launchdarkly_api'
14+
15+
instance = LaunchDarklyApi::Access.new(
16+
denied: null,
17+
allowed: null
18+
)
19+
```
20+

docs/AccessAllowedReason.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# LaunchDarklyApi::AccessAllowedReason
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **resources** | **Array<String>** | Resource specifier strings | [optional] |
8+
| **not_resources** | **Array<String>** | Targeted resources are the resources NOT in this list. The \"resources\" and \"notActions\" fields must be empty to use this field. | [optional] |
9+
| **actions** | **Array<String>** | Actions to perform on a resource | [optional] |
10+
| **not_actions** | **Array<String>** | Targeted actions are the actions NOT in this list. The \"actions\" and \"notResources\" fields must be empty to use this field. | [optional] |
11+
| **effect** | **String** | | |
12+
| **role_name** | **String** | | [optional] |
13+
14+
## Example
15+
16+
```ruby
17+
require 'launchdarkly_api'
18+
19+
instance = LaunchDarklyApi::AccessAllowedReason.new(
20+
resources: null,
21+
not_resources: null,
22+
actions: null,
23+
not_actions: null,
24+
effect: null,
25+
role_name: null
26+
)
27+
```
28+

docs/AccessAllowedRep.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# LaunchDarklyApi::AccessAllowedRep
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **action** | **String** | | |
8+
| **reason** | [**AccessAllowedReason**](AccessAllowedReason.md) | | |
9+
10+
## Example
11+
12+
```ruby
13+
require 'launchdarkly_api'
14+
15+
instance = LaunchDarklyApi::AccessAllowedRep.new(
16+
action: null,
17+
reason: null
18+
)
19+
```
20+

docs/AccessDenied.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# LaunchDarklyApi::AccessDenied
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **action** | **String** | | |
8+
| **reason** | [**AccessDeniedReason**](AccessDeniedReason.md) | | |
9+
10+
## Example
11+
12+
```ruby
13+
require 'launchdarkly_api'
14+
15+
instance = LaunchDarklyApi::AccessDenied.new(
16+
action: null,
17+
reason: null
18+
)
19+
```
20+

docs/AccessDeniedReason.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# LaunchDarklyApi::AccessDeniedReason
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **resources** | **Array<String>** | Resource specifier strings | [optional] |
8+
| **not_resources** | **Array<String>** | Targeted resources are the resources NOT in this list. The \"resources\" and \"notActions\" fields must be empty to use this field. | [optional] |
9+
| **actions** | **Array<String>** | Actions to perform on a resource | [optional] |
10+
| **not_actions** | **Array<String>** | Targeted actions are the actions NOT in this list. The \"actions\" and \"notResources\" fields must be empty to use this field. | [optional] |
11+
| **effect** | **String** | | |
12+
| **role_name** | **String** | | [optional] |
13+
14+
## Example
15+
16+
```ruby
17+
require 'launchdarkly_api'
18+
19+
instance = LaunchDarklyApi::AccessDeniedReason.new(
20+
resources: null,
21+
not_resources: null,
22+
actions: null,
23+
not_actions: null,
24+
effect: null,
25+
role_name: null
26+
)
27+
```
28+

docs/AccessTokensApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ end
249249

250250
api_instance = LaunchDarklyApi::AccessTokensApi.new
251251
id = 'id_example' # String | The ID of the access token to update
252-
patch_operation = [LaunchDarklyApi::PatchOperation.new({op: 'replace', path: '/biscuits', value: Chocolate Digestive})] # Array<PatchOperation> |
252+
patch_operation = [LaunchDarklyApi::PatchOperation.new({op: 'replace', path: '/exampleField', value: new example value})] # Array<PatchOperation> |
253253

254254
begin
255255
# Patch access token

docs/AccountMembersApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ end
255255

256256
api_instance = LaunchDarklyApi::AccountMembersApi.new
257257
id = 'id_example' # String | The member ID
258-
patch_operation = [LaunchDarklyApi::PatchOperation.new({op: 'replace', path: '/biscuits', value: Chocolate Digestive})] # Array<PatchOperation> |
258+
patch_operation = [LaunchDarklyApi::PatchOperation.new({op: 'replace', path: '/exampleField', value: new example value})] # Array<PatchOperation> |
259259

260260
begin
261261
# Modify an account member

docs/AccountUsageBetaApi.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All URIs are relative to *https://app.launchdarkly.com*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |
7-
| [**get_evaluations_usage**](AccountUsageBetaApi.md#get_evaluations_usage) | **GET** /api/v2/usage/evaluations/{projKey}/{envKey}/{flagKey} | Get evaluations usage |
7+
| [**get_evaluations_usage**](AccountUsageBetaApi.md#get_evaluations_usage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage |
88
| [**get_events_usage**](AccountUsageBetaApi.md#get_events_usage) | **GET** /api/v2/usage/events/{type} | Get events usage |
99
| [**get_mau_sdks_by_type**](AccountUsageBetaApi.md#get_mau_sdks_by_type) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type |
1010
| [**get_mau_usage**](AccountUsageBetaApi.md#get_mau_usage) | **GET** /api/v2/usage/mau | Get MAU usage |
@@ -16,7 +16,7 @@ All URIs are relative to *https://app.launchdarkly.com*
1616

1717
## get_evaluations_usage
1818

19-
> <SeriesListRep> get_evaluations_usage(proj_key, env_key, flag_key, opts)
19+
> <SeriesListRep> get_evaluations_usage(project_key, environment_key, feature_flag_key, opts)
2020
2121
Get evaluations usage
2222

@@ -36,9 +36,9 @@ LaunchDarklyApi.configure do |config|
3636
end
3737

3838
api_instance = LaunchDarklyApi::AccountUsageBetaApi.new
39-
proj_key = 'proj_key_example' # String | The project key.
40-
env_key = 'env_key_example' # String | The environment key.
41-
flag_key = 'flag_key_example' # String | The feature flag's key.
39+
project_key = 'project_key_example' # String | The project key
40+
environment_key = 'environment_key_example' # String | The environment key
41+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
4242
opts = {
4343
from: 'from_example', # String | The series of data returned starts from this timestamp. Defaults to 30 days ago.
4444
to: 'to_example', # String | The series of data returned ends at this timestamp. Defaults to the current time.
@@ -47,7 +47,7 @@ opts = {
4747

4848
begin
4949
# Get evaluations usage
50-
result = api_instance.get_evaluations_usage(proj_key, env_key, flag_key, opts)
50+
result = api_instance.get_evaluations_usage(project_key, environment_key, feature_flag_key, opts)
5151
p result
5252
rescue LaunchDarklyApi::ApiError => e
5353
puts "Error when calling AccountUsageBetaApi->get_evaluations_usage: #{e}"
@@ -58,12 +58,12 @@ end
5858

5959
This returns an Array which contains the response data, status code and headers.
6060

61-
> <Array(<SeriesListRep>, Integer, Hash)> get_evaluations_usage_with_http_info(proj_key, env_key, flag_key, opts)
61+
> <Array(<SeriesListRep>, Integer, Hash)> get_evaluations_usage_with_http_info(project_key, environment_key, feature_flag_key, opts)
6262
6363
```ruby
6464
begin
6565
# Get evaluations usage
66-
data, status_code, headers = api_instance.get_evaluations_usage_with_http_info(proj_key, env_key, flag_key, opts)
66+
data, status_code, headers = api_instance.get_evaluations_usage_with_http_info(project_key, environment_key, feature_flag_key, opts)
6767
p status_code # => 2xx
6868
p headers # => { ... }
6969
p data # => <SeriesListRep>
@@ -76,9 +76,9 @@ end
7676

7777
| Name | Type | Description | Notes |
7878
| ---- | ---- | ----------- | ----- |
79-
| **proj_key** | **String** | The project key. | |
80-
| **env_key** | **String** | The environment key. | |
81-
| **flag_key** | **String** | The feature flag&#39;s key. | |
79+
| **project_key** | **String** | The project key | |
80+
| **environment_key** | **String** | The environment key | |
81+
| **feature_flag_key** | **String** | The feature flag key | |
8282
| **from** | **String** | The series of data returned starts from this timestamp. Defaults to 30 days ago. | [optional] |
8383
| **to** | **String** | The series of data returned ends at this timestamp. Defaults to the current time. | [optional] |
8484
| **tz** | **String** | The timezone to use for breaks between days when returning daily data. | [optional] |

docs/ApprovalsApi.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636

3737
api_instance = LaunchDarklyApi::ApprovalsApi.new
3838
project_key = 'project_key_example' # String | The project key
39-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
39+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
4040
environment_key = 'environment_key_example' # String | The environment key
4141
id = 'id_example' # String | The feature flag approval request ID
4242

@@ -71,7 +71,7 @@ end
7171
| Name | Type | Description | Notes |
7272
| ---- | ---- | ----------- | ----- |
7373
| **project_key** | **String** | The project key | |
74-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
74+
| **feature_flag_key** | **String** | The feature flag key | |
7575
| **environment_key** | **String** | The environment key | |
7676
| **id** | **String** | The feature flag approval request ID | |
7777

@@ -112,7 +112,7 @@ end
112112

113113
api_instance = LaunchDarklyApi::ApprovalsApi.new
114114
project_key = 'project_key_example' # String | The project key
115-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
115+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
116116
environment_key = 'environment_key_example' # String | The environment key
117117
id = 'id_example' # String | The feature flag approval request ID
118118

@@ -148,7 +148,7 @@ end
148148
| Name | Type | Description | Notes |
149149
| ---- | ---- | ----------- | ----- |
150150
| **project_key** | **String** | The project key | |
151-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
151+
| **feature_flag_key** | **String** | The feature flag key | |
152152
| **environment_key** | **String** | The environment key | |
153153
| **id** | **String** | The feature flag approval request ID | |
154154

@@ -189,7 +189,7 @@ end
189189

190190
api_instance = LaunchDarklyApi::ApprovalsApi.new
191191
project_key = 'project_key_example' # String | The project key
192-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
192+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
193193
environment_key = 'environment_key_example' # String | The environment key
194194

195195
begin
@@ -224,7 +224,7 @@ end
224224
| Name | Type | Description | Notes |
225225
| ---- | ---- | ----------- | ----- |
226226
| **project_key** | **String** | The project key | |
227-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
227+
| **feature_flag_key** | **String** | The feature flag key | |
228228
| **environment_key** | **String** | The environment key | |
229229

230230
### Return type
@@ -264,7 +264,7 @@ end
264264

265265
api_instance = LaunchDarklyApi::ApprovalsApi.new
266266
project_key = 'project_key_example' # String | The project key
267-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
267+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
268268
environment_key = 'environment_key_example' # String | The environment key
269269
create_flag_config_approval_request_request = LaunchDarklyApi::CreateFlagConfigApprovalRequestRequest.new({description: 'description_example', instructions: [{ key: 3.56}], notify_member_ids: ['notify_member_ids_example']}) # CreateFlagConfigApprovalRequestRequest |
270270

@@ -300,7 +300,7 @@ end
300300
| Name | Type | Description | Notes |
301301
| ---- | ---- | ----------- | ----- |
302302
| **project_key** | **String** | The project key | |
303-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
303+
| **feature_flag_key** | **String** | The feature flag key | |
304304
| **environment_key** | **String** | The environment key | |
305305
| **create_flag_config_approval_request_request** | [**CreateFlagConfigApprovalRequestRequest**](CreateFlagConfigApprovalRequestRequest.md) | | |
306306

@@ -341,7 +341,7 @@ end
341341

342342
api_instance = LaunchDarklyApi::ApprovalsApi.new
343343
project_key = 'project_key_example' # String | The project key
344-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
344+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
345345
environment_key = 'environment_key_example' # String | The environment key
346346
id = 'id_example' # String | The feature flag approval request ID
347347
post_approval_request_apply_request = LaunchDarklyApi::PostApprovalRequestApplyRequest.new # PostApprovalRequestApplyRequest |
@@ -378,7 +378,7 @@ end
378378
| Name | Type | Description | Notes |
379379
| ---- | ---- | ----------- | ----- |
380380
| **project_key** | **String** | The project key | |
381-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
381+
| **feature_flag_key** | **String** | The feature flag key | |
382382
| **environment_key** | **String** | The environment key | |
383383
| **id** | **String** | The feature flag approval request ID | |
384384
| **post_approval_request_apply_request** | [**PostApprovalRequestApplyRequest**](PostApprovalRequestApplyRequest.md) | | |
@@ -420,7 +420,7 @@ end
420420

421421
api_instance = LaunchDarklyApi::ApprovalsApi.new
422422
project_key = 'project_key_example' # String | The project key
423-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
423+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
424424
environment_key = 'environment_key_example' # String | The environment key
425425
id = 'id_example' # String | The feature flag approval request ID
426426
post_approval_request_review_request = LaunchDarklyApi::PostApprovalRequestReviewRequest.new # PostApprovalRequestReviewRequest |
@@ -457,7 +457,7 @@ end
457457
| Name | Type | Description | Notes |
458458
| ---- | ---- | ----------- | ----- |
459459
| **project_key** | **String** | The project key | |
460-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
460+
| **feature_flag_key** | **String** | The feature flag key | |
461461
| **environment_key** | **String** | The environment key | |
462462
| **id** | **String** | The feature flag approval request ID | |
463463
| **post_approval_request_review_request** | [**PostApprovalRequestReviewRequest**](PostApprovalRequestReviewRequest.md) | | |
@@ -499,7 +499,7 @@ end
499499

500500
api_instance = LaunchDarklyApi::ApprovalsApi.new
501501
project_key = 'project_key_example' # String | The project key
502-
feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
502+
feature_flag_key = 'feature_flag_key_example' # String | The feature flag key
503503
environment_key = 'environment_key_example' # String | The environment key
504504
create_copy_flag_config_approval_request_request = LaunchDarklyApi::CreateCopyFlagConfigApprovalRequestRequest.new({description: 'description_example', notify_member_ids: ['notify_member_ids_example'], source: LaunchDarklyApi::SourceFlag.new({key: 'key_example'})}) # CreateCopyFlagConfigApprovalRequestRequest |
505505

@@ -535,7 +535,7 @@ end
535535
| Name | Type | Description | Notes |
536536
| ---- | ---- | ----------- | ----- |
537537
| **project_key** | **String** | The project key | |
538-
| **feature_flag_key** | **String** | The feature flag&#39;s key | |
538+
| **feature_flag_key** | **String** | The feature flag key | |
539539
| **environment_key** | **String** | The environment key | |
540540
| **create_copy_flag_config_approval_request_request** | [**CreateCopyFlagConfigApprovalRequestRequest**](CreateCopyFlagConfigApprovalRequestRequest.md) | | |
541541

0 commit comments

Comments
 (0)