Versions Compared
Version | Old Version 8 | New Version 9 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Table of Contents | ||
---|---|---|
|
Feed Match Event
Ably LiveAccess can be obtained via:
Pull APIs:
https://platform.matchstate.api.geniussports.com/swagger/volleyball/index.html
https://platform.matchstate.api.geniussports.com/swagger/beachvolleyball/index.html
https://platform.matchstate.api.geniussports.com/swagger/snowvolleyball/index.html
IMPORTANT: All enums
should be considered extensible, meaning any additional values beyond the ones explicitly defined should be accepted.
Volleyball Match Events example:
View file | ||
---|---|---|
|
Code Block | ||
---|---|---|
| ||
{ "sportId": 91189, "fixtureId": "123456789", "source": "SourceName", "sequenceId": 1, "actionId": 0, "insertedBeforeActionId": null, "isCancelled": false, "isConfirmed": true, "isModified": false, "action": {}, "messageTimestampUtc": "2024-11-18T10:52:29.0262167Z" } |
Element | Type | Description |
---|---|---|
| integer($int32) | Sport identifier |
| string | Fixture identifier |
| string | Feed provider identifier |
| integer($int32) | Fixture-specific sequence identifier of the match event |
| integer($int32) | Specify the action ID that this action was inserted before. |
| integer($int32) | Match action identifier |
| boolean | Indicates whether the action is canceled |
| boolean | Indicates whether the action is confirmed |
| boolean | Indicates whether the action is modified |
| {} | Consists of Match Action data properties |
| string($date-time) | Timestamp of the message |
Every Match Event has a type inside the “action” field, named after the respective Action. Example for Point
below, where Point
is replaced for different Actions.
Code Block | ||
---|---|---|
| ||
"action": { "$type": "GeniusSports.MatchState.Platform.MatchEvents.Volleyball.Point, GeniusSports.MatchState.Platform.MatchEvents.Volleyball" } |
Feed Match Action
Info |
---|
NOTE: Most actions include the following additional fields (hence they are not included in the description of every action). |
Code Block | ||
---|---|---|
| ||
"action": { "setNumber": 1, "isConfirmed": true, "utcTimestamp": "2024-11-14T18:02:46Z" } |
Element | Type | Description | |
---|---|---|---|
| string($x-extensible-enum) [ None, Home, Away ] | Team data. | |
| integer | The ID of the player. | |
| integer | The integer($int32) | The set number, where the action occurred. |
| boolean | Indicates whether the action is confirmed. | |
| string($date-time) | Timestamp of the message. |
Actions
Info |
---|
NOTE: Feed Match Actions consist of Feed Match Event + Feed Match Action + Action data properties. |
Challenge
Code Block |
---|
Element | Type | Description |
---|---|---|
CoinToss
Code Block | ||
---|---|---|
| ||
"action": {
"$type": "GeniusSports.MatchState.Platform.MatchEvents.Volleyball.CoinToss, GeniusSports.MatchState.Platform.MatchEvents.Volleyball",
"winnerTeam": "Home",
"winnerChoice": null,
"loserChoice": null,
"setNumber": 1,
"isConfirmed": false,
"utcTimestamp": "2024-11-08T12:34:39.527Z"
}, |
Element
Type
Description
type
Element | Type |
---|
CourtState
Injury
Libero
TODO: find an example
Description | ||
---|---|---|
| string($x-extensible-enum) Sports.Volleyball.Contracts.Common.Team [ Home, Away] | Used to identify the coin-toss winner team. |
| string($x-extensible-enum) Sports.Volleyball.Contracts.Common.CoinTossChoice [ Serve, Receive, LeftSide, RightSide ] | Used to identify the coin-toss winner team choice. |
| string($x-extensible-enum) Sports.Volleyball.Contracts.Common.CoinTossChoice [ Serve, Receive, LeftSide, RightSide ] | Used to identify the coin-toss loser team choice. |
CourtState
Code Block |
---|
"action": {
"$type": "GeniusSports.MatchState.Platform.MatchEvents.Volleyball.CourtState, GeniusSports.MatchState.Platform.MatchEvents.Volleyball",
"servingTeam": "Away",
"servingPlayerId": 7554900,
"teamOnLeft": "Home",
"setNumber": 1,
"isConfirmed": true,
"utcTimestamp": "2024-11-18T15:52:19Z"
}, |
Element | Type | Description |
---|---|---|
| string($x-extensible-enum) Sports.Volleyball.Contracts.Common.Team [ Home, Away] | Used to identify the serving team. |
| integer($int32) nullable: true | Used to identify the serving player. |
| string($x-extensible-enum) |
Sports.Volleyball.Contracts.Common.Team [ |
Home, |
Test
LineUp
MatchEnd
MatchScore
MatchStart
Point
Protest
Recovery
RefereeMindChange
Replay
Sanction
Serve
SetEnd
SetScore
SetStart
Substitution
TimeOutAway] | Used to identify the team on the left. |
Injury
Code Block |
---|
Element | Type | Description |
---|---|---|
Libero
Code Block |
---|
Element | Type | Description |
---|---|---|
LineUp
Code Block |
---|
Element | Type | Description |
---|---|---|
MatchEnd
Code Block |
---|
Element | Type | Description |
---|---|---|
MatchScore
Code Block |
---|
Element | Type | Description |
---|---|---|
MatchStart
Code Block |
---|
Element | Type | Description |
---|---|---|
Point
Code Block |
---|
Element | Type | Description |
---|---|---|
Protest
Code Block |
---|
Element | Type | Description |
---|---|---|
Recovery
Code Block |
---|
Element | Type | Description |
---|---|---|
RefereeMindChange
Code Block |
---|
Element | Type | Description |
---|---|---|
Replay
Code Block |
---|
Element | Type | Description |
---|---|---|
Sanction
Code Block |
---|
Element | Type | Description |
---|---|---|
Serve
Code Block |
---|
Element | Type | Description |
---|---|---|
SetEnd
Code Block |
---|
Element | Type | Description |
---|---|---|
SetScore
Code Block |
---|
Element | Type | Description |
---|---|---|
SetStart
Code Block |
---|
Element | Type | Description |
---|---|---|
Substitution
Code Block |
---|
Element | Type | Description |
---|---|---|
TimeOut
Code Block |
---|
Element | Type | Description |
---|---|---|
Other Match Events
Reliability
Code Block | ||
---|---|---|
| ||
"action": { "$type": "Betgenius.Sports.Contracts.Common.MatchEvents.Reliability, Betgenius.Sports.Contracts.Common.MatchEvents", "utcTimestamp": "2024-11-18T10:52:29.0039281Z", "isReliable": false, "reason": "Heartbeat Lost" } |
Element | Type | Description |
---|---|---|
| boolean | Indicates whether the feed data is considered reliable |
| string | Reason for reliable/unreliable feed state |