Skip to content

Commit 2f85f31

Browse files
author
LaunchDarklyReleaseBot
committed
Version 6.0.2 automatically generated from ld-openapi.
1 parent 61091e2 commit 2f85f31

File tree

173 files changed

+9582
-375
lines changed

Some content is hidden

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

173 files changed

+9582
-375
lines changed

.openapi-generator/FILES

Lines changed: 81 additions & 9 deletions
Large diffs are not rendered by default.

.travis.yml

Lines changed: 1 addition & 1 deletion
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-6.0.1.gem
14+
- gem install ./launchdarkly_api-6.0.2.gem

README.md

Lines changed: 39 additions & 13 deletions
Large diffs are not rendered by default.

docs/AccessTokensApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ nil (empty response body)
7979
### HTTP request headers
8080

8181
- **Content-Type**: Not defined
82-
- **Accept**: Not defined
82+
- **Accept**: application/json
8383

8484

8585
## get_token

docs/AccountMembersApi.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ All URIs are relative to *https://app.launchdarkly.com*
1717
1818
Delete account member
1919

20-
Delete a single account member by ID
20+
Delete a single account member by ID. Requests to delete account members will not work if SCIM is enabled for the account.
2121

2222
### Examples
2323

@@ -78,7 +78,7 @@ nil (empty response body)
7878
### HTTP request headers
7979

8080
- **Content-Type**: Not defined
81-
- **Accept**: Not defined
81+
- **Accept**: application/json
8282

8383

8484
## get_member
@@ -177,7 +177,7 @@ api_instance = LaunchDarklyApi::AccountMembersApi.new
177177
opts = {
178178
limit: 789, # Integer | The number of members to return in the response. Defaults to 20.
179179
offset: 789, # Integer | Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first ten items and then return the next `limit` items.
180-
filter: 'filter_example', # String | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained below.
180+
filter: 'filter_example', # String | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above.
181181
sort: 'sort_example' # String | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order.
182182
}
183183

@@ -214,7 +214,7 @@ end
214214
| ---- | ---- | ----------- | ----- |
215215
| **limit** | **Integer** | The number of members to return in the response. Defaults to 20. | [optional] |
216216
| **offset** | **Integer** | Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first ten items and then return the next `limit` items. | [optional] |
217-
| **filter** | **String** | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained below. | [optional] |
217+
| **filter** | **String** | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above. | [optional] |
218218
| **sort** | **String** | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. | [optional] |
219219

220220
### Return type
@@ -237,7 +237,7 @@ end
237237
238238
Modify an account member
239239

240-
Update a single account member. The request should be a valid JSON Patch document describing the changes to be made to the member.
240+
Update a single account member. The request should be a valid JSON Patch document describing the changes to be made to the member. Requests to update account members will not work if SCIM is enabled for the account.
241241

242242
### Examples
243243

@@ -306,11 +306,11 @@ end
306306

307307
## post_members
308308

309-
> <Members> post_members(inline_object1)
309+
> <Members> post_members(new_member_form)
310310
311311
Invite new members
312312

313-
> ### Full use of this API resource is only available to accounts with paid subscriptions > > The ability to bulk invite members is a paid feature. Single members may be invited if not on a paid plan. Invite one or more new members to join an account. Each member is sent an invitation. Members with \"admin\" or \"owner\" roles may create new members, as well as anyone with a \"createMember\" permission for \"member/\\*\". If a member cannot be invited, the entire request is rejected and no members are invited from that request. Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the \"message\" field of the response. _No more than 50 members may be created per request._ A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`: - **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address. A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).
313+
> ### Full use of this API resource is only available to accounts with paid subscriptions > > The ability to bulk invite members is a paid feature. Single members may be invited if not on a paid plan. Invite one or more new members to join an account. Each member is sent an invitation. Members with \"admin\" or \"owner\" roles may create new members, as well as anyone with a \"createMember\" permission for \"member/\\*\". If a member cannot be invited, the entire request is rejected and no members are invited from that request. Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the \"message\" field of the response. Requests to create account members will not work if SCIM is enabled for the account. _No more than 50 members may be created per request._ A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`: - **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address. A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).
314314

315315
### Examples
316316

@@ -326,11 +326,11 @@ LaunchDarklyApi.configure do |config|
326326
end
327327

328328
api_instance = LaunchDarklyApi::AccountMembersApi.new
329-
inline_object1 = [LaunchDarklyApi::InlineObject1.new({email: 'email_example'})] # Array<InlineObject1> |
329+
new_member_form = [LaunchDarklyApi::NewMemberForm.new({email: 'email_example'})] # Array<NewMemberForm> |
330330

331331
begin
332332
# Invite new members
333-
result = api_instance.post_members(inline_object1)
333+
result = api_instance.post_members(new_member_form)
334334
p result
335335
rescue LaunchDarklyApi::ApiError => e
336336
puts "Error when calling AccountMembersApi->post_members: #{e}"
@@ -341,12 +341,12 @@ end
341341

342342
This returns an Array which contains the response data, status code and headers.
343343

344-
> <Array(<Members>, Integer, Hash)> post_members_with_http_info(inline_object1)
344+
> <Array(<Members>, Integer, Hash)> post_members_with_http_info(new_member_form)
345345
346346
```ruby
347347
begin
348348
# Invite new members
349-
data, status_code, headers = api_instance.post_members_with_http_info(inline_object1)
349+
data, status_code, headers = api_instance.post_members_with_http_info(new_member_form)
350350
p status_code # => 2xx
351351
p headers # => { ... }
352352
p data # => <Members>
@@ -359,7 +359,7 @@ end
359359

360360
| Name | Type | Description | Notes |
361361
| ---- | ---- | ----------- | ----- |
362-
| **inline_object1** | [**Array&lt;InlineObject1&gt;**](InlineObject1.md) | | |
362+
| **new_member_form** | [**Array&lt;NewMemberForm&gt;**](NewMemberForm.md) | | |
363363

364364
### Return type
365365

docs/ActionInputRep.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# LaunchDarklyApi::ActionInputRep
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **instructions** | **Object** | | [optional] |
8+
9+
## Example
10+
11+
```ruby
12+
require 'launchdarkly_api'
13+
14+
instance = LaunchDarklyApi::ActionInputRep.new(
15+
instructions: null
16+
)
17+
```
18+

docs/ActionOutputRep.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# LaunchDarklyApi::ActionOutputRep
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **kind** | **String** | | |
8+
| **instructions** | **Array&lt;Hash&gt;** | | |
9+
10+
## Example
11+
12+
```ruby
13+
require 'launchdarkly_api'
14+
15+
instance = LaunchDarklyApi::ActionOutputRep.new(
16+
kind: null,
17+
instructions: null
18+
)
19+
```
20+

docs/ApprovalConditionInputRep.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# LaunchDarklyApi::ApprovalConditionInputRep
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **description** | **String** | | [optional] |
8+
| **notify_member_ids** | **Array&lt;String&gt;** | | [optional] |
9+
10+
## Example
11+
12+
```ruby
13+
require 'launchdarkly_api'
14+
15+
instance = LaunchDarklyApi::ApprovalConditionInputRep.new(
16+
description: null,
17+
notify_member_ids: null
18+
)
19+
```
20+

docs/ApprovalConditionOutputRep.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# LaunchDarklyApi::ApprovalConditionOutputRep
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **description** | **String** | | |
8+
| **notify_member_ids** | **Array&lt;String&gt;** | | |
9+
| **all_reviews** | [**Array&lt;ReviewOutputRep&gt;**](ReviewOutputRep.md) | | |
10+
| **review_status** | **String** | | |
11+
| **applied_date** | **Integer** | | [optional] |
12+
13+
## Example
14+
15+
```ruby
16+
require 'launchdarkly_api'
17+
18+
instance = LaunchDarklyApi::ApprovalConditionOutputRep.new(
19+
description: null,
20+
notify_member_ids: null,
21+
all_reviews: null,
22+
review_status: null,
23+
applied_date: null
24+
)
25+
```
26+

docs/ApprovalSettings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ instance = LaunchDarklyApi::ApprovalSettings.new(
2323
bypass_approvals_for_pending_changes: false,
2424
min_num_approvals: 1,
2525
can_review_own_request: false,
26-
can_apply_declined_changes: false,
26+
can_apply_declined_changes: true,
2727
service_kind: launchdarkly,
2828
service_config: {},
2929
required_approval_tags: [&quot;require-approval&quot;]

0 commit comments

Comments
 (0)