Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 35 Next »

This type of message is sent when changes are made in the event e.g. stats were edited/corrected or event start date was changed etc.

Message example:

Structure - event
{
  "id": 412288068,
  "uuid": "5bf31c86-594d-4e48-b9e0-e4485f52e3c7",
  "type": "event",
  "source": 1148,
  "ut": 1611574231,
  "data": {
    "event": {
      "id": 3755129,
      "action": "update",
      "start_date": "2021-01-02 17:30",
      "ft_only": "no",
      "coverage_type": "from_tv",
      "status_id": 33,
      "sport_id": 5,
      "day": 17,
      "neutral_venue": "no",
      "item_status": "active",
      "clock_time": 1,
      "clock_status": "running",
      "area_id": 70,
      "competition_id": 1507,
      "season_id": 46446,
      "stage_id": 108896,
      "group_id": null,
      "tour_id": null,
      "gender": "male",
      "bet_status": "suspended",
      "bet_cards": "suspended",
      "bet_corners": "suspended",
      "relation_status": "not_started",
      "status_type": "live",
      "name": "Getafe CF - Real Valladolid",
      "round_id": 17,
      "round_name": "Round 17",
      "scoutsfeed": "yes",
      "event_stats_lvl": "gold",
      "verified_result": "no",
      "details": [
        {
          "id": 8,
          "value": null
        },
        {
          "id": 19,
          "value": "2021-01-25 11:30"
        },
        {
          "id": 227,
          "value": null
        }
      ],
      "participants": [
        {
          "id": 136929,
          "counter": 1,
          "name": "Getafe Club de Futbol, S.A.D.",
          "short_name": "Getafe CF",
          "acronym": "GET",
          "area_id": 70,
          "area_name": "Spain",
          "area_code": "ESP",
          "ut": 1602906642,
          "type": "team",
          "stats": [
            {
              "id": 8,
              "value": 0
            },
            
            {
              "id": 716,
              "value": null
            },
            {
              "id": 777,
              "value": 0
            }
          ],
          "results": [
            {
              "id": 2,
              "value": 0
            },
            {
              "id": 412,
              "value": 0
            }
          ],
          "subparticipants": []
        },
        {
          "id": 136935,
          "counter": 2,
          "name": "Real Valladolid Club de Futbol, S.A.D.",
          "short_name": "Real Valladolid",
          "acronym": "VAL",
          "area_id": 70,
          "area_name": "Spain",
          "area_code": "ESP",
          "ut": 1477213104,
          "type": "team",
          "stats": [
            {
              "id": 8,
              "value": 0
            },
            {
              "id": 716,
              "value": null
            },
            {
              "id": 777,
              "value": 0
            }
          ],
          "results": [
            {
              "id": 2,
              "value": 0
            },
            {
              "id": 412,
              "value": 0
            }
          ],
          "subparticipants": []
        }
      ]
    }
  }
}

Message structure details:

.message
idUnique identifier for the message
uuidUniversally unique identifier
type

event

sourceInternal attribute, please do not use this attribute
utInformation about the date and time of when the message was created. Format UNIX_TIMESTAMP.
..data
...event
idIdentifier of the event
action

Describes type of operation for the event. Possible values:

  • insert - new event generated
  • update - event was updated
  • delete - event was deleted
start_dateStart date for the event in format: YYYY-MM-DD hh:mm
ft_only

Determines if only the full time result/score of the event is given. Possible values:

  • yes - result/score is updated only when the event is finished 
  • no - result/score is updated during the event
coverage_type

Type of event coverage. Possible values:

  • from_venue - means the scout is relaying the event directly from the stadium (max. latency 1 second)
  • from_tv - means the scout is relaying the event from tv transmission (max. latency 8 seconds)
  • basic - for this type of coverage we don't provide detailed event incidents (max. latency around 60 seconds)
status_idUnique identifier of the event status. The list of available statuses you can find in API service method: statuses.index
sport_idIdentifier for the sport in which the event is played. The list of available sports you can find in API service method: sports.index
dayDay of the season. This attribute is deprecated and will no longer used
neutral_venue

Determines if event is played at a neutral venue. Possible values:

  • yes
  • no
item_status

Describes status for the item (record). Possible values:

  • active - the record is active
  • deleted - the record was deleted by the admin. In the case of when an event was added by mistake
clock_timeNumber of seconds that have passed in the current period
clock_status

Clock status. Possible value:

  • running
  • stopped
area_idIdentifier for the area in which the competitions are played
competition_idUnique identifier for the competition. The list of available competitions you can find in API service method: competitions.index
season_idUnique identifier for the season.
stage_idUnique identifier for the stage
group_idUnique identifier for the group
tour_idUnique identifier for the tour in which a competition is played. sThe list of available competitions you can find in API service method: tours.index
gender

Competition gender. Possible values:

  • male
  • female
  • mixed
bet_status

Bet status. Possible values:

  • active
  • suspended
bet_cards

Booking market status. Possible values:

  • active
  • suspended
bet_corners

Corners market status. Possible values:

  • active
  • suspended
relation status

Relation status. Attribute for internal purposes. Possible value:

  • not_started - for an event that has not started
  • in_progress - for a live event
  • finished - for an event that has finished
  • 30_min_left - scout confirms his ability to deliver the coverage 30 min before the event
  • 5_min_left - scout confirms his ability to deliver the coverage 5 min before the event
status_type

Type of status. Possible values:

  • live
  • scheduled
  • finished
  • cancelled
  • interrupted
  • deleted
  • other
nameName of the event
round_idThe list of available rounds can be found in the API service method: rounds.index. Possible null value
round_nameName of the round. Possible null value
scoutsfeed

Informs about availability in the Scoutsfeed product. Possible values:

  • yes
  • no
event_stats_lvl

Informs about statistics level for this event. Possible values:

  • bronze
  • silver
  • gold
  • vip
verified_resultInforms that the result has been verified by an internal unit. Possible values:
  • yes
  • no
....details
idUnique identifier for the event details e.g: 1st quarter start time, length of the period. Possible values are different depending on the sport.
valueValue related to the event detail
....participantsOnly last changed participant will be sent in the message.
idUnique identifier of the participant. The list of available participants you can find in API service method: participants.index
counterNumber of participants in the event. Participant with counter="1" is the home team, "2" is the away team
nameParticipant name
short_nameParticipants abbreviated name, max length: 20 characters
acronymMax 3 characters in length mini name, e.g. BAR, REA
area_idDetermines the area represented by the participant. The complete list of possible areas can be retrieved using the API resource: areas.index
area_nameArea name represented by the participant
area_codeMax 3 characters in length of the abbreviated area name e.g. GER, POL, FRA
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
type

Informs about the type of participant. Possible values:

  • person
  • team
  • double
.....results
idUnique identifier for the result. Possible values are different depending on the sport. For more information please find node details in the sports.show API method
valueValue related to the results
.....stats
idUnique identifier for the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show API method
valueValue related to the statistic
.....subparticipants
idUnique identifier of the subparticipant.
......results
idUnique identifier for the result. Possible values are different depending on the sport. For more information please find node details in the sports.show API method
valueValue related to the results
......stats
idUnique identifier for the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show API method
valueValue related to the statistic
  • No labels