Documentation: Updated the API documentation

added docs for new route registration.
more examples