Hi, are there any plans on extending the zoneminder API? (http://zoneminder.readthedocs.org/en/latest/api.html)
It's very sparse; you can either fetch 1 event or ALL events. Nothing in between. Not very flexible.
Future of API
Re: Future of API
First off, thanks for reminding me of the APIs
I read about it long time ago and forgot it existed. I just installed the current APIs and have been playing with it.
It seems ZM maintainers are maintaining a different branch for upgrading their APIs, based on this issue: https://github.com/ZoneMinder/ZoneMinder/issues/8
This is the branch https://github.com/ZoneMinder/ZoneMinde ... angular-ui
If you look at https://github.com/ZoneMinder/ZoneMinde ... ui/web/api and look at the Controller classes, they have added more flexibility to search in a more granular way
I don't really know any of CakePHP, PHP and AngularJS etc -- but it seems quite easy to understand and extend. You might want to download the angular-js branch and experiment?

It seems ZM maintainers are maintaining a different branch for upgrading their APIs, based on this issue: https://github.com/ZoneMinder/ZoneMinder/issues/8
This is the branch https://github.com/ZoneMinder/ZoneMinde ... angular-ui
If you look at https://github.com/ZoneMinder/ZoneMinde ... ui/web/api and look at the Controller classes, they have added more flexibility to search in a more granular way
I don't really know any of CakePHP, PHP and AngularJS etc -- but it seems quite easy to understand and extend. You might want to download the angular-js branch and experiment?
Lars wrote:Hi, are there any plans on extending the zoneminder API? (http://zoneminder.readthedocs.org/en/latest/api.html)
It's very sparse; you can either fetch 1 event or ALL events. Nothing in between. Not very flexible.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: Future of API
I'm afraid I don't follow. Is there any documentation on how to call the API?