Implement API support for joomla-toolkit
For example, the task is to retrieve a list of all plugins and themes (including versions) of all existing joomla instances via php. A similar retrieval is done by joomla-toolkit.
Locally, it is possible to use CLI:
# plesk ext joomla-toolkit --help
However, when there are several servers, it is helpful to be able accessing this information remotely. Currently, there is no possibility to do it using either the rest-api nor the xml-api.
Use Plesk REST API. With REST API you can call CLI utilities with necessary parameters. Here are some examples – https://support.plesk.com/hc/en-us/articles/115004331094-How-to-manage-Plesk-via-REST-API-and REST API documentation – https://docs.plesk.com/en-US/onyx/api-rpc/79359/
—
IG