New webmin api

Hi everyone,

Seriously, Webmin/Virtualmin/Usermin/Cloudmin are pretty amazing ! I worked on it for 2 years and I’m really satisfied.

If today I’m here, this is because I’m creating an application based on webmin… and I really need a GOOD api. In fact, the webmin api is just a requester which output print function to webpage and there are absolutely no support for JSON (real support), rest, xml, SOAP… (JSON/XML wrapped the printed text… :’( ).

So, I’ve got a question for the community, users and virtualmin’s bosses or anyone else. Do you know a wrapper class in php (to parsed text content in api response) or a great update for the virtualmin api?

I think, I will update the virtualmin api on my computer just to have a full json response (I’m not really good with perl… I will relearn basis :confused: ).

And… my last question… if someone have a work (partially or not) already done, I’m very interested :smiley: … I can make an update on it :smiley:

Thx for all the work,

As we can say in France… “à plus” or “@+” (see you)

Howdy,

Did you check out the Virtualmin Remote API? Details on it are here:

https://www.virtualmin.com/documentation/developer/http

To receive a JSON response, be sure to add both the json=1, as well as the “multiline=” parameter.

-Eric