Gestor Deportivo lets you organize complete sporting competitions — from a single-elimination cup to a full league season — all through the API. You create an event, teams reserve spots, you confirm their participation, schedule matches, and then track live standings right through to the final whistle.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/gestor-backend/llms.txt
Use this file to discover all available pages before exploring further.
Tournament setup and execution
Create an event
An event is the top-level container for any competition. Provide the dates, format, category, and sport. You can optionally attach a cover image via
The response includes the new event’s
multipart/form-data.| Field | Type | Description |
|---|---|---|
title | string | Display name for the competition |
description | string | Brief overview visible to the public |
startDate / endDate | date string | Competition window |
category | string | Masculino, Femenino, or Mixto |
ubication | string | Venue or city |
sport | string | Sport being played |
keys | string | Competition type — see event types below |
classificationType | boolean | false = knockout only, true = group stage + knockout |
_id, used in all subsequent steps.Teams reserve spots
Teams apply to participate by submitting a reservation. A team owner sends this request; no organizer action is needed at this point.The reservation is created with a status of
Pendiente (pending) until the organizer reviews it.Organizer accepts reservations
Review incoming reservation requests and accept or reject each one. Accepting a reservation confirms that team’s spot in the competition.To review all pending reservations before acting on them:Replace
Pendiente with Aceptado, Rechazado, or Cancelado to filter by other statuses.Schedule matches
Once teams are confirmed, create individual match fixtures. Each match is tied to the event and includes venue, date, time, and referee information.Repeat this for every fixture in your tournament. See the Match Management guide for how to record goals, cards, and final results once matches are played.
Record match results
On match day, use the match management endpoints to record goals, disciplinary cards, fouls, and substitutions in real time or after the fact. Full instructions are covered in the Match Management guide.
View the standings table
The standings table is updated each time a match is finalized. Anyone can query it without authentication.The response lists each team’s points, wins, draws, losses, goals for/against, and goal difference. For individual scoring stats, use the top-scorer endpoint:
Event types (keys)
The keys field defines the type of competition. Choose the format that best matches your tournament structure.
Campeonato
A full championship — typically the highest-stakes competition in a league system, often involving multiple stages.
Copa
A cup competition, usually single-elimination or with a group stage feeding into a knockout bracket.
Liga
A league format where every team plays a set number of fixtures and points are accumulated over time.
Torneo
A general-purpose tournament format suitable for shorter, one-off competitions or invitational events.
Tournament formats (classificationType)
The classificationType boolean controls how the competition is structured internally.
Setting
classificationType to false creates a pure knockout tournament — teams are eliminated after a single loss and there are no group-stage standings to maintain. Setting it to true enables a group stage followed by a knockout phase, which is common in larger competitions like the Copa format. Make sure your match-scheduling logic accounts for both phases when using group stage mode.Reservation status flow
A reservation moves through the following lifecycle. Only the organizer can transition fromPendiente to Aceptado or Rechazado. A team owner can cancel their own reservation at any time.
Browsing public events
Active events are visible to anyone — no authentication required. Use this endpoint to display upcoming competitions in a public-facing app or website.all to retrieve every event):