Querator V1
Produce an item on a queue
Produce an item on a queue. Calls to the endpoint may provide multiple items to produce. The call will not return until all items provided have been written to storage.
Timeout Semantics
The call will return when the item(s) provided are written to storage or when request_timeout has been reached. If the call returns with a non 200 response code, the client should consider the items provided as not written to the queue. 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.
post/v1/queue.produce
Request body
Example request
{
"queue_name": "queue1",
"request_timeout": "5m",
"items": [
{
"encoding": "application/json",
"kind": "webhook-v2",
"reference": "john.smith",
"bytes": "eyJrZXkiOiJ2YWx1ZSJ9",
"utf8": "Hello World!"
}
]
}