Resource information
URL | https://api.softnetsport.com/v2/events/{eventId}/incidents |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/events.incidents.index.xsd |
Method | GET |
Description | Returns a list of incidents for the selected event. |
Cache | Not cached |
Authorization required | Yes |
Internal method | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
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 |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/events/1877031/incidents?username=softnetsport&incidents=410,413&limit=5 | Returns a list of event incidents. |
Output elements
. event_incidents | |
---|---|
. . incident | |
id | Identifier for the event incident. Unique for sport. |
action | Incident action type. Possible values:
|
incident_id | Incident identifier. |
participant_id | Incident participant id. |
participant_name | Incident participant name. |
participant_team_id | Incident participant team id. |
status_id | Incident status id. |
event_time | Incident event time. |
add_data | Custom informations. |
display_info | Custom informations. |
created_at | Unique identifier for the competition |
updated_at |
// TODO : DOKOŃCZYĆ