[ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Before You Start", "uri":"drs_01_0006.html", "doc_type":"api", "p_code":"", "code":"1" }, { "desc":"Welcome to Data Replication Service (DRS). DRS is a stable, secure, and efficient cloud service for online database migration and real-time database synchronization. You ", "product_code":"drs", "title":"Overview", "uri":"drs_api_0109.html", "doc_type":"api", "p_code":"1", "code":"2" }, { "desc":"DRS supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS. For details about API calling, see Calling APIs.", "product_code":"drs", "title":"API Calling", "uri":"drs_api_0110.html", "doc_type":"api", "p_code":"1", "code":"3" }, { "desc":"An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of all services, see Regions and Endpoints.", "product_code":"drs", "title":"Endpoints", "uri":"drs_api_0111.html", "doc_type":"api", "p_code":"1", "code":"4" }, { "desc":"The number of DRS tasks that you can create cannot exceed your quota.APIs can be called only in migration and synchronization of MySQL databases, synchronization from MyS", "product_code":"drs", "title":"Constraints", "uri":"drs_api_0112.html", "doc_type":"api", "p_code":"1", "code":"5" }, { "desc":"A domain is created after your registration. The domain has full access permissions for all of its cloud services and resources. It can be used to reset user passwords an", "product_code":"drs", "title":"Basic Concepts", "uri":"drs_api_0113.html", "doc_type":"api", "p_code":"1", "code":"6" }, { "desc":"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", "product_code":"drs", "title":"API Overview", "uri":"drs_02_0004.html", "doc_type":"api", "p_code":"", "code":"7" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Calling APIs", "uri":"drs_01_0004.html", "doc_type":"api", "p_code":"", "code":"8" }, { "desc":"This section describes the structure of a REST API request, and uses the IAM API for obtaining a user token as an example to demonstrate how to call an API. The obtained ", "product_code":"drs", "title":"Making an API Request", "uri":"drs_01_0008.html", "doc_type":"api", "p_code":"8", "code":"9" }, { "desc":"You can use the following authentication method:Token authentication: Requests are authenticated using tokens.The validity period of a token is 24 hours. When using a tok", "product_code":"drs", "title":"Authentication", "uri":"drs_01_0005.html", "doc_type":"api", "p_code":"8", "code":"10" }, { "desc":"After sending a request, you will receive a response, including a status code, response header, and response body.A status code is a group of digits, ranging from 1xx to ", "product_code":"drs", "title":"Returned Values", "uri":"drs_01_0007.html", "doc_type":"api", "p_code":"8", "code":"11" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Getting Started", "uri":"drs_03_0126.html", "doc_type":"api", "p_code":"", "code":"12" }, { "desc":"Call an IAM API to obtain a user token by referring to Obtaining a User Token.Creating Tasks in BatchesQuerying Task Statuses in BatchesTesting Connections in BatchesModi", "product_code":"drs", "title":"Task Creation Process", "uri":"drs_03_0127.html", "doc_type":"api", "p_code":"12", "code":"13" }, { "desc":"This section describes how to create a real-time migration task by calling an API.API for obtaining tokens from IAMObtain a token and add X-Auth-Token to the request head", "product_code":"drs", "title":"Task Creation Example", "uri":"drs_03_0128.html", "doc_type":"api", "p_code":"12", "code":"14" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"API", "uri":"drs_03_0129.html", "doc_type":"api", "p_code":"", "code":"15" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Public API Management", "uri":"drs_03_0101.html", "doc_type":"api", "p_code":"15", "code":"16" }, { "desc":"This API is used to create real-time migration, real-time synchronization, and real-time DR tasks in batches based on different request parameters.POST /v3/{project_id}/j", "product_code":"drs", "title":"Creating Tasks in Batches", "uri":"drs_03_0104.html", "doc_type":"api", "p_code":"16", "code":"17" }, { "desc":"This API is used to test the connections to the source and destination ends in batches.After the task is created, you can test the connection only when the task status is", "product_code":"drs", "title":"Testing Connections in Batches", "uri":"drs_03_0105.html", "doc_type":"api", "p_code":"16", "code":"18" }, { "desc":"This API is used to test connections in cluster mode.After the task is created, you can test the connection only when the task status is CONFIGURATION.POST /v3/{project_i", "product_code":"drs", "title":"Testing Connections in Batches (Cluster Mode)", "uri":"drs_03_0106.html", "doc_type":"api", "p_code":"16", "code":"19" }, { "desc":"This API is used to modify task names or descriptions in batches and set exception notification.After the test of connections to the source and destination databases is s", "product_code":"drs", "title":"Modifying Tasks in Batches", "uri":"drs_03_0107.html", "doc_type":"api", "p_code":"16", "code":"20" }, { "desc":"This API is used to select the databases or tables to be migrated.Only real-time migration and real-time synchronization support object selection.After a task is created,", "product_code":"drs", "title":"Selecting Database Objects in Batches", "uri":"drs_03_0109.html", "doc_type":"api", "p_code":"16", "code":"21" }, { "desc":"This API is used to perform batch pre-check to check whether the migration, synchronization, DR can be performed.After a task is created, the task status is CONFIGURATION", "product_code":"drs", "title":"Performing a Batch Pre-Check", "uri":"drs_03_0110.html", "doc_type":"api", "p_code":"16", "code":"22" }, { "desc":"This API is used to query the pre-check results of tasks in batches.This API can be called only when the task status is CONFIGURATION and the pre-check API is invoked.POS", "product_code":"drs", "title":"Querying Pre-check Results in Batches", "uri":"drs_03_0111.html", "doc_type":"api", "p_code":"16", "code":"23" }, { "desc":"This API is used to enable or disable flow control for tasks. By default, the migration speed is not limited after a task is created.You can customize the maximum migrati", "product_code":"drs", "title":"Setting Flow Control for Tasks", "uri":"drs_03_0130.html", "doc_type":"api", "p_code":"16", "code":"24" }, { "desc":"To ensure that service applications are not affected after the migration, DRS provides parameter comparison to help you compare parameters between the source and destinat", "product_code":"drs", "title":"Obtaining Database Parameters in Batches", "uri":"drs_03_0141.html", "doc_type":"api", "p_code":"16", "code":"25" }, { "desc":"This API is to modify database parameters.You need to call the API for obtaining database parameters for MySQL migration and MySQL DR tasks. This API can be called only ", "product_code":"drs", "title":"Modifying Database Parameters", "uri":"drs_03_0131.html", "doc_type":"api", "p_code":"16", "code":"26" }, { "desc":"This API is used to start real-time migration, synchronization, and disaster recovery tasks in batches.This API can be called only after all tasks are configured.In the d", "product_code":"drs", "title":"Starting Tasks in Batches", "uri":"drs_03_0112.html", "doc_type":"api", "p_code":"16", "code":"27" }, { "desc":"This API is used to retry failed tasks.In the dual-active DR scenario, the parent task cannot call the API.POST /v3/{project_id}/jobs/batch-retry-taskStatus code: 200Exam", "product_code":"drs", "title":"Resuming or Retrying Tasks in Batches", "uri":"drs_03_0132.html", "doc_type":"api", "p_code":"16", "code":"28" }, { "desc":"This API is used to pause tasks in batches.Migration and synchronization tasks can be paused.Only tasks in the FULL_TRANSFER_STARTED, FULL_TRANSFER_FAILED, FULL_TRANSFER_", "product_code":"drs", "title":"Pausing Tasks in Batches", "uri":"drs_03_0133.html", "doc_type":"api", "p_code":"16", "code":"29" }, { "desc":"This API is used to stop tasks in batches or delete real-time migration, real-time synchronization, and real-time DR tasks.Only tasks in the CREATE_FAILED, RELEASE_RESOUR", "product_code":"drs", "title":"Stopping or Deleting Tasks in Batches", "uri":"drs_03_0113.html", "doc_type":"api", "p_code":"16", "code":"30" }, { "desc":"This API is used to change the passwords of the sources and destinations after a task is started.This API can be called only when the task is in the STARTJOBING, STARTJOB", "product_code":"drs", "title":"Changing the Passwords of the Sources and Destinations", "uri":"drs_03_0134.html", "doc_type":"api", "p_code":"16", "code":"31" }, { "desc":"The API is used to set whether to migrate Definers to the user in batches.If you select Yes, the Definers of all source database objects will be migrated to the user. Oth", "product_code":"drs", "title":"Setting Definers in Batches", "uri":"drs_03_0135.html", "doc_type":"api", "p_code":"16", "code":"32" }, { "desc":"This API is used to create a comparison taskIn the current version, a comparison task can be created only when the MySQL DR task is in the DR progress. The parent task ca", "product_code":"drs", "title":"Creating a Comparison Task", "uri":"drs_03_0136.html", "doc_type":"api", "p_code":"16", "code":"33" }, { "desc":"This API is used to query the comparion result after creating a comparison task.POST /v3/{project_id}/jobs/query-compare-resultStatus code: 200Request for querying the co", "product_code":"drs", "title":"Querying Comparison Results", "uri":"drs_03_0137.html", "doc_type":"api", "p_code":"16", "code":"34" }, { "desc":"This API is used to query the full progress and incremental delay information in batches based on the task ID.POST /v3/{project_id}/jobs/batch-progressStatus code: 202Exa", "product_code":"drs", "title":"Querying Task Progress in Batches", "uri":"drs_03_0114.html", "doc_type":"api", "p_code":"16", "code":"35" }, { "desc":"This API is used to query task details in batches by task ID.POST /v3/{project_id}/jobs/batch-detailStatus code: 200Request for querying task details:Status code: 200OKFo", "product_code":"drs", "title":"Querying Task Details in Batches", "uri":"drs_api_0151.html", "doc_type":"api", "p_code":"16", "code":"36" }, { "desc":"This API is used to query tenant tasks by engine type, network type, task status, task name, or task ID.POST /v3/{project_id}/jobsStatus code: 200Example of querying the ", "product_code":"drs", "title":"Querying Tasks of a Tenant", "uri":"drs_03_0138.html", "doc_type":"api", "p_code":"16", "code":"37" }, { "desc":"This API is used to query task statuses in batches by task ID.POST /v3/{project_id}/jobs/batch-statusStatus code: 200Example of querying task statuses in batches:Status c", "product_code":"drs", "title":"Querying Task Statuses in Batches", "uri":"drs_api_0150.html", "doc_type":"api", "p_code":"16", "code":"38" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Real-Time Synchronization Management", "uri":"drs_api_0100.html", "doc_type":"api", "p_code":"15", "code":"39" }, { "desc":"This API is used to add rules for data processing.Each table has only one verification rule.MySQL source database supports a maximum of 10,000 tables at a time.The filter", "product_code":"drs", "title":"Processing Data in Batches", "uri":"drs_api_0103.html", "doc_type":"api", "p_code":"39", "code":"40" }, { "desc":"This API is used to switch over virtual IP addresses.Only synchronization between self-built databases supports the dual virtual IP address switchover.POST /v3/{project_", "product_code":"drs", "title":"Performing a Switchover", "uri":"drs_03_0147.html", "doc_type":"api", "p_code":"39", "code":"41" }, { "desc":"This API is used to query the dual-virtual IP address switchover result.Only synchronization between self-built databases supports querying the results of dual virtual IP", "product_code":"drs", "title":"Querying the Switchover Result", "uri":"drs_03_0148.html", "doc_type":"api", "p_code":"39", "code":"42" }, { "desc":"This API is used to configure synchronization policies in batches, including conflict policies, DROP DATASE filtering, and object synchronization scope.This API supports ", "product_code":"drs", "title":"Configuring Synchronization Policies in Batches", "uri":"drs_03_0149.html", "doc_type":"api", "p_code":"39", "code":"43" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Application Examples", "uri":"drs_03_0121.html", "doc_type":"api", "p_code":"", "code":"44" }, { "desc":"This section describes how to query the status of all tasks of a tenant by calling the API described in Querying Task Statuses in Batches.Example request:POST: https://{e", "product_code":"drs", "title":"Scenario 1: Querying Task Statuses in Batches", "uri":"drs_03_0122.html", "doc_type":"api", "p_code":"44", "code":"45" }, { "desc":"This section describes how to query task details of a tenant by calling the API described in Querying Task Details in Batches.Example request:POST: https://{EndPoint}/v3/", "product_code":"drs", "title":"Scenario 2: Querying Task Details in Batches", "uri":"drs_03_0123.html", "doc_type":"api", "p_code":"44", "code":"46" }, { "desc":"This section describes how to start multiple configuration tasks by calling an API.Example request:POST: https://{endpoint}/ /v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/bat", "product_code":"drs", "title":"Scenario 3: Starting Tasks in Batches", "uri":"drs_03_0124.html", "doc_type":"api", "p_code":"44", "code":"47" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Appendix", "uri":"drs_03_0125.html", "doc_type":"api", "p_code":"", "code":"48" }, { "desc":"Abnormal response descriptionAbnormal response descriptionNameTypeDescriptionerror_codeStringSpecifies the error code returned when the API response is abnormal. For deta", "product_code":"drs", "title":"Abnormal Request Results", "uri":"drs_05_0002.html", "doc_type":"api", "p_code":"48", "code":"49" }, { "desc":"NormalReturn codes for successful requestsStatus CodeDescription200Request succeeded.202Asynchronous requests (such as performing a task) are submitted successfully.Abnor", "product_code":"drs", "title":"HTTP Status Codes for General Requests", "uri":"drs_05_0003.html", "doc_type":"api", "p_code":"48", "code":"50" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Error Code", "uri":"drs_05_0004.html", "doc_type":"api", "p_code":"48", "code":"51" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Task Statuses", "uri":"drs_05_0005.html", "doc_type":"api", "p_code":"48", "code":"52" }, { "desc":"A project ID needs to be specified in the URLs of some APIs. Therefore, you need to obtain a project ID before calling such APIs. To do so, perform the following operatio", "product_code":"drs", "title":"Obtaining a Project ID", "uri":"drs_api_0106.html", "doc_type":"api", "p_code":"48", "code":"53" }, { "desc":"An account ID is required for some URLs when an API is called. To obtain an account ID, perform the following operations:On the API Credentials page, view Account ID.", "product_code":"drs", "title":"Obtaining an Account ID", "uri":"drs_api_0107.html", "doc_type":"api", "p_code":"48", "code":"54" }, { "desc":"A task ID is required for some URLs when an API is called. This section describes how to obtain a task ID.Alternatively, click the task name and view the task ID on the B", "product_code":"drs", "title":"Obtaining a Task ID", "uri":"drs_api_0115.html", "doc_type":"api", "p_code":"48", "code":"55" }, { "desc":"Table 1 describes status codes.", "product_code":"drs", "title":"Status Code", "uri":"drs_api_0108.html", "doc_type":"api", "p_code":"48", "code":"56" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"drs", "title":"Change History", "uri":"drs_change_history.html", "doc_type":"api", "p_code":"", "code":"57" } ]