WorldCupAdmin

Sets the official result for a match and ENQUEUES a background job that scores all predictions against it across every tenant. Returns immediately once the job is queued — scoring runs asynchronously.

post/internal/v1/world-cup/matches/{matchCode}/result

Request

  • Base URL: https://api.gameball.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.gameball.co/internal/v1/world-cup/matches/{matchCode}/result
  • Auth: none declared. Required headers: APIKey

Path parameters

matchCodestring required

The code of the match being scored.

Headers

Authorizationstring
langstring
APIKeystring required
SecretKeystring

Request body

team1Codestring nullable
team1Goalsinteger
team2Codestring nullable
team2Goalsinteger
penaltyWinnerTeamCodestring nullable
decidedBystring nullable
clientIdinteger nullable

Response

OK

isSucceededboolean
methodNamestring nullable
databoolean

Changes

No recorded changes to this operation across all 1 revision of this API.