You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API docs explain that by passing a special Accept header (Accept: application/vnd.github.v3.star+json) you can have the stargazers list return star creation timestamps (same for getting the repositories starred by a user). This is useful if you're trying to see star behavior over time (I.e., to create a graph or sparkline).
Would there be any opposition to supporting this in Octokit? I'm assuming the best way to represent this would be similar to the result JSON by returning a wrapping object for each row of data that includes the starred at timestamp and the User as a property?
If this is a go, I can put a PR together...
The text was updated successfully, but these errors were encountered:
The API docs explain that by passing a special
Accept
header (Accept: application/vnd.github.v3.star+json
) you can have the stargazers list return star creation timestamps (same for getting the repositories starred by a user). This is useful if you're trying to see star behavior over time (I.e., to create a graph or sparkline).Would there be any opposition to supporting this in Octokit? I'm assuming the best way to represent this would be similar to the result JSON by returning a wrapping object for each row of data that includes the starred at timestamp and the
User
as a property?If this is a go, I can put a PR together...
The text was updated successfully, but these errors were encountered: