Added mimetype to response
Added API documentation