POST /jobs/{jobId}/一時停止
curl \
--request POST 'http://127.0.0.1:8278/api/v1/jobs/{jobId}/pause'
応答の例(200)
{
"id": "string",
"projectId": "string",
"status": "RUNNING",
"cdcStatus": "NOT_STARTED",
"verificationJobId": "string",
"options": {
"dropCollections": false,
"mode": "SNAPSHOT",
"errorHandling": "FAIL",
"errorTolerance": 42
},
"jdbcConnectionString": "string",
"mongoDbConnectionString": "string",
"submittedAt": "2025-05-04T09:42:00Z",
"statistics": {
"startedAt": "2025-05-04T09:42:00Z",
"elapsedSeconds": 42,
"remainingTableCount": 42,
"processingTables": [
"string"
],
"totalEventsSeen": 0,
"snapshotCompleted": false,
"totalTableCount": 42,
"totalEvents": 42,
"totalEventSize": 42
},
"cdcStatistics": {
"startedAt": "2025-05-04T09:42:00Z",
"lastEventTime": "2025-05-04T09:42:00Z",
"eventsInLastHour": 0,
"eventsInLastMinute": 0,
"totalEventsSeen": 0
},
"jobUpdates": [
{
"eventType": "ERROR",
"stage": "SNAPSHOTTING",
"message": "string",
"details": "string",
"timestamp": "2025-05-04T09:42:00Z",
"stackTrace": [
"string"
],
"errorCode": "string",
"locationType": "TABLE",
"locationName": "string",
"fieldName": "string",
"key": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"count": 42,
"location": {
"table": "string"
}
}
],
"failureError": {
"errorType": "string",
"message": "string",
"failureAt": "2025-05-04T09:42:00Z",
"setupError": false
},
"metadata": {
"telemetryUserId": "string",
"verificationRequested": false,
"verificationStatus": "VERIFYING"
},
"relationalTableFilters": {
"schema_1_name": {
"table_1_name": {
"whereClause": "id > 1000 AND id <= 2000"
},
"table_2_name": {
"rowCount": 10,
"whereClause": "TRUE"
}
}
}
}
応答の例(400)
{
"jobId": "string",
"message": "string",
"description": "string",
"timestamp": "2025-05-04T09:42:00Z"
}
応答の例(404)
{
"jobId": "string",
"message": "string",
"description": "string",
"timestamp": "2025-05-04T09:42:00Z"
}