Odds Recovery API.
Recovery requests are issued per product — the producer's path segment, such
as "liveodds", "pre" or "ctrl" (see UOF.API.Descriptions.producers/0).
The HTTP response is only an acknowledgement and may have no body (nil) or
contain an UOF.Schemas.Common.Response; the recovered messages themselves
are delivered over the AMQP feed and the sequence ends with a
snapshot_complete message correlated by request_id.
Functions return {:ok, response_or_nil} | {:error, UOF.API.Error.t()}.
Common params:
:request_id— correlates the resultingsnapshot_completefeed message:node_id— target a specific feed node:after— only onrecover/2; milliseconds since the Unix epoch (UTC)
Every function also accepts a trailing opts keyword list, merged into the
Req request (see UOF.API.Utils.HTTP).
Summary
Functions
Initiate a full odds recovery for the given product.
Recover odds for a single sport_event (e.g. "sr:match:12345").
Recover stateful messages (e.g. bet_settlement, bet_cancel) for a single
sport_event.
Functions
Initiate a full odds recovery for the given product.
With :after, recovers messages generated after that timestamp; without it,
recovers a full snapshot of the current odds.
Recover odds for a single sport_event (e.g. "sr:match:12345").
Recover stateful messages (e.g. bet_settlement, bet_cancel) for a single
sport_event.