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

[BUG]: list_app_installation_repositories does not return rels #1668

Open
1 task done
jp524 opened this issue Feb 22, 2024 · 1 comment
Open
1 task done

[BUG]: list_app_installation_repositories does not return rels #1668

jp524 opened this issue Feb 22, 2024 · 1 comment
Labels
Type: Bug Something isn't working as documented

Comments

@jp524
Copy link

jp524 commented Feb 22, 2024

What happened?

I have a client created using an installation access token for a GitHub App.
When I call list_app_installation_repositories on this client, I get the list of repositories but I don't get the links to access the previous and next pages. The code is as follow:

github_client = Octokit::Client.new(access_token: <INSTALLATION_ACCESS_TOKEN>)
response = github_client.list_app_installation_repositories
puts response.rels # returns nil
puts response[:repositories].count # returns 30

My understanding of the README's section on Pagination is that the API call should return links for pagination.

The GitHub API docs also state that this is a paginated resource.

Versions

Octokit.rb 8.1.0

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jp524 jp524 added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Feb 22, 2024
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@kfcampbell kfcampbell moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Mar 4, 2024
@kfcampbell kfcampbell removed the Status: Triage This is being looked at and prioritized label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

2 participants