v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Databases

Retrieve the Status of an Online Migration

To retrieve the status of the most recent online migration, send a GET request to /v2/databases/$DATABASE_ID/online-migration.

get/v2/databases/{database_cluster_uuid}/online-migration

Path parameters

database_cluster_uuidstring uuid required

A unique identifier for a database cluster.

Response

A JSON object.

idstring

The ID of the most recent migration.

status'running' | 'syncing' | 'canceled' | 'error' | 'done'

The current status of the migration.

created_atstring

The time the migration was initiated, in ISO 8601 format.

Example response

{
  "id": "77b28fc8-19ff-11eb-8c9c-c68e24557488",
  "status": "running",
  "created_at": "2020-10-29T15:57:38Z"
}