Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

API v1 Fetch All Features For A Group

Darren Oakley edited this page Oct 18, 2021 · 1 revision

PLEASE NOTE: This API interface is now deprecated and will be removed at some point in the future.


GET /v1/groups/{group_name}/features

http://bandiera.example.com/api/v1/groups/{group_name}/features

This endpoint returns a list of all features for a given group within Bandiera.

Example Request:

The following curl request would list all the features for the group "pubserv":

curl 'http://bandiera.example.com/api/v1/groups/pubserv/features'

Example Response:

{
    "features": [
        {
            "description": "Show article level metrics?",
            "enabled": true,
            "group": "pubserv",
            "name": "show-article-metrics"
        },
        {
            "description": "Show the new search feature?",
            "enabled": false,
            "group": "pubserv",
            "name": "show-new-search"
        }
    ]
}