Skip to content

Commit ec79574

Browse files
author
LaunchDarklyReleaseBot
committed
Version 17.1.0 automatically generated from ld-openapi.
1 parent d37c5fe commit ec79574

File tree

1,077 files changed

+15988
-4355
lines changed

Some content is hidden

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

1,077 files changed

+15988
-4355
lines changed

.openapi-generator/FILES

Lines changed: 60 additions & 6 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 44 additions & 22 deletions
Large diffs are not rendered by default.

api/openapi.yaml

Lines changed: 2642 additions & 261 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def ossrhPassword = hasProperty('ossrhPassword') ? ossrhPassword : System.getenv
3636

3737
allprojects {
3838
group = 'com.launchdarkly'
39-
version = '17.0.0'
39+
version = '17.1.0'
4040
archivesBaseName = 'api-client'
4141
sourceCompatibility = 1.8
4242
targetCompatibility = 1.8

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.launchdarkly",
44
name := "api-client",
5-
version := "17.0.0",
5+
version := "17.1.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/ApprovalsBetaApi.md

Lines changed: 78 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,89 @@ All URIs are relative to *https://app.launchdarkly.com*
44

55
| Method | HTTP request | Description |
66
|------------- | ------------- | -------------|
7-
| [**patchApprovalRequest**](ApprovalsBetaApi.md#patchApprovalRequest) | **PATCH** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} | Update approval request |
7+
| [**patchApprovalRequest**](ApprovalsBetaApi.md#patchApprovalRequest) | **PATCH** /api/v2/approval-requests/{id} | Update approval request |
8+
| [**patchFlagConfigApprovalRequest**](ApprovalsBetaApi.md#patchFlagConfigApprovalRequest) | **PATCH** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id} | Update flag approval request |
89

910

1011
<a name="patchApprovalRequest"></a>
1112
# **patchApprovalRequest**
12-
> FlagConfigApprovalRequestResponse patchApprovalRequest(projectKey, featureFlagKey, environmentKey, id)
13+
> FlagConfigApprovalRequestResponse patchApprovalRequest(id)
1314
1415
Update approval request
1516

17+
Perform a partial update to an approval request. Updating an approval request uses the semantic patch format. To make a semantic patch request, you must append &#x60;domain-model&#x3D;launchdarkly.semanticpatch&#x60; to your &#x60;Content-Type&#x60; header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following &#x60;kind&#x60; instruction for updating an approval request. #### addReviewers Adds the specified members and teams to the existing list of reviewers. You must include at least one of &#x60;notifyMemberIds&#x60; and &#x60;notifyTeamKeys&#x60;. ##### Parameters - &#x60;notifyMemberIds&#x60;: (Optional) List of member IDs. - &#x60;notifyTeamKeys&#x60;: (Optional) List of team keys. Here&#39;s an example: &#x60;&#x60;&#x60;json { \&quot;instructions\&quot;: [{ \&quot;kind\&quot;: \&quot;addReviewers\&quot;, \&quot;notifyMemberIds\&quot;: [ \&quot;user-key-123abc\&quot;, \&quot;user-key-456def\&quot; ], \&quot;notifyTeamKeys\&quot;: [ \&quot;team-key-789abc\&quot;] }] } &#x60;&#x60;&#x60;
18+
19+
### Example
20+
```java
21+
// Import classes:
22+
import com.launchdarkly.api.ApiClient;
23+
import com.launchdarkly.api.ApiException;
24+
import com.launchdarkly.api.Configuration;
25+
import com.launchdarkly.api.auth.*;
26+
import com.launchdarkly.api.models.*;
27+
import com.launchdarkly.api.api.ApprovalsBetaApi;
28+
29+
public class Example {
30+
public static void main(String[] args) {
31+
ApiClient defaultClient = Configuration.getDefaultApiClient();
32+
defaultClient.setBasePath("https://app.launchdarkly.com");
33+
34+
// Configure API key authorization: ApiKey
35+
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
36+
ApiKey.setApiKey("YOUR API KEY");
37+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
38+
//ApiKey.setApiKeyPrefix("Token");
39+
40+
ApprovalsBetaApi apiInstance = new ApprovalsBetaApi(defaultClient);
41+
String id = "id_example"; // String | The approval ID
42+
try {
43+
FlagConfigApprovalRequestResponse result = apiInstance.patchApprovalRequest(id);
44+
System.out.println(result);
45+
} catch (ApiException e) {
46+
System.err.println("Exception when calling ApprovalsBetaApi#patchApprovalRequest");
47+
System.err.println("Status code: " + e.getCode());
48+
System.err.println("Reason: " + e.getResponseBody());
49+
System.err.println("Response headers: " + e.getResponseHeaders());
50+
e.printStackTrace();
51+
}
52+
}
53+
}
54+
```
55+
56+
### Parameters
57+
58+
| Name | Type | Description | Notes |
59+
|------------- | ------------- | ------------- | -------------|
60+
| **id** | **String**| The approval ID | |
61+
62+
### Return type
63+
64+
[**FlagConfigApprovalRequestResponse**](FlagConfigApprovalRequestResponse.md)
65+
66+
### Authorization
67+
68+
[ApiKey](../README.md#ApiKey)
69+
70+
### HTTP request headers
71+
72+
- **Content-Type**: Not defined
73+
- **Accept**: application/json
74+
75+
### HTTP response details
76+
| Status code | Description | Response headers |
77+
|-------------|-------------|------------------|
78+
| **200** | Approval request response | - |
79+
| **401** | Invalid access token | - |
80+
| **403** | Forbidden | - |
81+
| **404** | Invalid resource identifier | - |
82+
| **429** | Rate limited | - |
83+
84+
<a name="patchFlagConfigApprovalRequest"></a>
85+
# **patchFlagConfigApprovalRequest**
86+
> FlagConfigApprovalRequestResponse patchFlagConfigApprovalRequest(projectKey, featureFlagKey, environmentKey, id)
87+
88+
Update flag approval request
89+
1690
Perform a partial update to an approval request. Updating an approval request uses the semantic patch format. To make a semantic patch request, you must append &#x60;domain-model&#x3D;launchdarkly.semanticpatch&#x60; to your &#x60;Content-Type&#x60; header. To learn more, read [Updates using semantic patch](/reference#updates-using-semantic-patch). ### Instructions Semantic patch requests support the following &#x60;kind&#x60; instruction for updating an approval request. #### addReviewers Adds the specified members and teams to the existing list of reviewers. You must include at least one of &#x60;notifyMemberIds&#x60; and &#x60;notifyTeamKeys&#x60;. ##### Parameters - &#x60;notifyMemberIds&#x60;: (Optional) List of member IDs. - &#x60;notifyTeamKeys&#x60;: (Optional) List of team keys.
1791

1892
### Example
@@ -42,10 +116,10 @@ public class Example {
42116
String environmentKey = "environmentKey_example"; // String | The environment key
43117
String id = "id_example"; // String | The approval ID
44118
try {
45-
FlagConfigApprovalRequestResponse result = apiInstance.patchApprovalRequest(projectKey, featureFlagKey, environmentKey, id);
119+
FlagConfigApprovalRequestResponse result = apiInstance.patchFlagConfigApprovalRequest(projectKey, featureFlagKey, environmentKey, id);
46120
System.out.println(result);
47121
} catch (ApiException e) {
48-
System.err.println("Exception when calling ApprovalsBetaApi#patchApprovalRequest");
122+
System.err.println("Exception when calling ApprovalsBetaApi#patchFlagConfigApprovalRequest");
49123
System.err.println("Status code: " + e.getCode());
50124
System.err.println("Reason: " + e.getResponseBody());
51125
System.err.println("Response headers: " + e.getResponseHeaders());

docs/ApprovalsCapabilityConfig.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# ApprovalsCapabilityConfig
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**additionalFormVariables** | [**List&lt;FormVariable&gt;**](FormVariable.md) | The additional form variables for the approvals capability | [optional] |
11+
12+
13+

docs/Audience.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**environment** | [**EnvironmentSummary**](EnvironmentSummary.md) | | |
10+
|**environment** | [**EnvironmentSummary**](EnvironmentSummary.md) | | [optional] |
1111
|**name** | **String** | The release phase name | |
1212
|**_configuration** | [**AudienceConfiguration**](AudienceConfiguration.md) | | [optional] |
1313
|**segmentKeys** | **List&lt;String&gt;** | A list of segment keys | [optional] |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AuditLogEventsHookCapabilityConfigPost
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**statements** | [**List&lt;StatementPost&gt;**](StatementPost.md) | | [optional] |
11+
12+
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AuditLogEventsHookCapabilityConfigRep
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**statements** | [**List&lt;Statement&gt;**](Statement.md) | The set of resources you wish to subscribe to audit log notifications for. | [optional] |
11+
12+
13+

0 commit comments

Comments
 (0)