This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
API v1 Create A New Feature Within 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.
POST /v1/groups/{group_name}/features
http://bandiera.example.com/api/v1/groups/{group_name}/features
POSTing a request to this endpoint allows you to create a new feature within a group. Upon success, it will return a representation of the feature you have just created.
Example Request:
The following curl request would add a new feature to the group "pubserv":
curl -X POST -d 'feature[name]=show-new-feature&feature[description]=Show+new+feature%3F&feature[enabled]=false' \
http://bandiera.example.com/api/v1/groups/pubserv/features
Example Response:
{
"feature": {
"description": "Show new feature?",
"enabled": false,
"group": "pubserv",
"name": "show-new-feature"
}
}
- Home
- How Feature Flags Work
- Dos and Donts of Feature Flagging
- Client Libraries
- Developing Bandiera
- API Documentation
- API v2
- API v1 (deprecated)