Your profile is the personal hub of FutsalLeague Manager. From here you can check how many prediction points you have accumulated, see where you rank among all users, review your past match votes, manage the teams you follow, and control your account settings. All profile endpoints require a valid JWT token in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Danielsl4/TFG_DAM_2526/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
Profile Overview
GET /user/profile returns a complete snapshot of your account:
- Basic info — your username and email address.
- Followed teams — a list of every team you currently follow, with each team’s name and logo.
- Upcoming matches — up to 5 next fixtures for your followed teams in the active season, including current vote counts and your own vote if you have already cast one.
Prediction Points and Ranking
GET /me/predictor-stats returns your total accumulated points, your global position in the predictor ranking, and a history of your last 20 votes.
history shows the match, your prediction, the actual result, and the points you were awarded for that vote (1 for a correct prediction, null or 0 for incorrect or still pending). Pending matches appear with real_result: "pendiente" and points_awarded: null.
The
GET /me/predictor-stats endpoint returns your overall cumulative points and rank across all votes. For season-specific points and rankings, use GET /statistics/user-stats?season_id=X. Your vote history is shown for all votes, not filtered to a single season.Following Teams
You can follow any team to receive fixture highlights on your profile. Calling the toggle endpoint once follows the team; calling it a second time unfollows it.Vote History
The sameGET /me/predictor-stats endpoint described above also returns your full voting history (up to the last 20 entries). For each past vote you can see:
- The match (home and away team names)
- Your prediction (
local,empate, orvisitante) - The actual outcome
- Points awarded for that prediction
- Whether the match has finished or is still pending