Thread: Extending API
View Single Post
Old 28th January 2013, 19:26
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,648 Times in 4,458 Posts

Is it possible to extend the API using plugins?

I just want to add functions like sites_get_domain_by_domainname etc to check a site exists before creating it but obviously don't want to edit the core files.
No need to add a new function for that, you can esily do this with the current functions:

$domain_record = $client->sites_web_domain_get($session_id, array('domain' => 'mydomain.tld'));
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote