fix broken named anchor links on API endpoints