API documentation

Edited by Harsh Bhikadia