Questions tagged [github-api-v3]
120 questions
1
vote
0 answers
How to get the detail of github users with search api using KnpLabs/php-github-api v3 client
I am stuck in a scenario where i need to show the listing of all git hub user. So i am using below github api to get the list of users-
https://api.github.com/search/users?q=type:user
But it didn't giving me complete detail of user like: username,…

salman ahmad
- 21
- 3
1
vote
1 answer
How to get user who added a label on a pull request in GitHub API
I am trying to get data on the user who set a label on a github pull request, but I can't find this in the API docs. Am I missing something?

Khaled Sulayman
- 21
- 2
1
vote
2 answers
Get only the collaborators, not the owners of the ORG of the github repo
I have Github Organization with the owners Owner1 and Owner2 and members Member1 and Member2.
Now I created a new repository in this Organization and added two users as collaborators (user1 and user2) of this repo.
Now the result of postman with the…

Rohith
- 1,077
- 5
- 16
- 36
1
vote
1 answer
Do the GitHub API rate limits apply to GitHub Actions?
I have a CLI tool that downloads files from a GitHub repo and I wrote integration tests for this tool that use the actual GitHub API. I don't make the requests with authentication so I get hit by the rate limit when I run the tests too fast:
For…

Paul Razvan Berg
- 16,949
- 9
- 76
- 114
1
vote
1 answer
How to retrieve and update a file > 1MB from/to master GitHub using Octokit.Net Git Data API within c#
I am trying to read and update a single file in my repository using Octokit.Net.
The particular file I am trying to read/update is about 2.1MB in size so when I attempt to read this file using the following code...
var currentFileText = "";
…

John Kears
- 677
- 6
- 20
1
vote
0 answers
GitHub API Create Repo returning 403?
I'm making a GitHub app, and I'm trying to create a repo according to this documentation
https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-a-repository-for-the-authenticated-user
When I make a GET request to that URL, it…

Tessa Painter
- 2,113
- 2
- 16
- 21
1
vote
0 answers
Migrating from Github basic_auth to web application flow
I have a simple ruby script that fetches data from GitHub using their API.
uri = URI.parse("https://api.github.com/search/issues?q=is:pr+is:merged+base:master+repo:organization/respository")
request =…

dcangulo
- 1,888
- 1
- 16
- 48
1
vote
1 answer
Compare differences of branches and categorise
I'm new to python. Suppose test file changes goes to testing category, buildpack or code level changes goes to functional changes. I'm trying to find the difference between two branch (master, feature) of a project then read the code differences…

Sid93
- 11
- 1
1
vote
1 answer
How to query Github enterprise using REST
I would like to know how do we connect to enterprise version of github and access multiple data like , organization settings, users, repositories etc.,
I can find in google that we can access open github details using endpoint…

Abhishek Renduchintala
- 69
- 1
- 9
1
vote
1 answer
Is it possible to view private events within a team repo?
Been playing around with the Github v3 API.
I was wondering if it was possible to see private events within a team repository I belong to if I am authenticated.
I see on the docs that with the /users/:username/events endpoint, it'll only show your…

Syn
- 938
- 1
- 10
- 21
1
vote
0 answers
Github API: Team permissions not updating
I am attempting to update a repository's team permissions through the Github API, similar to this question. However, despite having receiving a 204 response, the permission does not get updated. I have full admin access over the repo and the team. I…

Alex B
- 11
- 1
1
vote
1 answer
I am using GitHub API v3 and I need to order the list of users by username?
I am using this api
https://api.github.com/search/users?q=language:kotlin&page=1&per_page=10
How do i order the list by the username?
If it isn't possible by the api, what would be the best option to do that in Android?

Whatives
- 65
- 1
- 7
1
vote
1 answer
Github API /repos/:owner/:repo/contributors returns an empty object
When running the following command, I get en empty object:
$ curl -s "https://api.github.com/repos/wix/DetoxInstruments/stats/contributors"
{
}
In my original script, I provide an access_token, but it's not necessary to demonstrate the problem.
It…

Léo Natan
- 56,823
- 9
- 150
- 195
1
vote
0 answers
Github Api v3 different callback responses
I'm using github API in version 3, but request I send give me different results.
I want to retrieve top javascript repositories sorted by stars with that…

Patryk Janik
- 2,476
- 2
- 13
- 23
1
vote
1 answer
Cannot send a commit to a forked repo vía API
Is there a way to send commits vía API to a pull request made from a not own forked repo.
I can send commits to my own repo.
Sometimes i want to make some changes on a pull request made for other person and the only thing i think is send commits in…

lsalvatore
- 101
- 1
- 11