Scenarios are sets of sport-events/matches that are prepared by Betradar. Instead of adding individual matches you can add a complete scenario. The sport-events in scenarios are better cached, and it is recommended that you use the scenarios for i.e. stress testing. The complete list is also available HERE, in the /scenario endpoint. Play scenario Queues up the sport-events in the specified scenario. Works very similar to “Start Replay”, but queues up the whole scenario and then starts the replay. List scenarios – Lists available scenarios. Currently we provide three scenarios, two stress testing scenarios and one scenario with a mix of all different kinds of events (see THIS table for more info about individual events). The current available scenarios are: Scenario 1) 200 parallel matches Code Block |
---|
language | xml |
---|
theme | Confluence |
---|
title | XML example |
---|
| <replay_scenarios>
<replay_scenario id="1" description="200 matches parallel" run_parallel="true">
... Match List ...
</replay_scenario> |
Scenario 2) 100 parallel matches Code Block |
---|
language | xml |
---|
theme | Eclipse |
---|
title | XML example |
---|
| <replay_scenario id="2" description="100 matches parallel" run_parallel="true">
... Match List ...
</replay_scenario> |
Scenario 3) Various sport events in parallel Code Block |
---|
language | xml |
---|
theme | Eclipse |
---|
title | XML example |
---|
| <replay_scenario id="3" description="recommended sample events, 42 events of various sports and products" run_parallel="true">
... Match List ...
</replay_scenario>
</replay_scenarios> |
|