-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for getting stats by author(s) and owner(s)
We had a semi-complete approach, and it only supported on author (and no owners). Generalize the endpoints in: * `/nuget/id`: gets count of nuget ids * `/nuget/dl`: gets download counts for packages Both can receive: * No querystring: return the values for the current sponsorable host * `?author=`: filter by author(s). Can receive more than one value. * `?owner=`: filter by repo owner. Can receive more than one value. The multi-value querystring is useful when fetching stats for multiple authors (i.e. more than one team member), or for orgs that own repos across more than one GH org (i.e. MIcrosoft, dotnet, aspnet, Azure).
- Loading branch information
Showing
1 changed file
with
85 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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