Skip to content

feat(api): add hypixel proxy endpoints#832

Open
ugcodrr wants to merge 1 commit intomainfrom
feat-raw-hypixel-response
Open

feat(api): add hypixel proxy endpoints#832
ugcodrr wants to merge 1 commit intomainfrom
feat-raw-hypixel-response

Conversation

@ugcodrr
Copy link
Copy Markdown
Member

@ugcodrr ugcodrr commented May 4, 2026

Adds a dedicated /hypixel passthrough namespace for raw upstream Hypixel responses behind normal Statsify auth and rate limiting.

Includes:

  • /hypixel/player, /hypixel/guild, /hypixel/watchdogstats, and /hypixel/gamecounts
  • Verbatim upstream status/body passthrough when Hypixel responds
  • Local validation for mutually exclusive query params
  • Mojang username-to-UUID resolution for /hypixel/player?name=... and /hypixel/guild?player=...
  • Local 404 for unresolved Mojang names and local 502 for Mojang/Hypixel transport failures
  • Swagger/Redoc docs for the new passthrough routes
  • No changes to @statsify/api-client

Checks run:

  • pnpm --filter api test:types
  • pnpm --filter api lint
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
statsify Ready Ready Preview, Comment May 4, 2026 9:50pm

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant