All URIs are relative to https://app.launchdarkly.com
| Method | HTTP request | Description |
|---|---|---|
| create_integration_delivery_configuration | POST /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey} | Create delivery configuration |
| delete_integration_delivery_configuration | DELETE /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} | Delete delivery configuration |
| get_integration_delivery_configuration_by_environment | GET /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey} | Get delivery configurations by environment |
| get_integration_delivery_configuration_by_id | GET /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} | Get delivery configuration by ID |
| get_integration_delivery_configurations | GET /api/v2/integration-capabilities/featureStore | List all delivery configurations |
| patch_integration_delivery_configuration | PATCH /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id} | Update delivery configuration |
| validate_integration_delivery_configuration | POST /api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}/validate | Validate delivery configuration |
IntegrationDeliveryConfiguration create_integration_delivery_configuration(project_key, environment_key, integration_key, integration_delivery_configuration_post)
Create delivery configuration
Create a delivery configuration.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.models.integration_delivery_configuration import IntegrationDeliveryConfiguration
from launchdarkly_api.models.integration_delivery_configuration_post import IntegrationDeliveryConfigurationPost
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
project_key = 'project_key_example' # str | The project key
environment_key = 'environment_key_example' # str | The environment key
integration_key = 'integration_key_example' # str | 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"]} # IntegrationDeliveryConfigurationPost |
try:
# Create delivery configuration
api_response = api_instance.create_integration_delivery_configuration(project_key, environment_key, integration_key, integration_delivery_configuration_post)
print("The response of IntegrationDeliveryConfigurationsBetaApi->create_integration_delivery_configuration:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->create_integration_delivery_configuration: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | str | The project key | |
| environment_key | str | The environment key | |
| integration_key | str | The integration key | |
| integration_delivery_configuration_post | IntegrationDeliveryConfigurationPost |
IntegrationDeliveryConfiguration
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Integration delivery configuration response | - |
| 400 | Invalid request | - |
| 401 | Invalid access token | - |
| 403 | Forbidden | - |
| 404 | Invalid resource identifier | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_integration_delivery_configuration(project_key, environment_key, integration_key, id)
Delete delivery configuration
Delete a delivery configuration.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
project_key = 'project_key_example' # str | The project key
environment_key = 'environment_key_example' # str | The environment key
integration_key = 'integration_key_example' # str | The integration key
id = 'id_example' # str | The configuration ID
try:
# Delete delivery configuration
api_instance.delete_integration_delivery_configuration(project_key, environment_key, integration_key, id)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->delete_integration_delivery_configuration: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | str | The project key | |
| environment_key | str | The environment key | |
| integration_key | str | The integration key | |
| id | str | The configuration ID |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 204 | Action succeeded | - |
| 400 | Invalid request | - |
| 401 | Invalid access token | - |
| 403 | Forbidden | - |
| 404 | Invalid resource identifier | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationDeliveryConfigurationCollection get_integration_delivery_configuration_by_environment(project_key, environment_key)
Get delivery configurations by environment
Get delivery configurations by environment.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.models.integration_delivery_configuration_collection import IntegrationDeliveryConfigurationCollection
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
project_key = 'project_key_example' # str | The project key
environment_key = 'environment_key_example' # str | The environment key
try:
# Get delivery configurations by environment
api_response = api_instance.get_integration_delivery_configuration_by_environment(project_key, environment_key)
print("The response of IntegrationDeliveryConfigurationsBetaApi->get_integration_delivery_configuration_by_environment:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->get_integration_delivery_configuration_by_environment: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | str | The project key | |
| environment_key | str | The environment key |
IntegrationDeliveryConfigurationCollection
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Integration delivery configuration collection response | - |
| 401 | Invalid access token | - |
| 403 | Forbidden | - |
| 404 | Invalid resource identifier | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationDeliveryConfiguration get_integration_delivery_configuration_by_id(project_key, environment_key, integration_key, id)
Get delivery configuration by ID
Get delivery configuration by ID.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.models.integration_delivery_configuration import IntegrationDeliveryConfiguration
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
project_key = 'project_key_example' # str | The project key
environment_key = 'environment_key_example' # str | The environment key
integration_key = 'integration_key_example' # str | The integration key
id = 'id_example' # str | The configuration ID
try:
# Get delivery configuration by ID
api_response = api_instance.get_integration_delivery_configuration_by_id(project_key, environment_key, integration_key, id)
print("The response of IntegrationDeliveryConfigurationsBetaApi->get_integration_delivery_configuration_by_id:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->get_integration_delivery_configuration_by_id: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | str | The project key | |
| environment_key | str | The environment key | |
| integration_key | str | The integration key | |
| id | str | The configuration ID |
IntegrationDeliveryConfiguration
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Integration delivery configuration response | - |
| 404 | Invalid resource identifier | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationDeliveryConfigurationCollection get_integration_delivery_configurations()
List all delivery configurations
List all delivery configurations.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.models.integration_delivery_configuration_collection import IntegrationDeliveryConfigurationCollection
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
try:
# List all delivery configurations
api_response = api_instance.get_integration_delivery_configurations()
print("The response of IntegrationDeliveryConfigurationsBetaApi->get_integration_delivery_configurations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->get_integration_delivery_configurations: %s\n" % e)This endpoint does not need any parameter.
IntegrationDeliveryConfigurationCollection
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Integration delivery configuration collection response | - |
| 401 | Invalid access token | - |
| 403 | Forbidden | - |
| 404 | Invalid resource identifier | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationDeliveryConfiguration patch_integration_delivery_configuration(project_key, environment_key, integration_key, id, patch_operation)
Update 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.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.models.integration_delivery_configuration import IntegrationDeliveryConfiguration
from launchdarkly_api.models.patch_operation import PatchOperation
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
project_key = 'project_key_example' # str | The project key
environment_key = 'environment_key_example' # str | The environment key
integration_key = 'integration_key_example' # str | The integration key
id = 'id_example' # str | The configuration ID
patch_operation = [{"op":"replace","path":"/on","value":true}] # List[PatchOperation] |
try:
# Update delivery configuration
api_response = api_instance.patch_integration_delivery_configuration(project_key, environment_key, integration_key, id, patch_operation)
print("The response of IntegrationDeliveryConfigurationsBetaApi->patch_integration_delivery_configuration:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->patch_integration_delivery_configuration: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | str | The project key | |
| environment_key | str | The environment key | |
| integration_key | str | The integration key | |
| id | str | The configuration ID | |
| patch_operation | List[PatchOperation] |
IntegrationDeliveryConfiguration
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Integration delivery configuration response | - |
| 400 | Invalid request | - |
| 401 | Invalid access token | - |
| 403 | Forbidden | - |
| 404 | Invalid resource identifier | - |
| 422 | Invalid patch content | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationDeliveryConfigurationResponse validate_integration_delivery_configuration(project_key, environment_key, integration_key, id)
Validate delivery configuration
Validate the saved delivery configuration, using the validationRequest in the integration's manifest.json file.
- Api Key Authentication (ApiKey):
import launchdarkly_api
from launchdarkly_api.models.integration_delivery_configuration_response import IntegrationDeliveryConfigurationResponse
from launchdarkly_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.launchdarkly.com
# See configuration.py for a list of all supported configuration parameters.
configuration = launchdarkly_api.Configuration(
host = "https://app.launchdarkly.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
with launchdarkly_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = launchdarkly_api.IntegrationDeliveryConfigurationsBetaApi(api_client)
project_key = 'project_key_example' # str | The project key
environment_key = 'environment_key_example' # str | The environment key
integration_key = 'integration_key_example' # str | The integration key
id = 'id_example' # str | The configuration ID
try:
# Validate delivery configuration
api_response = api_instance.validate_integration_delivery_configuration(project_key, environment_key, integration_key, id)
print("The response of IntegrationDeliveryConfigurationsBetaApi->validate_integration_delivery_configuration:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationDeliveryConfigurationsBetaApi->validate_integration_delivery_configuration: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| project_key | str | The project key | |
| environment_key | str | The environment key | |
| integration_key | str | The integration key | |
| id | str | The configuration ID |
IntegrationDeliveryConfigurationResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Integration delivery configuration validation response | - |
| 400 | Invalid request | - |
| 401 | Invalid access token | - |
| 403 | Forbidden | - |
| 404 | Invalid resource identifier | - |
| 429 | Rate limited | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]