Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

Commit 9b383d2

Browse files
author
LaunchDarklyReleaseBot
committed
Version 15.1.0 automatically generated from ld-openapi.
1 parent cde9c23 commit 9b383d2

34 files changed

Lines changed: 2212 additions & 485 deletions

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ docs/Model/RelayAutoConfigCollectionRep.md
353353
docs/Model/RelayAutoConfigPost.md
354354
docs/Model/RelayAutoConfigRep.md
355355
docs/Model/Release.md
356+
docs/Model/ReleaseAudience.md
356357
docs/Model/ReleasePhase.md
357358
docs/Model/ReleasePipeline.md
358359
docs/Model/ReleasePipelineCollection.md
@@ -804,6 +805,7 @@ lib/Model/RelayAutoConfigCollectionRep.php
804805
lib/Model/RelayAutoConfigPost.php
805806
lib/Model/RelayAutoConfigRep.php
806807
lib/Model/Release.php
808+
lib/Model/ReleaseAudience.php
807809
lib/Model/ReleasePhase.php
808810
lib/Model/ReleasePipeline.php
809811
lib/Model/ReleasePipelineCollection.php
@@ -1251,6 +1253,7 @@ test/Model/RelativeDifferenceRepTest.php
12511253
test/Model/RelayAutoConfigCollectionRepTest.php
12521254
test/Model/RelayAutoConfigPostTest.php
12531255
test/Model/RelayAutoConfigRepTest.php
1256+
test/Model/ReleaseAudienceTest.php
12541257
test/Model/ReleasePhaseTest.php
12551258
test/Model/ReleasePipelineCollectionTest.php
12561259
test/Model/ReleasePipelineTest.php

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,13 +480,15 @@ Class | Method | HTTP request | Description
480480
*AccountMembersApi* | [**postMemberTeams**](docs/Api/AccountMembersApi.md#postmemberteams) | **POST** /api/v2/members/{id}/teams | Add a member to teams
481481
*AccountMembersApi* | [**postMembers**](docs/Api/AccountMembersApi.md#postmembers) | **POST** /api/v2/members | Invite new members
482482
*AccountMembersBetaApi* | [**patchMembers**](docs/Api/AccountMembersBetaApi.md#patchmembers) | **PATCH** /api/v2/members | Modify account members
483+
*AccountUsageBetaApi* | [**getDataExportEventsUsage**](docs/Api/AccountUsageBetaApi.md#getdataexporteventsusage) | **GET** /api/v2/usage/data-export-events | Get data export events usage
483484
*AccountUsageBetaApi* | [**getEvaluationsUsage**](docs/Api/AccountUsageBetaApi.md#getevaluationsusage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage
484485
*AccountUsageBetaApi* | [**getEventsUsage**](docs/Api/AccountUsageBetaApi.md#geteventsusage) | **GET** /api/v2/usage/events/{type} | Get events usage
485486
*AccountUsageBetaApi* | [**getExperimentationKeysUsage**](docs/Api/AccountUsageBetaApi.md#getexperimentationkeysusage) | **GET** /api/v2/usage/experimentation-keys | Get experimentation keys usage
486487
*AccountUsageBetaApi* | [**getExperimentationUnitsUsage**](docs/Api/AccountUsageBetaApi.md#getexperimentationunitsusage) | **GET** /api/v2/usage/experimentation-units | Get experimentation units usage
487488
*AccountUsageBetaApi* | [**getMauSdksByType**](docs/Api/AccountUsageBetaApi.md#getmausdksbytype) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type
488489
*AccountUsageBetaApi* | [**getMauUsage**](docs/Api/AccountUsageBetaApi.md#getmauusage) | **GET** /api/v2/usage/mau | Get MAU usage
489490
*AccountUsageBetaApi* | [**getMauUsageByCategory**](docs/Api/AccountUsageBetaApi.md#getmauusagebycategory) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
491+
*AccountUsageBetaApi* | [**getServiceConnectionUsage**](docs/Api/AccountUsageBetaApi.md#getserviceconnectionusage) | **GET** /api/v2/usage/service-connections | Get service connection usage
490492
*AccountUsageBetaApi* | [**getStreamUsage**](docs/Api/AccountUsageBetaApi.md#getstreamusage) | **GET** /api/v2/usage/streams/{source} | Get stream usage
491493
*AccountUsageBetaApi* | [**getStreamUsageBySdkVersion**](docs/Api/AccountUsageBetaApi.md#getstreamusagebysdkversion) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version
492494
*AccountUsageBetaApi* | [**getStreamUsageSdkversion**](docs/Api/AccountUsageBetaApi.md#getstreamusagesdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions
@@ -595,7 +597,7 @@ Class | Method | HTTP request | Description
595597
*InsightsChartsBetaApi* | [**getDeploymentFrequencyChart**](docs/Api/InsightsChartsBetaApi.md#getdeploymentfrequencychart) | **GET** /api/v2/engineering-insights/charts/deployments/frequency | Get deployment frequency chart data
596598
*InsightsChartsBetaApi* | [**getFlagStatusChart**](docs/Api/InsightsChartsBetaApi.md#getflagstatuschart) | **GET** /api/v2/engineering-insights/charts/flags/status | Get flag status chart data
597599
*InsightsChartsBetaApi* | [**getLeadTimeChart**](docs/Api/InsightsChartsBetaApi.md#getleadtimechart) | **GET** /api/v2/engineering-insights/charts/lead-time | Get lead time chart data
598-
*InsightsChartsBetaApi* | [**getReleaseFrequencyChart**](docs/Api/InsightsChartsBetaApi.md#getreleasefrequencychart) | **GET** /api/v2/engineering-insights/charts/releases/frequency | Get replease frequency chart data
600+
*InsightsChartsBetaApi* | [**getReleaseFrequencyChart**](docs/Api/InsightsChartsBetaApi.md#getreleasefrequencychart) | **GET** /api/v2/engineering-insights/charts/releases/frequency | Get release frequency chart data
599601
*InsightsChartsBetaApi* | [**getStaleFlagsChart**](docs/Api/InsightsChartsBetaApi.md#getstaleflagschart) | **GET** /api/v2/engineering-insights/charts/flags/stale | Get stale flags chart data
600602
*InsightsDeploymentsBetaApi* | [**createDeploymentEvent**](docs/Api/InsightsDeploymentsBetaApi.md#createdeploymentevent) | **POST** /api/v2/engineering-insights/deployment-events | Create deployment event
601603
*InsightsDeploymentsBetaApi* | [**getDeployment**](docs/Api/InsightsDeploymentsBetaApi.md#getdeployment) | **GET** /api/v2/engineering-insights/deployments/{deploymentID} | Get deployment
@@ -1028,6 +1030,7 @@ Class | Method | HTTP request | Description
10281030
- [RelayAutoConfigPost](docs/Model/RelayAutoConfigPost.md)
10291031
- [RelayAutoConfigRep](docs/Model/RelayAutoConfigRep.md)
10301032
- [Release](docs/Model/Release.md)
1033+
- [ReleaseAudience](docs/Model/ReleaseAudience.md)
10311034
- [ReleasePhase](docs/Model/ReleasePhase.md)
10321035
- [ReleasePipeline](docs/Model/ReleasePipeline.md)
10331036
- [ReleasePipelineCollection](docs/Model/ReleasePipelineCollection.md)
@@ -1153,5 +1156,5 @@ support@launchdarkly.com
11531156
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
11541157

11551158
- API version: `2.0`
1156-
- Package version: `15.0.0`
1159+
- Package version: `15.1.0`
11571160
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

composer.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/Api/AccountUsageBetaApi.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,84 @@ All URIs are relative to https://app.launchdarkly.com.
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**getDataExportEventsUsage()**](AccountUsageBetaApi.md#getDataExportEventsUsage) | **GET** /api/v2/usage/data-export-events | Get data export events usage
78
[**getEvaluationsUsage()**](AccountUsageBetaApi.md#getEvaluationsUsage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage
89
[**getEventsUsage()**](AccountUsageBetaApi.md#getEventsUsage) | **GET** /api/v2/usage/events/{type} | Get events usage
910
[**getExperimentationKeysUsage()**](AccountUsageBetaApi.md#getExperimentationKeysUsage) | **GET** /api/v2/usage/experimentation-keys | Get experimentation keys usage
1011
[**getExperimentationUnitsUsage()**](AccountUsageBetaApi.md#getExperimentationUnitsUsage) | **GET** /api/v2/usage/experimentation-units | Get experimentation units usage
1112
[**getMauSdksByType()**](AccountUsageBetaApi.md#getMauSdksByType) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type
1213
[**getMauUsage()**](AccountUsageBetaApi.md#getMauUsage) | **GET** /api/v2/usage/mau | Get MAU usage
1314
[**getMauUsageByCategory()**](AccountUsageBetaApi.md#getMauUsageByCategory) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
15+
[**getServiceConnectionUsage()**](AccountUsageBetaApi.md#getServiceConnectionUsage) | **GET** /api/v2/usage/service-connections | Get service connection usage
1416
[**getStreamUsage()**](AccountUsageBetaApi.md#getStreamUsage) | **GET** /api/v2/usage/streams/{source} | Get stream usage
1517
[**getStreamUsageBySdkVersion()**](AccountUsageBetaApi.md#getStreamUsageBySdkVersion) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version
1618
[**getStreamUsageSdkversion()**](AccountUsageBetaApi.md#getStreamUsageSdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions
1719

1820

21+
## `getDataExportEventsUsage()`
22+
23+
```php
24+
getDataExportEventsUsage($from, $to): \LaunchDarklyApi\Model\SeriesIntervalsRep
25+
```
26+
27+
Get data export events usage
28+
29+
Get a time-series array of the number of monthly data export events from your account. The granularity is always daily, with a maximum of 31 days.
30+
31+
### Example
32+
33+
```php
34+
<?php
35+
require_once(__DIR__ . '/vendor/autoload.php');
36+
37+
38+
// Configure API key authorization: ApiKey
39+
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
40+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
41+
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
42+
43+
44+
$apiInstance = new LaunchDarklyApi\Api\AccountUsageBetaApi(
45+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
46+
// This is optional, `GuzzleHttp\Client` will be used as default.
47+
new GuzzleHttp\Client(),
48+
$config
49+
);
50+
$from = 'from_example'; // string | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
51+
$to = 'to_example'; // string | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
52+
53+
try {
54+
$result = $apiInstance->getDataExportEventsUsage($from, $to);
55+
print_r($result);
56+
} catch (Exception $e) {
57+
echo 'Exception when calling AccountUsageBetaApi->getDataExportEventsUsage: ', $e->getMessage(), PHP_EOL;
58+
}
59+
```
60+
61+
### Parameters
62+
63+
Name | Type | Description | Notes
64+
------------- | ------------- | ------------- | -------------
65+
**from** | **string**| The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional]
66+
**to** | **string**| The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional]
67+
68+
### Return type
69+
70+
[**\LaunchDarklyApi\Model\SeriesIntervalsRep**](../Model/SeriesIntervalsRep.md)
71+
72+
### Authorization
73+
74+
[ApiKey](../../README.md#ApiKey)
75+
76+
### HTTP request headers
77+
78+
- **Content-Type**: Not defined
79+
- **Accept**: `application/json`
80+
81+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
82+
[[Back to Model list]](../../README.md#models)
83+
[[Back to README]](../../README.md)
84+
1985
## `getEvaluationsUsage()`
2086

2187
```php
@@ -488,6 +554,70 @@ Name | Type | Description | Notes
488554
[[Back to Model list]](../../README.md#models)
489555
[[Back to README]](../../README.md)
490556

557+
## `getServiceConnectionUsage()`
558+
559+
```php
560+
getServiceConnectionUsage($from, $to): \LaunchDarklyApi\Model\SeriesIntervalsRep
561+
```
562+
563+
Get service connection usage
564+
565+
Get a time-series array of the number of monthly service connections from your account. The granularity is always daily, with a maximum of 31 days.
566+
567+
### Example
568+
569+
```php
570+
<?php
571+
require_once(__DIR__ . '/vendor/autoload.php');
572+
573+
574+
// Configure API key authorization: ApiKey
575+
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
576+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
577+
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
578+
579+
580+
$apiInstance = new LaunchDarklyApi\Api\AccountUsageBetaApi(
581+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
582+
// This is optional, `GuzzleHttp\Client` will be used as default.
583+
new GuzzleHttp\Client(),
584+
$config
585+
);
586+
$from = 'from_example'; // string | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
587+
$to = 'to_example'; // string | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
588+
589+
try {
590+
$result = $apiInstance->getServiceConnectionUsage($from, $to);
591+
print_r($result);
592+
} catch (Exception $e) {
593+
echo 'Exception when calling AccountUsageBetaApi->getServiceConnectionUsage: ', $e->getMessage(), PHP_EOL;
594+
}
595+
```
596+
597+
### Parameters
598+
599+
Name | Type | Description | Notes
600+
------------- | ------------- | ------------- | -------------
601+
**from** | **string**| The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional]
602+
**to** | **string**| The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional]
603+
604+
### Return type
605+
606+
[**\LaunchDarklyApi\Model\SeriesIntervalsRep**](../Model/SeriesIntervalsRep.md)
607+
608+
### Authorization
609+
610+
[ApiKey](../../README.md#ApiKey)
611+
612+
### HTTP request headers
613+
614+
- **Content-Type**: Not defined
615+
- **Accept**: `application/json`
616+
617+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
618+
[[Back to Model list]](../../README.md#models)
619+
[[Back to README]](../../README.md)
620+
491621
## `getStreamUsage()`
492622

493623
```php

0 commit comments

Comments
 (0)