All URIs are relative to https://app.launchdarkly.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| createIntegrationDeliveryConfiguration() | POST /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey} | Create delivery configuration |
| deleteIntegrationDeliveryConfiguration() | DELETE /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} | Delete delivery configuration |
| getIntegrationDeliveryConfigurationByEnvironment() | GET /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey} | Get delivery configurations by environment |
| getIntegrationDeliveryConfigurationById() | GET /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} | Get delivery configuration by ID |
| getIntegrationDeliveryConfigurations() | GET /api/v2/integration-capabilities/featureStore | List all delivery configurations |
| patchIntegrationDeliveryConfiguration() | PATCH /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} | Update delivery configuration |
| validateIntegrationDeliveryConfiguration() | POST /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}/validate | Validate delivery configuration |
createIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $integration_delivery_configuration_post): \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationCreate delivery configuration
Create a delivery configuration.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$project_key = 'project_key_example'; // string | The project key
$environment_key = 'environment_key_example'; // string | The environment key
$integration_key = 'integration_key_example'; // string | The integration key
$integration_delivery_configuration_post = {"config":{"optional":"example value for optional formVariables property for sample-integration","required":"example value for required formVariables property for sample-integration"},"name":"Sample integration","on":false,"tags":["example-tag"]}; // \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationPost
try {
$result = $apiInstance->createIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $integration_delivery_configuration_post);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->createIntegrationDeliveryConfiguration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | string | The project key | |
| environment_key | string | The environment key | |
| integration_key | string | The integration key | |
| integration_delivery_configuration_post | \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationPost |
\LaunchDarklyApi\Model\IntegrationDeliveryConfiguration
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $id)Delete delivery configuration
Delete a delivery configuration.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$project_key = 'project_key_example'; // string | The project key
$environment_key = 'environment_key_example'; // string | The environment key
$integration_key = 'integration_key_example'; // string | The integration key
$id = 'id_example'; // string | The configuration ID
try {
$apiInstance->deleteIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $id);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->deleteIntegrationDeliveryConfiguration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | string | The project key | |
| environment_key | string | The environment key | |
| integration_key | string | The integration key | |
| id | string | The configuration ID |
void (empty response body)
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getIntegrationDeliveryConfigurationByEnvironment($project_key, $environment_key): \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationCollectionGet delivery configurations by environment
Get delivery configurations by environment.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$project_key = 'project_key_example'; // string | The project key
$environment_key = 'environment_key_example'; // string | The environment key
try {
$result = $apiInstance->getIntegrationDeliveryConfigurationByEnvironment($project_key, $environment_key);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->getIntegrationDeliveryConfigurationByEnvironment: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | string | The project key | |
| environment_key | string | The environment key |
\LaunchDarklyApi\Model\IntegrationDeliveryConfigurationCollection
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getIntegrationDeliveryConfigurationById($project_key, $environment_key, $integration_key, $id): \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationGet delivery configuration by ID
Get delivery configuration by ID.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$project_key = 'project_key_example'; // string | The project key
$environment_key = 'environment_key_example'; // string | The environment key
$integration_key = 'integration_key_example'; // string | The integration key
$id = 'id_example'; // string | The configuration ID
try {
$result = $apiInstance->getIntegrationDeliveryConfigurationById($project_key, $environment_key, $integration_key, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->getIntegrationDeliveryConfigurationById: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | string | The project key | |
| environment_key | string | The environment key | |
| integration_key | string | The integration key | |
| id | string | The configuration ID |
\LaunchDarklyApi\Model\IntegrationDeliveryConfiguration
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getIntegrationDeliveryConfigurations(): \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationCollectionList all delivery configurations
List all delivery configurations.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->getIntegrationDeliveryConfigurations();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->getIntegrationDeliveryConfigurations: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\LaunchDarklyApi\Model\IntegrationDeliveryConfigurationCollection
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
patchIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $id, $patch_operation): \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationUpdate delivery configuration
Update an integration delivery configuration. Updating an integration delivery configuration uses a JSON patch representation of the desired changes. To learn more, read Updates.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$project_key = 'project_key_example'; // string | The project key
$environment_key = 'environment_key_example'; // string | The environment key
$integration_key = 'integration_key_example'; // string | The integration key
$id = 'id_example'; // string | The configuration ID
$patch_operation = [{"op":"replace","path":"/on","value":true}]; // \LaunchDarklyApi\Model\PatchOperation[]
try {
$result = $apiInstance->patchIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $id, $patch_operation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->patchIntegrationDeliveryConfiguration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | string | The project key | |
| environment_key | string | The environment key | |
| integration_key | string | The integration key | |
| id | string | The configuration ID | |
| patch_operation | \LaunchDarklyApi\Model\PatchOperation[] |
\LaunchDarklyApi\Model\IntegrationDeliveryConfiguration
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
validateIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $id): \LaunchDarklyApi\Model\IntegrationDeliveryConfigurationResponseValidate delivery configuration
Validate the saved delivery configuration, using the validationRequest in the integration's manifest.json file.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LaunchDarklyApi\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new LaunchDarklyApi\Api\IntegrationDeliveryConfigurationsBetaApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$project_key = 'project_key_example'; // string | The project key
$environment_key = 'environment_key_example'; // string | The environment key
$integration_key = 'integration_key_example'; // string | The integration key
$id = 'id_example'; // string | The configuration ID
try {
$result = $apiInstance->validateIntegrationDeliveryConfiguration($project_key, $environment_key, $integration_key, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationDeliveryConfigurationsBetaApi->validateIntegrationDeliveryConfiguration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | string | The project key | |
| environment_key | string | The environment key | |
| integration_key | string | The integration key | |
| id | string | The configuration ID |
\LaunchDarklyApi\Model\IntegrationDeliveryConfigurationResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]