Skip to main content

Register or re-register a station

POST 

/stations

Creates a station with the given capability set, or — if stationId already exists — replaces its capability set (e.g. recertifying a station for a new capability). This is deliberately idempotent by client-supplied id: re-registering the same stationId upserts rather than erroring or duplicating, which is what closes the pull-dispatch gap for HTTP-only smoke testing (without this endpoint there is no way to create a station over HTTP, so task-claims against a freshly started server always 404s).

Request​

Responses​

Station registered (or its capability set updated).

Response Headers
    Idempotency-Replayed

    Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.

    Location

    Path of the registered station, e.g. /stations/{id}.