-
Notifications
You must be signed in to change notification settings - Fork 0
API Specification
Leland Miller edited this page Sep 2, 2014
·
8 revisions
All the API actions should be accessible through standard http methods. Pagination should be implemented in all calls that return lists.
/media/:cam/:id{.avi|.mp4}
This route statically serves the video files. For example, /media/quad1/21.mp4 would serve video 21 from the camera named quad1. The .avi file is the original DivX encoded avi and the mp4 is converted for web use.
get /messages?page={1}&size={20}
Returns all messages.
/messages/:cam/:id
Get the message