This topic describes the OpenAPI provided by OceanBase Migration Service (OMS): ListConflictData.
Purpose
The ListConflictData API is used to query the list of conflict log files of a data migration task.
Call description
Limitations
This interface applies to OMS V4.3.0 and later.
Request path
POST /api/v2?Action=ListConflictData
curl example
You can use the curl tool to call the OpenAPI interface. In the following example, xxx.xxx.xxx.1:8089 is the address of OMS, and ListConflictData is the name of the interface to be accessed. YWRtaW46cm9vdA== is the Base64-encoded value of username:password.
curl -X POST -H 'Authorization:Basic YWRtaW46cm9vdA=' -H 'Content-Type: application/json' -d '{"projectId":"npxxxxx","omsStepName":"FULL_TRANSFER"}' http://xxx.xxx.xxx.1:8089/api/v2?Action=ListConflictData
Request parameters
| Parameter | Type | Description |
|---|---|---|
| projectId | string | The ID of the data migration task. |
| omsStepName | string | The name of the task step. Valid values: FULL_TRANSFER, INCR_TRANSFER, and REVERSE_INCR_TRANSFER. |
Response parameters
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Specifies whether the call is successful. |
| requestId | string | The request ID. |
| fileName | string | The name of the conflict log file. |
| date | string | The most recent modification time. |
| size | decimal | The size of the conflict log file. |
Examples
Request example
{
"projectId": "np_xxxx",
"omsStepName": "FULL_TRANSFER"
}
Response example
{
"success": true,
"requestId": "e8dec2fe-40****",
"data": [
{
"fileName": "conflict_sql_2.log",
"date": "2025-03-29T07:57:09.376",
"size": 4
},
{
"fileName": "conflict_sql_1.log",
"date": "2025-04-02T07:57:09.375",
"size": 5
}
]
}