Widgets (Disir) – FAQ
General
- Can we set the widget language client-side instead of making a separate REST call for each language?
- Do Prematch Widgets update when a match ends? Are finished matches added to the stats immediately?
- How GET/live/<env>/scoreboard/<match_id> is used?
- What’s the meaning of a status 200 and 404 response?
- The live tournament widget timer only updates about once per minute – is that expected?
- Are the Live Widget and Prematch Widget the same widget in different states?
- What are Live Widget’s HTTP responses, and how do you react to them?
- Is the URL for the Live Widget available on the API immediately when a match (that will have Widgets support and is to be covered live) is added to your system?
- Do Widgets require whitelisting?
- Do the match widget URLs expire?
- Is GET/statistics/<env>/tournament/<tournament_id> used to show only the tournament statistics?
- We receive a prematch widget URL and the event later goes live. What should happen if the widget is no longer available?
- Is GET/statistics/<env>/match/<match_id> called to show widget under 'Stats Hub' button in your demo?
- If URLs don't expire, why might an old widget appear empty?
- The Widget URLs are designed for each event, right, not also for the user? UserID hashing/available per device is not included in it?
- How do you display a situation where there was some data in the widget and then it disappeared? Is it possible that you had provided it but deleted it later?
- What is the earliest date-time relative to the match when the stats widget becomes available?
- What external parts of the Widgets are customisable?