curl --request POST \
--url http://localhost:3000/api/v1/mirrors/cdc/batches \
--header 'Authorization: Basic Xp9dY3Rhc0suZiQ0Iw==' \
--header 'Content-Type: application/json' \
--data '{
"flowJobName": "mirror_production",
"limit": 5,
"beforeId": -1,
"afterId": -1,
"ascending": false
}'
{
"cdcBatches": [
{
"startLsn": "0",
"endLsn": "0",
"numRows": "0",
"startTime": "2025-09-01T12:31:36.932056Z",
"endTime": null,
"batchId": "168730"
},
{
"startLsn": "0",
"endLsn": "46637208645632",
"numRows": "60452",
"startTime": "2025-09-01T12:30:36.504532Z",
"endTime": "2025-09-01T12:31:38.472191Z",
"batchId": "168729"
},
{
"startLsn": "0",
"endLsn": "4663711103356",
"numRows": "59476",
"startTime": "2025-09-01T12:29:36.097869Z",
"endTime": "2025-09-01T12:30:37.925048Z",
"batchId": "168728"
},
{
"startLsn": "0",
"endLsn": "46637036715864",
"numRows": "131025",
"startTime": "2025-09-01T12:28:34.860097Z",
"endTime": "2025-09-01T12:29:38.814718Z",
"batchId": "168727"
},
{
"startLsn": "0",
"endLsn": "46636882418728",
"numRows": "238256",
"startTime": "2025-09-01T12:27:34.396289Z",
"endTime": "2025-09-01T12:28:38.964550Z",
"batchId": "168726"
}
],
"total": 168730,
"page": 1
}
curl --request POST \
--url http://localhost:3000/api/v1/mirrors/cdc/batches \
--header 'Authorization: Basic Xp9dY3Rhc0suZiQ0Iw==' \
--header 'Content-Type: application/json' \
--data '{
"flowJobName": "mirror_production",
"limit": 5,
"beforeId": -1,
"afterId": -1,
"ascending": false
}'
{
"cdcBatches": [
{
"startLsn": "0",
"endLsn": "0",
"numRows": "0",
"startTime": "2025-09-01T12:31:36.932056Z",
"endTime": null,
"batchId": "168730"
},
{
"startLsn": "0",
"endLsn": "46637208645632",
"numRows": "60452",
"startTime": "2025-09-01T12:30:36.504532Z",
"endTime": "2025-09-01T12:31:38.472191Z",
"batchId": "168729"
},
{
"startLsn": "0",
"endLsn": "4663711103356",
"numRows": "59476",
"startTime": "2025-09-01T12:29:36.097869Z",
"endTime": "2025-09-01T12:30:37.925048Z",
"batchId": "168728"
},
{
"startLsn": "0",
"endLsn": "46637036715864",
"numRows": "131025",
"startTime": "2025-09-01T12:28:34.860097Z",
"endTime": "2025-09-01T12:29:38.814718Z",
"batchId": "168727"
},
{
"startLsn": "0",
"endLsn": "46636882418728",
"numRows": "238256",
"startTime": "2025-09-01T12:27:34.396289Z",
"endTime": "2025-09-01T12:28:38.964550Z",
"batchId": "168726"
}
],
"total": 168730,
"page": 1
}
POST api/v1/mirrors/cdc/batches
false
.Show cdcBatches
curl --request POST \
--url http://localhost:3000/api/v1/mirrors/cdc/batches \
--header 'Authorization: Basic Xp9dY3Rhc0suZiQ0Iw==' \
--header 'Content-Type: application/json' \
--data '{
"flowJobName": "mirror_production",
"limit": 5,
"beforeId": -1,
"afterId": -1,
"ascending": false
}'
{
"cdcBatches": [
{
"startLsn": "0",
"endLsn": "0",
"numRows": "0",
"startTime": "2025-09-01T12:31:36.932056Z",
"endTime": null,
"batchId": "168730"
},
{
"startLsn": "0",
"endLsn": "46637208645632",
"numRows": "60452",
"startTime": "2025-09-01T12:30:36.504532Z",
"endTime": "2025-09-01T12:31:38.472191Z",
"batchId": "168729"
},
{
"startLsn": "0",
"endLsn": "4663711103356",
"numRows": "59476",
"startTime": "2025-09-01T12:29:36.097869Z",
"endTime": "2025-09-01T12:30:37.925048Z",
"batchId": "168728"
},
{
"startLsn": "0",
"endLsn": "46637036715864",
"numRows": "131025",
"startTime": "2025-09-01T12:28:34.860097Z",
"endTime": "2025-09-01T12:29:38.814718Z",
"batchId": "168727"
},
{
"startLsn": "0",
"endLsn": "46636882418728",
"numRows": "238256",
"startTime": "2025-09-01T12:27:34.396289Z",
"endTime": "2025-09-01T12:28:38.964550Z",
"batchId": "168726"
}
],
"total": 168730,
"page": 1
}