Skip to content

Endpoint to update the status of a match #9

@cam626

Description

@cam626

When a match is being played, the score of each game will need to be saved at the end of the game. This should take a match key and a game ID (or key) in the path and the details of the game (score/stats) in the body. It should return the status of the match.

This match status will include the current winner and loser along with the score of each game and any other stats that are being tracked.

E.g.

{
"games": [
{
"team1_score": 0,
"team2_score": 0,
"winner": "team_key",
"loser": "team_key"
}
],
"winner": "team_key",
"loser": "team_key",
"num_games": 3,
"games_played": 1,
"event": "event_key"
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions