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 URL: https://api.volcano.dev
- URL: https://api.volcano.dev/locks/{key}
- Auth: HTTP 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
Changes
- ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲
- ○
endpoint added
- ○