Here’s the process which can be implemented to check if the migration is in progress: There are two endpoints which can be checked: (1) a live route indicating whether V3 migration is in progress and (2) a test route which is a simulation for testing purposes:
Live route:
GET https://api.backendless.com/v3migrationstatus
While the 3.x migration is in progress, the route will return HTTP code 503 with the following in the response payload:
{
"message" : "The 3.x cluster is being migrated",
"code": 1999
}
When migration is not in progress, the route returns HTTP code 200 without any payload.
Test route:
GET https://api.backendless.com/v3migrationstatus-test
the route always returns HTTP 503 with the following in the response payload:
{
“message” : “The 3.x cluster is being migrated”,
“code”: 1999
}
These routes are being put in place today. We will notify you when they are ready.
Regards,
Mark