Expand description
Bus leases (C5): one holder per resource across the machines of an organization, decided by the service clock.
POST /v1/bus/leasesBusLeaseRequestV1→BusLeaseV1;POST /v1/bus/leases/{lease_id}/renewBusLeaseRenewRequestV1→BusLeaseV1;DELETE /v1/bus/leases/{lease_id}?fencing_token=→ 204.
The bus itself (wss://<host>/v1/bus) speaks bus v2; its frames are the
C0 2.x fixtures under tests/fixtures/cloud-v2/bus/.
Plan updates (feature plan_updates, local-read contract §37.2), JSON
documents the engine checks itself:
GET /v1/vaults/{vault_id}/plans?state=active→ the active plans;GET /v1/vaults/{vault_id}/plans/{plan_id}?version=→ one signed plan version;POST /v1/vaults/{vault_id}/plans/{plan_id}/ack→ the agents’ answers.
Structs§
- BusLease
Holder V1 - Current lease holder, when a lease was not granted.
- BusLease
Renew Request V1 POST /v1/bus/leases/{lease_id}/renew.- BusLease
Request V1 POST /v1/bus/leases.- BusLease
V1 - Lease decision. Granted:
lease_id,fencing_token(strictly increasing per resource) andexpires_at. Refused:holder. 1.9 erratum: a renewal keepslease_idandfencing_tokenand only movesexpires_at; a new token comes only with a new grant.