Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 20:37:15

Author Topic: I want to use the API to dynamically add users and domains  (Read 45026 times)

0 Members and 1 Guest are viewing this topic.

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
I can't find the Kloxo API anywhere and the link http://wiki.lxcenter.org/API is no longer available
where can I find the API ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: I want to use the API to dynamically add users and domains
« Reply #1 on: 2017-06-06, 17:59:28 »
Try running 'sh /script/simplelist', 'sh /script/update', 'sh /script/add', 'sh /script/delete' and 'sh /script/getproperty'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: I want to use the API to dynamically add users and domains
« Reply #2 on: 2017-06-11, 16:06:56 »
I need the API docs if possible I need to understand the commands.
In one of your replies you said that Kloxo-MR has the same API as Kloxo and provided the link but unfortunately the website is down and the docs are no where to be found.
as for what I want to do :
I want to make the user submit his own domain through an installation screen after he opens his temo-domain for the first time and for that I need to do Kloxo-MR operations using server side language.

Offline tochits

  • Junior Member
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: I want to use the API to dynamically add users and domains
« Reply #3 on: 2017-06-13, 04:53:11 »
Use this snapshot from web archive:

https://web.archive.org/web/20150424023149/http://wiki.lxcenter.org/index.php/API#Kloxo.2FHyperVM_API

I used it to learn about Kloxo API, although the info is limited.

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: I want to use the API to dynamically add users and domains
« Reply #4 on: 2017-06-13, 11:55:08 »
Oh thanks I'll check it out  :D

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: I want to use the API to dynamically add users and domains
« Reply #6 on: 2017-06-19, 10:48:46 »
the command sh /script/simplelist throws this error
Quote
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php56s/usr/lib/php/modules/sphinx.so' - libsphinxclient-0.0.1.so: cannot open shared object file: No such file or directory in Unknown on line 0
/script/simplelist: line 3: 44863 Segmentation fault      (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"
I wanted to know the resource types and try understand the add command to add a sub domain using php
« Last Edit: 2017-06-19, 10:50:57 by Maradney »

Offline Maradney

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: I want to use the API to dynamically add users and domains
« Reply #7 on: 2017-06-21, 11:50:33 »
the command sh /script/simplelist now throws this error
 
Quote
/script/simplelist: line 3: 44863 Segmentation fault      (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"
I solved the php one by doing so
Quote
mv /opt/php56s/etc/php.d/40-sphinx.ini /opt/php56s/etc/php.d/40-sphinx_unused.nonini
I wanted to know the resource types and parameters and try understand the add command to add a sub domain using php

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.067 seconds with 21 queries.

web stats analysis