Create a connector sync job document in the internal index and initialize its counters and timestamps with default values.
POST
/_connector/_sync_job
Console
POST _connector/_sync_job
{
"id": "my-connector-id",
"job_type": "full"
}
curl \
--request POST 'http://api.example.com/_connector/_sync_job' \
--header "Content-Type: application/json" \
--data '"{\n \"id\": \"my-connector-id\",\n \"job_type\": \"full\"\n}"'
Request examples
Connector sync job post example1
An example body for a `POST _connector/_sync_job` request.
{
"id": "my-connector-id",
"job_type": "full"
}
{
"id": "connector-id",
"job_type": "full",
"trigger_method": "on_demand"
}