Skip to content

Add batch get repository exra info like size#1223

Merged
Rader merged 1 commit into
mainfrom
sync_mr_2668_e53196d
Jul 3, 2026
Merged

Add batch get repository exra info like size#1223
Rader merged 1 commit into
mainfrom
sync_mr_2668_e53196d

Conversation

@csg-pr-bot

@csg-pr-bot csg-pr-bot commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Added a new batch API endpoint (/api/v1/repos/extra) to fetch repository extra info like size, replacing the previous inefficient approach of joining the repository_statistics table during list requests.
  • This change enables efficient display of model sizes on the homepage while enforcing access controls and limiting batch requests to 500 repositories for performance.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1222

@Rader Rader changed the title Add batch get repository size api Add batch get repository exra info like size Jul 3, 2026
@Rader Rader merged commit 7e634f2 into main Jul 3, 2026
11 of 12 checks passed
@Rader Rader deleted the sync_mr_2668_e53196d branch July 3, 2026 03:24
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.

3 participants