curl --request POST \
--url https://{FUSION HOST}/api/connectors/jobs/{id} \
--header 'Content-Type: application/json' \
--data '{
"state": "STOP"
}'
{
"resource": "datasource:pokedex-crawl",
"runId": "R5p478JMgc",
"startTime": 1722638217052,
"state": "SUCCESS",
"time": 1722638881861,
"error": null,
"extra": {
"connectorType": "lucidworks.file-upload",
"timers": {
"fetch.item.add.time": {
"meanRate": 1.363019818761208,
"count": "901"
}
},
"counters": {
"fetch.plugin-response": {
"count": 1
},
"fetch.plugin-response.document": {
"count": 900
},
"content-indexer.completed.count": {
"count": 900
},
"pipeline.stages.solr-index::180977ab-c1ef-4b31-be25-9fee41476ece.processed": {
"count": 900
},
"start.plugin-response": {
"count": 1
},
"content-indexer.result.success.counter": {
"count": 900
},
"pipeline.out": {
"count": 900
},
"pipeline.in": {
"count": 900
},
"pipeline.stages.field-mapping::21cd50b7-f391-45f9-b936-5ab30c60c8d5.processed": {
"count": 900
},
"pipeline.stages.solr-dynamic-field-name-mapping::ff72fc68-3576-4315-814c-65a63fc72780.processed": {
"count": 900
},
"pipeline.complete": {
"count": 900
},
"content-indexer.document.received.count": {
"count": 900
},
"stop.request": {
"count": 1
},
"stop.plugin-response": {
"count": 1
},
"start.request": {
"count": 1
},
"fetch.request": {
"count": 1
}
},
"configId": "pokedex-crawl",
"currentBlockId": "2pd3ahxmh7",
"startTime": 1722638217052,
"id": "R5p478JMgc",
"state": "FINISHED",
"previousBlockId": "2pd3ahxmh7",
"endTime": 1722638224964,
"blockStartTime": 1722638216976
}
}
Change the state of the specified connector job.
curl --request POST \
--url https://{FUSION HOST}/api/connectors/jobs/{id} \
--header 'Content-Type: application/json' \
--data '{
"state": "STOP"
}'
{
"resource": "datasource:pokedex-crawl",
"runId": "R5p478JMgc",
"startTime": 1722638217052,
"state": "SUCCESS",
"time": 1722638881861,
"error": null,
"extra": {
"connectorType": "lucidworks.file-upload",
"timers": {
"fetch.item.add.time": {
"meanRate": 1.363019818761208,
"count": "901"
}
},
"counters": {
"fetch.plugin-response": {
"count": 1
},
"fetch.plugin-response.document": {
"count": 900
},
"content-indexer.completed.count": {
"count": 900
},
"pipeline.stages.solr-index::180977ab-c1ef-4b31-be25-9fee41476ece.processed": {
"count": 900
},
"start.plugin-response": {
"count": 1
},
"content-indexer.result.success.counter": {
"count": 900
},
"pipeline.out": {
"count": 900
},
"pipeline.in": {
"count": 900
},
"pipeline.stages.field-mapping::21cd50b7-f391-45f9-b936-5ab30c60c8d5.processed": {
"count": 900
},
"pipeline.stages.solr-dynamic-field-name-mapping::ff72fc68-3576-4315-814c-65a63fc72780.processed": {
"count": 900
},
"pipeline.complete": {
"count": 900
},
"content-indexer.document.received.count": {
"count": 900
},
"stop.request": {
"count": 1
},
"stop.plugin-response": {
"count": 1
},
"start.request": {
"count": 1
},
"fetch.request": {
"count": 1
}
},
"configId": "pokedex-crawl",
"currentBlockId": "2pd3ahxmh7",
"startTime": 1722638217052,
"id": "R5p478JMgc",
"state": "FINISHED",
"previousBlockId": "2pd3ahxmh7",
"endTime": 1722638224964,
"blockStartTime": 1722638216976
}
}
The datasource ID.
Set this to true
to abort the job.
The amount of time (in milliseconds) to wait for the update.
The job's new state.
OK
The response is of type object
.
Was this page helpful?