Skip to content
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

Support for star creation timestamps #1059

Closed
daveaglick opened this issue Jan 10, 2016 · 2 comments
Closed

Support for star creation timestamps #1059

daveaglick opened this issue Jan 10, 2016 · 2 comments

Comments

@daveaglick
Copy link
Contributor

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...

@haacked
Copy link
Contributor

haacked commented Jan 12, 2016

👍

@shiftkey
Copy link
Member

Would there be any opposition to supporting this in Octokit?

No objections here - and thanks for logging it as it's not something I thought about when doing the API audit!

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

No branches or pull requests

3 participants