Skip to content

Add bulk /users/full lookup - #105

Open
cmyui wants to merge 1 commit into
masterfrom
add-bulk-users-full-country-name
Open

Add bulk /users/full lookup#105
cmyui wants to merge 1 commit into
masterfrom
add-bulk-users-full-country-name

Conversation

@cmyui

@cmyui cmyui commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • keep /api/v1/users/full?id=... returning the existing single-user object
  • add /api/v1/users/full?ids=1&ids=2... returning { code, users } with a hard 50-id limit
  • batch full-user SQL reads for stats, followers, badges, tournament badges, and clans
  • add country_name to full user responses and reuse the existing country list

Verification

  • CGO_ENABLED=0 go test ./app/v1
  • CGO_ENABLED=0 go test ./... still fails on existing common/where_test.go type mismatch for WhereClause.In

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.

1 participant