Wordpress Toolkit anyway to access all screenshots?

bellwood

Well-Known Member
PartnerNOC
Sep 25, 2012
92
43
143
New York
cPanel Access Level
DataCenter Provider
There is a API token priv for wp-toolkit but there is nothing in any of the several places the API is documented that it is referenced.

Screenshots are accessible via:
https://$host:2087/$session/cgi/wpt/index.php?action=/screenshot/id/$num?v=$ver

Presumably $num is site ID within wp-toolkit. $ver is purely for cache busting/versioning.

It would be great to see a unified/updated API doc interface for cPanel - it's grown into quite the spaghetti monster over the years.
 

bellwood

Well-Known Member
PartnerNOC
Sep 25, 2012
92
43
143
New York
cPanel Access Level
DataCenter Provider
Code:
/usr/local/cpanel/3rdparty/wp-toolkit/bin/wpt-cli.sh --list
Will give you a list of the sites and their ID's from which you can sort out the screenshots