Teams are the core organizational unit in Gestor Deportivo. Once you have an authenticated account, you can register one or more teams, build out your player roster, assign shirt numbers and positions, and keep everything up to date as your squad evolves throughout a season.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.
Full team setup workflow
Register a team
Send a A successful response returns the new team document including its
multipart/form-data request with your team name, a short description, and optional image assets. The authenticated user becomes the team owner._id, which you will use in all subsequent team operations.Register players
Create player profiles before adding them to your roster. Each player requires personal details and an optional avatar image.The response includes the player’s
_id and an activation code sent to the associated account. Keep the playerId handy for the next step.Activate a player
A newly registered player is inactive until the activation code is verified. Use the code returned during registration (or sent via email) to activate the player profile.Once activated, the player is eligible to be assigned to a team roster.
Add a player to your roster
Players join a team either by being added directly through a roster update or by completing a transfer workflow. After a transfer is accepted, the player is automatically linked to the destination team. See the Player Transfers guide for the full transfer flow.For direct roster assignment (when you own both the player profile and the team), proceed to the next step to assign the shirt number and position at the same time.
Assign shirt numbers and positions
Update the team’s player list to set each player’s shirt number and on-field position. You can update one or multiple players in a single request by passing an array.Only the team owner can call this endpoint. See the position codes table below for all valid
position values.Player position codes
Use one of the following codes in theposition field when updating your roster. Codes follow standard football position abbreviations.
| Code | Position | Line |
|---|---|---|
GK | Goalkeeper | Goalkeeper |
CB | Centre-Back | Defender |
LB | Left-Back | Defender |
RB | Right-Back | Defender |
LWB | Left Wing-Back | Defender |
RWB | Right Wing-Back | Defender |
CDM | Centre Defensive Midfielder | Midfielder |
CM | Centre Midfielder | Midfielder |
CAM | Centre Attacking Midfielder | Midfielder |
LM | Left Midfielder | Midfielder |
RM | Right Midfielder | Midfielder |
LW | Left Winger | Forward |
RW | Right Winger | Forward |
CF | Centre Forward | Forward |
ST | Striker | Forward |
Managing your teams
List your own teams
Retrieve all teams where the authenticated user is the owner.Update team information
Change the team name, description, or image assets at any time. Only the team owner can perform updates.Search and browse teams
No authentication is required to search or list teams publicly.:pag and :perpage path parameters are optional and default to the first page with a system-defined page size.