LxCenter WikiAPI
Print

API

Kloxo/HyperVM API

Our JSON based API provides the most comprehensive and robust interface for external programs to interact with Kloxo/HyperVM, and all our future integration efforts will be centered around the theme of JSON. Please check this link for a better idea of what exactly is JSON, and how the LxCenter API uses it for communication; JSON

JSON for webapplications (PHP)
All interactions happens via the file /webcommand.php. This is the file that handles the API for both Kloxo and HyperVM. You can access them as: http://server:7778/webcommand.php?login-class=client (external link)

The next step is the listing. This is essential because, to add one resource, you will need to provide another as the input, and to do this, you will need to first get the list of the existing resources in Kloxo. You can see Listing a Resource for more information on that.

Once you have understood the Kloxo JSON object model and how to list any resource, we can move to the next step:

Kloxo/HyperVM also provides API for suspend/unsuspending the VPS/Client, via the universal update action.

There is a universal command for Deleting a resource
Editing properties from an object: Getting properties from an Object

Usage Examples from commandline (Shell)
Editing In Progess!


HyperVM


Kloxo


See this page in other languages


Created by System Administrator. Last Modification: Sunday 06 March, 2011 07:59:37 by Ángel Guzmán Maeso.

Online users

39 online users

Last Visitors

  1. You
    Sun 05 Feb., 2012 09:03
  2. doviethung
    Fri 03 Feb., 2012 17:57
  3. dungna
    Fri 03 Feb., 2012 10:37
  4. ahveryhandsome
    Fri 03 Feb., 2012 07:16

Google Search

 
wiki.lxcenter.org
WWW

Show php error messages