Feature Flags
Get a Feature Flag by ID
Retrieve the currently stored Feature Flag data for the given ID.
The result will be what is currently stored, ignoring any pending updates or deletes.
get/rest/featureflags/0.1/flag/{featureFlagId}
Path parameters
featureFlagIdstring required
The ID of the Feature Flag to fetch.
Response
The Feature Flag data currently stored for the given ID.
Example response
{
"schemaVersion": "1.0",
"id": "111-222-333",
"key": "my-awesome-feature",
"updateSequenceId": 1523494301448,
"displayName": "Enable awesome feature",
"issueKeys": [
"ISSUE-123"
],
"associations": [
{
"associationType": "issueIdOrKeys",
"values": [
"ABC-123",
"ABC-456"
]
}
],
"summary": {
"url": "https://example.com/project/feature-123/summary",
"status": {
"defaultValue": "Disabled",
"rollout": {
"percentage": 80
}
},
"lastUpdated": "2018-01-20T23:27:25.000Z"
},
"details": [
{
"url": "https://example.com/project/feature-123/production",
"lastUpdated": "2018-01-20T23:27:25.000Z",
"environment": {
"name": "prod-us-west",
"type": "production"
},
"status": {
"defaultValue": "Disabled",
"rollout": {
"percentage": 80
}
}
}
]
}