update api comments for metric_api
update api comments for search_api
update comments for tag api
add api documentation to readme