Feature flags
Get flag status across environments
Get the status for a particular feature flag across environments.
get/api/v2/flag-status/{projectKey}/{featureFlagKey}
Path parameters
projectKeystring string required
The project key
The project key
featureFlagKeystring string required
The feature flag key
The feature flag key
Query parameters
envstring string
Optional environment filter
Optional environment filter
Response
Flag status across environments response
Example response
{
"environments": {
"production": {
"lastRequested": "2020-02-05T18:17:01.514Z",
"name": "inactive"
}
},
"key": "flag-key-123abc",
"_links": {
"parent": {
"href": "/api/v2/flag-status",
"type": "application/json"
},
"self": {
"href": "/api/v2/flag-status/my-project/my-flag",
"type": "application/json"
}
}
}