Reserve messages from the queue
Reserve a message from the requested queue. When a message is reserved by a consumer, that consumer gains exclusive rights to the message. No other consumer will be provided the same message unless the reserve_deadline has expired and the consumer with the reservation has not marked the message via /queue.complete or /queue.defer
If a message is not acknowledge via /queue.complete within the reserve_deadline period it will be offered to another consumer.
Timeout Semantics
The call will return when a reservation is successful or when request_timeout has been reached. If the call returns with a 454 Retry Request response code, this means there were no items in the queue and the request_timeout was reached. In this case the client should retry the reserve request.
The client should NOT cancel the request before request_timeout has been reached. If the call fails to return after request_timeout is reached the client can safely cancel the request.
Request body
Example request
{
"client_id": "client-1234",
"request_timeout": "30s"
}