Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

  1. 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.

    Image Added


  2. 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:

    Image Added

    1. confirmed – will appear when the incident is confirmed by the referee. Incidents with this value will have effect on statistics.

    2. 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