REST API for data indexation