Fix 7-week API Histories endpoint and add All Histories API Endpoint