Querying Incremental Component Details
Function
This API is used to query details about incremental components for an incremental or full+incremental task. For details, see Querying the Synchronization Progress.
Constraints
- This API is only available for synchronization from Oracle to GaussDB Distributed, Oracle to GaussDB Centralized, GaussDB Distributed to GaussDB Distributed, GaussDB Distributed to MySQL, GaussDB Distributed to GaussDB Centralized, GaussDB Distributed to Oracle, GaussDB Centralized to GaussDB Centralized, GaussDB Centralized to GaussDB Distributed, GaussDB Centralized to Oracle, and Oracle to MySQL.
- This API can be used only in certain regions. For details, see Endpoints.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permissions are required for calling this API.
URI
GET /v5/{project_id}/jobs/{job_id}/increment-components-detail
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID of a tenant in a region. For details, see Obtaining a Project ID. |
|
job_id |
Yes |
String |
Task ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
Content-Type |
Yes |
String |
MIME type of the request body. Use the default value application/json. For APIs used to upload objects or images, the value varies depending on the flow type. The default value is application/json. |
|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. It is a response to the API for obtaining a user token. After a request is processed, the value of X-Subject-Token in the header is the token value. |
|
X-Language |
No |
String |
Request language type. Default value: en-us Enumerated values:
|
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
update_time |
String |
Update time. |
|
increment_components_list |
Array of objects |
Incremental component details. For details, see Table 4. |
|
Parameter |
Type |
Description |
|---|---|---|
|
type |
String |
Component type. The value can be:
Enumerated values:
|
|
status |
String |
Status.
|
|
start_time |
String |
Start time. |
|
start_point |
String |
Start position. |
|
current_point |
String |
Current position. |
|
resolution_time |
String |
Parsing time. |
|
delay |
String |
Delay, in seconds. |
Example Request
Querying the incremental component details
https://{enpoint}/v5/246765b9f59445c3919fce121ea801f4/jobs/429b9210-118d-4711-87cb-be8e2dejb201/increment-components-detail
Example Response
Status code: 200
OK
{
"increment_components_list" : [ {
"type" : "capture",
"status" : "STARTED",
"start_time" : "2023-07-19T03:09:25Z",
"start_point" : "0;0|0",
"current_point" : "0;0|0",
"resolution_time" : "2023-07-19T03:09:25Z",
"delay" : "2"
}, {
"type" : "apply",
"status" : "STARTED",
"start_time" : "2023-07-19T03:09:25Z",
"start_point" : "-1",
"current_point" : "0;0|0",
"resolution_time" : "2023-07-19T03:09:25Z",
"delay" : "3"
} ],
"update_time" : "2023-07-19T03:09:25Z"
}
Status Code
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Code
For details, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot