-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Description
Repo cards have a kind of "second-class" status in this project, one might argue. They are called "pins" because they tend to reflect statistics about a repo in relation to a user (like the cards that are "pinned" to a user profile.
Feature Proposal
I'd like to have cards that have repo stats - stats that are agnostic with respect to any individual user. What kind of stats? Creation date, date of last commit, stars, forks, open issues/PRs... the API exposes a lot of stats.
Implementation Suggestion
Based on my understanding of the project, the pins endpoint is not really meant for this kind of use case. Rather than try to place more of a burden on /pin/, I think a better approach is a new endpoint, /repo/.
Comments
I implemented some additional repo metrics in order to serve my particular use case. But that's a pretty unusual setup. It's possible that this is not something that would be of general interested. On the other hand, I can imagine some other use cases.