In April 2020, STATSCORE has added a “confirmation” parameter for the key incidents that appear in sports offered in the Scoutsfeed product and replaced the functionality of the removed “Possible” type incidents.
Information about the "confirmation" parameter is available both through the AMQP service and API endpoints.
In the section below we will describe how to support this functionality:
Initially, a message about adding a new key incident is sent (action: insert). The “confirmation” parameter’s value “tbd” will appear as the default for key incidents. This value will be changed soon depends on the pitch's situation. Incidents with this value will have an effect on statistics.
After the situation on the pitch is clarified, another message will be sent with:
- the same ID,
- action: update,
- new value of the “confirmation” parameter. Possible values:confirmed – will appear when the incident is confirmed by the referee. Incidents with this value will have effect on statistics.
cancelled – will appear when the incident is not upheld by the referee. For example, when he decides it's not a goal, not a penalty, etc. Incidents with this value will have no effect on statistics.
The section below lists all the key incidents offered in the Scoutsfeed product:
Sport | Incident (incident_id) | Added / action: insert | Confirmed / action: update | Cancelled / action: update |
---|---|---|---|---|