Documentation for new http api