Get a single flag import configuration
Get a single flag import configuration by ID. The integrationKey path parameter identifies the feature management system from which the import occurs, for example, split.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The project key
stringThe integration key, for example, split
stringThe integration ID
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/integration-capabilities/flag-import/string/string/string"{ "_links": { "self": { "href": "string", "type": "string" }, "parent": { "href": "string", "type": "string" }, "project": { "href": "string", "type": "string" } }, "_id": "12ab3c4d5ef1a2345bcde67f", "integrationKey": "split", "projectKey": "default", "config": { "property1": null, "property2": null }, "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" } } ] }, "_status": { "status": "pending", "lastImport": "1717263000000", "lastError": "1714584600000", "errors": [ { "integrationId": "string", "message": "string", "statusCode": 0, "timestamp": 0 } ] }}Create a flag import configuration POST
Create a new flag import configuration. The `integrationKey` path parameter identifies the feature management system from which the import occurs, for example, `split`. The `config` object in the request body schema is described by the global integration settings, as specified by the <code>formVariables</code> in the <code>manifest.json</code> for this integration. It varies slightly based on the `integrationKey`.
Update a flag import configuration PATCH
Updating a flag import configuration uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).<br/><br/>To add an element to the import configuration fields that are arrays, set the `path` to the name of the field and then append `/<array index>`. Use `/0` to add to the beginning of the array. Use `/-` to add to the end of the array.<br/><br/>You can update the `config`, `tags`, and `name` of the flag import configuration.