All URIs are relative to https://app.launchdarkly.com/api/v2
| Method | HTTP request | Description |
|---|---|---|
| DeleteIntegrationSubscription | DELETE /integrations/{integrationKey}/{integrationId} | Delete an integration subscription by ID. |
| GetIntegrationSubscription | GET /integrations/{integrationKey}/{integrationId} | Get a single integration subscription by ID. |
| GetIntegrationSubscriptions | GET /integrations/{integrationKey} | Get a list of all configured integrations of a given kind. |
| GetIntegrations | GET /integrations | Get a list of all configured audit log event integrations associated with this account. |
| PatchIntegrationSubscription | PATCH /integrations/{integrationKey}/{integrationId} | Modify an integration subscription by ID. |
| PostIntegrationSubscription | POST /integrations/{integrationKey} | Create a new integration subscription of a given kind. |
void DeleteIntegrationSubscription (string integrationKey, string integrationId)
Delete an integration subscription by ID.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class DeleteIntegrationSubscriptionExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new IntegrationsApi();
var integrationKey = integrationKey_example; // string | The key used to specify the integration kind.
var integrationId = integrationId_example; // string | The integration ID.
try
{
// Delete an integration subscription by ID.
apiInstance.DeleteIntegrationSubscription(integrationKey, integrationId);
}
catch (Exception e)
{
Debug.Print("Exception when calling IntegrationsApi.DeleteIntegrationSubscription: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| integrationKey | string | The key used to specify the integration kind. | |
| integrationId | string | The integration ID. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationSubscription GetIntegrationSubscription (string integrationKey, string integrationId)
Get a single integration subscription by ID.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class GetIntegrationSubscriptionExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new IntegrationsApi();
var integrationKey = integrationKey_example; // string | The key used to specify the integration kind.
var integrationId = integrationId_example; // string | The integration ID.
try
{
// Get a single integration subscription by ID.
IntegrationSubscription result = apiInstance.GetIntegrationSubscription(integrationKey, integrationId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling IntegrationsApi.GetIntegrationSubscription: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| integrationKey | string | The key used to specify the integration kind. | |
| integrationId | string | The integration ID. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Integration GetIntegrationSubscriptions (string integrationKey)
Get a list of all configured integrations of a given kind.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class GetIntegrationSubscriptionsExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new IntegrationsApi();
var integrationKey = integrationKey_example; // string | The key used to specify the integration kind.
try
{
// Get a list of all configured integrations of a given kind.
Integration result = apiInstance.GetIntegrationSubscriptions(integrationKey);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling IntegrationsApi.GetIntegrationSubscriptions: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| integrationKey | string | The key used to specify the integration kind. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Integrations GetIntegrations ()
Get a list of all configured audit log event integrations associated with this account.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class GetIntegrationsExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new IntegrationsApi();
try
{
// Get a list of all configured audit log event integrations associated with this account.
Integrations result = apiInstance.GetIntegrations();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling IntegrationsApi.GetIntegrations: " + e.Message );
}
}
}
}This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationSubscription PatchIntegrationSubscription (string integrationKey, string integrationId, List patchDelta)
Modify an integration subscription by ID.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class PatchIntegrationSubscriptionExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new IntegrationsApi();
var integrationKey = integrationKey_example; // string | The key used to specify the integration kind.
var integrationId = integrationId_example; // string | The integration ID.
var patchDelta = new List<PatchOperation>(); // List<PatchOperation> | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
try
{
// Modify an integration subscription by ID.
IntegrationSubscription result = apiInstance.PatchIntegrationSubscription(integrationKey, integrationId, patchDelta);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling IntegrationsApi.PatchIntegrationSubscription: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| integrationKey | string | The key used to specify the integration kind. | |
| integrationId | string | The integration ID. | |
| patchDelta | List | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IntegrationSubscription PostIntegrationSubscription (string integrationKey, SubscriptionBody subscriptionBody)
Create a new integration subscription of a given kind.
using System;
using System.Diagnostics;
using LaunchDarkly.Api.Api;
using LaunchDarkly.Api.Client;
using LaunchDarkly.Api.Model;
namespace Example
{
public class PostIntegrationSubscriptionExample
{
public void main()
{
// Configure API key authorization: Token
Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new IntegrationsApi();
var integrationKey = integrationKey_example; // string | The key used to specify the integration kind.
var subscriptionBody = new SubscriptionBody(); // SubscriptionBody | Create a new integration subscription.
try
{
// Create a new integration subscription of a given kind.
IntegrationSubscription result = apiInstance.PostIntegrationSubscription(integrationKey, subscriptionBody);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling IntegrationsApi.PostIntegrationSubscription: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| integrationKey | string | The key used to specify the integration kind. | |
| subscriptionBody | SubscriptionBody | Create a new integration subscription. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]