Where's the API

Is there an API or a descriptive standard somewhere?

Thanks

http://www.virtualmin.com/documentation/id,command_line_api/

http://www.virtualmin.com/documentation/id,remote_http_api/

http://www.virtualmin.com/documentation/id,writing_virtualmin_plugins/

There’s lots more. Just have a look at the Documentation page in the Developer References section.

The above links doesn’t work. You can’t get access the detailed api information. Is it possible to access the legacy information anywhere?

// Rolf

the first and third link do work for me though

Yes, your are correct. However, you get a “page not found” if you try to access Virtural Server (Command categories) under the first link.

It’s coming soon. Those docs are auto-generated, and I haven’t completed the port to make it work with the new CMS yet. I’m hoping to wrap it up on the plane today.

In the meantime, the docs are all available within the product itself (in fact, that’s where they are generated from).

virtualmin --help

virtualmin create-domain --help

etc.

And the remote commands can be called similarly (all option names are the same):

https://domain.tld:10000/virtual-server/remote.cgi?program=create-domain&domain=newdomain.tld&pass=newpass

And so on.