JoinSport API Reference

Welcome to the JoinSport GraphQL API reference! This reference includes the complete set of GraphQL types, queries and their parameters.

API Endpoints
https://api.joinsport.io/graphql
Headers
Api-Key: <YOUR_KEY_HERE>

Queries

frontend

Response

Returns a Frontend

Example

Query
query frontend {
  frontend {
    football {
      ...FrontendFootballFragment
    }
    about {
      ...AboutFragment
    }
    seasons {
      ...SeasonFragment
    }
    stadiums {
      ...StadiumFragment
    }
    partners {
      ...PartnerFragment
    }
    banners {
      ...BannerFragment
    }
    team {
      ...TeamFragment
    }
    player {
      ...PlayerDetailsFragment
    }
    tournament {
      ...TournamentDetailsFragment
    }
    application {
      ...ApplicationDetailsFragment
    }
    round {
      ...RoundDetailsFragment
    }
    match {
      ...MatchDetailsFragment
    }
    translation {
      ...TranslationFragment
    }
    posts {
      ...PostPaginatorFragment
    }
    videos {
      ...VideoPaginatorFragment
    }
    albums {
      ...AlbumPaginatorFragment
    }
    teams {
      ...TeamPaginatorFragment
    }
    players {
      ...PlayerPaginatorFragment
    }
    tournaments {
      ...TournamentPaginatorFragment
    }
    rounds {
      ...RoundPaginatorFragment
    }
    calendar {
      ...MatchPaginatorFragment
    }
    stats {
      ...StatsPlayerPaginatorFragment
    }
    teamsStats {
      ...StatsTeamPaginatorFragment
    }
  }
}
Response
{
  "data": {
    "frontend": {
      "football": FrontendFootball,
      "about": About,
      "seasons": [Season],
      "stadiums": [Stadium],
      "partners": [Partner],
      "banners": [Banner],
      "team": Team,
      "player": PlayerDetails,
      "tournament": TournamentDetails,
      "application": ApplicationDetails,
      "round": RoundDetails,
      "match": MatchDetails,
      "translation": Translation,
      "posts": PostPaginator,
      "videos": VideoPaginator,
      "albums": AlbumPaginator,
      "teams": TeamPaginator,
      "players": PlayerPaginator,
      "tournaments": TournamentPaginator,
      "rounds": RoundPaginator,
      "calendar": MatchPaginator,
      "stats": StatsPlayerPaginator,
      "teamsStats": StatsTeamPaginator
    }
  }
}

Types

About

Fields
Field Name Description
name - String
vk - String
fb - String
in - String
yt - String
tg - String
ok - String
about_text - String
about_photo - Image
domain - String
Example
{
  "name": "LaLiga",
  "vk": "https://vk.com/laliga",
  "fb": "https://fb.com/laliga",
  "in": "https://www.instagram.com/laliga/",
  "yt": "https://www.youtube.com/channel/UC9M09TEwuCRqScpd78sM3hw",
  "tg": "https://t.me/laliga",
  "ok": "https://ok.ru/laliga",
  "about_text": "Some text about league",
  "about_photo": Image,
  "domain": "abc123"
}

Album

Fields
Field Name Description
album_id - ID!
storage - String!
title - String!
author - String
cover_id - Int
cover - Photo
first_photo - Photo
source_url - String
on_main - Boolean
is_public - Boolean No longer supported
published_dt - DateTime
tags - [Tag!]!
photos - [Photo!]!
Example
{
  "album_id": 4,
  "storage": "vk",
  "title": "Barcelona - Real Madrid",
  "author": "Unknown raccoon",
  "cover_id": 987,
  "cover": Photo,
  "first_photo": Photo,
  "source_url": "xyz789",
  "on_main": true,
  "is_public": true,
  "published_dt": "2007-12-03T10:15:30Z",
  "tags": [Tag],
  "photos": [Photo]
}

AlbumFilterInput

Fields
Input Field Description
tag_ids - [Int!]
date_eq - Date
date_time_gt - DateTime
date_time_gte - DateTime
date_time_lt - DateTime
date_time_lte - DateTime
on_main - Boolean
orderBy - [OrderByClause!] deprecated: use albums.sorters instead
Example
{
  "tag_ids": [987],
  "date_eq": "2007-12-03",
  "date_time_gt": "2007-12-03T10:15:30Z",
  "date_time_gte": "2007-12-03T10:15:30Z",
  "date_time_lt": "2007-12-03T10:15:30Z",
  "date_time_lte": "2007-12-03T10:15:30Z",
  "on_main": false,
  "orderBy": [OrderByClause]
}

AlbumPaginator

Description

A paginated list of Album items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Album!]! A list of Album items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Album]
}

AlbumValueColumn

Values
Enum Value Description

PUBLISHED_DT

Example
"PUBLISHED_DT"

Application

Fields
Field Name Description
team - Team!
status - String!
name - String!
Example
{"team": Team, "status": "approved", "name": "Barcelona"}

ApplicationDetails

Fields
Field Name Description
tournament_id - Int!
team_id - Int!
team - Team!
status - String!
name - String!
players - [ApplicationPlayer!]!
staff - [ApplicationStaff!]!
Example
{
  "tournament_id": 1,
  "team_id": 1,
  "team": Team,
  "status": "excluded",
  "name": "Barcelona",
  "players": [ApplicationPlayer],
  "staff": [ApplicationStaff]
}

ApplicationPlayer

Fields
Field Name Description
tournament_id - Int!
team_id - Int!
player_id - Int!
player - Player!
status - String!
application_dt - DateTime
include_dt - DateTime
exclude_dt - DateTime
number - Int
position_id - Int
captain - Boolean
Example
{
  "tournament_id": 123,
  "team_id": 123,
  "player_id": 987,
  "player": Player,
  "status": "approved",
  "application_dt": "2007-12-03T10:15:30Z",
  "include_dt": "2007-12-03T10:15:30Z",
  "exclude_dt": "2007-12-03T10:15:30Z",
  "number": 10,
  "position_id": 123,
  "captain": false
}

ApplicationStaff

Fields
Field Name Description
tournament_id - Int!
team_id - Int!
staff_id - Int!
application_dt - DateTime
include_dt - DateTime
exclude_dt - DateTime
status - PersonApplicationStatus!
position - String
rank - Int
profile - Staff!
Example
{
  "tournament_id": 123,
  "team_id": 123,
  "staff_id": 123,
  "application_dt": "2007-12-03T10:15:30Z",
  "include_dt": "2007-12-03T10:15:30Z",
  "exclude_dt": "2007-12-03T10:15:30Z",
  "status": "DRAFT",
  "position": "Coach",
  "rank": 1,
  "profile": Staff
}

Banner

Fields
Field Name Description
banner_id - ID!
name - String!
position - BannerPosition!
number - Int
link - String!
image - Image
Example
{
  "banner_id": "4",
  "name": "Some banner",
  "position": "MATCH_CONTENT",
  "number": 987,
  "link": "https://some.link",
  "image": Image
}

BannerPosition

Values
Enum Value Description

MATCH_CONTENT

Турнир, Под протоколом матча

TOURNAMENT_TABLE

Турнир, Таблицы. Под этапами
Example
"MATCH_CONTENT"

Boolean

Description

The Boolean scalar type represents true or false.

Example
true

Category

Fields
Field Name Description
name - String!
Example
{"name": "abc123"}

Date

Description

A date string with format Y-m-d, e.g. 2011-05-23.

Example
"2007-12-03"

DateRange

Fields
Input Field Description
from - Date!
to - Date!
Example
{
  "from": "2007-12-03",
  "to": "2007-12-03"
}

DateTime

Description

A datetime string with format Y-m-d H:i:s, e.g. 2018-05-23 13:43:32.

Example
"2007-12-03T10:15:30Z"

Disqualification

Fields
Field Name Description
disqualification_id - ID!
type - DisqualificationType
status - DisqualificationStatus
season_id - Int!
tournament_id - Int!
team_id - Int
person_type - PersonType!
person_id - Int!
start_dt - Date
end_dt - Date
games - Int
games_skipped - Int
system_reason - DisqualificationReason
description - String
author - DisqualificationAuthor!
tournament - Tournament
team - Team
person - PersonInterface!
Example
{
  "disqualification_id": 4,
  "type": "CONDITIONAL",
  "status": "DRAFT",
  "season_id": 987,
  "tournament_id": 987,
  "team_id": 123,
  "person_type": "PLAYER",
  "person_id": 123,
  "start_dt": "2007-12-03",
  "end_dt": "2007-12-03",
  "games": 987,
  "games_skipped": 987,
  "system_reason": "YELLOWS",
  "description": "abc123",
  "author": "SYSTEM",
  "tournament": Tournament,
  "team": Team,
  "person": PersonInterface
}

DisqualificationAuthor

Values
Enum Value Description

SYSTEM

Система

USER

Пользователь
Example
"SYSTEM"

DisqualificationFilter

Fields
Input Field Description
season_id - Int
tournament_id - Int
team_id - Int
person_type - PersonType
person_id - Int
type - DisqualificationType
status - DisqualificationStatus
author - DisqualificationAuthor
system_reason - DisqualificationReason
match_id - Int
Example
{
  "season_id": 987,
  "tournament_id": 123,
  "team_id": 987,
  "person_type": "PLAYER",
  "person_id": 987,
  "type": "CONDITIONAL",
  "status": "DRAFT",
  "author": "SYSTEM",
  "system_reason": "YELLOWS",
  "match_id": 987
}

DisqualificationPaginator

Description

A paginated list of Disqualification items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Disqualification!]! A list of Disqualification items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Disqualification]
}

DisqualificationReason

Values
Enum Value Description

YELLOWS

Желтые

RED

Красная
Example
"YELLOWS"

DisqualificationStatus

Values
Enum Value Description

DRAFT

Черновик

ACTIVE

Активна

COMPLETED

Завершена

CANCELLED

Отменена
Example
"DRAFT"

DisqualificationType

Values
Enum Value Description

CONDITIONAL

Условная дисквалификация

ACTUAL

Фактическая дисквалификация

LIFELONG

Пожизненная дисквалификация

LONGTERM

Продолжительная дисквалификация
Example
"CONDITIONAL"

Float

Description

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
123.45

FootballPlayerPosition

Values
Enum Value Description

GOALKEEPER

Вратарь

DEFENDER

Защитник

MIDFIELDER

Полузащитник

FORWARD

Нападающий

RIGHT_BACK

Правый защитник

RIGHT_CENTRE_BACK

Правый центральный защитник

CENTRE_BACK

Центральный защитник

LEFT_CENTRE_BACK

Левый центральный защитник

LEFT_BACK

Левый защитник

RIGHT_WING_BACK

Правый фланговый защитник

RIGHT_DEFENSIVE_MIDFIELDER

Правый опорный полузащитник

DEFENSIVE_MIDFIELDER

Центральный опорный полузащитник

LEFT_DEFENSIVE_MIDFIELDER

Левый опорный полузащитник

LEFT_WING_BACK

Левый фланговый защитник

RIGHT_MIDFIELDER

Правый полузащитник

RIGHT_CENTRE_MIDFIELDER

Правый центральный полузащитник

CENTRE_MIDFIELDER

Центральный полузащитник

LEFT_CENTRE_MIDFIELDER

Левый центральный полузащитник

LEFT_MIDFIELD

Левый полузащитник

RIGHT_WING_MIDFIELDER

Правый фланговый полузащитник

INSIDE_RIGHT

Правый инсайд

ATTACKING_MIDFIELDER

Центральный атакующий полузащитник

INSIDE_LEFT

Левый инсайд

LEFT_WING_MIDFIELDER

Левый фланговый полузащитник

RIGHT_WING

Правый атакующий

RIGHT_SECOND_STRIKER

Правый оттянутый форвард

SECOND_STRIKER

Оттянутый форвард

LEFT_SECOND_STRIKER

Левый оттянутый форвард

LEFT_WING

Левый атакующий

RIGHT_CENTRE_FORWARD

Правый центральный форвард

CENTRE_FORWARD

Центральный форвард

LEFT_CENTRE_FORWARD

Левый центральный форвард
Example
"GOALKEEPER"

Frontend

Fields
Field Name Description
football - FrontendFootball
about - About!
seasons - [Season!]!
stadiums - [Stadium!]!
partners - [Partner!]!
banners - [Banner!]!
Arguments
position - BannerPosition
team - Team
Arguments
team_id - ID!
player - PlayerDetails
Arguments
player_id - ID!
tournament - TournamentDetails
Arguments
tournament_id - ID!
application - ApplicationDetails
Arguments
tournament_id - ID!
team_id - ID!
round - RoundDetails
Arguments
round_id - ID!
match - MatchDetails
Arguments
match_id - ID!
translation - Translation
Arguments
match_id - ID!
posts - PostPaginator!
Arguments
filters - PostFilterInput
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

videos - VideoPaginator!
Arguments
filters - VideoFilterInput
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

albums - AlbumPaginator!
Arguments
filters - AlbumFilterInput
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

teams - TeamPaginator!
Arguments
filters - TeamFilterInput
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

players - PlayerPaginator!
Arguments
filters - PlayerFilterInput
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

tournaments - TournamentPaginator!
Arguments
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

rounds - RoundPaginator!
Arguments
filters - RoundFilterInput
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

calendar - MatchPaginator!
Arguments
filters - MatchFilter
first - Int!

Limits number of fetched items. Maximum allowed value: 500.

page - Int

The offset from which items are returned.

stats - StatsPlayerPaginator!
Arguments
filters - StatsPlayerFilter
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

teamsStats - StatsTeamPaginator!
Arguments
filters - StatsTeamFilter
groupers - [StatsTeamGrouper!]
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

Example
{
  "football": FrontendFootball,
  "about": About,
  "seasons": [Season],
  "stadiums": [Stadium],
  "partners": [Partner],
  "banners": [Banner],
  "team": Team,
  "player": PlayerDetails,
  "tournament": TournamentDetails,
  "application": ApplicationDetails,
  "round": RoundDetails,
  "match": MatchDetails,
  "translation": Translation,
  "posts": PostPaginator,
  "videos": VideoPaginator,
  "albums": AlbumPaginator,
  "teams": TeamPaginator,
  "players": PlayerPaginator,
  "tournaments": TournamentPaginator,
  "rounds": RoundPaginator,
  "calendar": MatchPaginator,
  "stats": StatsPlayerPaginator,
  "teamsStats": StatsTeamPaginator
}

FrontendAlbumsSortersOrderByClause

Description

Order by clause for Frontend.albums.sorters.

Fields
Input Field Description
column - AlbumValueColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "PUBLISHED_DT", "order": "ASC"}

FrontendCalendarSortersColumn

Values
Enum Value Description

TOURNAMENT_ID

TOURNAMENT_RANK

ROUND_ID

ROUND_RANK

TOUR_ID

TOUR_NUMBER

HAS_DATE

START_DT

Example
"TOURNAMENT_ID"

FrontendCalendarSortersOrderByClause

Description

Order by clause for Frontend.calendar.sorters.

Fields
Input Field Description
column - FrontendCalendarSortersColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "TOURNAMENT_ID", "order": "ASC"}

FrontendFootball

Fields
Field Name Description
disqualifications - DisqualificationPaginator!
Arguments
first - Int!

Limits number of fetched items.

page - Int

The offset from which items are returned.

Example
{"disqualifications": DisqualificationPaginator}

FrontendPostsSortersOrderByClause

Description

Order by clause for Frontend.posts.sorters.

Fields
Input Field Description
column - PostValueColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "PUBLISHED_DT", "order": "ASC"}

FrontendRoundsSortersColumn

Description

Allowed column names for Frontend.rounds.sorters.

Values
Enum Value Description

NAME

ORDER

Example
"NAME"

FrontendRoundsSortersOrderByClause

Description

Order by clause for Frontend.rounds.sorters.

Fields
Input Field Description
column - FrontendRoundsSortersColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "NAME", "order": "ASC"}

FrontendStatsSortersOrderByClause

Description

Order by clause for Frontend.stats.sorters.

Fields
Input Field Description
column - StatsPlayerValueColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "GAMES", "order": "ASC"}

FrontendTeamsStatsSortersOrderByClause

Description

Order by clause for Frontend.teamsStats.sorters.

Fields
Input Field Description
column - StatsTeamValueColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "GAMES", "order": "ASC"}

FrontendTournamentsSortersColumn

Description

Allowed column names for Frontend.tournaments.sorters.

Values
Enum Value Description

FULL_NAME

ORDER

START_DT

Example
"FULL_NAME"

FrontendTournamentsSortersOrderByClause

Description

Order by clause for Frontend.tournaments.sorters.

Fields
Input Field Description
column - FrontendTournamentsSortersColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "FULL_NAME", "order": "ASC"}

FrontendVideosSortersOrderByClause

Description

Order by clause for Frontend.videos.sorters.

Fields
Input Field Description
column - VideoValueColumn! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "PUBLISHED_DT", "order": "ASC"}

Goal

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
player_id - Int!
assistant_id - Int
minute - Int
second - Int
additional - Int
number - Int
situation - GoalSituation!
player - Player!
assistant - Player
Example
{
  "id": 4,
  "match_id": 123,
  "team_id": 123,
  "player_id": 123,
  "assistant_id": 987,
  "minute": 987,
  "second": 123,
  "additional": 987,
  "number": 123,
  "situation": "SITUATION_GAME",
  "player": Player,
  "assistant": Player
}

GoalMissed

Description

Количество пропущенных вратарём мячей

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
player_id - Int!
count - Int!
player - Player!
Example
{
  "id": "4",
  "match_id": 123,
  "team_id": 987,
  "player_id": 123,
  "count": 2,
  "player": Player
}

GoalSituation

Values
Enum Value Description

SITUATION_GAME

С игры

SITUATION_PENALTY

С пенальти

SITUATION_AUTOGOAL

Автогол

SITUATION_PENALTY_10

10-метровый

SITUATION_STANDARD

Со стандарта
Example
"SITUATION_GAME"

ID

Description

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
4

Image

Fields
Field Name Description
name - String!
urlTemplate - String!
sizes - [ImageSize!]!
Example
{
  "name": "59ea2ecacb528.jpg",
  "urlTemplate": "team/{team_id}/cover",
  "sizes": [ImageSize]
}

ImageSize

Fields
Field Name Description
alias - String!
width - Int!
height - Int
Example
{"alias": "1280x720", "width": 1280, "height": 720}

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
987

Match

Fields
Field Name Description
match_id - ID!
round_id - Int!
tournament_id - Int!
tour_id - Int
tour - Tour
series_id - Int
number - Int
team1_id - Int
team1 - Team
team2_id - Int
team2 - Team
gf - Int
ga - Int
gfp - Int
gap - Int
overtime - Boolean
technical - Boolean
is_live - Boolean
is_festival - Boolean
stadium_id - Int
start_dt - DateTime
timezone - String
preview - String
video_url - String
tournament - TournamentInfo!
stadium - Stadium
referee - Referee
Example
{
  "match_id": 4,
  "round_id": 987,
  "tournament_id": 987,
  "tour_id": 123,
  "tour": Tour,
  "series_id": 123,
  "number": 123,
  "team1_id": 987,
  "team1": Team,
  "team2_id": 987,
  "team2": Team,
  "gf": 987,
  "ga": 987,
  "gfp": 987,
  "gap": 987,
  "overtime": true,
  "technical": true,
  "is_live": true,
  "is_festival": true,
  "stadium_id": 987,
  "start_dt": "2007-12-03T10:15:30Z",
  "timezone": "abc123",
  "preview": "abc123",
  "video_url": "xyz789",
  "tournament": TournamentInfo,
  "stadium": Stadium,
  "referee": Referee
}

MatchDetails

Fields
Field Name Description
match_id - ID!
round_id - Int!
tournament_id - Int!
tour_id - Int
tour - Tour
series_id - Int
number - Int
team1_id - Int
team1 - Team
team2_id - Int
team2 - Team
gf - Int
ga - Int
gfp - Int
gap - Int
overtime - Boolean
technical - Boolean
is_live - Boolean
is_festival - Boolean
stadium_id - Int
start_dt - DateTime
timezone - String
preview - String
video_url - String
tournament - TournamentInfo!
stadium - Stadium
players - [MatchPlayer!]!
referee - Referee
referees - [MatchReferee!]!
substitutions - [Substitution!]!
staff - [MatchStaff!]!
protocol - Protocol
stats1 - MatchStats
stats2 - MatchStats
goals - [Goal!]!
unrealizedPenalties - [UnrealizedPenalty!]!
goalsMissed - [GoalMissed!]!
yellowCards - [YellowCard!]!
redCards - [RedCard!]!
shootouts - [Shootout!]!
series - [MatchSeries!]!
translation - Translation
lastPosts - PostPaginator!
Arguments
first - Int!

Limits number of fetched items. Maximum allowed value: 20.

page - Int

The offset from which items are returned.

lastVideos - VideoPaginator!
Arguments
first - Int!

Limits number of fetched items. Maximum allowed value: 20.

page - Int

The offset from which items are returned.

lastAlbums - AlbumPaginator!
Arguments
first - Int!

Limits number of fetched items. Maximum allowed value: 20.

page - Int

The offset from which items are returned.

Example
{
  "match_id": "4",
  "round_id": 123,
  "tournament_id": 987,
  "tour_id": 987,
  "tour": Tour,
  "series_id": 123,
  "number": 987,
  "team1_id": 123,
  "team1": Team,
  "team2_id": 987,
  "team2": Team,
  "gf": 123,
  "ga": 987,
  "gfp": 123,
  "gap": 123,
  "overtime": true,
  "technical": false,
  "is_live": false,
  "is_festival": true,
  "stadium_id": 123,
  "start_dt": "2007-12-03T10:15:30Z",
  "timezone": "abc123",
  "preview": "xyz789",
  "video_url": "abc123",
  "tournament": TournamentInfo,
  "stadium": Stadium,
  "players": [MatchPlayer],
  "referee": Referee,
  "referees": [MatchReferee],
  "substitutions": [Substitution],
  "staff": [MatchStaff],
  "protocol": Protocol,
  "stats1": MatchStats,
  "stats2": MatchStats,
  "goals": [Goal],
  "unrealizedPenalties": [UnrealizedPenalty],
  "goalsMissed": [GoalMissed],
  "yellowCards": [YellowCard],
  "redCards": [RedCard],
  "shootouts": [Shootout],
  "series": [MatchSeries],
  "translation": Translation,
  "lastPosts": PostPaginator,
  "lastVideos": VideoPaginator,
  "lastAlbums": AlbumPaginator
}

MatchFilter

Fields
Input Field Description
season_id - Int
category_id - Int
tournament_id - Int
tournaments_ids - [Int!]
round_id - Int
team_id - Int
teams_ids - [Int!]
start_date - Date
start_date_range - DateRange
has_score - Boolean
tour_number - Int
referee_id - Int
Example
{
  "season_id": 987,
  "category_id": 987,
  "tournament_id": 987,
  "tournaments_ids": [123],
  "round_id": 987,
  "team_id": 123,
  "teams_ids": [987],
  "start_date": "2007-12-03",
  "start_date_range": DateRange,
  "has_score": false,
  "tour_number": 987,
  "referee_id": 123
}

MatchPaginator

Description

A paginated list of Match items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Match!]! A list of Match items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Match]
}

MatchPlayer

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
player_id - Int!
number - Int
position - FootballPlayerPosition
status - MatchPlayerStatus!
goalkeeper - Boolean!
captain - Boolean!
player - Player!
Example
{
  "id": 4,
  "match_id": 123,
  "team_id": 123,
  "player_id": 123,
  "number": 987,
  "position": "GOALKEEPER",
  "status": "STATUS_START",
  "goalkeeper": false,
  "captain": true,
  "player": Player
}

MatchPlayerStatus

Values
Enum Value Description

STATUS_START

Основа

STATUS_ODD

Запас
Example
"STATUS_START"

MatchReferee

Fields
Field Name Description
match_id - Int!
referee_id - Int!
position_id - Int!
profile - Referee!
position - RefereePosition!
Example
{
  "match_id": 987,
  "referee_id": 123,
  "position_id": 123,
  "profile": Referee,
  "position": RefereePosition
}

MatchSeries

Fields
Field Name Description
series_id - ID!
type - String!
length - Int!
round_id - Int!
tournament_id - Int!
tour_id - Int!
tree_id - Int!
next_series_id - Int
loose_series_id - Int
left_series_id - Int
right_series_id - Int
team1_id - Int
team2_id - Int
games - Int!
score1 - Int!
score2 - Int!
goals1 - Int
goals2 - Int
Example
{
  "series_id": "4",
  "type": "xyz789",
  "length": 987,
  "round_id": 123,
  "tournament_id": 987,
  "tour_id": 987,
  "tree_id": 987,
  "next_series_id": 987,
  "loose_series_id": 987,
  "left_series_id": 987,
  "right_series_id": 123,
  "team1_id": 123,
  "team2_id": 987,
  "games": 123,
  "score1": 123,
  "score2": 987,
  "goals1": 123,
  "goals2": 123
}

MatchStaff

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
staff_id - Int!
status - MatchStaffStatus!
coach - Boolean!
Example
{
  "id": 4,
  "match_id": 123,
  "team_id": 123,
  "staff_id": 987,
  "status": "STATUS_START",
  "coach": true
}

MatchStaffStatus

Values
Enum Value Description

STATUS_START

Основа
Example
"STATUS_START"

MatchStats

Fields
Field Name Description
id - ID!
match_id - ID!
team_id - ID!
goals_first_half - Int
possession - Int
shoots_first_half - Int
shoots_overall - Int
shoots_target_first_half - Int
shoots_target_overall - Int
corners_first_half - Int
corners_overall - Int
postbar_first_half - Int
postbar_overall - Int
fouls_first_half - Int
fouls_overall - Int
offsides_overall - Int
referee_mark - Float
discipline_mark - Float
attendance - Int
Example
{
  "id": 4,
  "match_id": 4,
  "team_id": "4",
  "goals_first_half": 123,
  "possession": 123,
  "shoots_first_half": 123,
  "shoots_overall": 123,
  "shoots_target_first_half": 987,
  "shoots_target_overall": 987,
  "corners_first_half": 123,
  "corners_overall": 987,
  "postbar_first_half": 123,
  "postbar_overall": 123,
  "fouls_first_half": 987,
  "fouls_overall": 987,
  "offsides_overall": 123,
  "referee_mark": 987.65,
  "discipline_mark": 987.65,
  "attendance": 123
}

OrderByClause

Description

Allows ordering a list of records.

Fields
Input Field Description
column - String! The column that is used for ordering.
order - SortOrder! The direction that is used for ordering.
Example
{"column": "xyz789", "order": "ASC"}

PaginatorInfo

Description

Information about pagination using a fully featured paginator.

Fields
Field Name Description
count - Int! Number of items in the current page.
currentPage - Int! Index of the current page.
firstItem - Int Index of the first item in the current page.
hasMorePages - Boolean! Are there more pages after this one?
lastItem - Int Index of the last item in the current page.
lastPage - Int! Index of the last available page.
perPage - Int! Number of items per page.
total - Int! Number of total available items.
Example
{
  "count": 987,
  "currentPage": 123,
  "firstItem": 123,
  "hasMorePages": false,
  "lastItem": 987,
  "lastPage": 123,
  "perPage": 123,
  "total": 987
}

Partner

Fields
Field Name Description
partner_id - ID!
name - String!
logo - Image
url - String
order - Int
Example
{
  "partner_id": 4,
  "name": "Some partner",
  "logo": Image,
  "url": "https://some.link",
  "order": 987
}

PenaltyFailReason

Values
Enum Value Description

GOALKEEPER

Вратарь

MISS

Промах
Example
"GOALKEEPER"

PenaltyType

Values
Enum Value Description

GENERAL

Пенальти

TEN_METERS

10-метровый
Example
"GENERAL"

PersonApplicationStatus

Values
Enum Value Description

DRAFT

Черновик

NEW

Новая

REJECTED

Отклонена

APPROVED

Утверждена

EXCLUDED

Исключена
Example
"DRAFT"

PersonInterface

Fields
Field Name Description
first_name - String!
middle_name - String!
last_name - String!
Possible Types
PersonInterface Types

Player

PlayerDetails

Staff

Example
{
  "first_name": "abc123",
  "middle_name": "abc123",
  "last_name": "xyz789"
}

PersonType

Values
Enum Value Description

PLAYER

Игрок

STAFF

Сотрудник
Example
"PLAYER"

Photo

Fields
Field Name Description
photo_id - ID!
album_id - Int!
storage - String!
image - String!
image_variations - String JSON-объект содержащий список доступных миниатюр для storage=vk
description - String
source_id - Int
published_dt - DateTime!
image_with_meta - Image
Example
{
  "photo_id": 4,
  "album_id": 123,
  "storage": "xyz789",
  "image": "abc123",
  "image_variations": "xyz789",
  "description": "xyz789",
  "source_id": 123,
  "published_dt": "2007-12-03T10:15:30Z",
  "image_with_meta": Image
}

Player

Fields
Field Name Description
player_id - ID!
first_name - String!
middle_name - String!
last_name - String!
birthday - Date
birthplace - String
vk_profile - String
position_id - Int
photo - String
application - TeamPlayer
Example
{
  "player_id": 4,
  "first_name": "Lionel",
  "middle_name": "Andres",
  "last_name": "Messi",
  "birthday": "1987-06-24",
  "birthplace": "Rosario",
  "vk_profile": "abc123",
  "position_id": 123,
  "photo": "abc123",
  "application": TeamPlayer
}

PlayerAchievement

Fields
Field Name Description
achievement_id - ID!
sport_kind - String!
title - String!
icon - String!
Example
{
  "achievement_id": 4,
  "sport_kind": "abc123",
  "title": "abc123",
  "icon": "abc123"
}

PlayerDetails

Fields
Field Name Description
player_id - ID!
first_name - String!
middle_name - String!
last_name - String!
birthday - Date
birthplace - String
vk_profile - String
position_id - Int
photo - String
teams - [Team!]!
Arguments
status - TeamPlayerStatus
achievements - [TournamentPlayerAchievement!]!
teamAchievements - [TournamentTeamAchievement!]!
Example
{
  "player_id": 4,
  "first_name": "Lionel",
  "middle_name": "Andres",
  "last_name": "Messi",
  "birthday": "1987-06-24",
  "birthplace": "Rosario",
  "vk_profile": "xyz789",
  "position_id": 123,
  "photo": "xyz789",
  "teams": [Team],
  "achievements": [TournamentPlayerAchievement],
  "teamAchievements": [TournamentTeamAchievement]
}

PlayerFilterInput

Fields
Input Field Description
orderBy - [OrderByClause!]
Example
{"orderBy": [OrderByClause]}

PlayerPaginator

Description

A paginated list of Player items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Player!]! A list of Player items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Player]
}

Post

Fields
Field Name Description
post_id - ID!
title - String
lead - String
text - String
image - String
author - String
on_main - Boolean
on_parent - Boolean
on_main_slider - Boolean
is_public - Boolean No longer supported
is_temp - Boolean No longer supported
published_dt - DateTime
tags - [Tag!]!
image_with_meta - Image
Example
{
  "post_id": "4",
  "title": "xyz789",
  "lead": "xyz789",
  "text": "abc123",
  "image": "abc123",
  "author": "abc123",
  "on_main": false,
  "on_parent": false,
  "on_main_slider": false,
  "is_public": true,
  "is_temp": false,
  "published_dt": "2007-12-03T10:15:30Z",
  "tags": [Tag],
  "image_with_meta": Image
}

PostFilterInput

Fields
Input Field Description
tag_ids - [Int!]
date_eq - Date
date_time_gt - DateTime
date_time_gte - DateTime
date_time_lt - DateTime
date_time_lte - DateTime
on_main - Boolean
on_main_slider - Boolean
orderBy - [OrderByClause!] deprecated: use posts.sorters instead
Example
{
  "tag_ids": [987],
  "date_eq": "2007-12-03",
  "date_time_gt": "2007-12-03T10:15:30Z",
  "date_time_gte": "2007-12-03T10:15:30Z",
  "date_time_lt": "2007-12-03T10:15:30Z",
  "date_time_lte": "2007-12-03T10:15:30Z",
  "on_main": true,
  "on_main_slider": false,
  "orderBy": [OrderByClause]
}

PostPaginator

Description

A paginated list of Post items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Post!]! A list of Post items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Post]
}

PostValueColumn

Values
Enum Value Description

PUBLISHED_DT

Example
"PUBLISHED_DT"

Protocol

Fields
Field Name Description
id - ID!
match_id - Int!
start_dt - DateTime
break_duration - Int
end_dt - DateTime
attendance - Int
incidents - String
traumatic_events - String
first_half_addition - Int
second_half_addition - Int
best_player_id - Int
best_player_team_id - Int
best_team1_player_id - Int
best_team2_player_id - Int
form_color_home - String
form_color_away - String
bestPlayer - Player
bestPlayerTeam - Player
bestTeam1Player - Player
bestTeam2Player - Player
Example
{
  "id": "4",
  "match_id": 123,
  "start_dt": "2007-12-03T10:15:30Z",
  "break_duration": 987,
  "end_dt": "2007-12-03T10:15:30Z",
  "attendance": 987,
  "incidents": "xyz789",
  "traumatic_events": "abc123",
  "first_half_addition": 987,
  "second_half_addition": 987,
  "best_player_id": 987,
  "best_player_team_id": 987,
  "best_team1_player_id": 123,
  "best_team2_player_id": 987,
  "form_color_home": "abc123",
  "form_color_away": "xyz789",
  "bestPlayer": Player,
  "bestPlayerTeam": Player,
  "bestTeam1Player": Player,
  "bestTeam2Player": Player
}

RedCard

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
person_type - String!
person_id - Int!
minute - Int
second - Int
additional - Int
number - Int
second_yellow - Boolean!
reason - String
disqualification_id - Int
player_id - Int
player - PersonInterface!
person - PersonInterface!
Example
{
  "id": 4,
  "match_id": 123,
  "team_id": 987,
  "person_type": "abc123",
  "person_id": 987,
  "minute": 987,
  "second": 987,
  "additional": 987,
  "number": 123,
  "second_yellow": false,
  "reason": "abc123",
  "disqualification_id": 987,
  "player_id": 123,
  "player": PersonInterface,
  "person": PersonInterface
}

Referee

Fields
Field Name Description
referee_id - ID!
first_name - String!
middle_name - String!
last_name - String!
birthday - Date
birthplace - String
category_id - Int
Example
{
  "referee_id": "4",
  "first_name": "xyz789",
  "middle_name": "abc123",
  "last_name": "xyz789",
  "birthday": "2007-12-03",
  "birthplace": "abc123",
  "category_id": 123
}

RefereePosition

Fields
Field Name Description
position_id - ID!
title - String!
short_title - String!
alias - String!
Example
{
  "position_id": 4,
  "title": "abc123",
  "short_title": "xyz789",
  "alias": "xyz789"
}

Round

Fields
Field Name Description
round_id - ID!
name - String!
order - Int
Example
{
  "round_id": "4",
  "name": "xyz789",
  "order": 123
}

RoundDetails

Fields
Field Name Description
tournament_id - Int!
type_id - RoundType
series_type - String
series_length - Int
name - String!
target - Int!
has_table - Boolean
tableRows - [TableRow!]!
tableCorrections - [TableCorrection!]!
teams - [Team!]!
calendar - [Match!]!
tours - [Tour!]!
order - Int
Example
{
  "tournament_id": 987,
  "type_id": "ROUND_ROBIN_ONE",
  "series_type": "xyz789",
  "series_length": 123,
  "name": "xyz789",
  "target": 123,
  "has_table": false,
  "tableRows": [TableRow],
  "tableCorrections": [TableCorrection],
  "teams": [Team],
  "calendar": [Match],
  "tours": [Tour],
  "order": 123
}

RoundFilterInput

Fields
Input Field Description
tournament_id - Int
Example
{"tournament_id": 987}

RoundPaginator

Description

A paginated list of Round items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Round!]! A list of Round items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Round]
}

RoundType

Values
Enum Value Description

ROUND_ROBIN_ONE

Один круг

ROUND_ROBIN_TWO

Два круга

PLAYOFF

Плейофф

FREE

Свободный

ROUND_ROBIN_THREE

Три круга

ROUND_ROBIN_FOUR

Четыре круга
Example
"ROUND_ROBIN_ONE"

Season

Fields
Field Name Description
season_id - ID!
title - String!
start_dt - Date!
end_dt - Date
Example
{
  "season_id": 4,
  "title": "xyz789",
  "start_dt": "2007-12-03",
  "end_dt": "2007-12-03"
}

Shootout

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
player_id - Int!
number - Int
result - ShootoutResult!
player - Player!
Example
{
  "id": 4,
  "match_id": 123,
  "team_id": 987,
  "player_id": 987,
  "number": 987,
  "result": "RESULT_GOAL",
  "player": Player
}

ShootoutResult

Values
Enum Value Description

RESULT_GOAL

Забит

RESULT_MISS

Мимо

RESULT_GK

Вратарь
Example
"RESULT_GOAL"

SortOrder

Description

Directions for ordering a list of records.

Values
Enum Value Description

ASC

Sort records in ascending order.

DESC

Sort records in descending order.
Example
"ASC"

Stadium

Fields
Field Name Description
stadium_id - ID!
name - String!
address - String!
Example
{
  "stadium_id": 4,
  "name": "abc123",
  "address": "abc123"
}

Staff

Fields
Field Name Description
staff_id - ID!
first_name - String!
middle_name - String!
last_name - String!
position - String!
photo - String
Example
{
  "staff_id": 4,
  "first_name": "Josep",
  "middle_name": "Sala",
  "last_name": "Guardiola",
  "position": "Coach",
  "photo": "abc123"
}

StatsPlayer

Fields
Field Name Description
id - ID!
player_id - Int!
team_id - Int!
round_id - Int!
tournament_id - Int!
season_id - Int
games - Int
goals - Int
penalties - Int
ten_penalties - Int
assists - Int
points - Int Гол + пас
yellow_cards - Int
red_cards - Int
discipline - Int 3 * КК + ЖК
missed_goals - Int
gk_games - Int
gk_shootouts - Int
best_match_player - Int
best_team_player - Int
saltworts - Int
player - Player
team - Team
Example
{
  "id": 4,
  "player_id": 987,
  "team_id": 987,
  "round_id": 987,
  "tournament_id": 987,
  "season_id": 123,
  "games": 123,
  "goals": 987,
  "penalties": 123,
  "ten_penalties": 987,
  "assists": 123,
  "points": 987,
  "yellow_cards": 987,
  "red_cards": 123,
  "discipline": 123,
  "missed_goals": 123,
  "gk_games": 987,
  "gk_shootouts": 123,
  "best_match_player": 987,
  "best_team_player": 123,
  "saltworts": 123,
  "player": Player,
  "team": Team
}

StatsPlayerFilter

Fields
Input Field Description
player_id - Int
team_id - Int
round_id - Int
tournament_id - Int
season_id - Int
with - [StatsPlayerValueColumn!]
Example
{
  "player_id": 123,
  "team_id": 123,
  "round_id": 987,
  "tournament_id": 987,
  "season_id": 987,
  "with": ["GAMES"]
}

StatsPlayerGrouper

Values
Enum Value Description

TOURNAMENT

По турниру

ROUND

По этапу

SEASON

По сезону

PLAYER

По игроку
Example
"TOURNAMENT"

StatsPlayerPaginator

Description

A paginated list of StatsPlayer items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [StatsPlayer!]! A list of StatsPlayer items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [StatsPlayer]
}

StatsPlayerValueColumn

Values
Enum Value Description

GAMES

GOALS

PENALTIES

TEN_PENALTIES

ASSISTS

POINTS

YELLOW_CARDS

RED_CARDS

DISCIPLINE

MISSED_GOALS

GK_GAMES

GK_SHOOTOUTS

BEST_MATCH_PLAYER

BEST_TEAM_PLAYER

SALTWORTS

Example
"GAMES"

StatsTeam

Fields
Field Name Description
id - ID!
team_id - Int!
tournament_id - Int!
season_id - Int
games - Int
wins - Int
wins_ot - Int
wins_so - Int
draws - Int
losses - Int
losses_so - Int
losses_ot - Int
gf - Int
gf_penalty - Int
ga - Int
yellow_cards - Int
red_cards - Int
shootout - Int
tournaments - Int
team - Team
Example
{
  "id": "4",
  "team_id": 123,
  "tournament_id": 123,
  "season_id": 987,
  "games": 123,
  "wins": 987,
  "wins_ot": 987,
  "wins_so": 987,
  "draws": 123,
  "losses": 987,
  "losses_so": 123,
  "losses_ot": 987,
  "gf": 123,
  "gf_penalty": 987,
  "ga": 123,
  "yellow_cards": 987,
  "red_cards": 123,
  "shootout": 987,
  "tournaments": 987,
  "team": Team
}

StatsTeamFilter

Fields
Input Field Description
team_id - Int
tournament_id - Int
season_id - Int
Example
{"team_id": 987, "tournament_id": 987, "season_id": 123}

StatsTeamGrouper

Values
Enum Value Description

TOURNAMENT

По турниру

SEASON

По сезону

TEAM

По команде
Example
"TOURNAMENT"

StatsTeamPaginator

Description

A paginated list of StatsTeam items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [StatsTeam!]! A list of StatsTeam items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [StatsTeam]
}

StatsTeamValueColumn

Values
Enum Value Description

GAMES

WINS

WINS_OT

WINS_SO

DRAWS

LOSSES

LOSSES_SO

LOSSES_OT

GF

GF_PENALTY

GA

YELLOW_CARDS

RED_CARDS

SHOOTOUT

TOURNAMENTS

Example
"GAMES"

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"xyz789"

Substitution

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
player_in - Int!
player_in_number - Int
player_out - Int!
player_out_number - Int
minute - Int
second - Int
additional - Int
number - Int
playerIn - Player!
playerOut - Player!
Example
{
  "id": 4,
  "match_id": 123,
  "team_id": 123,
  "player_in": 987,
  "player_in_number": 123,
  "player_out": 123,
  "player_out_number": 987,
  "minute": 987,
  "second": 987,
  "additional": 123,
  "number": 987,
  "playerIn": Player,
  "playerOut": Player
}

TableCorrection

Fields
Field Name Description
team - Team!
value - Int!
comment - String
Example
{
  "team": Team,
  "value": 123,
  "comment": "xyz789"
}

TableRow

Fields
Field Name Description
team - Team!
games - Int!
points - Int!
wins - Int!
wins_ot - Int!
wins_so - Int!
draws - Int!
losses_so - Int!
losses_ot - Int!
losses - Int!
gf - Int!
ga - Int!
pf - Int!
pa - Int!
place - Int
pre_games - Int!
pre_points - Int!
pre_wins - Int!
pre_wins_ot - Int!
pre_wins_so - Int!
pre_draws - Int!
pre_losses_so - Int!
pre_losses_ot - Int!
pre_losses - Int!
pre_gf - Int!
pre_ga - Int!
pre_pf - Int!
pre_pa - Int!
pre_place - Int
total_games - Int!
total_points - Int!
total_wins - Int!
total_wins_ot - Int!
total_wins_so - Int!
total_draws - Int!
total_losses_so - Int!
total_losses_ot - Int!
total_losses - Int!
total_gf - Int!
total_ga - Int!
total_pf - Int!
total_pa - Int!
Example
{
  "team": Team,
  "games": 123,
  "points": 987,
  "wins": 987,
  "wins_ot": 123,
  "wins_so": 987,
  "draws": 987,
  "losses_so": 987,
  "losses_ot": 987,
  "losses": 123,
  "gf": 987,
  "ga": 123,
  "pf": 987,
  "pa": 987,
  "place": 987,
  "pre_games": 987,
  "pre_points": 123,
  "pre_wins": 123,
  "pre_wins_ot": 987,
  "pre_wins_so": 987,
  "pre_draws": 123,
  "pre_losses_so": 123,
  "pre_losses_ot": 987,
  "pre_losses": 987,
  "pre_gf": 123,
  "pre_ga": 123,
  "pre_pf": 123,
  "pre_pa": 987,
  "pre_place": 987,
  "total_games": 123,
  "total_points": 987,
  "total_wins": 123,
  "total_wins_ot": 123,
  "total_wins_so": 123,
  "total_draws": 987,
  "total_losses_so": 987,
  "total_losses_ot": 123,
  "total_losses": 987,
  "total_gf": 987,
  "total_ga": 123,
  "total_pf": 987,
  "total_pa": 987
}

Tag

Fields
Field Name Description
tag_id - ID!
name - String!
full_name - String!
module - String!
item_id - Int!
color - String!
frequency - Int!
lastPosts - PostPaginator!
Arguments
first - Int!

Limits number of fetched items. Maximum allowed value: 20.

page - Int

The offset from which items are returned.

lastVideos - VideoPaginator!
Arguments
first - Int!

Limits number of fetched items. Maximum allowed value: 20.

page - Int

The offset from which items are returned.

lastAlbums - AlbumPaginator!
Arguments
first - Int!

Limits number of fetched items. Maximum allowed value: 20.

page - Int

The offset from which items are returned.

Example
{
  "tag_id": 4,
  "name": "abc123",
  "full_name": "abc123",
  "module": "xyz789",
  "item_id": 987,
  "color": "xyz789",
  "frequency": 123,
  "lastPosts": PostPaginator,
  "lastVideos": VideoPaginator,
  "lastAlbums": AlbumPaginator
}

Team

Fields
Field Name Description
team_id - ID!
full_name - String!
short_name - String
application_name - String Available only in the tournament context
description - String
social_profile - String
site - String
logo - String
cover - String
main_form_color - String
spare_form_color - String
is_deleted - Boolean
is_archived - Boolean
application - TeamPlayer
players - [Player!]!
tag - Tag
cover_with_meta - Image
achievements - [TournamentTeamAchievement!]!
playerAchievements - [TournamentPlayerAchievement!]!
Example
{
  "team_id": "4",
  "full_name": "xyz789",
  "short_name": "abc123",
  "application_name": "xyz789",
  "description": "xyz789",
  "social_profile": "abc123",
  "site": "abc123",
  "logo": "abc123",
  "cover": "xyz789",
  "main_form_color": "abc123",
  "spare_form_color": "xyz789",
  "is_deleted": false,
  "is_archived": false,
  "application": TeamPlayer,
  "players": [Player],
  "tag": Tag,
  "cover_with_meta": Image,
  "achievements": [TournamentTeamAchievement],
  "playerAchievements": [TournamentPlayerAchievement]
}

TeamFilterInput

Fields
Input Field Description
season_id - Int
category_id - Int
is_deleted - Boolean
is_archived - Boolean
orderBy - [OrderByClause!]
Example
{
  "season_id": 987,
  "category_id": 123,
  "is_deleted": true,
  "is_archived": false,
  "orderBy": [OrderByClause]
}

TeamPaginator

Description

A paginated list of Team items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Team!]! A list of Team items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Team]
}

TeamPlayer

Fields
Field Name Description
team_id - Int!
player_id - Int!
status - String!
in - Date
out - Date
Example
{
  "team_id": 987,
  "player_id": 123,
  "status": "xyz789",
  "in": "2007-12-03",
  "out": "2007-12-03"
}

TeamPlayerStatus

Values
Enum Value Description

WAITING

На рассмотрении

ACCEPTED

В составе

REJECTED

Исключён

LEFT

Ушёл
Example
"WAITING"

Tour

Fields
Field Name Description
tour_id - ID!
tour_number - Int!
round_id - Int!
tree_id - Int
tree - Tree
Example
{
  "tour_id": 4,
  "tour_number": 123,
  "round_id": 123,
  "tree_id": 987,
  "tree": Tree
}

Tournament

Fields
Field Name Description
tournament_id - ID!
season_id - Int
parent_tournament_id - Int
is_parent - Boolean
full_name - String!
short_name - String!
description - String
cover - String
start_dt - Date!
end_dt - Date!
is_published - Boolean
type_id - Int
category_id - Int
type - Type
category - Category
cover_with_meta - Image
approved_applications_count - Int
order - Int
Example
{
  "tournament_id": "4",
  "season_id": 123,
  "parent_tournament_id": 987,
  "is_parent": true,
  "full_name": "xyz789",
  "short_name": "abc123",
  "description": "xyz789",
  "cover": "xyz789",
  "start_dt": "2007-12-03",
  "end_dt": "2007-12-03",
  "is_published": false,
  "type_id": 987,
  "category_id": 123,
  "type": Type,
  "category": Category,
  "cover_with_meta": Image,
  "approved_applications_count": 123,
  "order": 123
}

TournamentDetails

Fields
Field Name Description
tournament_id - ID!
parent_tournament_id - Int
is_parent - Boolean
full_name - String!
short_name - String!
description - String
cover - String
season_id - Int
type_id - Int
category_id - Int
start_dt - Date!
end_dt - Date!
app_start_dt - Date
app_end_dt - Date
players_max - Int
players_min - Int
match_pitch_max - Int
match_bench_max - Int
is_published - Boolean
in_schedule - Boolean
type - Type
category - Category
rounds - [Round!]!
applications - [Application!]!
approved_applications_count - Int
cover_with_meta - Image
order - Int
tag - Tag
teamAchievements - [TournamentTeamAchievement!]!
playerAchievements - [TournamentPlayerAchievement!]!
Example
{
  "tournament_id": 4,
  "parent_tournament_id": 987,
  "is_parent": true,
  "full_name": "xyz789",
  "short_name": "abc123",
  "description": "abc123",
  "cover": "xyz789",
  "season_id": 123,
  "type_id": 123,
  "category_id": 123,
  "start_dt": "2007-12-03",
  "end_dt": "2007-12-03",
  "app_start_dt": "2007-12-03",
  "app_end_dt": "2007-12-03",
  "players_max": 123,
  "players_min": 987,
  "match_pitch_max": 123,
  "match_bench_max": 987,
  "is_published": true,
  "in_schedule": true,
  "type": Type,
  "category": Category,
  "rounds": [Round],
  "applications": [Application],
  "approved_applications_count": 123,
  "cover_with_meta": Image,
  "order": 987,
  "tag": Tag,
  "teamAchievements": [TournamentTeamAchievement],
  "playerAchievements": [TournamentPlayerAchievement]
}

TournamentFilterInput

Fields
Input Field Description
season_id - Int
category_id - Int
exclude_parents - Boolean
Example
{"season_id": 123, "category_id": 987, "exclude_parents": true}

TournamentInfo

Fields
Field Name Description
tournament_id - ID!
season_id - Int
full_name - String!
short_name - String!
type_id - Int
order - Int
Example
{
  "tournament_id": 4,
  "season_id": 123,
  "full_name": "abc123",
  "short_name": "xyz789",
  "type_id": 987,
  "order": 123
}

TournamentPaginator

Description

A paginated list of Tournament items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Tournament!]! A list of Tournament items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Tournament]
}

TournamentPlayerAchievement

Fields
Field Name Description
id - Int!
tournament_id - Int!
team_id - Int!
player_id - Int!
achievement_id - Int!
tournament - Tournament!
team - Team!
player - Player!
achievement - PlayerAchievement!
Example
{
  "id": 123,
  "tournament_id": 123,
  "team_id": 987,
  "player_id": 987,
  "achievement_id": 123,
  "tournament": Tournament,
  "team": Team,
  "player": Player,
  "achievement": PlayerAchievement
}

TournamentTeamAchievement

Fields
Field Name Description
id - Int!
tournament_id - Int!
round_id - Int
team_id - Int!
position - Int!
tournament - Tournament!
round - Round
team - Team!
Example
{
  "id": 123,
  "tournament_id": 123,
  "round_id": 123,
  "team_id": 987,
  "position": 987,
  "tournament": Tournament,
  "round": Round,
  "team": Team
}

Translation

Fields
Field Name Description
match_id - ID!
gf - Int
ga - Int
gfp - Int
gap - Int
overtime - Boolean
technical - Boolean
is_transferred - Boolean
is_finished - Boolean
video_url - String
video_embed_url - String
events - [TranslationEvent!]!
Example
{
  "match_id": 4,
  "gf": 987,
  "ga": 123,
  "gfp": 987,
  "gap": 987,
  "overtime": false,
  "technical": true,
  "is_transferred": true,
  "is_finished": true,
  "video_url": "xyz789",
  "video_embed_url": "abc123",
  "events": [TranslationEvent]
}

TranslationEvent

Fields
Field Name Description
id - ID!
match_id - ID!
type - TranslationEventType! Тип события
team_id - Int
player1_id - Int
player2_id - Int
player3_id - Int
amount - Int Штрафные минуты. Используется только в хоккее.
player_text - String ФИО игрока текстом. Заполняется, если игрока нет в заявке по той или иной причине.
minute - Int
second - Int
additional - Int Дополнительное время
number - Int
comment - String
team - Team
player1 - Player
player2 - Player
Example
{
  "id": "4",
  "match_id": "4",
  "type": "COMMENT",
  "team_id": 987,
  "player1_id": 123,
  "player2_id": 123,
  "player3_id": 987,
  "amount": 123,
  "player_text": "abc123",
  "minute": 123,
  "second": 123,
  "additional": 987,
  "number": 987,
  "comment": "xyz789",
  "team": Team,
  "player1": Player,
  "player2": Player
}

TranslationEventType

Values
Enum Value Description

COMMENT

Комментарий

WHISTLE

Свисток

DANGER

Опасно

SUB

Замена игрока

YELLOW_CARD

Жёлтая карточка

RED_CARD

Красная карточка

GOAL

Гол

GOAL_STANDARD

Стандарт

AUTOGOAL

Автогол

PENALTY_GOAL

Пенальти/гол

PENALTY_MISS

Незабитый пенальти

PENALTY_MISS_GOALKEEPER

Незабитый пенальти/вратарь

PENALTY_MISS_MISS

Незабитый пенальти/промах

PENALTY_10_GOAL

10-метровый/гол

PENALTY_10_MISS

Незабитый 10-метровый

PENALTY_10_MISS_GOALKEEPER

Незабитый 10-метровый/вратарь

PENALTY_10_MISS_MISS

Незабитый 10-метровый/промах

SHOOTOUT_GOAL

Послематчевый пенальти/гол

SHOOTOUT_MISS

Послематчевый пенальти/промах

SHOOTOUT_GK

Послематчевый пенальти/вратарь

FOUL

Фол
Example
"COMMENT"

Tree

Fields
Field Name Description
tree_id - ID!
target - Int!
round_id - Int!
Example
{
  "tree_id": "4",
  "target": 987,
  "round_id": 987
}

Type

Fields
Field Name Description
title - String!
players_limit - Int!
Example
{"title": "xyz789", "players_limit": 987}

UnrealizedPenalty

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
player_id - Int!
minute - Int
second - Int
additional - Int
number - Int
type - PenaltyType!
fail_reason - PenaltyFailReason
player - Player!
Example
{
  "id": 4,
  "match_id": 987,
  "team_id": 987,
  "player_id": 987,
  "minute": 987,
  "second": 123,
  "additional": 987,
  "number": 123,
  "type": "GENERAL",
  "fail_reason": "GOALKEEPER",
  "player": Player
}

Video

Fields
Field Name Description
video_id - ID!
title - String!
description - String
author - String
url - String
embed_url - String
code - String
preview - String
on_main - Boolean
day_video - Boolean
is_public - Boolean No longer supported
published_dt - DateTime
tags - [Tag]!
preview_with_meta - Image
Example
{
  "video_id": 4,
  "title": "xyz789",
  "description": "xyz789",
  "author": "abc123",
  "url": "xyz789",
  "embed_url": "xyz789",
  "code": "xyz789",
  "preview": "xyz789",
  "on_main": true,
  "day_video": true,
  "is_public": false,
  "published_dt": "2007-12-03T10:15:30Z",
  "tags": [Tag],
  "preview_with_meta": Image
}

VideoFilterInput

Fields
Input Field Description
tag_ids - [Int!]
date_eq - Date
date_time_gt - DateTime
date_time_gte - DateTime
date_time_lt - DateTime
date_time_lte - DateTime
on_main - Boolean
day_video - Boolean
orderBy - [OrderByClause!] deprecated: use videos.sorters instead
Example
{
  "tag_ids": [987],
  "date_eq": "2007-12-03",
  "date_time_gt": "2007-12-03T10:15:30Z",
  "date_time_gte": "2007-12-03T10:15:30Z",
  "date_time_lt": "2007-12-03T10:15:30Z",
  "date_time_lte": "2007-12-03T10:15:30Z",
  "on_main": false,
  "day_video": true,
  "orderBy": [OrderByClause]
}

VideoPaginator

Description

A paginated list of Video items.

Fields
Field Name Description
paginatorInfo - PaginatorInfo! Pagination information about the list of items.
data - [Video!]! A list of Video items.
Example
{
  "paginatorInfo": PaginatorInfo,
  "data": [Video]
}

VideoValueColumn

Values
Enum Value Description

PUBLISHED_DT

Example
"PUBLISHED_DT"

YellowCard

Fields
Field Name Description
id - ID!
match_id - Int!
team_id - Int!
person_type - String!
person_id - Int!
minute - Int
second - Int
additional - Int
number - Int
reason - String
disqualification_id - Int
player_id - Int
player - PersonInterface!
person - PersonInterface!
Example
{
  "id": "4",
  "match_id": 987,
  "team_id": 123,
  "person_type": "xyz789",
  "person_id": 987,
  "minute": 123,
  "second": 987,
  "additional": 987,
  "number": 987,
  "reason": "abc123",
  "disqualification_id": 123,
  "player_id": 987,
  "player": PersonInterface,
  "person": PersonInterface
}