Get feature flags
curl --request GET \
--url https://api.sitespy.app/api/v1/feature-flags \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/feature-flags"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/feature-flags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"feature_flags": {
"email_notifications": {
"enabled": true,
"name": "Email Notifications",
"description": "Enable email notifications for watch changes"
}
}
}Feature Flags
Get feature flags
Retrieve the feature flags for the current API key. Feature flags control which features are enabled or disabled for specific users.
GET
/
feature-flags
Get feature flags
curl --request GET \
--url https://api.sitespy.app/api/v1/feature-flags \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/feature-flags"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/feature-flags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"feature_flags": {
"email_notifications": {
"enabled": true,
"name": "Email Notifications",
"description": "Enable email notifications for watch changes"
}
}
}
