Updated on 2025-09-05 GMT+08:00

API Overview

DRS provides REST APIs. With DRS APIs, you can use all the functions of DRS, including creating migration tasks, obtaining task details, obtaining the migration task list, and deleting migration tasks.

Table 1 APIs

Type

Subtype

Description

DRS APIs (v3)

Public API management

The APIs are used to create a task, test the connection, perform a pre-check, query task details and progress, create a comparison task, delete a task, retry a task, and stop a task.

DRS APIs (v3)

Real-Time migration management

The APIs are used to obtain migration users of the source database and update user information.

DRS APIs (v3)

Real-time synchronization management

The APIs are used to process data and set the synchronization policy.

DRS APIs (v3)

Real-time disaster recovery management

The APIs are used to perform a primary/standby switchover and query RPO, RTO, DR monitoring data, and DR initialization progress.