...
curl "http://:8086$host/webresources/migrations/1/$workflow_id" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46MjEyMzJGMjk3QTU3QTVBNzQzODk0QTBFNEE4MDFGQzM="
The migration status is also indicated by numbers. It is better to rely on the numbers rather than the percentage for tracking.
The basic mapping is:
1,2,3,4,5 - running
6 - completed successfully (not running anymore)
7 - completed with errors (not running anymore)
The full mapping of numbers is:
0 - STATUS_NOT_RUN
1 - STATUS_SCHEDULED
2 - STATUS_STARTED
3 - GROUP_PREPARE
4 - GROUP_COPY_DATA
5 - GROUP_FINALIZE
6 - STATUS_FINISHED
7 - STATUS_ERROR
8 - STATUS_STOPPED
9 - STATUS_PENDING
10 - STATUS_STOPPING
#######################
Additional API calls#
...