These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for API Change in latest version on the new forum.
Hello!
I am using the Virtualmin API. I noticed that with the latest version of virtualmin/webmin (5.0?) it is returning a consistent JSON, thank you! However, the API is returning weird data. Here is an example for a test server:
http://pastebin.com/PwXNeywY
The result is being grouped up into the name value, split by tabs. All the values are empty.
Here is the output from shell:
http://pastebin.com/dpgaZrYb
Some other commands:
http://pastebin.com/6ivW48z5
http://pastebin.com/tPs7C1WU
http://pastebin.com/AD9k9rrr (wth is that?)
http://pastebin.com/kU3GsaTy
Yet, get-command seems to be correctly formatted:
http://pastebin.com/nuNuy7bT
Am I missing something here?
Wow, okay. So adding &multiline to the querystring returns the proper JSON. Anyone know why that is even a thing? It wasn't in pre-5.0 version.