API json results

3 posts / 0 new
Last post
#1 Mon, 08/10/2009 - 18:07
joemclarke

API json results

I'm working on an application that uses the virtualmin api and on the docs page (http://www.virtualmin.com/documentation/developer/http) it says you can pass json=1 to get the output of the command in json. When I try this, the command returns "Unknown option --json\n\n"

Is this feature not complete yet?

Thanks,

Tue, 08/11/2009 - 01:00
JamieCameron

This will be coming in Virtualmin 3.72, hopefully available in a day or two. I updated the documentation before the feature was released, sorry!

''

Tue, 08/11/2009 - 14:37
joemclarke

Cool, I'll hold off on what I'm doing then if it is going to be released that soon. Having the results in json format will make it a lot easier to work with.

Thanks!

Topic locked