Sync a collection runner

POST
/v1/source-runners/{runner}/sync

Records the runner's loaded Source plugins and last-seen time and returns every enabled target assigned to it across Scopes, with each target's configuration version and checkpoint. The runner must be registered, and only the principal that registered it may sync. Targets of plugins whose version this Server does not accept are withheld and listed as rejected.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Path Parameters

runner*string
Match^[A-Za-z0-9][A-Za-z0-9._:@-]*$
Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/source-runners/string/sync" \  -H "Content-Type: application/json" \  -d '{    "plugins": [      {        "name": "string",        "version": "string",        "error": "string"      }    ]  }'
{  "targets": [    {      "scope_id": "string",      "target_id": "string",      "capability": "string",      "parameters": {},      "config_version": 1,      "checkpoint": null    }  ],  "rejected": [    {      "name": "string",      "code": "plugin_version_incompatible"    }  ]}