Currently when you add a oneshot nothing is returned.
Since the oneshot contains data about the indexing progress an object should be returned instead.
This object should also have a wait method that waits for the oneshot to disappear from the REST API.
Currently when you add a oneshot nothing is returned.
Since the oneshot contains data about the indexing progress an object should be returned instead.
This object should also have a wait method that waits for the oneshot to disappear from the REST API.