• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

rest-api

  1. P

    Question Extend Plesk rest API with custom extension?

    Hi everyone, I am developing a Plesk extension which analyses some data of our customers. This data should be transferred to another application using an API. So as Plesk provides the v2 rest API with swagger files this is the way I want to use. The Plesk SDK gives some hint that there is a...
  2. L

    Resolved rest api get owner login

    Hii, on the API playground, the example response for getting information about client is this: { "id": 7, "created": "2016-11-13", "name": "John Smith", "company": "Plesk", "login": "john-unit-test", "status": 0, "email": "[email protected]", "locale": "en-US", "guid"...
  3. semihakartuna

    Question REST API: How can I call the customer service plan list with Rest API?

    Hello friends How can I call the customer service plan list with Rest API? thank you
  4. Y

    Resolved PHP Curl POST don't works with X-API-Key

    I'm trying to build a PHP function to get a user loging link in PHP. The user/pass method works very well function getLinkUrlWithUser($account, $username, $password, $server){ $url = "https://" . $server . ":8443/api/v2/cli/admin/call"; $request = array("params" =>...
  5. elaa

    Issue how can I allow HTTP request on plesk

    Hi ,I just uploaded my angular/php project into my website on plesk with is based on HTTP requests but when I tried to test it I got this 405 Not Allowed nginx how can I fix this
  6. O

    Question How can I add REST API add my web site?

    I built a Rest api for my project, but I dont know how can I add this API to my web site. CentOS Linux release 7.7.1908 (Core)
  7. M

    Plesk REST API cli - endpoint for wp-toolkit

    Hi, please help me figure out, what would be an endpoint for REST API call to wp-toolkit extension: When I try to run https://<myIP>:8443/api/v2/cli/wp_instance/call, I get { "code": 0, "message": "Command 'wp_instance' not found" } It looks like wp_isntance command is not supported anymore...
  8. R

    Question Plesk REST API for PHP

    Hello everyone I am trying to automate the ordering process. I want to use the REST API and PHP. The official documentation is not very helpful, hardly anything is described. The swagger version is not very informative either. Does anyone know good documentation that describes how to create a...
  9. Fernando Ok

    Resolved Is possible handle mailboxes using NEW REST API v2?

    Hi, I have a question which I think I already know the answer (not), but I want to be sure. Ok, the question is if I can handle(create, edit, remove...) mailboxes using "New Remote Plesk REST API v2". This new API is amazing and I am surprised that it does not have the capacity to manage...
  10. K

    Question Rest API subdomain does not use custom Doc Root

    Hi, I'm using the REST api for creating subdomains. I have the custom document root set up to /public in panel.ini which works if i add a new domain or subdomain manually. Whenever i create a subdomain over the API it does not set the document root to /public but just to /site1 /site2/ (btw it...
  11. Lutuh

    Question REST API availability

    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...
Back
Top