GET
/
migrations
/
{migration_id}
curl --request GET \
  --url https://api.togai.com/migrations/{migration_id} \
  --header 'Authorization: <authorization>'
{
  "id": "mig.20aUyEZSuYq.SoGbS",
  "type": "PRICE_PLAN",
  "updatedAt": "2080-10-04T00:00:00Z",
  "status": "COMPLETED",
  "sourceId": "pp.njrjk314hfr",
  "targetId": "pp.rhk32h4dsfq",
  "totalMigrationEntries": 100,
  "pendingMigrationEntries": 40,
  "failedMigrationEntries": 20,
  "completedMigrationEntries": 40
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

migration_id
string
required

Response

200 - application/json
id
string
required
type
string
required
updatedAt
string
required
status
string
required
sourceId
string
required
sourceVersion
integer
targetId
string
required
targetVersion
integer
totalMigrationEntries
integer
required
pendingMigrationEntries
integer
required
failedMigrationEntries
integer
required
completedMigrationEntries
integer
required