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
I'm trying to get a list of repositories for an organization using .iter() for a GitHub Enterprise instance. The API endpoint for the Enterprise instance is https://<GITHUB_HOST>/api/v3. I get the first 30 results, then a 404 error.
🤔 Expected Behavior
I expect to get all the repositories.
👟 Steps to reproduce
Here is sample code that produces the error for me.
I sent the requests through mitmproxy to see what was going on, and the API endpoint is getting duplicated on the second request.
[::1]:57393: GET https://<GITHUB_HOST>/api/v3/orgs/example/repos
<< 200 OK 173.38k
[::1]:57393: GET https://<GITHUB_HOST>/api/v3/api/v3/organizations/279/repos?page=2
<< 404 Not Found 93b
[::1]:57393: clientdisconnect
Note the /api/v3/api/v3 in the second GET.
🌍 Your environment
hubcaps version: 0.5.0
The text was updated successfully, but these errors were encountered:
🐛 Bug description
I'm trying to get a list of repositories for an organization using
.iter()
for a GitHub Enterprise instance. The API endpoint for the Enterprise instance ishttps://<GITHUB_HOST>/api/v3
. I get the first 30 results, then a 404 error.🤔 Expected Behavior
I expect to get all the repositories.
👟 Steps to reproduce
Here is sample code that produces the error for me.
I sent the requests through mitmproxy to see what was going on, and the API endpoint is getting duplicated on the second request.
Note the
/api/v3/api/v3
in the secondGET
.🌍 Your environment
hubcaps version: 0.5.0
The text was updated successfully, but these errors were encountered: