index and games API endpoints