configuration /
rest-api
CLI REST-API
enabled
enable rest-api support
This is a read-write object and valid values are:
See also:
/configuration/rest-api: rest-api
/configuration/rest-api/discovery: discovery
/configuration/rest-api/write-cache: write a cache file instead of submitting the changes immediately
/configuration/rest-api/loglevel: loglevel
/configuration/rest-api/plimit: process limit
/configuration/rest-api/write-cache-min-wtime: minimum time after an update before a change is automatically committed
/configuration/rest-api/autocommit: enable or disable automatic commit of changes
/configuration/rest-api/fastapid-periodic-restart: restart fastapid after this amount of counts. 0 to disable it.
REST-API Support:
This object is supported by the REST API:
Method: GET
URL: /api/configuration/rest-api
Example using curl:
curl /api/configuration/rest-api
Method: PATCH
URL: /api/configuration/rest-api
Body:
{
"enabled": true
}
Example using curl:
curl -X PATCH /api/configuration/rest-api -d
{
"enabled": true
}
Valid values when accessing this object via REST API/JSON: false [0], true [1]