• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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