Reindex API and wait-for-completion task return

Hi @nik9000.

Shame on me. I've read the URL many times and don't get the point. In a next issue I'll do copy paste :slight_smile:

Thanks a lot