Skip to content

Add missing API endpoints to OpenAPI spec#76

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

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

Conversation

@mintlify
Copy link

@mintlify mintlify bot commented Mar 21, 2026

Summary

Syncs the OpenAPI spec with 5 API routes that exist in d-sports-api@5cb5068 but were missing from the docs spec.

Trigger

Commit 5cb5068 merged into d-sports-api (initial codebase commit).

Changes

File changed: api-reference/openapi.json

Endpoints added:

  • GET /api/leagues — lists leagues with team counts, optional country filter (public, no auth)
  • GET /api/user/all — paginated community user list with stats (authenticated, rate-limited)
  • GET /api/user/check-username — check handle availability (public, no auth)
  • GET /api/v1/product_entitlement_mapping — product-to-entitlement mapping for RevenueCat (public)
  • POST /api/webhooks/leagues-sync — GitHub Actions webhook for league data sync (webhook secret auth)

Also added:

  • Leagues tag
  • leaguesWebhookSecret security scheme (apiKey in x-webhook-secret header)

Intentionally excluded (admin/internal/infra routes already omitted from the spec):

  • /api/leaderboard/reset (admin-only)
  • /api/pregen-wallet (admin-only, WIP)
  • /api/thirdweb-link (internal Web3 bridge)
  • /api/thirdweb-proxy (internal CORS proxy)

@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, 11:58 AM

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