Skip to content

Returns all feature toggle identifiers with some information.

GET
/api/featuretoggle/

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Responses

Successful
JSON
{
"featureToggles": [
{
"identifier": "string",
"isActive": true
}
]
}
Authorization
api_key
cURL
curl -X GET \
'http://localhost/api/featuretoggle/'

Samples

cURL
curl -X GET http://localhost/api/featuretoggle/
JavaScript
fetch("http://localhost/api/featuretoggle/")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/featuretoggle/");
Python
import requests
response = requests.get("http://localhost/api/featuretoggle/")
print(response.json())