Feature flags
There are multiple feature flags that can be enabled to test beta features. Use the following API to enable and disable them.
List feature flags
Don't forget to replace <camera-ip>
, <user>
, <password>
, <flag_name1>
and <flag_name2>
where applicable.
Get feature flags
curl --anyauth --user <user>:<password> -X POST \
"http://<camera-ip>/axis-cgi/featureflag.cgi" \
-H "Content-Type: application/json" \
-d '{ "apiVersion": "1.0", "context": "listAllRequest", "method": "listAll" }'
Set feature flag
Set feature flag
curl --anyauth --user <user>:<password> -X POST \
"http://<camera-ip>/axis-cgi/featureflag.cgi" \
-H "Content-Type: application/json" \
-d '{
"apiVersion": "1.0",
"context": "setFlagRequest",
"method": "set",
"params": {
"flagValues": {
"<flag_name1>": <true>,
"<flag_name2>": <false>
}
}
}'