Skip to content

Sync OpenAPI spec with 7 missing endpoints#72

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

Sync OpenAPI spec with 7 missing endpoints#72
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/sync-openapi-1774093099

Conversation

@mintlify
Copy link

@mintlify mintlify bot commented Mar 21, 2026

Summary

Adds 7 public API endpoints to api-reference/openapi.json that exist in D-Sports-Ecosystem/d-sports-api@8784a5d but were missing from the OpenAPI spec.

Trigger

Commit 8784a5d merged into d-sports-api main — initial repo commit with all API routes.

Changes in trigger repo

605 files added (initial commit), including ~100 app/api/** route files.

What was updated

api-reference/openapi.json — added these missing endpoint definitions:

Endpoint Method Tags Description
/api/leagues GET Leagues, Teams List leagues with team counts, optional country filter
/api/user/all GET User Paginated community users list (rate-limited)
/api/user/check-username GET User Check username availability
/api/thirdweb-link POST Wallets Create Thirdweb wallet link
/api/thirdweb-proxy GET, POST Wallets, Misc Proxy requests to Thirdweb upstream
/api/v1/product_entitlement_mapping GET Products, D-Sports Cash Product-to-entitlement mapping for RevenueCat
/api/webhooks/leagues-sync POST Webhooks, Teams CI-triggered leagues data sync

Also added Leagues tag and updated Webhooks tag description.

Intentionally excluded from the public spec: admin routes (/api/admin/*), debug/test routes, cron routes, and internal-only endpoints (/api/leaderboard/reset, /api/pregen-wallet, /api/rewards/admin-override).

@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:41 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