Hello Team,
we wanted to automate confluence re-indexing when ever we do a data replication replication between prod to INT or when we go on up gradation.
We are using Confluence version - 6.13.X . I'm using the below mentioned Rest call to trigger the content indexing.
http://localhost:8090/rest/prototype/1/index/reindex
With this rest api , i'm able to trigger reindexing. but i wanted to add next step to check the progress of indexing. how can i do it.? Is there any rest api to check the progress ?
Please suggest.
Hi,
You can use this to get the progress of the content indexing:
https://<instance url>/rest/rebuildindex/latest/job
Then you can use this curl command with jq to get the value of progress:
curl -s -H "Authorization: <Credentials>" -X GET "https://<instance url>/rest/rebuildindex/latest/job |jq -r '.progress'
Hope this helps!
Thanks,
Vamsi
This KB is for the latest version but I believe it will still work for your version. https://confluence.atlassian.com/confkb/how-to-monitor-re-indexing-progress-through-rest-api-1005328489.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Plan, prioritize, and deliver marketing projects seamlessly. See how Jira supports your team's success. Start today!
Start now! 🚦Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.