Skip to content

Add missing API endpoints to OpenAPI spec#77

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/sync-openapi-1774094363
Open

Add missing API endpoints to OpenAPI spec#77
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/sync-openapi-1774094363

Conversation

@mintlify
Copy link

@mintlify mintlify bot commented Mar 21, 2026

Summary

Syncs the OpenAPI spec in the docs repo with the d-sports-api codebase after d-sports-api@027285e.

Changes

Trigger repo files: app/api/leagues/route.ts, app/api/user/all/route.ts, app/api/user/check-username/route.ts

Docs file updated: api-reference/openapi.json

New endpoints added

  • GET /api/leagues — list leagues with optional country filter (new "Leagues" tag)
  • GET /api/user/all — paginated community user list with rate limiting
  • GET /api/user/check-username — username availability check

Endpoints not added (admin/internal only)

  • /api/leaderboard/reset — admin-only season reset
  • /api/pregen-wallet — admin-only wallet pregeneration
  • /api/rewards/admin-override — superadmin force-claim/remove
  • /api/thirdweb-link, /api/thirdweb-proxy — internal infrastructure proxies
  • /api/webhooks/leagues-sync — internal webhook

Add leagues, user/all, user/check-username endpoints to match
the d-sports-api codebase after commit 027285ea.
Triggered by D-Sports-Ecosystem/d-sports-api@027285ea.
Generated-By: mintlify-agent
@mintlify
Copy link
Author

mintlify bot commented Mar 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
d-sports 🟢 Ready View Preview Mar 21, 2026, 12:01 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants