Resource: optimization
Settings for the SteelHead optimization service
http://{device}/api/sh.optimization/1.0/optimization
{ "service_state": string, "restart_needed": boolean, <prop>: any }
Property Name | Type | Description | Notes |
---|---|---|---|
optimization | <object> | Settings for the SteelHead optimization service | |
optimization.service_state | <string> | Read-only; Optional; Values: running, stopped, stopping, unknown; | |
optimization.restart_needed | <boolean> | Some settings may not take effect until the optimization service is restarted. | Read-only; Optional; |
optimization.<prop> | <any> | Optional; |
Links
optimization: get
GET http://{device}/api/sh.optimization/1.0/optimizationResponse Body
Returns an optimization data object.
optimization: stop
Stop the optimization service.
POST http://{device}/api/sh.optimization/1.0/optimization/stopRequest Body
Do not provide a request body.
Response BodyOn success, the server does not provide any body in the responses.
optimization: restart
Start/Restart the optimization service. Can be used whether the optimization service is currently running or not.
POST http://{device}/api/sh.optimization/1.0/optimization/restartRequest Body
Provide a request body with the following structure:
{ "clear_cache": boolean, <prop>: any }
Property Name | Type | Description | Notes |
---|---|---|---|
optimization.links.restart.request | <object> | ||
optimization.links.restart.request. clear_cache |
<boolean> | Optional; | |
optimization.links.restart.request. <prop> |
<any> | Optional; |
On success, the server does not provide any body in the responses.