Register a collection runner

POST
/v1/source-runners

Registers a runner for the caller and returns its name, which is unique across the deployment and never changes. With registration_id, the Server uses suggested_name when no runner has it and assigns another name otherwise; the same caller registering again with the same registration_id gets the same runner. With name, the runner takes exactly that name: it is created when no runner has it, the caller's own runner of that name is returned, and a name another principal registered is a conflict. The name server is reserved.

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Either registration_id, with an optional suggested_name, or name.

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" \  -H "Content-Type: application/json" \  -d '{}'
{  "runner": "string",  "display_name": "string"}