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

Add new package in the system

Questions regarding the API
Application Programming Interface
Locked
  • Print view
Advanced search
2 posts • Page 1 of 1
abdullakh
Posts: 3
Joined: Wed Oct 14, 2015 10:31 pm

Add new package in the system

Post by abdullakh » Fri Oct 16, 2015 5:10 pm

Hello,

I am trying to programme a API that add package in Vestacp using API (v-add-user-package) but I am stuck with these values:
pkg_dir=$1
package=$2
rewrite=$3

May you provide me the code that I need to do using your API?

Thanks
Top

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

Re: Add new package in the system

Post by skurudo » Fri Sep 23, 2016 12:39 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

2 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