Skip to content

Commit 003ef1c

Browse files
author
LaunchDarklyReleaseBot
committed
Version 6.0.2 automatically generated from ld-openapi.
1 parent 1b2572a commit 003ef1c

File tree

320 files changed

+6312
-512
lines changed

Some content is hidden

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

320 files changed

+6312
-512
lines changed

.openapi-generator/FILES

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

README.md

Lines changed: 36 additions & 10 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
@@ -61,7 +61,7 @@ null (empty response body)
6161
### HTTP request headers
6262

6363
- **Content-Type**: Not defined
64-
- **Accept**: Not defined
64+
- **Accept**: application/json
6565

6666

6767
## getToken

docs/AccountMembersApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Method | HTTP request | Description
1818
1919
Delete account member
2020

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

2323
### Example
2424

@@ -60,7 +60,7 @@ null (empty response body)
6060
### HTTP request headers
6161

6262
- **Content-Type**: Not defined
63-
- **Accept**: Not defined
63+
- **Accept**: application/json
6464

6565

6666
## getMember
@@ -137,7 +137,7 @@ let apiInstance = new LaunchDarklyApi.AccountMembersApi();
137137
let opts = {
138138
'limit': 789, // Number | The number of members to return in the response. Defaults to 20.
139139
'offset': 789, // Number | 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.
140-
'filter': "filter_example", // String | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained below.
140+
'filter': "filter_example", // String | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above.
141141
'sort': "sort_example" // String | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order.
142142
};
143143
apiInstance.getMembers(opts, (error, data, response) => {
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
156156
------------- | ------------- | ------------- | -------------
157157
**limit** | **Number**| The number of members to return in the response. Defaults to 20. | [optional]
158158
**offset** | **Number**| 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]
159-
**filter** | **String**| A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained below. | [optional]
159+
**filter** | **String**| A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above. | [optional]
160160
**sort** | **String**| A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. | [optional]
161161

162162
### Return type
@@ -179,7 +179,7 @@ Name | Type | Description | Notes
179179
180180
Modify an account member
181181

182-
Update a single account member. The request should be a valid JSON Patch document describing the changes to be made to the member.
182+
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.
183183

184184
### Example
185185

@@ -228,11 +228,11 @@ Name | Type | Description | Notes
228228

229229
## postMembers
230230

231-
> Members postMembers(inlineObject1)
231+
> Members postMembers(newMemberForm)
232232
233233
Invite new members
234234

235-
> ### 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).
235+
> ### 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).
236236

237237
### Example
238238

@@ -246,8 +246,8 @@ ApiKey.apiKey = 'YOUR API KEY';
246246
//ApiKey.apiKeyPrefix = 'Token';
247247

248248
let apiInstance = new LaunchDarklyApi.AccountMembersApi();
249-
let inlineObject1 = [new LaunchDarklyApi.InlineObject1()]; // [InlineObject1] |
250-
apiInstance.postMembers(inlineObject1, (error, data, response) => {
249+
let newMemberForm = [new LaunchDarklyApi.NewMemberForm()]; // [NewMemberForm] |
250+
apiInstance.postMembers(newMemberForm, (error, data, response) => {
251251
if (error) {
252252
console.error(error);
253253
} else {
@@ -261,7 +261,7 @@ apiInstance.postMembers(inlineObject1, (error, data, response) => {
261261

262262
Name | Type | Description | Notes
263263
------------- | ------------- | ------------- | -------------
264-
**inlineObject1** | [**[InlineObject1]**](InlineObject1.md)| |
264+
**newMemberForm** | [**[NewMemberForm]**](NewMemberForm.md)| |
265265

266266
### Return type
267267

docs/ActionInputRep.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# LaunchDarklyApi.ActionInputRep
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**instructions** | **Object** | | [optional]
8+
9+

docs/ActionOutputRep.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# LaunchDarklyApi.ActionOutputRep
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**kind** | **String** | |
8+
**instructions** | **[Object]** | |
9+
10+

docs/ApprovalConditionInputRep.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# LaunchDarklyApi.ApprovalConditionInputRep
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | **String** | | [optional]
8+
**notifyMemberIds** | **[String]** | | [optional]
9+
10+

docs/ApprovalConditionOutputRep.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# LaunchDarklyApi.ApprovalConditionOutputRep
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | **String** | |
8+
**notifyMemberIds** | **[String]** | |
9+
**allReviews** | [**[ReviewOutputRep]**](ReviewOutputRep.md) | |
10+
**reviewStatus** | **String** | |
11+
**appliedDate** | **Number** | | [optional]
12+
13+

docs/ApprovalsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Method | HTTP request | Description
1010
[**postApprovalRequest**](ApprovalsApi.md#postApprovalRequest) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Create approval request
1111
[**postApprovalRequestApplyRequest**](ApprovalsApi.md#postApprovalRequestApplyRequest) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply | Apply approval request
1212
[**postApprovalRequestReview**](ApprovalsApi.md#postApprovalRequestReview) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews | Review approval request
13-
[**postFlagCopyConfigApprovalRequest**](ApprovalsApi.md#postFlagCopyConfigApprovalRequest) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/copy/environments/{environmentKey}/approval-requests-flag-copy | Create approval request to copy flag configurations across environments
13+
[**postFlagCopyConfigApprovalRequest**](ApprovalsApi.md#postFlagCopyConfigApprovalRequest) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy | Create approval request to copy flag configurations across environments
1414

1515

1616

@@ -68,7 +68,7 @@ null (empty response body)
6868
### HTTP request headers
6969

7070
- **Content-Type**: Not defined
71-
- **Accept**: Not defined
71+
- **Accept**: application/json
7272

7373

7474
## getApproval

docs/BranchCollectionRep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**links** | [**{String: Link}**](Link.md) | |
8-
**items** | [**[BranchRep]**](BranchRep.md) | |
8+
**items** | [**[BranchRep]**](BranchRep.md) | An array of branches |
99

1010

0 commit comments

Comments
 (0)