Sync OpenAPI spec with admin, leagues, and cron routes#70
Open
mintlify[bot] wants to merge 1 commit intomainfrom
Open
Sync OpenAPI spec with admin, leagues, and cron routes#70mintlify[bot] wants to merge 1 commit intomainfrom
mintlify[bot] wants to merge 1 commit intomainfrom
Conversation
…oints Generated-By: mintlify-agent
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs
api-reference/openapi.jsonto match the current d-sports-api codebase after d-sports-ecosystem/d-sports-api@0f77afd ("normalize batch d admin mobile utility routes").Changes to openapi.json
Added endpoints
/api/admin/stats,/api/admin/users,/api/admin/users/{userId},/api/admin/users/toggle-admin,/api/admin/teams,/api/admin/teams/{teamId},/api/admin/teams/{teamId}/members,/api/admin/teams/{teamId}/members/{userId},/api/admin/collectibles,/api/admin/collectibles/{id},/api/admin/packs,/api/admin/packs/{id},/api/admin/fix-team-ownership,/api/admin/leagues/sync/api/leagues(GET)/api/leaderboard/reset(POST, admin)/api/rewards/admin-override(POST, DELETE, superadmin)/api/user/all(GET),/api/user/check-username(GET)/api/cron/leaderboard-reset,/api/cron/sync-trends/api/webhooks/leagues-syncFixed
GET /api/user/profile(code only has PATCH and POST)Updated
Admin,Leagues, andCrontagsWebhookstag description to include leagues-synccronSecretandleaguesWebhookSecretsecurity schemesTrigger repo files
All
app/api/**route files in d-sports-api.