• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question REST API availability

Lutuh

New Pleskian
Hey folks,

I just discovered that there is a new, meanwhile basic, RESTful API for Plesk! Yeah! About REST API

Checking https://myhost.name:8443/api/v2/swagger.yml running Plesk Onyx 17.5.3 Update #43, I get a 404. Running some requests against an actual API endpoint returns 404 as well.

I can generate an API key per "plesk bin secret_key -c -ip-address 10.58.108.104", though.

So I just want to ask if the new REST API needs to be enabled in panel.ini or if I'm missing something else here.
 
Hmm, well can't say I've messed with it but hitting that URL on my 17.8 box actually downloads the file....

I've only used the XML API...

About XML API

What was it you were looking to accomplish?
 
So this REST API, I am currently testing it but it seems pretty limited and not very well documented opposed to the XML api. For instance, when creating a subdomain, we're not able to set the root folder name. It just creates a directory site1/, site2/ et cetera.. Anyone can help there?

Is there any more documentation on which values you can Post?
 
Back
Top