Acquire a project lock
Changed onAcquires a project-scoped lease using the project embedded in the service-role key. The caller must hold the locks.manage permission. Repeating the request with the same lock token is idempotent and resets that lease to the requested TTL. A different live owner receives 409 lock_held; a caller whose own lease already lapsed receives 409 lock_ownership_lost.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/locks/{key}/lease
- Auth: HTTP 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
Response
Lease acquired
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 - ▲
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 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 - ○
added the required property
to the response with the status
- ▲
- ○
endpoint added
- ○