Feature Flags 🔗

Crunch uses feature flags to enable and disable system-wide features under development.

GET all flags 🔗

GET /feature_flag/

Example response:

{
    "description": "Indicates the status of a given feature",
    "element": "shoji:view",
    "self": "https://app.crunch.io//api/feature_flag/",
    "value": {
        "on": ["flag1", "flag2"],
        "off": [],
        "labs": []
    }
}

GET single flag 🔗

GET /feature_flag/feature_flag_abc/

Example response:

{
    "description": "Indicates the status of a given feature",
    "element": "shoji:view",
    "self": "https://app.crunch.io//api/feature_flag/feature_flag_abc/",
    "value": {
        "active": false
    }
}