is feature enabled
GET
/api/v1/feature-flags/checkController:
github.com/raghavyuva/nixopus-api/internal/features/feature-flags/controller.(*FeatureFlagController).IsFeatureEnabled
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middlewaregithub.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2
Parameters
Header Parameters
Accept
Typestring
Responses
OK
JSON
{
"data": {
"is_enabled": true
},
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost/api/v1/feature-flags/checkJavaScript
fetch("http://localhost/api/v1/feature-flags/check")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("http://localhost/api/v1/feature-flags/check");Python
import requests
response = requests.get("http://localhost/api/v1/feature-flags/check")
print(response.json())