So, I'am doing API integration for my billing system with ISPC3. Can someone explain logic behind some user IDs and group IDs, what logical chain is there... Example: API call 'sites_web_domain_get' result: Api call 'client_get' result: Particularly I'am interested how ISPC gets that "/var/www/clients/client4/web2" ? web2 part especially. Because I fail to connect data between website and its owner. Isn't website sys_userid and sys_groupid should be the same as sys_userid and sys_groupid from client?
wedsite (or any other record like mail domain etc): sys_groupid => sys_group.groupid - sys_group.client_id => client.client_id The remote API has also functions to get client_id from a sys_groupid and vice versa.