API Documentation

A thorough documentation of the API excluding uploading (reason mentioned in the file).