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

Best way to download entire repository? #2242

Closed
broccolihighkicks opened this issue Aug 26, 2020 · 1 comment
Closed

Best way to download entire repository? #2242

broccolihighkicks opened this issue Aug 26, 2020 · 1 comment
Labels
Status: Stale Used by stalebot to clean house Type: Support Any questions, information, or general needs around the SDK or GitHub APIs

Comments

@broccolihighkicks
Copy link

broccolihighkicks commented Aug 26, 2020

What is the best way to download the entire repository using minimal API requests?

Ive noticed that await client.Issue.GetAllForRepository will return a list of issues, but certain fields are null:

  • i.ClosedBy
  • i.Repository
  • i.PullRequest.Id (this is 0 when there is a pull request).

This pull request added the ClosedBy field when downloading single issues (but it's still null for listing issues).

Would the GraphQL client use less API quota by filling out these fields without costing 1 API request per joined item?

@github-actions
Copy link

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Stale label May 12, 2022
@nickfloyd nickfloyd added Type: Support Any questions, information, or general needs around the SDK or GitHub APIs Status: Stale Used by stalebot to clean house and removed Question: using the SDK labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Used by stalebot to clean house Type: Support Any questions, information, or general needs around the SDK or GitHub APIs
Projects
None yet
Development

No branches or pull requests

3 participants