Document API routes.