added all apis to toc, also fixed issue with sub params