StatsHub Docs
Endpoint referenceTeam

/team/{id}/last-formation

GET
/api/v2/team/{id}/last-formation

Path Parameters

id*integer
Formatint64

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/team/0/last-formation"
{  "$schema": "https://example.com/schemas/TeamLastFormationOKBody.json",  "data": {    "awayScoreCurrent": 0,    "awayTeamId": 0,    "awayTeamName": "string",    "eventId": 0,    "formation": "string",    "homeScoreCurrent": 0,    "homeTeamId": 0,    "homeTeamName": "string",    "timeStartTimestamp": 0,    "tournamentName": "string"  }}