add a toc to endpoints