• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

API: How can I get the list of domains?

I

IrinaK

Guest
Hello!
I want to set my script on events "create/update/remove domain". Can I get the name of added/removed domain by API?
or can I get a full list of domains in Plesk Panel by API?
 
Great!!! Thanks a lot!

do you know how to get domain name which was changed last? or how I can get domain name that was removed from system 5 minutes ago...
 
Not sure that it is possible. There is only Creation date (cr_date) field in domains table and you can sort it with something like:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select cr_date,name from domains order by cr_date"
 
yes, I so this field... but it's only creation date... no information about update or remove
 
Back
Top