• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Problem with fetching sites via RPC-API

R

rootusertom

Guest
Hello,

I am sorry but the RPC-API is driving me nuts.
As root, I can fetch all sites by leaving the filter empty. If I try that in the role of a certain reseller, I get no domains at all, though some of the sites were created by that reseller.

If I try to fetch a certain site of the reseller by using its ID or name as a filter, this will work.
This will also work whe I use parent-id as a filter, inserting the webspace id.
When I use the parent-id filter on a webspace with no sites, I get an 'ok' response (which I deem the correct answer).

But when do that as root I get an error: 1015 Webspace does not exist
The documentation says this error code means "Object owner not found". What is correct? And what is more: why do I get an error at all?

If it is the policy that root cannot fetch data belonging to resellers, why can I fetch all customers and webspaces then, regardless if I fetch all or certain ones at a time?
This is very confusing and frustrating.

(All API requests have been made using protocol version 1.6.3.4)

Regards, Tom
 
Back
Top