Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
Shijin Wang edited this page Jul 27, 2017 · 2 revisions

Welcome to the user documentation for the CAM2API. If you were unable to find the help you needed, or if you encountered an issue with out API, please let us know by email at cam2api@ecn.purdue.edu (note: check this email address).

The first thing you need to do when using the API is to authenticate yourself , and receive a JSON Web Token, which you will then provide to the request you send to the API. After that, depending on your permission level, you will be able to interact with the API. If you are a regular (non-admin) user, you will be able to query our database, and retrieve cameras' metadata that match your query. In addition to that, in case you are an admin user, you will also be able to add new cameras to the database, as well as update the existing ones, or delete cameras from our database. For detailed description of each of these steps, read the corresponding section below.

Clone this wiki locally