Skip to main content

Wordpress Toolkit anyway to access all screenshots?

Comments

3 comments

  • cPanelAnthony
    Hello! Could you describe exactly how you want to use these screenshots to create a dashboard? I am curious to know exactly how you would use them.
    0
  • bellwood
    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.
    0
  • bellwood
    /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
    0

Please sign in to leave a comment.