Get head and lock
POST/v2/request-queues/:queueId/head/lock
ClientsReturns the given number of first requests from the queue and locks them for the given time.
If this endpoint locks the request, no other client or run will be able to get and lock these requests.
The response contains the hadMultipleClients
boolean field which indicates
that the queue was accessed by more than one client (with unique or empty
clientKey
).
Request
Responses
- 200