jhmiller wrote:Could I test the android app?
I have been working on a ZM plugin for Openmediavault. I think i have built the package with the API commands but I am not sure how to test apart from using your app.
Thanks
Miller
You sure can. But before you do, make sure you have the right API installed. The full APIs are only available on the master branch today, not in 1.28.1 even if you use cmake (its installs APIs which are not complete)
An easy way for you to test, once you have the APIs set up is to do this from your terminal:
Code: Select all
curl http://server/zm/api/host/getVersion.json
(replace server with the IP/port of your ZM install)
If this does not produce
Code: Select all
{
"version": "1.28.1",
"apiversion": "1.28.1.1"
}
You have either (depending on the error):
1. Not installed the APIs
2. Installed the APIs but not configured it correctly
3. Using an incomplete/old version of the API