Read a project lock
Changed onReports whether the lock is currently held, when its lease expires, and the holder's fencing token. held follows takeover eligibility rather than raw expiry, so held: false means an acquire would succeed now. No lock token is required, making this usable for monitoring and recovery.
Request
- Base URLhttps://api.volcano.dev
- AuthHTTP bearer
Path parameters
Project-local lock name.
Headers
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.
Response
Current lock state
Whether the lock is unavailable right now. False means an acquire would succeed. It remains true during the brief grace window after expiry.
Advisory lease expiry timestamp in UTC. Present only when held.
Current holder's fencing token. Present only when held.
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
12 more changes in this revision
- breaking