Add route to pass ids of objects to be indexed

Looking for a review of the code so far. Is this on the right track? What needs to be done to get this merged?

DLTP-117
Remove `puts`