Created simple API endpoint for indexes
switched from locations to locators
WIP: snapshot API