update api doc
change return type from html to json