add dird api to toc