New View - Index Update Progress

Whenever a new view is created on Couchbase, there is a index update that happens.

We want to show this progress in our application when there is an index update in progress for the individual views. Is there any API that will give the progress of the index building process?

Thanks,
Kris

Hi Kris_smarty,
You can use this command:
http://hostname:8091/pools/default/tasks

It will return a response like this:
[{“type”:“rebalance”,“status”:“notRunning”}]

that you can parse with json.net.

Thanks
Martin