Skip to content

Match Service

Matthew Pfister edited this page Apr 17, 2020 · 8 revisions

Contracts

[POST] /matches

Create a new match

Request

{
  games: number;
  isSeasonPoint: boolean;
  losers: string[];
  season: string;
  winners: string[];
  wins: number;
}

Response Body

{
  status: number;
  data: {
    id: string;
    isSeasonPoint: boolean;
    games: number;
    wins: number;
    losers: string[];
    season: string;
    winners: string[];
  }
}

Clone this wiki locally