Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Scripting / API
  • Search

API question

Questions regarding the API
Application Programming Interface
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

API question

Post by patstan » Mon Sep 22, 2014 4:08 pm

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.
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: API question

Post by patstan » Thu Sep 25, 2014 5:03 pm

@imperio can you shed some light on this please?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: API question

Post by skurudo » Fri Sep 23, 2016 12:31 pm

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
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “Scripting / API”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password