Skip to content

Commit 42ad9b3

Browse files
author
LaunchDarklyReleaseBot
committed
Version 12.0.0 automatically generated from ld-openapi.
1 parent 0176b04 commit 42ad9b3

File tree

884 files changed

+43822
-7530
lines changed

Some content is hidden

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

884 files changed

+43822
-7530
lines changed

.openapi-generator/FILES

Lines changed: 138 additions & 3 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 80 additions & 15 deletions
Large diffs are not rendered by default.

api/openapi.yaml

Lines changed: 11186 additions & 5389 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 = '11.0.0'
39+
version = '12.0.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 := "11.0.0",
5+
version := "12.0.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/AccountUsageBetaApi.md

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All URIs are relative to *https://app.launchdarkly.com*
66
|------------- | ------------- | -------------|
77
| [**getEvaluationsUsage**](AccountUsageBetaApi.md#getEvaluationsUsage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage |
88
| [**getEventsUsage**](AccountUsageBetaApi.md#getEventsUsage) | **GET** /api/v2/usage/events/{type} | Get events usage |
9+
| [**getExperimentationKeysUsage**](AccountUsageBetaApi.md#getExperimentationKeysUsage) | **GET** /api/v2/usage/experimentation-keys | Get experimentation keys usage |
910
| [**getMauSdksByType**](AccountUsageBetaApi.md#getMauSdksByType) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type |
1011
| [**getMauUsage**](AccountUsageBetaApi.md#getMauUsage) | **GET** /api/v2/usage/mau | Get MAU usage |
1112
| [**getMauUsageByCategory**](AccountUsageBetaApi.md#getMauUsageByCategory) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category |
@@ -176,13 +177,89 @@ public class Example {
176177
| **404** | Invalid resource identifier | - |
177178
| **429** | Rate limited | - |
178179

180+
<a name="getExperimentationKeysUsage"></a>
181+
# **getExperimentationKeysUsage**
182+
> SeriesIntervalsRep getExperimentationKeysUsage(from, to)
183+
184+
Get experimentation keys usage
185+
186+
Get a time-series array of the number of monthly experimentation keys from your account. The granularity is always daily, with a max of 31 days.
187+
188+
### Example
189+
```java
190+
// Import classes:
191+
import com.launchdarkly.api.ApiClient;
192+
import com.launchdarkly.api.ApiException;
193+
import com.launchdarkly.api.Configuration;
194+
import com.launchdarkly.api.auth.*;
195+
import com.launchdarkly.api.models.*;
196+
import com.launchdarkly.api.api.AccountUsageBetaApi;
197+
198+
public class Example {
199+
public static void main(String[] args) {
200+
ApiClient defaultClient = Configuration.getDefaultApiClient();
201+
defaultClient.setBasePath("https://app.launchdarkly.com");
202+
203+
// Configure API key authorization: ApiKey
204+
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
205+
ApiKey.setApiKey("YOUR API KEY");
206+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
207+
//ApiKey.setApiKeyPrefix("Token");
208+
209+
AccountUsageBetaApi apiInstance = new AccountUsageBetaApi(defaultClient);
210+
String from = "from_example"; // String | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
211+
String to = "to_example"; // String | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
212+
try {
213+
SeriesIntervalsRep result = apiInstance.getExperimentationKeysUsage(from, to);
214+
System.out.println(result);
215+
} catch (ApiException e) {
216+
System.err.println("Exception when calling AccountUsageBetaApi#getExperimentationKeysUsage");
217+
System.err.println("Status code: " + e.getCode());
218+
System.err.println("Reason: " + e.getResponseBody());
219+
System.err.println("Response headers: " + e.getResponseHeaders());
220+
e.printStackTrace();
221+
}
222+
}
223+
}
224+
```
225+
226+
### Parameters
227+
228+
| Name | Type | Description | Notes |
229+
|------------- | ------------- | ------------- | -------------|
230+
| **from** | **String**| The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional] |
231+
| **to** | **String**| The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional] |
232+
233+
### Return type
234+
235+
[**SeriesIntervalsRep**](SeriesIntervalsRep.md)
236+
237+
### Authorization
238+
239+
[ApiKey](../README.md#ApiKey)
240+
241+
### HTTP request headers
242+
243+
- **Content-Type**: Not defined
244+
- **Accept**: application/json
245+
246+
### HTTP response details
247+
| Status code | Description | Response headers |
248+
|-------------|-------------|------------------|
249+
| **200** | Usage response | - |
250+
| **400** | Invalid request | - |
251+
| **401** | Invalid access token | - |
252+
| **403** | Forbidden | - |
253+
| **429** | Rate limited | - |
254+
| **503** | Service unavailable | - |
255+
179256
<a name="getMauSdksByType"></a>
180257
# **getMauSdksByType**
181258
> SdkListRep getMauSdksByType(from, to, sdktype)
182259
183260
Get MAU SDKs by type
184261

185-
Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.
262+
Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.&lt;br/&gt;&lt;br/&gt;Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. Use [Get client-side monthly context instances uage](/tag/Account-usage-(beta)#operation/getCMCIUsage) instead. To learn more, read [Account usage metrics](https://docs.launchdarkly.com/home/billing/usage-metrics).
186263

187264
### Example
188265
```java
@@ -259,7 +336,7 @@ public class Example {
259336
260337
Get MAU usage
261338

262-
Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.
339+
Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.&lt;br/&gt;&lt;br/&gt;Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. Use [Get client-side monthly context instances uage](/tag/Account-usage-(beta)#operation/getCMCIUsage) instead. To learn more, read [Account usage metrics](https://docs.launchdarkly.com/home/billing/usage-metrics).
263340

264341
### Example
265342
```java
@@ -346,7 +423,7 @@ public class Example {
346423
347424
Get MAU usage by category
348425

349-
Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either &#x60;browser&#x60;, &#x60;mobile&#x60;, or &#x60;backend&#x60;.
426+
Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either &#x60;browser&#x60;, &#x60;mobile&#x60;, or &#x60;backend&#x60;.&lt;br/&gt;&lt;br/&gt;Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. Use [Get client-side monthly context instances uage](/tag/Account-usage-(beta)#operation/getCMCIUsage) instead. To learn more, read [Account usage metrics](https://docs.launchdarkly.com/home/billing/usage-metrics).
350427

351428
### Example
352429
```java

docs/ApprovalConditionInput.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**description** | **String** | | [optional] |
11-
|**notifyMemberIds** | **List&lt;String&gt;** | | [optional] |
12-
|**notifyTeamKeys** | **List&lt;String&gt;** | | [optional] |
10+
|**description** | **String** | A description of the approval required for this stage | [optional] |
11+
|**notifyMemberIds** | **List&lt;String&gt;** | A list of member IDs for the members to request approval from for this stage | [optional] |
12+
|**notifyTeamKeys** | **List&lt;String&gt;** | A list of team keys for the teams to request approval from for this stage | [optional] |
1313

1414

1515

docs/ApprovalRequestResponse.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
2+
3+
# ApprovalRequestResponse
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**id** | **String** | The ID of this approval request | |
11+
|**version** | **Integer** | Version of the approval request | |
12+
|**creationDate** | **Long** | | |
13+
|**serviceKind** | **String** | | |
14+
|**requestorId** | **String** | The ID of the member who requested the approval | [optional] |
15+
|**description** | **String** | A human-friendly name for the approval request | [optional] |
16+
|**reviewStatus** | [**ReviewStatusEnum**](#ReviewStatusEnum) | Current status of the review of this approval request | |
17+
|**allReviews** | [**List&lt;ReviewResponse&gt;**](ReviewResponse.md) | An array of individual reviews of this approval request | |
18+
|**notifyMemberIds** | **List&lt;String&gt;** | An array of member IDs. These members are notified to review the approval request. | |
19+
|**appliedDate** | **Long** | | [optional] |
20+
|**appliedByMemberId** | **String** | The member ID of the member who applied the approval request | [optional] |
21+
|**status** | [**StatusEnum**](#StatusEnum) | Current status of the approval request | |
22+
|**instructions** | **List&lt;Map&lt;String, Object&gt;&gt;** | | |
23+
|**conflicts** | [**List&lt;Conflict&gt;**](Conflict.md) | Details on any conflicting approval requests | |
24+
|**links** | **Map&lt;String, Object&gt;** | The location and content type of related resources | |
25+
|**executionDate** | **Long** | | [optional] |
26+
|**operatingOnId** | **String** | ID of scheduled change to edit or delete | [optional] |
27+
|**integrationMetadata** | [**IntegrationMetadata**](IntegrationMetadata.md) | | [optional] |
28+
|**source** | [**CopiedFromEnv**](CopiedFromEnv.md) | | [optional] |
29+
|**customWorkflowMetadata** | [**CustomWorkflowMeta**](CustomWorkflowMeta.md) | | [optional] |
30+
|**resourceId** | **String** | String representation of a resource | [optional] |
31+
|**approvalSettings** | [**ApprovalSettings**](ApprovalSettings.md) | | [optional] |
32+
33+
34+
35+
## Enum: ReviewStatusEnum
36+
37+
| Name | Value |
38+
|---- | -----|
39+
| APPROVED | &quot;approved&quot; |
40+
| DECLINED | &quot;declined&quot; |
41+
| PENDING | &quot;pending&quot; |
42+
43+
44+
45+
## Enum: StatusEnum
46+
47+
| Name | Value |
48+
|---- | -----|
49+
| PENDING | &quot;pending&quot; |
50+
| COMPLETED | &quot;completed&quot; |
51+
| FAILED | &quot;failed&quot; |
52+
| SCHEDULED | &quot;scheduled&quot; |
53+
54+
55+

0 commit comments

Comments
 (0)