The explanation of API is here - http://download1.parallels.com/Plesk/Doc/en-US/online/plesk-api-rpc/ Repo with the examples of API usage of cause doesn't contain the API reference. Most popular language for web dev is PHP (still, you may hate it, but it is what it is). For PHP there is a more high level library: https://github.com/plesk/api-php-lib (still under development). Primary goal of these repos is to help the newcomer to start using the API.
This is not about "examples". This is about Plesk API itself. Also there is almost no reason to "contribute" to examples, because they are already created for most popular languages.
P.S. Anyway it looks like offtopic for current thread.
@SibProgrammer,
I am aware of the api-php-lib github project, but cannot imagine why "newcomers" are able to use this github repo and/or start using the API.
In fact, if I am not mistaken, there a two (outside) members for the github project, who have not contributed up till now.
My primary concern with this particular github project and the RPC API in general is that Plesk becomes relatively vulnerable, with this vulnerability not being necessary at all, given all other options to control plesk panel.
A secondary concern is that vulnerability inherently increases if suboptimal client code is suggested in the API examples github repo.
For instance, in C# based clients, the
- HttpWebRequest is not the best class to use,
- the XmlDocument is a suboptimal (memory wasting) class for Xml parsing,
and so on.
Moreover, authentication in the RPC API with the general admin credentials is asking for problems, since it is fairly easy to "sniff packets".
In short, the above is intended to state that there are lots of topics for improvements of the plesk API, which mostly require some intensive redesign on the server side.
Sure, the api-php-lib repo can help, but I personally feel that it will not make a difference, due to the lack of contributions.
To be honest, Parallels should do a survey and ask how often the API RPC is or has been used (and why it is not used by sysadmins).
Kind regards
PS This is indeed offtopic, I am happy to continue this conversation by mail and/or otherwise.