锁定
Lock an external task by a given id for a specified worker and amount of time.
Documentation Index
Fetch the complete documentation index at: https://docs.eorion.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The id of the external task.
Body
The duration to lock the external task for in milliseconds.
Note: Attempting to lock an already locked external task with the same workerId
will succeed and a new lock duration will be set, starting from the current moment.
Mandatory. The ID of the worker who is performing the operation on the external task. If the task is already locked, must match the id of the worker who has most recently locked the task.
Response
Request successful.