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
http://api.join.site/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
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
}

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": false,
  "is_public": false,
  "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": [123],
  "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,
  "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": "new", "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": "approved",
  "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": 987,
  "player_id": 987,
  "player": Player,
  "status": "draft",
  "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": true
}

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": 987,
  "team_id": 987,
  "staff_id": 987,
  "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.

Category

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

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": 987,
  "person_type": "PLAYER",
  "person_id": 123,
  "start_dt": "2007-12-03",
  "end_dt": "2007-12-03",
  "games": 123,
  "games_skipped": 123,
  "system_reason": "YELLOWS",
  "description": "xyz789",
  "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": 987,
  "team_id": 123,
  "person_type": "PLAYER",
  "person_id": 123,
  "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

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

Float

Description

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

Example
987.65

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

Description

Allowed column names for Frontend.calendar.sorters.

Values
Enum Value Description

START_DT

TOURNAMENT_ID

Example
"START_DT"

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": "START_DT", "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": 987,
  "player_id": 987,
  "assistant_id": 123,
  "minute": 123,
  "second": 987,
  "additional": 123,
  "number": 987,
  "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": 123,
  "tournament_id": 987,
  "tour_id": 987,
  "tour": Tour,
  "series_id": 123,
  "number": 123,
  "team1_id": 123,
  "team1": Team,
  "team2_id": 987,
  "team2": Team,
  "gf": 987,
  "ga": 987,
  "gfp": 123,
  "gap": 987,
  "overtime": false,
  "technical": true,
  "is_live": true,
  "is_festival": false,
  "stadium_id": 123,
  "start_dt": "2007-12-03T10:15:30Z",
  "timezone": "abc123",
  "preview": "abc123",
  "video_url": "abc123",
  "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!]!
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": 987,
  "tournament_id": 123,
  "tour_id": 987,
  "tour": Tour,
  "series_id": 987,
  "number": 987,
  "team1_id": 987,
  "team1": Team,
  "team2_id": 123,
  "team2": Team,
  "gf": 123,
  "ga": 123,
  "gfp": 123,
  "gap": 123,
  "overtime": false,
  "technical": true,
  "is_live": true,
  "is_festival": false,
  "stadium_id": 987,
  "start_dt": "2007-12-03T10:15:30Z",
  "timezone": "abc123",
  "preview": "xyz789",
  "video_url": "xyz789",
  "tournament": TournamentInfo,
  "stadium": Stadium,
  "players": [MatchPlayer],
  "referee": Referee,
  "referees": [MatchReferee],
  "substitutions": [Substitution],
  "staff": [MatchStaff],
  "protocol": Protocol,
  "stats1": MatchStats,
  "stats2": MatchStats,
  "goals": [Goal],
  "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
round_id - Int
team_id - Int
start_date - Date
start_date_range - DateRange
has_score - Boolean
tour_number - Int
Example
{
  "season_id": 987,
  "category_id": 123,
  "tournament_id": 987,
  "round_id": 123,
  "team_id": 123,
  "start_date": "2007-12-03",
  "start_date_range": DateRange,
  "has_score": true,
  "tour_number": 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": 987,
  "player_id": 987,
  "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": 987,
  "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": "abc123",
  "length": 987,
  "round_id": 987,
  "tournament_id": 987,
  "tour_id": 987,
  "tree_id": 123,
  "next_series_id": 987,
  "loose_series_id": 987,
  "left_series_id": 123,
  "right_series_id": 987,
  "team1_id": 987,
  "team2_id": 987,
  "games": 123,
  "score1": 123,
  "score2": 123,
  "goals1": 987,
  "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": 123,
  "status": "STATUS_START",
  "coach": false
}

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": 987,
  "possession": 987,
  "shoots_first_half": 123,
  "shoots_overall": 123,
  "shoots_target_first_half": 987,
  "shoots_target_overall": 987,
  "corners_first_half": 987,
  "corners_overall": 123,
  "postbar_first_half": 987,
  "postbar_overall": 123,
  "fouls_first_half": 123,
  "fouls_overall": 123,
  "offsides_overall": 123,
  "referee_mark": 123.45,
  "discipline_mark": 987.65,
  "attendance": 987
}

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": 123,
  "currentPage": 123,
  "firstItem": 987,
  "hasMorePages": true,
  "lastItem": 987,
  "lastPage": 987,
  "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": 123
}

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": "xyz789",
  "image_variations": "abc123",
  "description": "abc123",
  "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": "xyz789",
  "position_id": 123,
  "photo": "abc123",
  "application": TeamPlayer
}

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
Example
{
  "player_id": 4,
  "first_name": "Lionel",
  "middle_name": "Andres",
  "last_name": "Messi",
  "birthday": "1987-06-24",
  "birthplace": "Rosario",
  "vk_profile": "xyz789",
  "position_id": 987,
  "photo": "xyz789",
  "teams": [Team]
}

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": true,
  "on_main_slider": false,
  "is_public": false,
  "is_temp": true,
  "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": [123],
  "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,
  "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": 987,
  "start_dt": "2007-12-03T10:15:30Z",
  "break_duration": 123,
  "end_dt": "2007-12-03T10:15:30Z",
  "attendance": 987,
  "incidents": "xyz789",
  "traumatic_events": "abc123",
  "first_half_addition": 123,
  "second_half_addition": 123,
  "best_player_id": 987,
  "best_player_team_id": 123,
  "best_team1_player_id": 987,
  "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": 987,
  "team_id": 987,
  "person_type": "abc123",
  "person_id": 987,
  "minute": 123,
  "second": 123,
  "additional": 123,
  "number": 987,
  "second_yellow": false,
  "reason": "xyz789",
  "disqualification_id": 987,
  "player_id": 987,
  "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": "xyz789",
  "last_name": "xyz789",
  "birthday": "2007-12-03",
  "birthplace": "xyz789",
  "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": "abc123",
  "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": "abc123",
  "series_length": 987,
  "name": "abc123",
  "target": 987,
  "has_table": true,
  "tableRows": [TableRow],
  "tableCorrections": [TableCorrection],
  "teams": [Team],
  "calendar": [Match],
  "tours": [Tour],
  "order": 987
}

RoundFilterInput

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

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": 987,
  "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": 123,
  "team_id": 987,
  "round_id": 123,
  "tournament_id": 987,
  "season_id": 123,
  "games": 123,
  "goals": 123,
  "penalties": 123,
  "ten_penalties": 123,
  "assists": 987,
  "points": 123,
  "yellow_cards": 123,
  "red_cards": 987,
  "discipline": 987,
  "missed_goals": 123,
  "gk_games": 987,
  "gk_shootouts": 123,
  "best_match_player": 987,
  "best_team_player": 987,
  "saltworts": 987,
  "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": 987,
  "team_id": 123,
  "round_id": 123,
  "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": 987,
  "tournament_id": 987,
  "season_id": 987,
  "games": 987,
  "wins": 123,
  "wins_ot": 987,
  "wins_so": 123,
  "draws": 123,
  "losses": 987,
  "losses_so": 123,
  "losses_ot": 987,
  "gf": 987,
  "gf_penalty": 987,
  "ga": 123,
  "yellow_cards": 987,
  "red_cards": 123,
  "shootout": 123,
  "tournaments": 987,
  "team": Team
}

StatsTeamFilter

Fields
Input Field Description
team_id - Int
tournament_id - Int
season_id - Int
Example
{"team_id": 123, "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": 987,
  "team_id": 123,
  "player_in": 987,
  "player_in_number": 123,
  "player_out": 987,
  "player_out_number": 987,
  "minute": 987,
  "second": 987,
  "additional": 987,
  "number": 123,
  "playerIn": Player,
  "playerOut": Player
}

TableCorrection

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

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": 123,
  "wins": 123,
  "wins_ot": 987,
  "wins_so": 123,
  "draws": 987,
  "losses_so": 987,
  "losses_ot": 123,
  "losses": 987,
  "gf": 123,
  "ga": 123,
  "pf": 123,
  "pa": 123,
  "place": 987,
  "pre_games": 987,
  "pre_points": 123,
  "pre_wins": 123,
  "pre_wins_ot": 123,
  "pre_wins_so": 987,
  "pre_draws": 123,
  "pre_losses_so": 987,
  "pre_losses_ot": 123,
  "pre_losses": 123,
  "pre_gf": 987,
  "pre_ga": 123,
  "pre_pf": 123,
  "pre_pa": 987,
  "pre_place": 123,
  "total_games": 987,
  "total_points": 123,
  "total_wins": 123,
  "total_wins_ot": 123,
  "total_wins_so": 987,
  "total_draws": 123,
  "total_losses_so": 123,
  "total_losses_ot": 123,
  "total_losses": 123,
  "total_gf": 987,
  "total_ga": 987,
  "total_pf": 123,
  "total_pa": 123
}

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": "xyz789",
  "full_name": "abc123",
  "module": "abc123",
  "item_id": 123,
  "color": "abc123",
  "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
Example
{
  "team_id": 4,
  "full_name": "abc123",
  "short_name": "abc123",
  "application_name": "abc123",
  "description": "abc123",
  "social_profile": "abc123",
  "site": "abc123",
  "logo": "xyz789",
  "cover": "xyz789",
  "main_form_color": "xyz789",
  "spare_form_color": "xyz789",
  "is_deleted": false,
  "is_archived": false,
  "application": TeamPlayer,
  "players": [Player],
  "tag": Tag,
  "cover_with_meta": Image
}

TeamFilterInput

Fields
Input Field Description
season_id - Int
category_id - Int
is_deleted - Boolean
is_archived - Boolean
orderBy - [OrderByClause!]
Example
{
  "season_id": 123,
  "category_id": 987,
  "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": 123,
  "player_id": 987,
  "status": "abc123",
  "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": 987,
  "round_id": 123,
  "tree_id": 123,
  "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": 987,
  "parent_tournament_id": 987,
  "is_parent": false,
  "full_name": "xyz789",
  "short_name": "xyz789",
  "description": "xyz789",
  "cover": "abc123",
  "start_dt": "2007-12-03",
  "end_dt": "2007-12-03",
  "is_published": true,
  "type_id": 123,
  "category_id": 123,
  "type": Type,
  "category": Category,
  "cover_with_meta": Image,
  "approved_applications_count": 987,
  "order": 987
}

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
Example
{
  "tournament_id": 4,
  "parent_tournament_id": 987,
  "is_parent": true,
  "full_name": "abc123",
  "short_name": "xyz789",
  "description": "xyz789",
  "cover": "abc123",
  "season_id": 987,
  "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": 987,
  "players_min": 123,
  "match_pitch_max": 987,
  "match_bench_max": 123,
  "is_published": false,
  "in_schedule": true,
  "type": Type,
  "category": Category,
  "rounds": [Round],
  "applications": [Application],
  "approved_applications_count": 123,
  "cover_with_meta": Image,
  "order": 123,
  "tag": Tag
}

TournamentFilterInput

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

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": "xyz789",
  "short_name": "abc123",
  "type_id": 123,
  "order": 987
}

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]
}

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": 123,
  "ga": 123,
  "gfp": 987,
  "gap": 123,
  "overtime": false,
  "technical": true,
  "is_transferred": true,
  "is_finished": true,
  "video_url": "abc123",
  "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 Дополнительное время
comment - String
team - Team
player1 - Player
player2 - Player
Example
{
  "id": 4,
  "match_id": "4",
  "type": "COMMENT",
  "team_id": 123,
  "player1_id": 987,
  "player2_id": 987,
  "player3_id": 123,
  "amount": 123,
  "player_text": "abc123",
  "minute": 123,
  "second": 987,
  "additional": 123,
  "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": 123}

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": "abc123",
  "author": "xyz789",
  "url": "abc123",
  "embed_url": "abc123",
  "code": "xyz789",
  "preview": "abc123",
  "on_main": true,
  "day_video": true,
  "is_public": true,
  "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": true,
  "day_video": false,
  "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": "abc123",
  "person_id": 987,
  "minute": 123,
  "second": 123,
  "additional": 987,
  "number": 987,
  "reason": "abc123",
  "disqualification_id": 987,
  "player_id": 123,
  "player": PersonInterface,
  "person": PersonInterface
}