This topic lists the API operations supported by OceanBase Migration Service (OMS) and describes how to authenticate API requests.
curl example
You can use curl to call API operations. In the following example, the OMS address is xxx.xxx.xxx.1 and the port is 8089. The example calls ListProjects to query a paginated list of tasks. YWRtaW46cm9vdA= is the Base64-encoded value of username:password.
curl -X POST -H 'Authorization:Basic YWRtaW46cm9vdA=' -H 'Content-Type: application/json' -d '{"pageNumber":1,"pageSize":1}' http://xxx.xxx.xxx.1:8089/api/v2?Action=ListProjects
OpenAPI list
OpenAPI name |
Description |
|---|---|
| Create a task | Creates a data migration or synchronization task. |
| Start a task | Starts a data migration or synchronization task. |
| Pause a task | Pauses a data migration or synchronization task. |
| Resume a task | Resumes a data migration or synchronization task. |
| Release a task | Releases a data migration or synchronization task. |
| Delete a task | Deletes a data migration or synchronization task. |
| Query a paginated list of tasks | Queries a paginated list of data migration or synchronization tasks. |
| Query task details | Queries details about a data migration or synchronization task. |
| Query task step details | Queries details about execution steps in a data migration or synchronization task. |
| Query metrics for a task step | Queries metrics for execution steps in a data migration or synchronization task. |
| Query the progress of a task | Queries the progress of a data migration or synchronization task. |
| Query task components | Queries component information for a data migration or synchronization task. |
| Query the full verification result of a task | Queries the full verification results of a data migration task. |
| Start all unstarted tasks under a specified tag | Starts all data migration or synchronization tasks with the specified tag that are not started. |
| Pause all running tasks with a specified tag | Pauses all running data migration or synchronization tasks with the specified tag. |
| Create a MySQL data source | Creates a MySQL data source. |
| Create an OceanBase data source | Creates an OceanBase data source. |
| Create an ODP data source | Creates an OceanBase ODP data source. |
| Create a Milvus data source | Creates a Milvus data source. |
| Query data source list | Queries the list of created data sources. |
| Create a tag | Creates a tag. |
| Query tag list | Queries the list of created tags. |
| Delete data source | Deletes a data source. |
| Modify a transfer object | Adds or removes table objects. |
| Query task modification records | Queries the modification records of a data migration or synchronization task based on the task ID. |
| Stop a modification operation | Stops a modification operation based on the modification record ID. |
| Retry the modification operation | Retries a modification operation based on the modification record ID. |
| Cancel modification | Cancels a modification operation based on the modification record ID. |
| Task precheck | Performs a precheck on a data migration or synchronization task. |
| Query precheck results | Queries the precheck result of a data migration or synchronization task. |
| Update task configuration | Updates the parameter configurations of a data migration or synchronization task. |
| Download table schema conversion information | Downloads schema conversion information for tables that have undergone conversion after schema migration is completed. |
| Download the conflict log file | Downloads the conflict log files for a data migration or synchronization task. |
| Query the list of conflict log files | Queries the list of conflict log files for a data migration or synchronization task. |
| Modify the synchronization timestamp for forward and reverse incremental synchronization | Modifies the synchronization timestamp for forward and reverse incremental synchronization. |
| Advance task execution | Advances the execution of a data migration or synchronization task. |
| Query regions | Queries the region list of an OMS cluster. |
| Create a user | Creates a new user. |
| Delete a user | Deletes a user. |
| Query users | Queries user details. |
| Query department list | Queries the department list. |
| Upload the Kafka authentication file | Uploads the Kafka authentication file. |
| Create a Kafka data source | Creates a Kafka data source. |
| Create a DB2 LUW data source | Creates a DB2 LUW data source. |