Flag import configurations (beta)
Create a flag import configuration
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.
post/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}
Path parameters
projectKeystring string required
The project key
The project key
integrationKeystring string required
The integration key
The integration key
Request body
Example request
{
"tags": [
"example-tag"
],
"name": "Sample configuration"
}Response
Flag Import Configuration response
Example response
{
"_id": "12ab3c4d5ef1a2345bcde67f",
"integrationKey": "split",
"projectKey": "default",
"tags": [],
"name": "Development environment configuration",
"version": 1,
"_access": {
"denied": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
],
"allowed": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
]
},
"_status": {
"status": "pending"
}
}