added http api docs