Competition Leaders
Competition statistical leaders are a list of persons for a statistic ranked from highest to lowest across an entire competition (multi-season). Each season's own qualification rules are applied to that season's data before aggregating and ranking across seasons.
Competition statistical leaders
Return a list of the leading persons for a statistic in a competition, aggregated across all included seasons in that competition.
- : Read any data from the organization down
You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23The name of the statistic
pointsThe unique identifier of the entity
009e9276-5c80-11e8-9c2d-fa7ae01bbebcA comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesIs the person a player?
Is the person a team official?
The maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10The unique identifier of the person
009e9276-5c80-11e8-9c2d-fa7ae01bbebcIs the person a starter in the match ?
What the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/beachvolleyball/o/{organizationId}/statistics/leaders/for/{statistic}/in/competitions/{competitionId} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"meta": {
"version": 1,
"codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
"code": 200,
"time": "2018-06-05 23:43:41.227584+00:00",
"fromCache": false,
"count": 7,
"limit": 10,
"offset": 10,
"generationTime": 0.011604
},
"links": {
"self": "https://example.com",
"next": "https://example.com",
"previous": "https://example.com"
},
"included": {
"resources": {
"ANY_ADDITIONAL_PROPERTY": "league"
}
},
"data": [
{
"personId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"person": {
"resourceType": "persons",
"id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
},
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"competition": {
"resourceType": "competitions",
"id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
},
"statistics": {}
}
]
}Competition statistical leader summary
Return a summary of the leading persons for a number of statistics in a competition. Only the requested statistic is returned within the 'statistics' object of each row.
- : Read any data from the organization down
You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.
The unique identifier of the competition
009e9276-5c80-11e8-9c2d-fa7ae01bbebcThe unique identifier of the organization
b1a23The unique identifier of the entity
009e9276-5c80-11e8-9c2d-fa7ae01bbebcA comma separated list of fields that will instead be interpreted as an externalId. See External Ids for more information.
entityId,personIdA comma separated list of fields to display. The response will only display these fields. See Partial Response section for more information.
dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]Type of Fixture
ALL_STARAll StarDEMONSTRATIONDemonstrationFINALFinalFRIENDLYFriendlyPLAYOFFPlayoffPRESEASONPre SeasonREGULARRegular
REGULARPossible values: Don't display data fields with null values or empty structures
trueWhere the result was
AWAYAwayHOMEHome
A comma separated list of resource types to include. See Resource Inclusion for more information.
organizations,fixtures,entitiesIs the person a player?
Is the person a team official?
The maximum number of records to return. See Pagination for more information.
10Example: 10The offset of the records. See Pagination for more information.
10The unique identifier of the person
009e9276-5c80-11e8-9c2d-fa7ae01bbebcIs the person a starter in the match ?
The name of the statistic. Can specify multiple, delimited by comma.
points,minutesWhat the result was
DRAWDrawLOSSLossWINWin
Successful operation
Error
GET /v1/beachvolleyball/o/{organizationId}/statistics/leaders/in/competitions/{competitionId} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"meta": {
"version": 1,
"codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
"code": 200,
"time": "2018-06-05 23:43:41.227584+00:00",
"fromCache": false,
"count": 7,
"limit": 10,
"offset": 10,
"generationTime": 0.011604
},
"links": {
"self": "https://example.com",
"next": "https://example.com",
"previous": "https://example.com"
},
"included": {
"resources": {
"ANY_ADDITIONAL_PROPERTY": "league"
}
},
"data": [
{
"statName": [
{
"personId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"person": {
"resourceType": "persons",
"id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
},
"entityId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"entity": {
"resourceType": "entities",
"id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
},
"organizationId": "9",
"organization": {
"resourceType": "organizations",
"id": "9"
},
"seasonId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"season": {
"resourceType": "seasons",
"id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
},
"competitionId": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc",
"competition": {
"resourceType": "competitions",
"id": "009e9276-5c80-11e8-9c2d-fa7ae01bbebc"
},
"statistics": {}
}
]
}
]
}Last updated
Was this helpful?