CompetitionTeam

Retrieves a CompetitionTeam resource.

Retrieves a CompetitionTeam resource.

get/competition_teams/{id}

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/competition_teams/{id}
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

CompetitionTeam identifier

Response

CompetitionTeam resource

idinteger
groupReferencestring nullable
rankinginteger
victoriesTotalinteger
drawsTotalinteger
defeatsTotalinteger
pointsTotalinteger
goalsForTotalinteger
goalsAgainstTotalinteger
differenceinteger
bonusinteger
secondGoalsForTotalinteger
secondGoalsAgainstTotalinteger
secondDifferenceinteger
forfeitboolean
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "groupReference": "A",
  "ranking": 1,
  "competition": {
    "sessionDuration": 3000,
    "breakDuration": 300,
    "status": "not_played",
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "team": {
    "primaryColor": "#FFFFFF",
    "secondaryColor": "#FFFFFF",
    "playerTeams": [
      {
        "createdAt": "CURRENT_TIMESTAMP",
        "updatedAt": "CURRENT_TIMESTAMP"
      }
    ],
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.