Skip to content

API Specification

Leland Miller edited this page Aug 30, 2014 · 8 revisions

All the API actions should be accessible through standard http methods. Pagination should be implemented in all calls that return lists.

Routes

Video Routes

/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.

Clone this wiki locally