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 {
common {
...FrontendCommonFragment
}
football {
...FrontendFootballFragment
}
hockey {
...FrontendHockeyFragment
}
settings {
...SettingsFragment
}
about {
...AboutFragment
}
seasons {
...SeasonFragment
}
categories {
...CategoryFragment
}
stadiums {
...StadiumFragment
}
partners {
...PartnerFragment
}
banners {
...BannerFragment
}
team {
...TeamFragment
}
application {
...ApplicationDetailsFragment
}
round {
...RoundDetailsFragment
}
matchDays
translation {
...TranslationFragment
}
refereePositions {
...RefereePositionFragment
}
posts {
...PostPaginatorFragment
}
videos {
...VideoPaginatorFragment
}
albums {
...AlbumPaginatorFragment
}
teams {
...TeamPaginatorFragment
}
players {
...PlayerPaginatorFragment
}
tournaments {
...TournamentPaginatorFragment
}
rounds {
...RoundPaginatorFragment
}
calendar {
...MatchPaginatorFragment
}
stats {
...StatsPlayerPaginatorFragment
}
teamsStats {
...StatsTeamPaginatorFragment
}
referees {
...RefereePaginatorFragment
}
}
}
Response
{
"data": {
"frontend": {
"common": FrontendCommon,
"football": FrontendFootball,
"hockey": FrontendHockey,
"settings": Settings,
"about": About,
"seasons": [Season],
"categories": [Category],
"stadiums": [Stadium],
"partners": [Partner],
"banners": [Banner],
"team": Team,
"application": ApplicationDetails,
"round": RoundDetails,
"matchDays": ["2007-12-03"],
"translation": Translation,
"refereePositions": [RefereePosition],
"posts": PostPaginator,
"videos": VideoPaginator,
"albums": AlbumPaginator,
"teams": TeamPaginator,
"players": PlayerPaginator,
"tournaments": TournamentPaginator,
"rounds": RoundPaginator,
"calendar": MatchPaginator,
"stats": StatsPlayerPaginator,
"teamsStats": StatsTeamPaginator,
"referees": RefereePaginator
}
}
}
Types
About
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": "joinsport.io"
}
Album
Example
{
"album_id": 1,
"storage": "s3",
"title": "Barcelona - Real Madrid",
"author": "Unknown raccoon",
"cover_id": 1,
"cover": Photo,
"first_photo": Photo,
"source_url": "https://vk.com/album-123456",
"on_main": true,
"published_dt": "2024-09-01T10:00:00Z",
"tags": [Tag],
"photos": [Photo]
}
AlbumFilterInput
Example
{
"tag_ids": [1],
"date_eq": "2024-09-01",
"date_time_gt": "2024-09-01T00:00:00Z",
"date_time_gte": "2024-09-01T00:00:00Z",
"date_time_lt": "2024-12-31T23:59:59Z",
"date_time_lte": "2024-12-31T23:59:59Z",
"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 |
|---|---|
|
|
Example
"PUBLISHED_DT"
Application
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
Example
{
"tournament_id": 1,
"team_id": 1,
"player_id": 1,
"player": Player,
"status": "approved",
"application_dt": "2024-08-01T10:00:00Z",
"include_dt": "2024-09-01T10:00:00Z",
"exclude_dt": null,
"number": 10,
"position_id": 1,
"captain": false
}
ApplicationStaff
Example
{
"tournament_id": 1,
"team_id": 1,
"staff_id": 1,
"application_dt": "2024-08-01T10:00:00Z",
"include_dt": "2024-09-01T10:00:00Z",
"exclude_dt": null,
"status": "approved",
"position": "Coach",
"rank": 1,
"profile": Staff
}
AvailableService
Values
| Enum Value | Description |
|---|---|
|
|
Видеотрансляция |
|
|
VAR |
|
|
Комментатор |
Example
"STREAM"
Banner
BannerPosition
Values
| Enum Value | Description |
|---|---|
|
|
Турнир, Под протоколом матча |
|
|
Турнир, Таблицы. Под этапами |
Example
"MATCH_CONTENT"
Boolean
Description
The Boolean scalar type represents true or false.
Example
true
Category
CategoryFilterInput
Fields
| Input Field | Description |
|---|---|
category_id - Int
|
Example
{"category_id": 1}
Date
Description
A date string with format Y-m-d, e.g. 2011-05-23.
Example
"2007-12-03"
DateRange
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": 1,
"type": "CONDITIONAL",
"status": "DRAFT",
"season_id": 1,
"tournament_id": 1,
"team_id": 1,
"person_type": "PLAYER",
"person_id": 1,
"start_dt": "2024-09-01",
"end_dt": "2024-09-15",
"games": 3,
"games_skipped": 1,
"system_reason": "YELLOWS",
"description": "Accumulated yellow cards",
"author": "SYSTEM",
"tournament": Tournament,
"team": Team,
"person": PersonInterface
}
DisqualificationAuthor
Values
| Enum Value | Description |
|---|---|
|
|
Система |
|
|
Пользователь |
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": 1,
"tournament_id": 1,
"team_id": 1,
"person_type": "player",
"person_id": 1,
"type": "actual",
"status": "active",
"author": "system",
"system_reason": "yellows",
"match_id": 1
}
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 |
|---|---|
|
|
Желтые |
|
|
Красная |
Example
"YELLOWS"
DisqualificationStatus
Values
| Enum Value | Description |
|---|---|
|
|
Черновик |
|
|
Активна |
|
|
Завершена |
|
|
Отменена |
Example
"DRAFT"
DisqualificationType
Values
| Enum Value | Description |
|---|---|
|
|
Условная дисквалификация |
|
|
Фактическая дисквалификация |
|
|
Пожизненная дисквалификация |
|
|
Продолжительная дисквалификация |
Example
"CONDITIONAL"
Feature
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"GAME_LIVE"
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
8.5
FootballMatchDetails
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
|
|
pf - Int
|
|
pa - Int
|
|
overtime - Boolean
|
|
technical - Boolean
|
|
is_live - Boolean
|
|
is_festival - Boolean
|
|
stadium_id - Int
|
|
start_dt - DateTime
|
|
timezone - String
|
|
preview - String
|
|
video_url - String
|
No longer supported |
video - MatchVideo
|
|
available_services - [AvailableService!]!
|
|
tournament - TournamentInfo!
|
|
round - Round!
|
|
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!
|
|
Example
{
"match_id": 1,
"round_id": 1,
"tournament_id": 1,
"tour_id": 1,
"tour": Tour,
"series_id": null,
"number": 1,
"team1_id": 1,
"team1": Team,
"team2_id": 2,
"team2": Team,
"gf": 2,
"ga": 1,
"gfp": 0,
"gap": 0,
"pf": 0,
"pa": 0,
"overtime": false,
"technical": false,
"is_live": false,
"is_festival": false,
"stadium_id": 1,
"start_dt": "2024-09-01T15:00:00Z",
"timezone": "Europe/Moscow",
"preview": "An exciting derby match.",
"video_url": "https://youtube.com/watch?v=example",
"video": MatchVideo,
"available_services": ["STREAM"],
"tournament": TournamentInfo,
"round": Round,
"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
}
FootballPlayerDetails
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
|
|
achievements - [PersonalAchievement!]!
|
|
teamAchievements - [TournamentTeamAchievement!]!
|
|
Example
{
"player_id": 1,
"first_name": "Lionel",
"middle_name": "Andres",
"last_name": "Messi",
"birthday": "1987-06-24",
"birthplace": "Rosario",
"vk_profile": "https://vk.com/messi",
"position_id": 1,
"photo": "messi.jpg",
"teams": [Team],
"achievements": [PersonalAchievement],
"teamAchievements": [TournamentTeamAchievement]
}
FootballPlayerPosition
Values
| Enum Value | Description |
|---|---|
|
|
Вратарь |
|
|
Защитник |
|
|
Полузащитник |
|
|
Нападающий |
|
|
Универсал |
|
|
Правый защитник |
|
|
Правый центральный защитник |
|
|
Центральный защитник |
|
|
Левый центральный защитник |
|
|
Левый защитник |
|
|
Правый фланговый защитник |
|
|
Правый опорный полузащитник |
|
|
Центральный опорный полузащитник |
|
|
Левый опорный полузащитник |
|
|
Левый фланговый защитник |
|
|
Правый полузащитник |
|
|
Правый центральный полузащитник |
|
|
Центральный полузащитник |
|
|
Левый центральный полузащитник |
|
|
Левый полузащитник |
|
|
Правый фланговый полузащитник |
|
|
Правый инсайд |
|
|
Центральный атакующий полузащитник |
|
|
Левый инсайд |
|
|
Левый фланговый полузащитник |
|
|
Правый атакующий |
|
|
Правый оттянутый форвард |
|
|
Оттянутый форвард |
|
|
Левый оттянутый форвард |
|
|
Левый атакующий |
|
|
Правый центральный форвард |
|
|
Центральный форвард |
|
|
Левый центральный форвард |
Example
"GOALKEEPER"
FootballTournamentDetails
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
|
|
referees - [Referee!]
|
|
rounds - [Round!]!
|
|
applications - [Application!]!
|
|
approved_applications_count - Int
|
|
cover_with_meta - Image
|
|
order - Int
|
|
tag - Tag
|
|
teamAchievements - [TournamentTeamAchievement!]!
|
|
personalAchievements - [PersonalAchievement!]!
|
|
stats_gk_games_threshold - Int!
|
Минимальное количество игр для попадания в топ вратарей |
Example
{
"tournament_id": 1,
"parent_tournament_id": null,
"is_parent": false,
"full_name": "Premier League 2024/2025",
"short_name": "PL 2024/2025",
"description": "Top football league.",
"cover": "tournament-cover.jpg",
"season_id": 1,
"type_id": 1,
"category_id": 1,
"start_dt": "2024-09-01",
"end_dt": "2025-05-31",
"app_start_dt": "2024-08-01",
"app_end_dt": "2024-08-31",
"players_max": 25,
"players_min": 11,
"match_pitch_max": 11,
"match_bench_max": 7,
"is_published": true,
"in_schedule": true,
"type": Type,
"category": Category,
"referees": [Referee],
"rounds": [Round],
"applications": [Application],
"approved_applications_count": 8,
"cover_with_meta": Image,
"order": 1,
"tag": Tag,
"teamAchievements": [TournamentTeamAchievement],
"personalAchievements": [PersonalAchievement],
"stats_gk_games_threshold": 5
}
Frontend
Fields
| Field Name | Description |
|---|---|
common - FrontendCommon
|
|
football - FrontendFootball
|
|
hockey - FrontendHockey
|
|
settings - Settings!
|
|
about - About!
|
|
seasons - [Season!]!
|
|
categories - [Category!]!
|
|
Arguments
|
|
stadiums - [Stadium!]!
|
|
partners - [Partner!]!
|
|
banners - [Banner!]!
|
|
Arguments
|
|
team - Team
|
|
Arguments
|
|
application - ApplicationDetails
|
|
round - RoundDetails
|
|
Arguments
|
|
matchDays - [Date!]!
|
|
Arguments
|
|
translation - Translation
|
|
Arguments
|
|
refereePositions - [RefereePosition!]!
|
|
posts - PostPaginator!
|
|
Arguments
|
|
videos - VideoPaginator!
|
|
Arguments
|
|
albums - AlbumPaginator!
|
|
Arguments
|
|
teams - TeamPaginator!
|
|
Arguments
|
|
players - PlayerPaginator!
|
|
Arguments
|
|
tournaments - TournamentPaginator!
|
|
Arguments
|
|
rounds - RoundPaginator!
|
|
Arguments
|
|
calendar - MatchPaginator!
|
|
Arguments
|
|
stats - StatsPlayerPaginator!
|
|
Arguments
|
|
teamsStats - StatsTeamPaginator!
|
|
Arguments
|
|
referees - RefereePaginator!
|
|
Arguments
|
|
Example
{
"common": FrontendCommon,
"football": FrontendFootball,
"hockey": FrontendHockey,
"settings": Settings,
"about": About,
"seasons": [Season],
"categories": [Category],
"stadiums": [Stadium],
"partners": [Partner],
"banners": [Banner],
"team": Team,
"application": ApplicationDetails,
"round": RoundDetails,
"matchDays": ["2007-12-03"],
"translation": Translation,
"refereePositions": [RefereePosition],
"posts": PostPaginator,
"videos": VideoPaginator,
"albums": AlbumPaginator,
"teams": TeamPaginator,
"players": PlayerPaginator,
"tournaments": TournamentPaginator,
"rounds": RoundPaginator,
"calendar": MatchPaginator,
"stats": StatsPlayerPaginator,
"teamsStats": StatsTeamPaginator,
"referees": RefereePaginator
}
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 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"}
FrontendCommon
Fields
| Field Name | Description |
|---|---|
match - MatchDetailsInterface
|
|
Arguments
|
|
tournament - TournamentDetailsInterface
|
|
Arguments
|
|
player - PlayerDetailsInterface
|
|
Arguments
|
|
personalAchievements - PersonalAchievementPaginator!
|
|
Arguments
|
|
Example
{
"match": MatchDetailsInterface,
"tournament": TournamentDetailsInterface,
"player": PlayerDetailsInterface,
"personalAchievements": PersonalAchievementPaginator
}
FrontendFootball
Fields
| Field Name | Description |
|---|---|
match - FootballMatchDetails
|
|
Arguments
|
|
tournament - FootballTournamentDetails
|
|
Arguments
|
|
player - FootballPlayerDetails
|
|
Arguments
|
|
disqualifications - DisqualificationPaginator!
|
|
Arguments
|
|
Example
{
"match": FootballMatchDetails,
"tournament": FootballTournamentDetails,
"player": FootballPlayerDetails,
"disqualifications": DisqualificationPaginator
}
FrontendHockey
Fields
| Field Name | Description |
|---|---|
match - HockeyMatchDetails
|
|
Arguments
|
|
tournament - HockeyTournamentDetails
|
|
Arguments
|
|
player - HockeyPlayerDetails
|
|
Arguments
|
|
penaltyReasons - [HdbkHockeyPenaltyReason!]!
|
|
skills - [HockeyHdbkSkill!]!
|
|
stats - HockeyStatsPlayerPaginator!
|
|
Arguments
|
|
teamsStats - HockeyStatsTeamPaginator!
|
|
Arguments
|
|
Example
{
"match": HockeyMatchDetails,
"tournament": HockeyTournamentDetails,
"player": HockeyPlayerDetails,
"penaltyReasons": [HdbkHockeyPenaltyReason],
"skills": [HockeyHdbkSkill],
"stats": HockeyStatsPlayerPaginator,
"teamsStats": HockeyStatsTeamPaginator
}
FrontendHockeyStatsSortersOrderByClause
Description
Order by clause for FrontendHockey.stats.sorters.
Fields
| Input Field | Description |
|---|---|
column - HockeyStatsPlayerValueColumn!
|
The column that is used for ordering. |
order - SortOrder!
|
The direction that is used for ordering. |
Example
{"column": "GAMES", "order": "ASC"}
FrontendHockeyTeamsStatsSortersOrderByClause
Description
Order by clause for FrontendHockey.teamsStats.sorters.
Fields
| Input Field | Description |
|---|---|
column - HockeyStatsTeamValueColumn!
|
The column that is used for ordering. |
order - SortOrder!
|
The direction that is used for ordering. |
Example
{"column": "GAMES", "order": "ASC"}
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 |
|---|---|
|
|
|
|
|
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 |
|---|---|
|
|
|
|
|
|
|
|
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
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"assistant_id": 2,
"minute": 23,
"second": 15,
"additional": 0,
"number": 1,
"situation": 1,
"player": Player,
"assistant": Player
}
GoalMissed
GoalSituation
Values
| Enum Value | Description |
|---|---|
|
|
С игры |
|
|
С пенальти |
|
|
Автогол |
|
|
10-метровый |
|
|
Со стандарта |
Example
"SITUATION_GAME"
HdbkHockeyPenaltyReason
HockeyGoal
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"first_assistant_id": 2,
"second_assistant_id": null,
"minute": 23,
"second": 15,
"situation": "event-strength",
"player": Player,
"firstAssistant": Player,
"secondAssistant": Player
}
HockeyGoalSituation
Values
| Enum Value | Description |
|---|---|
|
|
В равных составах |
|
|
В большинстве |
|
|
В двойном большинстве |
|
|
В меньшинстве |
|
|
В двойном меньшинстве |
|
|
В пустые ворота |
|
|
Буллит (засчитанный) |
|
|
Победный буллит |
|
|
Нереализованный буллит |
Example
"EVENT_STRENGTH"
HockeyHdbkSkill
HockeyMatchDetails
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
|
|
pf - Int
|
|
pa - Int
|
|
overtime - Boolean
|
|
technical - Boolean
|
|
is_live - Boolean
|
|
is_festival - Boolean
|
|
stadium_id - Int
|
|
start_dt - DateTime
|
|
timezone - String
|
|
preview - String
|
|
video_url - String
|
No longer supported |
video - MatchVideo
|
|
available_services - [AvailableService!]!
|
|
tournament - TournamentInfo!
|
|
round - Round!
|
|
stadium - Stadium
|
|
referee - Referee
|
|
referees - [MatchReferee!]!
|
|
staff - [MatchStaff!]!
|
|
series - MatchSeries
|
|
players - [HockeyMatchPlayer!]!
|
|
goalkeepers - [HockeyMatchGoalkeeper!]!
|
|
goals - [HockeyGoal!]!
|
|
penalties - [HockeyPenalty!]!
|
|
shootouts - [HockeyShootout!]!
|
|
timeouts - [HockeyMatchTimeout!]!
|
|
periods - [MatchPeriod!]!
|
|
stats1 - HockeyMatchStats
|
|
stats2 - HockeyMatchStats
|
|
protocol - Protocol
|
|
translation - HockeyTranslation
|
|
lastPosts - PostPaginator!
|
|
lastVideos - VideoPaginator!
|
|
lastAlbums - AlbumPaginator!
|
|
Example
{
"match_id": 1,
"round_id": 1,
"tournament_id": 1,
"tour_id": 1,
"tour": Tour,
"series_id": null,
"number": 1,
"team1_id": 1,
"team1": Team,
"team2_id": 2,
"team2": Team,
"gf": 3,
"ga": 2,
"gfp": 0,
"gap": 0,
"pf": 0,
"pa": 0,
"overtime": false,
"technical": false,
"is_live": false,
"is_festival": false,
"stadium_id": 1,
"start_dt": "2024-09-01T15:00:00Z",
"timezone": "Europe/Moscow",
"preview": "An exciting derby match.",
"video_url": "https://youtube.com/watch?v=example",
"video": MatchVideo,
"available_services": ["STREAM"],
"tournament": TournamentInfo,
"round": Round,
"stadium": Stadium,
"referee": Referee,
"referees": [MatchReferee],
"staff": [MatchStaff],
"series": MatchSeries,
"players": [HockeyMatchPlayer],
"goalkeepers": [HockeyMatchGoalkeeper],
"goals": [HockeyGoal],
"penalties": [HockeyPenalty],
"shootouts": [HockeyShootout],
"timeouts": [HockeyMatchTimeout],
"periods": [MatchPeriod],
"stats1": HockeyMatchStats,
"stats2": HockeyMatchStats,
"protocol": Protocol,
"translation": HockeyTranslation,
"lastPosts": PostPaginator,
"lastVideos": VideoPaginator,
"lastAlbums": AlbumPaginator
}
HockeyMatchGoalkeeper
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"in_minute": 0,
"in_second": 0,
"out_minute": 60,
"out_second": 0,
"missed": 2,
"saves": 24,
"shots": 26,
"seconds": 3600,
"player": Player
}
HockeyMatchPlayer
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"number": 10,
"captain": false,
"assistant_f": false,
"assistant_s": false,
"plus_minus": 1,
"shots": 3,
"faceoffs_won": 5,
"faceoffs_lost": 4,
"blocks": 1,
"player": Player
}
HockeyMatchStats
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"shoots_first_period": 10,
"shoots_second_period": 12,
"shoots_third_period": 9,
"shoots_overall": 31,
"shoots_blocked_overall": 8,
"offsides_overall": 2,
"referee_mark": 8.5,
"discipline_mark": 7
}
HockeyMatchTimeout
HockeyPenalty
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"minute": 12,
"second": 30,
"minute_end": 14,
"second_end": 30,
"amount": 2,
"reason": "Задержка игрока",
"disqualification_id": null,
"player": Player
}
HockeyPlayerDetails
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
|
|
achievements - [PersonalAchievement!]!
|
|
teamAchievements - [TournamentTeamAchievement!]!
|
|
hockey_info - HockeyPlayerInfo
|
|
Example
{
"player_id": 1,
"first_name": "Alexander",
"middle_name": "Mikhailovich",
"last_name": "Ovechkin",
"birthday": "1985-09-17",
"birthplace": "Moscow",
"vk_profile": "https://vk.com/ovechkin",
"position_id": 1,
"photo": "ovechkin.jpg",
"teams": [Team],
"achievements": [PersonalAchievement],
"teamAchievements": [TournamentTeamAchievement],
"hockey_info": HockeyPlayerInfo
}
HockeyPlayerInfo
HockeyShootout
HockeyShootoutResult
Values
| Enum Value | Description |
|---|---|
|
|
Гол |
|
|
Мимо |
|
|
Отбил вратарь |
Example
"GOAL"
HockeyStatsPlayer
Fields
| Field Name | Description |
|---|---|
player_id - ID!
|
|
team_id - ID!
|
|
round_id - ID
|
|
tournament_id - ID
|
|
season_id - ID
|
|
games - Int
|
|
goals - Int
|
|
assists - Int
|
|
plus_minus - Int
|
|
shots - Int
|
|
faceoffs_won - Int
|
|
faceoffs_lost - Int
|
|
blocks - Int
|
|
penalties - Int
|
|
shootouts - Int
|
|
gk_games - Int
|
|
gk_seconds - Int
|
|
gk_missed - Int
|
|
gk_saves - Int
|
|
gk_shots - Int
|
|
gk_shootouts - Int
|
|
player - Player!
|
|
team - Team
|
Example
{
"player_id": 1,
"team_id": 1,
"round_id": 1,
"tournament_id": 1,
"season_id": 1,
"games": 10,
"goals": 8,
"assists": 5,
"plus_minus": 3,
"shots": 35,
"faceoffs_won": 20,
"faceoffs_lost": 15,
"blocks": 5,
"penalties": 4,
"shootouts": 2,
"gk_games": 0,
"gk_seconds": 0,
"gk_missed": 0,
"gk_saves": 0,
"gk_shots": 0,
"gk_shootouts": 0,
"player": Player,
"team": Team
}
HockeyStatsPlayerFilter
HockeyStatsPlayerGrouper
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"TOURNAMENT"
HockeyStatsPlayerPaginator
Description
A paginated list of HockeyStatsPlayer items.
Fields
| Field Name | Description |
|---|---|
paginatorInfo - PaginatorInfo!
|
Pagination information about the list of items. |
data - [HockeyStatsPlayer!]!
|
A list of HockeyStatsPlayer items. |
Example
{
"paginatorInfo": PaginatorInfo,
"data": [HockeyStatsPlayer]
}
HockeyStatsPlayerValueColumn
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"GAMES"
HockeyStatsTeam
Example
{
"team_id": 1,
"tournament_id": 1,
"season_id": 1,
"games": 10,
"wins": 6,
"wins_ot": 1,
"wins_so": 0,
"draws": 1,
"losses_ot": 1,
"losses_so": 0,
"losses": 1,
"gf": 32,
"ga": 20,
"penalties": 18,
"team": Team
}
HockeyStatsTeamFilter
HockeyStatsTeamGrouper
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"TOURNAMENT"
HockeyStatsTeamPaginator
Description
A paginated list of HockeyStatsTeam items.
Fields
| Field Name | Description |
|---|---|
paginatorInfo - PaginatorInfo!
|
Pagination information about the list of items. |
data - [HockeyStatsTeam!]!
|
A list of HockeyStatsTeam items. |
Example
{
"paginatorInfo": PaginatorInfo,
"data": [HockeyStatsTeam]
}
HockeyStatsTeamValueColumn
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"GAMES"
HockeyTournamentDetails
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
|
|
referees - [Referee!]
|
|
rounds - [Round!]!
|
|
applications - [Application!]!
|
|
approved_applications_count - Int
|
|
cover_with_meta - Image
|
|
order - Int
|
|
tag - Tag
|
|
teamAchievements - [TournamentTeamAchievement!]!
|
|
personalAchievements - [PersonalAchievement!]!
|
|
stats_gk_games_threshold - Int!
|
Минимальное количество игр для попадания в топ вратарей |
hockey_regulations - HockeyTournamentRegulations
|
Example
{
"tournament_id": 1,
"parent_tournament_id": null,
"is_parent": false,
"full_name": "Hockey League 2024/2025",
"short_name": "HL 2024/2025",
"description": "Top hockey league.",
"cover": "tournament-cover.jpg",
"season_id": 1,
"type_id": 1,
"category_id": 1,
"start_dt": "2024-09-01",
"end_dt": "2025-05-31",
"app_start_dt": "2024-08-01",
"app_end_dt": "2024-08-31",
"players_max": 25,
"players_min": 6,
"match_pitch_max": 6,
"match_bench_max": 8,
"is_published": true,
"in_schedule": true,
"type": Type,
"category": Category,
"referees": [Referee],
"rounds": [Round],
"applications": [Application],
"approved_applications_count": 8,
"cover_with_meta": Image,
"order": 1,
"tag": Tag,
"teamAchievements": [TournamentTeamAchievement],
"personalAchievements": [PersonalAchievement],
"stats_gk_games_threshold": 5,
"hockey_regulations": HockeyTournamentRegulations
}
HockeyTournamentRegulations
Fields
| Field Name | Description |
|---|---|
tournament_id - ID!
|
|
points_win - Int!
|
|
points_win_ot - Int!
|
|
points_win_so - Int!
|
|
points_draw - Int!
|
|
points_defeat - Int!
|
|
points_defeat_ot - Int!
|
|
points_defeat_so - Int!
|
|
technical_goals - Int
|
|
disqualifications_enabled - Boolean
|
|
punishment_limit - Int
|
|
punishment_penalty - Int
|
Example
{
"tournament_id": 1,
"points_win": 3,
"points_win_ot": 2,
"points_win_so": 2,
"points_draw": 1,
"points_defeat": 0,
"points_defeat_ot": 1,
"points_defeat_so": 1,
"technical_goals": 5,
"disqualifications_enabled": true,
"punishment_limit": 3,
"punishment_penalty": 1
}
HockeyTranslation
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
|
No longer supported |
video_embed_url - String
|
No longer supported |
video - MatchVideo
|
|
events - [HockeyTranslationEvent!]!
|
Example
{
"match_id": 1,
"gf": 3,
"ga": 2,
"gfp": 0,
"gap": 0,
"overtime": false,
"technical": false,
"is_transferred": false,
"is_finished": true,
"video_url": "https://youtube.com/watch?v=example",
"video_embed_url": "https://youtube.com/embed/example",
"video": MatchVideo,
"events": [HockeyTranslationEvent]
}
HockeyTranslationEvent
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
match_id - ID!
|
|
type - HockeyTranslationEventType!
|
|
team_id - Int
|
|
player1_id - Int
|
|
player2_id - Int
|
|
player3_id - Int
|
|
amount - Int
|
Штрафные минуты |
player_text - String
|
|
minute - Int
|
|
second - Int
|
|
number - Int
|
|
comment - String
|
|
team - Team
|
|
player1 - Player
|
|
player2 - Player
|
Example
{
"id": 1,
"match_id": 1,
"type": "goal",
"team_id": 1,
"player1_id": 1,
"player2_id": 2,
"player3_id": null,
"amount": null,
"player_text": null,
"minute": 23,
"second": 15,
"number": 1,
"comment": null,
"team": Team,
"player1": Player,
"player2": Player
}
HockeyTranslationEventType
Values
| Enum Value | Description |
|---|---|
|
|
Комментарий |
|
|
Свисток |
|
|
Опасно |
|
|
Гол |
|
|
Штраф |
|
|
Буллит/гол |
|
|
Буллит/мимо |
|
|
Буллит/вратарь |
Example
"COMMENT"
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
"1"
Image
Fields
| Field Name | Description |
|---|---|
name - String!
|
|
urlTemplate - String!
|
|
sizes - [ImageSize!]!
|
Example
{
"name": "59ea2ecacb528.jpg",
"urlTemplate": "team/{team_id}/cover",
"sizes": [ImageSize]
}
ImageSize
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
1
KitColor
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
|
|
pf - Int
|
|
pa - Int
|
|
overtime - Boolean
|
|
technical - Boolean
|
|
is_live - Boolean
|
|
is_festival - Boolean
|
|
home_kit_colors - KitColor
|
|
away_kit_colors - KitColor
|
|
stadium_id - Int
|
|
start_dt - DateTime
|
|
timezone - String
|
|
preview - String
|
|
video_url - String
|
No longer supported |
video - MatchVideo
|
|
available_services - [AvailableService!]!
|
|
tournament - TournamentInfo!
|
|
stadium - Stadium
|
|
referee - Referee
|
Example
{
"match_id": 1,
"round_id": 1,
"tournament_id": 1,
"tour_id": 1,
"tour": Tour,
"series_id": null,
"number": 1,
"team1_id": 1,
"team1": Team,
"team2_id": 2,
"team2": Team,
"gf": 2,
"ga": 1,
"gfp": 0,
"gap": 0,
"pf": 0,
"pa": 0,
"overtime": false,
"technical": false,
"is_live": false,
"is_festival": false,
"home_kit_colors": KitColor,
"away_kit_colors": KitColor,
"stadium_id": 1,
"start_dt": "2024-09-01T15:00:00Z",
"timezone": "Europe/Moscow",
"preview": "An exciting derby match.",
"video_url": "https://youtube.com/watch?v=example",
"video": MatchVideo,
"available_services": ["STREAM"],
"tournament": TournamentInfo,
"stadium": Stadium,
"referee": Referee
}
MatchDetailsInterface
Fields
| Field Name | Description |
|---|---|
match_id - ID!
|
|
round_id - Int!
|
|
tournament_id - Int!
|
|
tour_id - Int
|
|
series_id - Int
|
|
number - Int
|
|
team1_id - Int
|
|
team2_id - Int
|
|
gf - Int
|
|
ga - Int
|
|
gfp - Int
|
|
gap - Int
|
|
pf - Int
|
|
pa - Int
|
|
overtime - Boolean
|
|
technical - Boolean
|
|
is_live - Boolean
|
|
is_festival - Boolean
|
|
stadium_id - Int
|
|
start_dt - DateTime
|
|
timezone - String
|
|
preview - String
|
|
video_url - String
|
No longer supported |
video - MatchVideo
|
Possible Types
| MatchDetailsInterface Types |
|---|
Example
{
"match_id": 1,
"round_id": 1,
"tournament_id": 1,
"tour_id": 1,
"series_id": null,
"number": 1,
"team1_id": 1,
"team2_id": 2,
"gf": 2,
"ga": 1,
"gfp": 0,
"gap": 0,
"pf": 0,
"pa": 0,
"overtime": false,
"technical": false,
"is_live": false,
"is_festival": false,
"stadium_id": 1,
"start_dt": "2024-09-01T15:00:00Z",
"timezone": "Europe/Moscow",
"preview": "An exciting derby match.",
"video_url": "https://youtube.com/watch?v=example",
"video": MatchVideo
}
MatchFilter
Example
{
"season_id": 1,
"category_id": 1,
"tournament_id": 1,
"tournaments_ids": [1],
"round_id": 1,
"team_id": 1,
"teams_ids": [1],
"start_date": "2024-09-01",
"start_date_range": DateRange,
"has_score": true,
"tour_number": 1,
"referee_id": 1
}
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]
}
MatchPeriod
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": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"number": 10,
"position": "forward",
"status": 0,
"goalkeeper": false,
"captain": false,
"player": Player
}
MatchPlayerStatus
Values
| Enum Value | Description |
|---|---|
|
|
Основа |
|
|
Запас |
Example
"STATUS_START"
MatchReferee
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": 1,
"type": "best_of",
"length": 3,
"round_id": 1,
"tournament_id": 1,
"tour_id": 1,
"tree_id": 1,
"next_series_id": null,
"loose_series_id": null,
"left_series_id": null,
"right_series_id": null,
"team1_id": 1,
"team2_id": 2,
"games": 2,
"score1": 2,
"score2": 0,
"goals1": 5,
"goals2": 2
}
MatchStaff
MatchStaffStatus
Values
| Enum Value | Description |
|---|---|
|
|
Основа |
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": 1,
"match_id": 1,
"team_id": 1,
"goals_first_half": 1,
"possession": 55,
"shoots_first_half": 5,
"shoots_overall": 12,
"shoots_target_first_half": 3,
"shoots_target_overall": 6,
"corners_first_half": 2,
"corners_overall": 5,
"postbar_first_half": 0,
"postbar_overall": 1,
"fouls_first_half": 4,
"fouls_overall": 10,
"offsides_overall": 2,
"referee_mark": 8.5,
"discipline_mark": 7,
"attendance": 15000
}
MatchVideo
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": "last_name", "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": 10,
"currentPage": 1,
"firstItem": 1,
"hasMorePages": false,
"lastItem": 10,
"lastPage": 1,
"perPage": 10,
"total": 10
}
Partner
PenaltyFailReason
Values
| Enum Value | Description |
|---|---|
|
|
Вратарь |
|
|
Промах |
Example
"GOALKEEPER"
PenaltyType
Values
| Enum Value | Description |
|---|---|
|
|
Пенальти |
|
|
10-метровый |
Example
"GENERAL"
PersonApplicationStatus
Values
| Enum Value | Description |
|---|---|
|
|
Черновик |
|
|
Новая |
|
|
Отклонена |
|
|
Утверждена |
|
|
Исключена |
Example
"DRAFT"
PersonInterface
Possible Types
| PersonInterface Types |
|---|
Example
{"first_name": "Lionel", "middle_name": "Andres", "last_name": "Messi"}
PersonType
Values
| Enum Value | Description |
|---|---|
|
|
Игрок |
|
|
Сотрудник |
Example
"PLAYER"
PersonalAchievement
Fields
| Field Name | Description |
|---|---|
id - Int!
|
|
tournament_id - Int!
|
|
team_id - Int!
|
|
person_type - PersonType!
|
|
person_id - Int!
|
|
player_id - Int
|
|
player - Player
|
|
staff_id - Int
|
|
staff - Staff
|
|
achievement_id - Int!
|
|
tournament - Tournament!
|
|
team - Team!
|
|
person - PersonInterface!
|
|
achievement - PersonalAchievementKind!
|
Example
{
"id": 1,
"tournament_id": 1,
"team_id": 1,
"person_type": "PLAYER",
"person_id": 1,
"player_id": 1,
"player": Player,
"staff_id": 1,
"staff": Staff,
"achievement_id": 1,
"tournament": Tournament,
"team": Team,
"person": PersonInterface,
"achievement": PersonalAchievementKind
}
PersonalAchievementFilter
Fields
| Input Field | Description |
|---|---|
tournament_id - Int
|
|
team_id - Int
|
|
person_type - PersonType
|
|
person_id - Int
|
|
achievement_id - Int
|
Example
{
"tournament_id": 1,
"team_id": 1,
"person_type": "PLAYER",
"person_id": 1,
"achievement_id": 1
}
PersonalAchievementKind
Fields
| Field Name | Description |
|---|---|
achievement_id - ID!
|
|
sport_kind - String!
|
|
person_type - PersonType!
|
|
title - String!
|
|
icon - String!
|
Example
{
"achievement_id": "1",
"sport_kind": "abc",
"person_type": "PLAYER",
"title": "abc",
"icon": "abc"
}
PersonalAchievementPaginator
Description
A paginated list of PersonalAchievement items.
Fields
| Field Name | Description |
|---|---|
paginatorInfo - PaginatorInfo!
|
Pagination information about the list of items. |
data - [PersonalAchievement!]!
|
A list of PersonalAchievement items. |
Example
{
"paginatorInfo": PaginatorInfo,
"data": [PersonalAchievement]
}
PersonalDataBirthday
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FULL"
PersonalDataName
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"FULL"
PersonalDataPhoto
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"PHOTO"
PersonalDataSettings
Fields
| Field Name | Description |
|---|---|
name - PersonalDataName!
|
|
photo - PersonalDataPhoto!
|
|
birthday - PersonalDataBirthday!
|
Example
{"name": "FULL", "photo": "PHOTO", "birthday": "FULL"}
Photo
Example
{
"photo_id": 1,
"album_id": 1,
"storage": "s3",
"image": "59ea2ecacb528.jpg",
"image_variations": "{\"75\": \"https://vk.com/photo.jpg\"}",
"description": "Goal celebration",
"source_id": 1,
"published_dt": "2024-09-01T10:00:00Z",
"image_with_meta": Image
}
Player
Example
{
"player_id": 1,
"first_name": "Lionel",
"middle_name": "Andres",
"last_name": "Messi",
"birthday": "1987-06-24",
"birthplace": "Rosario",
"vk_profile": "https://vk.com/messi",
"position_id": 1,
"photo": "messi.jpg",
"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
|
|
achievements - [PersonalAchievement!]!
|
|
teamAchievements - [TournamentTeamAchievement!]!
|
|
Example
{
"player_id": 1,
"first_name": "Lionel",
"middle_name": "Andres",
"last_name": "Messi",
"birthday": "1987-06-24",
"birthplace": "Rosario",
"vk_profile": "https://vk.com/messi",
"position_id": 1,
"photo": "messi.jpg",
"teams": [Team],
"achievements": [PersonalAchievement],
"teamAchievements": [TournamentTeamAchievement]
}
PlayerDetailsInterface
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
|
Possible Types
| PlayerDetailsInterface Types |
|---|
Example
{
"player_id": 1,
"first_name": "Lionel",
"middle_name": "Andres",
"last_name": "Messi",
"birthday": "1987-06-24",
"birthplace": "Rosario",
"vk_profile": "https://vk.com/messi",
"position_id": 1,
"photo": "messi.jpg"
}
PlayerFilterInput
Fields
| Input Field | Description |
|---|---|
orderBy - [OrderByClause!]
|
Example
{"orderBy": [{"column": "last_name", "order": "ASC"}]}
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
Example
{
"post_id": 1,
"title": "Match Report: Barcelona 2-1 Real Madrid",
"lead": "An exciting clash at Camp Nou.",
"text": "Full match report text here.",
"image": "59ea2ecacb528.jpg",
"author": "John Smith",
"on_main": true,
"on_parent": false,
"on_main_slider": false,
"published_dt": "2024-09-01T10:00:00Z",
"tags": [Tag],
"image_with_meta": Image
}
PostFilterInput
Example
{
"tag_ids": [1],
"date_eq": "2024-09-01",
"date_time_gt": "2024-09-01T00:00:00Z",
"date_time_gte": "2024-09-01T00:00:00Z",
"date_time_lt": "2024-12-31T23:59:59Z",
"date_time_lte": "2024-12-31T23:59:59Z",
"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 |
|---|---|
|
|
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": 1,
"match_id": 1,
"start_dt": "2024-09-01T15:00:00Z",
"break_duration": 15,
"end_dt": "2024-09-01T16:50:00Z",
"attendance": 15000,
"incidents": null,
"traumatic_events": null,
"first_half_addition": 2,
"second_half_addition": 3,
"best_player_id": 1,
"best_player_team_id": 1,
"best_team1_player_id": 1,
"best_team2_player_id": 2,
"form_color_home": "#004D98",
"form_color_away": "#FFFFFF",
"bestPlayer": Player,
"bestPlayerTeam": Player,
"bestTeam1Player": Player,
"bestTeam2Player": Player
}
RedCard
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"person_type": "player",
"person_id": 1,
"minute": 78,
"second": 0,
"additional": 0,
"number": 1,
"second_yellow": true,
"reason": "Violent conduct",
"disqualification_id": null,
"player_id": 1,
"player": PersonInterface,
"person": PersonInterface
}
Referee
Example
{
"referee_id": 1,
"first_name": "Carlos",
"middle_name": "",
"last_name": "Velasco Carballo",
"birthday": "1970-05-20",
"birthplace": "Madrid",
"category_id": 1
}
RefereePaginator
Description
A paginated list of Referee items.
Fields
| Field Name | Description |
|---|---|
paginatorInfo - PaginatorInfo!
|
Pagination information about the list of items. |
data - [Referee!]!
|
A list of Referee items. |
Example
{
"paginatorInfo": PaginatorInfo,
"data": [Referee]
}
RefereePosition
RefereesFilterInput
Fields
| Input Field | Description |
|---|---|
tournament_id - Int
|
Example
{"tournament_id": 1}
Round
RoundDetails
Fields
| Field Name | Description |
|---|---|
round_id - Int!
|
|
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
{
"round_id": 1,
"tournament_id": 1,
"type_id": 1,
"series_type": "best_of",
"series_length": 3,
"name": "Group Stage",
"target": 8,
"has_table": true,
"tableRows": [TableRow],
"tableCorrections": [TableCorrection],
"teams": [Team],
"calendar": [Match],
"tours": [Tour],
"order": 1
}
RoundFilterInput
Fields
| Input Field | Description |
|---|---|
tournament_id - Int
|
Example
{"tournament_id": 1}
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 |
|---|---|
|
|
Один круг |
|
|
Два круга |
|
|
Плейофф |
|
|
Свободный |
|
|
Три круга |
|
|
Четыре круга |
Example
"ROUND_ROBIN_ONE"
Season
Settings
Fields
| Field Name | Description |
|---|---|
league_id - Int!
|
|
timezone - String
|
|
features - [Feature!]!
|
|
personal_data_settings - PersonalDataSettings!
|
Example
{
"league_id": 1,
"timezone": "Europe/Moscow",
"features": ["GAME_LIVE"],
"personal_data_settings": PersonalDataSettings
}
Shootout
ShootoutResult
Values
| Enum Value | Description |
|---|---|
|
|
Забит |
|
|
Мимо |
|
|
Вратарь |
Example
"RESULT_GOAL"
SortOrder
Description
Directions for ordering a list of records.
Values
| Enum Value | Description |
|---|---|
|
|
Sort records in ascending order. |
|
|
Sort records in descending order. |
Example
"ASC"
Stadium
Staff
Fields
| Field Name | Description |
|---|---|
staff_id - ID!
|
|
first_name - String!
|
|
middle_name - String!
|
|
last_name - String!
|
|
position - String!
|
|
photo - String
|
|
achievements - [PersonalAchievement!]!
|
|
teamAchievements - [TournamentTeamAchievement!]!
|
Example
{
"staff_id": 1,
"first_name": "Josep",
"middle_name": "Sala",
"last_name": "Guardiola",
"position": "Coach",
"photo": "guardiola.jpg",
"achievements": [PersonalAchievement],
"teamAchievements": [TournamentTeamAchievement]
}
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": 1,
"player_id": 1,
"team_id": 1,
"round_id": 1,
"tournament_id": 1,
"season_id": 1,
"games": 10,
"goals": 5,
"penalties": 1,
"ten_penalties": 0,
"assists": 3,
"points": 8,
"yellow_cards": 1,
"red_cards": 0,
"discipline": 3,
"missed_goals": 7,
"gk_games": 0,
"gk_shootouts": 0,
"best_match_player": 1,
"best_team_player": 0,
"saltworts": 0,
"player": Player,
"team": Team
}
StatsPlayerFilter
StatsPlayerGrouper
Values
| Enum Value | Description |
|---|---|
|
|
По турниру |
|
|
По этапу |
|
|
По сезону |
|
|
По игроку |
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 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": 1,
"team_id": 1,
"tournament_id": 1,
"season_id": 1,
"games": 10,
"wins": 6,
"wins_ot": 1,
"wins_so": 0,
"draws": 2,
"losses": 1,
"losses_so": 0,
"losses_ot": 0,
"gf": 18,
"gf_penalty": 2,
"ga": 8,
"yellow_cards": 5,
"red_cards": 0,
"shootout": 0,
"tournaments": 1,
"team": Team
}
StatsTeamFilter
StatsTeamGrouper
Values
| Enum Value | Description |
|---|---|
|
|
По турниру |
|
|
По сезону |
|
|
По команде |
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 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
"abc"
Substitution
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_in": 5,
"player_in_number": 17,
"player_out": 3,
"player_out_number": 9,
"minute": 65,
"second": 0,
"additional": 0,
"number": 1,
"playerIn": Player,
"playerOut": Player
}
TableCorrection
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": 10,
"points": 20,
"wins": 6,
"wins_ot": 1,
"wins_so": 0,
"draws": 2,
"losses_so": 0,
"losses_ot": 0,
"losses": 1,
"gf": 18,
"ga": 8,
"pf": 2,
"pa": 1,
"place": 1,
"pre_games": 5,
"pre_points": 10,
"pre_wins": 3,
"pre_wins_ot": 0,
"pre_wins_so": 0,
"pre_draws": 1,
"pre_losses_so": 0,
"pre_losses_ot": 0,
"pre_losses": 1,
"pre_gf": 9,
"pre_ga": 4,
"pre_pf": 1,
"pre_pa": 0,
"pre_place": 1,
"total_games": 10,
"total_points": 20,
"total_wins": 6,
"total_wins_ot": 1,
"total_wins_so": 0,
"total_draws": 2,
"total_losses_so": 0,
"total_losses_ot": 0,
"total_losses": 1,
"total_gf": 18,
"total_ga": 8,
"total_pf": 2,
"total_pa": 1
}
Tag
Fields
| Field Name | Description |
|---|---|
tag_id - ID!
|
|
name - String!
|
|
full_name - String!
|
|
module - String!
|
|
item_id - Int!
|
|
color - String!
|
|
frequency - Int!
|
|
lastPosts - PostPaginator!
|
|
lastVideos - VideoPaginator!
|
|
lastAlbums - AlbumPaginator!
|
|
Example
{
"tag_id": 1,
"name": "football",
"full_name": "Football",
"module": "post",
"item_id": 1,
"color": "#3b82f6",
"frequency": 10,
"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
|
|
home_kit_colors - KitColor
|
|
away_kit_colors - KitColor
|
|
is_deleted - Boolean
|
|
is_archived - Boolean
|
|
application - TeamPlayer
|
|
players - [Player!]!
|
|
tag - Tag
|
|
tags - [Tag]!
|
|
cover_with_meta - Image
|
|
achievements - [TournamentTeamAchievement!]!
|
|
categories - [Category!]!
|
|
Arguments
|
|
Example
{
"team_id": 1,
"full_name": "FC Barcelona",
"short_name": "Barcelona",
"application_name": "Barcelona B",
"description": "One of the best clubs in the world.",
"social_profile": "https://vk.com/fcbarcelona",
"site": "https://fcbarcelona.com",
"logo": "logo.png",
"cover": "cover.jpg",
"main_form_color": "#004D98",
"spare_form_color": "#A50044",
"home_kit_colors": KitColor,
"away_kit_colors": KitColor,
"is_deleted": false,
"is_archived": false,
"application": TeamPlayer,
"players": [Player],
"tag": Tag,
"tags": [Tag],
"cover_with_meta": Image,
"achievements": [TournamentTeamAchievement],
"categories": [Category]
}
TeamFilterInput
Fields
| Input Field | Description |
|---|---|
season_id - Int
|
|
category_id - Int
|
|
is_deleted - Boolean
|
|
is_archived - Boolean
|
|
orderBy - [OrderByClause!]
|
Example
{
"season_id": 1,
"category_id": 1,
"is_deleted": false,
"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
TeamPlayerStatus
Values
| Enum Value | Description |
|---|---|
|
|
На рассмотрении |
|
|
В составе |
|
|
Исключён |
|
|
Ушёл |
Example
"WAITING"
Tour
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
|
|
stats_gk_games_threshold - Int!
|
Минимальное количество игр для попадания в топ вратарей |
Example
{
"tournament_id": 1,
"season_id": 1,
"parent_tournament_id": null,
"is_parent": false,
"full_name": "Premier League 2024/2025",
"short_name": "PL 2024/2025",
"description": "Top football league.",
"cover": "tournament-cover.jpg",
"start_dt": "2024-09-01",
"end_dt": "2025-05-31",
"is_published": true,
"type_id": 1,
"category_id": 1,
"type": Type,
"category": Category,
"cover_with_meta": Image,
"approved_applications_count": 8,
"order": 1,
"stats_gk_games_threshold": 5
}
TournamentDetailsInterface
Fields
| Field Name | Description |
|---|---|
tournament_id - ID!
|
|
parent_tournament_id - Int
|
|
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
|
|
order - Int
|
|
stats_gk_games_threshold - Int!
|
Possible Types
| TournamentDetailsInterface Types |
|---|
Example
{
"tournament_id": 1,
"parent_tournament_id": null,
"full_name": "Premier League 2024/2025",
"short_name": "PL 2024/2025",
"description": "Top league.",
"cover": "tournament-cover.jpg",
"season_id": 1,
"type_id": 1,
"category_id": 1,
"start_dt": "2024-09-01",
"end_dt": "2025-05-31",
"app_start_dt": "2024-08-01",
"app_end_dt": "2024-08-31",
"players_max": 25,
"players_min": 11,
"match_pitch_max": 11,
"match_bench_max": 7,
"is_published": true,
"in_schedule": true,
"order": 1,
"stats_gk_games_threshold": 5
}
TournamentFilterInput
TournamentInfo
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]
}
TournamentTeamAchievement
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
|
No longer supported |
video_embed_url - String
|
No longer supported |
video - MatchVideo
|
|
events - [TranslationEvent!]!
|
Example
{
"match_id": 1,
"gf": 2,
"ga": 1,
"gfp": 0,
"gap": 0,
"overtime": false,
"technical": false,
"is_transferred": false,
"is_finished": true,
"video_url": "https://youtube.com/watch?v=example",
"video_embed_url": "https://youtube.com/embed/example",
"video": MatchVideo,
"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
|
Дополнительное время |
second_yellow - Boolean
|
Вторая желтая |
number - Int
|
|
comment - String
|
|
team - Team
|
|
player1 - Player
|
|
player2 - Player
|
Example
{
"id": 1,
"match_id": 1,
"type": "goal",
"team_id": 1,
"player1_id": 1,
"player2_id": 2,
"player3_id": null,
"amount": null,
"player_text": null,
"minute": 23,
"second": 15,
"additional": 0,
"second_yellow": false,
"number": 1,
"comment": null,
"team": Team,
"player1": Player,
"player2": Player
}
TranslationEventType
Values
| Enum Value | Description |
|---|---|
|
|
Комментарий |
|
|
Свисток |
|
|
Опасно |
|
|
Замена игрока |
|
|
Жёлтая карточка |
|
|
Красная карточка |
|
|
Гол |
|
|
Стандарт |
|
|
Автогол |
|
|
Пенальти/гол |
|
|
Незабитый пенальти |
|
|
Незабитый пенальти/вратарь |
|
|
Незабитый пенальти/промах |
|
|
10-метровый/гол |
|
|
Незабитый 10-метровый |
|
|
Незабитый 10-метровый/вратарь |
|
|
Незабитый 10-метровый/промах |
|
|
Послематчевый пенальти/гол |
|
|
Послематчевый пенальти/промах |
|
|
Послематчевый пенальти/вратарь |
|
|
Фол |
Example
"COMMENT"
Tree
Type
UnrealizedPenalty
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"player_id": 1,
"minute": 55,
"second": 0,
"additional": 0,
"number": 1,
"type": "general",
"fail_reason": "goalkeeper",
"player": Player
}
Video
Example
{
"video_id": 1,
"title": "Match Highlights: Barcelona vs Real Madrid",
"description": "Best moments from the match.",
"author": "John Smith",
"url": "https://youtube.com/watch?v=dQw4w9WgXcQ",
"embed_url": "https://youtube.com/embed/dQw4w9WgXcQ",
"code": "dQw4w9WgXcQ",
"preview": "preview.jpg",
"on_main": true,
"day_video": false,
"published_dt": "2024-09-01T10:00:00Z",
"tags": [Tag],
"preview_with_meta": Image
}
VideoFilterInput
Example
{
"tag_ids": [1],
"date_eq": "2024-09-01",
"date_time_gt": "2024-09-01T00:00:00Z",
"date_time_gte": "2024-09-01T00:00:00Z",
"date_time_lt": "2024-12-31T23:59:59Z",
"date_time_lte": "2024-12-31T23:59:59Z",
"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 |
|---|---|
|
|
Example
"PUBLISHED_DT"
YellowCard
Example
{
"id": 1,
"match_id": 1,
"team_id": 1,
"person_type": "player",
"person_id": 1,
"minute": 35,
"second": 0,
"additional": 0,
"number": 1,
"reason": "Foul play",
"disqualification_id": null,
"player_id": 1,
"player": PersonInterface,
"person": PersonInterface
}