Renew a project lock
Changed onRenews a lease owned by the supplied lock token. The request must arrive more than one second before expires_at; this safety margin prevents clock skew between regional API instances from resurrecting an expired lease.
Request
- Base URLhttps://api.volcano.dev
- AuthHTTP bearer
Path parameters
Project-local lock name.
Headers
Opaque UUID generated once by the caller and retained for the lease lifetime.
UUID correlating this request across client and server logs. Repeat safety comes from the lock token, so a retry under a reused request ID still counts against the quota.
Request body
Lease duration in seconds, from 5 seconds through 90 days, measured from when the request is served. Renew before it elapses. A renewal sets the new expiry outright, so a shorter TTL shortens the lease. Renewals cannot extend an acquisition beyond its absolute 90-day deadline.
Response
Lease renewed
Advisory lease expiry timestamp in UTC.
Monotonically increasing token for this acquisition. It rises whenever the lock changes hands and stays the same across renewals of one lease. Pass it to the resource you are protecting and reject any write carrying a token lower than the highest already seen; that is what stops a displaced holder from writing after its lease lapsed.
Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status
15 more changes in this revision
- breaking