add doc for HTTP API