This feature is in beta
To use this feature, pass in a header including the
LD-API-Version
key with value set tobeta
. Use this header with each call. To learn more, read Beta resources.Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.
The integration delivery configurations API allow you to create, modify, validate, and delete delivery configurations.
Several of the endpoints require a delivery configuration ID. The delivery configuration ID is returned as part of the Create delivery configuration and List all delivery configurations responses. It is the _id
field, or the _id
field of each element in the items
array.
List all delivery configurations.
Integration delivery configuration collection response
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}
}, - "items": [
- {
- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}, - "project": {
- "href": "string",
- "type": "string"
}, - "environment": {
- "href": "string",
- "type": "string"
}
}, - "_id": "12ab3c4d5ef1a2345bcde67f",
- "integrationKey": "example-integration-key",
- "projectKey": "default",
- "environmentKey": "development",
- "config": {
- "property1": null,
- "property2": null
}, - "on": true,
- "tags": [ ],
- "name": "Development environment configuration",
- "version": 1,
- "_access": {
- "denied": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow",
- "role_name": "string"
}
}
], - "allowed": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow",
- "role_name": "string"
}
}
]
}
}
]
}
Get delivery configurations by environment.
Integration delivery configuration collection response
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}
}, - "items": [
- {
- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}, - "project": {
- "href": "string",
- "type": "string"
}, - "environment": {
- "href": "string",
- "type": "string"
}
}, - "_id": "12ab3c4d5ef1a2345bcde67f",
- "integrationKey": "example-integration-key",
- "projectKey": "default",
- "environmentKey": "development",
- "config": {
- "property1": null,
- "property2": null
}, - "on": true,
- "tags": [ ],
- "name": "Development environment configuration",
- "version": 1,
- "_access": {
- "denied": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow",
- "role_name": "string"
}
}
], - "allowed": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- null
], - "actions": [
- "*"
], - "notActions": [
- null
], - "effect": "allow",
- "role_name": "string"
}
}
]
}
}
]
}
Create a delivery configuration.
Integration delivery configuration response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "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"
]
}
{- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}, - "project": {
- "href": "string",
- "type": "string"
}, - "environment": {
- "href": "string",
- "type": "string"
}
}, - "_id": "12ab3c4d5ef1a2345bcde67f",
- "integrationKey": "example-integration-key",
- "projectKey": "default",
- "environmentKey": "development",
- "config": {
- "property1": null,
- "property2": null
}, - "on": true,
- "tags": [ ],
- "name": "Development environment configuration",
- "version": 1,
- "_access": {
- "denied": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow",
- "role_name": "string"
}
}
], - "allowed": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow",
- "role_name": "string"
}
}
]
}
}
Get delivery configuration by ID.
Integration delivery configuration response
Invalid resource identifier
Rate limited
{- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}, - "project": {
- "href": "string",
- "type": "string"
}, - "environment": {
- "href": "string",
- "type": "string"
}
}, - "_id": "12ab3c4d5ef1a2345bcde67f",
- "integrationKey": "example-integration-key",
- "projectKey": "default",
- "environmentKey": "development",
- "config": {
- "property1": null,
- "property2": null
}, - "on": true,
- "tags": [ ],
- "name": "Development environment configuration",
- "version": 1,
- "_access": {
- "denied": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow",
- "role_name": "string"
}
}
], - "allowed": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow",
- "role_name": "string"
}
}
]
}
}
Update an integration delivery configuration. Updating an integration delivery configuration uses a JSON patch representation of the desired changes. To learn more, read Updates.
Integration delivery configuration response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Invalid patch content
Rate limited
[- {
- "op": "replace",
- "path": "/on",
- "value": true
}
]
{- "_links": {
- "self": {
- "href": "string",
- "type": "string"
}, - "parent": {
- "href": "string",
- "type": "string"
}, - "project": {
- "href": "string",
- "type": "string"
}, - "environment": {
- "href": "string",
- "type": "string"
}
}, - "_id": "12ab3c4d5ef1a2345bcde67f",
- "integrationKey": "example-integration-key",
- "projectKey": "default",
- "environmentKey": "development",
- "config": {
- "property1": null,
- "property2": null
}, - "on": true,
- "tags": [ ],
- "name": "Development environment configuration",
- "version": 1,
- "_access": {
- "denied": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow",
- "role_name": "string"
}
}
], - "allowed": [
- {
- "action": "string",
- "reason": {
- "resources": [
- "proj/*:env/*;qa_*:/flag/*"
], - "notResources": [
- "string"
], - "actions": [
- "*"
], - "notActions": [
- "string"
], - "effect": "allow",
- "role_name": "string"
}
}
]
}
}
Delete a delivery configuration.
Action succeeded
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "code": "invalid_request",
- "message": "Invalid request body"
}
Validate the saved delivery configuration, using the validationRequest
in the integration's manifest.json
file.
Integration delivery configuration validation response
Invalid request
Invalid access token
Forbidden
Invalid resource identifier
Rate limited
{- "statusCode": 200,
- "error": "string",
- "timestamp": 0,
- "responseBody": "string"
}