Created simple API endpoint for indexes
switched from locations to locators