• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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