I have tried following instructions from various places, including downloading 'crud' and copying it into the ZM web tree.
Code: Select all
curl -XPOST -d "user=admin&pass=blah" http://localhost/zm/api/host/getVersion.json
I have gone looking for 'getVersion.json', in the ZM web tree, it does not exist.
I have tried looking for *.json, in the ZM web tree
Code: Select all
# pwd
/usr/share/zoneminder/www
root@Lyalls-PC www
# find . -name '*.json' -print
./vendor/ircmaxell/password-compat/composer.json
./vendor/firebase/php-jwt/composer.json
./vendor/composer/installed.json
./api/app/vendor/composer/installers/composer.json
./api/app/vendor/composer/installed.json
./api/app/Plugin/CakePHP-Enum-Behavior/composer.json
./api/app/Plugin/Crud/composer.json
./api/composer.json
./skins/classic/js/jquery-ui-1.12.1/package.json
root@Lyalls-PC www
#
Code: Select all
root@Lyalls-PC www
# cd /tmp/zoneminder-master/
root@Lyalls-PC zoneminder-master
# find . -name '*.json' -print
./web/vendor/ircmaxell/password-compat/composer.json
./web/vendor/firebase/php-jwt/composer.json
./web/vendor/composer/installed.json
./web/skins/classic/js/jquery-ui-1.12.1/package.json
./web/composer.json
./web/api/composer.json
./web/api/app/vendor/composer/installers/composer.json
./web/api/app/vendor/composer/installed.json
root@Lyalls-PC zoneminder-master
#