OBJECT

MatchcenterSchema

Matchcenter Application Schema Query Root

link GraphQL Schema definition

  • type MatchcenterSchema {
  • # List of all feeds
  • feeds: [FeedType]
  • # List of all competitions
  • competitions: [CompetitionType]
  • # Get competition by slug name
  • #
  • # Arguments
  • # slug: Competition slug retrieved from field competitionSlug
  • competitionBySlug(slug: String!): CompetitionType
  • # Arguments
  • # id: Mongo object ID of the sport event: ex.
  • # 5ff351b8fb3e085ace604faf
  • sportEventById(id: String!): SportEventType
  • # Arguments
  • # ids: List of mongo object IDs of the sport events: ex.
  • # 5ff351b8fb3e085ace604faf
  • sportEventsByIds(ids: [String]): [SportEventType]
  • # Arguments
  • # groupId: Sport event group Id
  • sportEventsByGroupId(groupId: String!): [SportEventType]
  • # Arguments
  • # date: Date in the format 2020-01-02
  • # status: Status of the sport event: ex. live, not_started,
  • # closed, ended etc.
  • sportEventsByDate(date: String!, status: String): [SportEventType]
  • # Arguments
  • # seasonId: SR id of the season: ex. sr:season:79153
  • # roundKeyword: SR key word: ex. sr_season_435365_round_of_32
  • sportEventsBySeasonId(
  • seasonId: String!,
  • roundKeyword: String!
  • ): [SportEventType]
  • # Arguments
  • # seasonId: SR id of the season: ex. sr:season:79153
  • # groupId: SR id of the competition group: ex. sr:league:53640
  • # rangeFrom: first item of standings to show
  • # rangeTo: last item of standings to show
  • standingBySeasonIdOrGroupName(
  • seasonId: String!,
  • groupId: String,
  • rangeFrom: Int,
  • rangeTo: Int
  • ): [StandingType]
  • # Arguments
  • # id: SR id of the sport event. ex. sr:sport_event:24750634
  • timeEventsBySportEventId(id: String!): [TimeEventType]
  • # Arguments
  • # id: SR id of the sport event. ex. sr:sport_event:24750634
  • # pagination: Pagination arguments with default values offset: 0,
  • # first:10
  • timeEventsBySportEventIdPaginated(
  • id: String!,
  • pagination: PaginationArg
  • ): PaginatedTimeEventType
  • # Arguments
  • # search: Regex search matching tournament names included in the
  • # sport event objects
  • # pagination: Pagination arguments with default values offset: 0,
  • # first:10
  • sportEventsByCompetitionOrSport(
  • search: String,
  • pagination: PaginationArg
  • ): PaginatedSportEventType
  • # Arguments
  • # competitionId: SR competition id: ex. sr:competition:132
  • # month: Month text with the following format: 2021-01
  • sportEventsByCompetitionAndMonth(
  • competitionId: String,
  • month: String
  • ): [SportEventType]
  • # Arguments
  • # competitionId: (Optional) SR competition id: ex.
  • # sr:competition:132
  • # sportType: (Optional) sport type from the given list: soccer,
  • # basketball, handball, tennis, volleyball
  • # month: Month text with the following format: 2021-01
  • sportEventsByCompetitionOrSportTypeAndMonth(
  • competitionId: String,
  • sportType: String,
  • month: String
  • ): [SportEventType]
  • # Arguments
  • # id: Mongo object ID of sport event: ex.
  • # 5ff351b8fb3e085ace604faf
  • # after: (Optional) Mongo object ID of the last received time
  • # event command: ex. 5ff357ceb477df76aa4db99b
  • # filter: (Optional) filter results by event tag keyword: ex.
  • # score_change, red_card, foul etc.
  • timeEventCommandsBySportEvent(
  • id: String!,
  • after: String,
  • filter: String
  • ): [TimeEventCommandType]
  • # Arguments
  • # id: Mongo object ID of sport event: ex.
  • # 5ff351b8fb3e085ace604faf
  • # after: (Optional) Mongo object ID of the last received time
  • # event command: ex. 5ff357ceb477df76aa4db99b
  • # filter: (Optional) filter results by event tag keyword: ex.
  • # score_change, red_card, foul etc.
  • # pagination: [Not documented]
  • timeEventCommandsBySportEventPaginated(
  • id: String!,
  • after: String,
  • filter: String,
  • pagination: PaginationArg
  • ): PaginatedTimeEventCommandType
  • }

link Require by

This element is not required by anyone