• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question [NodeJS Extension] How i can call nodejs related tasks using XML-API

Werner Mairl

New Pleskian
tasks where i'm interested:

npm run (script execution)
restart app (like the button with the same title inside the extension ui)*
npm install

there is some documation about get/set of default NodeJS settings for the extension BUT missing any information about tasks like this.

I can assume that the xml-syntax must be like the following:


<packet>
<extension>
<call>
<nodejs>
<XXXX>
.......
</XXX>
</nodejs>
</call>
</extension>
</packet>

anyone can help me or point me in the right direction.....

big picture/what i do using XML-API
1. Git Pull Upadate
2. npm-script to do some prepartions, including multiple npm installs
3. restart the app

the entire workflow is up and running with the extension UI, but for dev-ops i need it over XML-API!

regards
Werner
 
Back
Top