Resource information
Method parameters
NameType | Data type | Description | There are no method parameters in this resource |
---|
event_id | xsd:int | REQUIRED. The requested event identifier |
Query parameters
Name | Type | Description |
---|
statuses | xsd:string | Determines incidents status identifiers, separated by a comma (e.g. 123,234,321) |
incidents | xsd:string | Determines incidents identifiers, separated by a comma (e.g. 123,234,321) |
important | xsd:string | Determines only important or not important incidents. Possible values: yes, no. |
updated | xsd:string | Determines only updated or not updated incidents. Possible values: yes, no. |
deleted | xsd:string | Determines to list only deleted or not deleted incidents. Possible values: yes, no. |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd:int | Determines maximum number of returned records on page. Used in paginated data. Default value is 500. Possible values: 5, 10, 25, 50, 100, 250, 500 |
sort_order | xsd:string | Additional parameter for sort_type which determines the direction of sorting (ascending, descending). The resource is sorted by sport-specific status then after the time in that status. By default the value of "desc" is set. Possible values: - asc - sort ascending
- desc - sort descending
|
Method calling examples
Output elements
| | event_idxsd:array | Incident identifier. Unique for sport. |
action | xsd: |
intREQUIRED. The requested event identifier | tokenstring | Describes type of operation. Possible values: |
old_id | xsd: |
stringincidentREQUIRED. More information concerning authorization in API introduction section | DEPRECATED. Old Id |
event_id | xsd: |
array Array with incident parametersincident[ The event identifier |
incident_id |
]REQUIRED. Incident Incident id in data.sports.incidents node for event |
from resource. The complete list of possible incidents can be retrieved using the API resource: sports.show |
attribute_ids | xsd:array | Attributes identifiers related to incident, separated by a comma (e.g. [397, 398]) |
confirmation | xsd:string | Describes confirmation status for the incident. Possible values: - tbd – appears as default for Goal, Penalty, Red card, Yellow card and Corner incidents.
- confirmed – appears when the following incident will be confirmed by referee.
- cancelled – appears when the following incident will be cancelled by referee. Incidents with this value have no effect on statistics.
|
participant_id |
]incident[] | xsd:int | Participant team id |
incident[] | xsd:string | Participant name. |
incident[] | xsd:int | Status id in data.sports.statuses node for event |
from resource sports.showincident[minute]. The complete list of possible statuses can be retrieved using the API resource: statuses.index |
minute | xsd:int | Incident time: minute |
incident[] | xsd:int | Incident time: second |
incident[]incident[]incident[]incident[]incident[]incident[]incident[ |
x_pos | xsd:int | Ball position on X axis (percentage) |
y_pos | xsd:int | Ball position on Y axis (percentage) |
add_data |
] | xsd:string | Custom information |
incident[] | xsd:string | Label for incidents |
incident[counter | xsd:int | Subsequent number of the incydent type in the event. Example: 5th goal in the match. |
ct | xsd:int | Created date |
ut | xsd:int | Last update date |
dt | xsd:int | Deleted date |
additional_info | xsd:array | Contains additional information, e.g. goalkeeper_id, assistant_id (assistant_id = 12345) |
old_added_id |
] | xsd:int | DEPRECATED. Old Id |
...
|
sort_type | xsd:string | Determines sort order of data. Possible values: - id - Incidents are sorted by the id of the Incident
|
for | xsd:string | Determine what the participant includes incident |