Endpoint referenceTeam
/team/{id}/statistics
seasonId goes through JSNumber because the original passed `Number(seasonId)` straight into the where clause.
seasonId goes through JSNumber because the original passed Number(seasonId)
straight into the where clause. Omitting it is a 500 on production, not a
404, and that is the status this reproduces.
Path Parameters
id*integer
Format
int64Query Parameters
seasonId?string
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/v2/team/0/statistics"{ "$schema": "https://example.com/schemas/TeamStatisticsOKBody.json", "data": { "accurateCrosses": 0, "accurateCrossesPercentage": "string", "accurateFinalThirdPassesAgainst": 0, "accurateLongBalls": 0, "accurateLongBallsPercentage": "string", "accurateOppositionHalfPasses": 0, "accurateOppositionHalfPassesAgainst": 0, "accurateOppositionHalfPassesPercentage": "string", "accurateOwnHalfPasses": 0, "accurateOwnHalfPassesAgainst": 0, "accurateOwnHalfPassesPercentage": "string", "accuratePasses": 0, "accuratePassesAgainst": 0, "accuratePassesPercentage": "string", "aerialDuelsWon": 0, "aerialDuelsWonPercentage": "string", "assists": 0, "averageBallPossession": "string", "avgRating": "string", "awardedMatches": 0, "ballRecovery": 0, "bigChances": 0, "bigChancesAgainst": 0, "bigChancesCreated": 0, "bigChancesCreatedAgainst": 0, "bigChancesMissed": 0, "bigChancesMissedAgainst": 0, "blockedScoringAttempt": 0, "blockedScoringAttemptAgainst": 0, "cleanSheets": 0, "clearances": 0, "clearancesAgainst": 0, "clearancesOffLine": 0, "corners": 0, "cornersAgainst": 0, "crossesSuccessfulAgainst": 0, "crossesTotalAgainst": 0, "dribbleAttempts": 0, "dribbleAttemptsTotalAgainst": 0, "dribbleAttemptsWonAgainst": 0, "duelsWon": 0, "duelsWonPercentage": "string", "errorsLeadingToGoal": 0, "errorsLeadingToGoalAgainst": 0, "errorsLeadingToShot": 0, "errorsLeadingToShotAgainst": 0, "fastBreakGoals": 0, "fastBreakShots": 0, "fastBreaks": 0, "fouls": 0, "freeKickGoals": 0, "freeKickShots": 0, "freeKicks": 0, "goalKicks": 0, "goalsConceded": 0, "goalsFromInsideTheBox": 0, "goalsFromOutsideTheBox": 0, "goalsScored": 0, "groundDuelsWon": 0, "groundDuelsWonPercentage": "string", "headedGoals": 0, "hitWoodwork": 0, "hitWoodworkAgainst": 0, "interceptions": 0, "interceptionsAgainst": 0, "keyPassesAgainst": 0, "lastManTackles": 0, "leftFootGoals": 0, "longBallsSuccessfulAgainst": 0, "longBallsTotalAgainst": 0, "matches": 0, "offsides": 0, "offsidesAgainst": 0, "oppositionHalfPassesTotalAgainst": 0, "ownGoals": 0, "ownHalfPassesTotalAgainst": 0, "penaltiesCommitted": 0, "penaltiesTaken": 0, "penaltyGoals": 0, "penaltyGoalsConceded": 0, "possessionLost": 0, "redCards": 0, "redCardsAgainst": 0, "rightFootGoals": 0, "saves": 0, "seasonId": 0, "shots": 0, "shotsAgainst": 0, "shotsBlockedAgainst": 0, "shotsFromInsideTheBox": 0, "shotsFromInsideTheBoxAgainst": 0, "shotsFromOutsideTheBox": 0, "shotsFromOutsideTheBoxAgainst": 0, "shotsOffTarget": 0, "shotsOffTargetAgainst": 0, "shotsOnTarget": 0, "shotsOnTargetAgainst": 0, "successfulDribbles": 0, "tackles": 0, "tacklesAgainst": 0, "teamId": 0, "throwIns": 0, "totalAerialDuels": 0, "totalCrosses": 0, "totalDuels": 0, "totalFinalThirdPassesAgainst": 0, "totalGroundDuels": 0, "totalLongBalls": 0, "totalOppositionHalfPasses": 0, "totalOwnHalfPasses": 0, "totalPasses": 0, "totalPassesAgainst": 0, "yellowCards": 0, "yellowCardsAgainst": 0, "yellowRedCards": 0 }}