Skip to main content
We are aware of an issue after updating to cPanel versions 11.110.0.65, 11.126.0.21, or 11.128.0.11, some cPanel plugins or features are no longer functioning properly including WP Toolkit. Presently, updates for releases are temporarily disabled while we continue working on a solution for the missing addon features directory. Please see the following article for more information and updates:
Update to latest cPanel 110, 126, or 128 versions removes "addonfeatures" directory.

JSON API - optimize website

Comments

1 comment

  • KostonConsulting
    Yes, this is implemented as an API1 call which can be called via the JSON API. You can find how something is called by looking at the page which the references on the page of cPanel where the action is being taken. In this case, it's /usr/local/cpanel/base/frontend/x3/optimize/dooptimize.html: Here's an example of how to call it: https://:2083/cpsess6366747/json-api/cpanel?cpanel_jsonapi_module=OptimizeWS&cpanel_jsonapi_func=optimizews&cpanel_jsonapi_apiversion=1&arg-0=list&arg-1=text/html%20text/plain%20text/xml There's documentation available in cPanel's API1 docs: [url=http://docs.cpanel.net/twiki/bin/view/ApiDocs/Api1/ApiOptimizeWS]OptimizeWS Module Documentation
    0

Please sign in to leave a comment.