Page 1 of 1

API question

Posted: Mon Sep 22, 2014 4:08 pm
by patstan
Could you provide more information on what the following API codes do?

1. Check Username and Password
http://vestacp.com/docs/api/#auth_user

What am i confused about?
Why do you specify the users username/password in the script? Does it make sure if the password/username combination is valid or not?


2. List Web Domains
http://vestacp.com/docs/api/#list_web

What am i confused about?
If this is just listing all web domains for a particular user, then why should we specify $domain = 'demo.vestacp.com'; in the script?

Thanks for answering.

Re: API question

Posted: Thu Sep 25, 2014 5:03 pm
by patstan
@imperio can you shed some light on this please?

Re: API question

Posted: Fri Sep 23, 2016 12:31 pm
by skurudo
API documentation and examples:
http://vestacp.com/docs/API.pdf

CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt

-> viewtopic.php?f=18&t=12610