-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Total count of repos #2277
Comments
Another option is to set header like "X-Total-Count". |
This would help if we paginate results later. |
I've implemented it in header in my fix for now (very simple - |
@Morlinest Please don't prefix with |
And actually, there's the |
@bkcsoft Thanks for your opinion. I can use
|
@Morlinest The API exposes this, but |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
should be fixed by #2285 |
I need total count of repos to fix dashboard UI. Gitea returns (api/v1/repos/search) only array of repos but I do not know if there are more. I think we should add "Total" (or something like this) to api.SearchResults (code.gitea.io/sdk/gitea).
The text was updated successfully, but these errors were encountered: