Page 1 of 1

Is there an http api available?

Posted: Tue Sep 29, 2009 3:05 am
by mklein
I noticed a SharedMem.pm (perl module) which is supposedly container for any api like functionality...but I have a tomcat/java application.

I basically wanted ability to generate html for thumbnail and full 'detail' views at a minimum...ability to scale image w/be nice. Ability to playback a 'capture' from event as well.

Ability to invoke 'methods' on camera components w/be nice, as would eventing. I guess I can format a zm email and use this as notification api, but it would be nicer to see sms and http eventing. Event file captured could be details in http message regarding event.

Posted: Tue Sep 29, 2009 6:58 am
by mitch
There is a basis for an XML API for accessing event /monitor data and controlling them see:
http://www.zoneminder.com/forums/viewtopic.php?t=14008

for patching it in. It may not contain everything you need but atleast give you a basis for most of it.

Thx

Posted: Wed Sep 30, 2009 1:40 am
by mklein
Thanks, I of course noticed it like 2 sec after posting!

I will be checking this out shortly, looks promising.