API question
API question
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.
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
@imperio can you shed some light on this please?
Re: API question
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
http://vestacp.com/docs/API.pdf
CLI commands list and descriptions:
http://vestacp.com/docs/CLI.txt
-> viewtopic.php?f=18&t=12610