Questions tagged [github-api-v3]
120 questions
0
votes
1 answer
Get most recent author to file (Github Contents API)
So I have the data from https://api.github.com/repos/req-res/articles/readme, which my app can get, but I need the most recent author's username (archiebaer). This must be done client-side, so I do not want to search every commit in the repository…
user10124491
0
votes
1 answer
Github pagination how it works
I want to get the list of all repositories in GitHub with pagination and I want to set items per page to for example 50.
for that, I use this
https://api.github.com/repositories?page=1&per_page=50
but it doesn't work and always I get 369 items per…

max
- 5,963
- 12
- 49
- 80
0
votes
1 answer
Number of search results at GitHub changes drastically from search to search
I'm trying the following simple query: github.com/search?l=Gradle&q="android.support.test"&type=Code
But every time I run it I get a different number of total search results, varying from 200k results up to 700k.
What's going on here? Is there a way…

FlyingPumba
- 1,015
- 2
- 15
- 37
0
votes
0 answers
Issue with github api through ruby
I'm trying an API request to get a tag from a public repo on github using ruby. I am getting an error at times and other times it works. Most of the time it does not.
Error I'm getting:
C:/Ruby25/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in…

dsok
- 1
0
votes
1 answer
How to get the latest commit date of the file along with content details from GitHub API call
I have used the below GitHub api and i'am able to get the files details of the path.
https://github.***.com/api/v3/repos/exampleowner-Management/examplerepo/contents/Compile/Teradata/Tables?access_token=*****
The result of this API call is :
[
{
…

c0der
- 2,751
- 2
- 14
- 21
0
votes
1 answer
Adding comment to the pull request throws "Message: Not Found" error
I am trying to add commit to the pull request using GitHub API for issues. But seeing error
curl -H "Authorization: token "Key"" -X POST -d '{"body": "Failed"}' "https://github-site/repos/:repository/issues/PR_NUMBER/comments"
Response for the curl…

Rashmi Ramanna
- 29
- 2
0
votes
1 answer
Problem with Github-Api v3 using JavaScript
For a homework (in Signavio Workflow Accelerator) I need to add users to an organization on Github using the GitHub-API v3. The Code has to be written in JavaScript which i a language I'm not very familiar with.
At the moment I get the following…

spider
- 1
0
votes
0 answers
Using rate-limits when working with web-hooks
Our company has a monitoring service for github repositories working using the web-hooks. Does their usage consume rate-limits?
0
votes
0 answers
javascript go back and get previous page FINAL STATE
I am building a page that retrieves some Github repositories and then displays a punchcard chart with the data returned by the API (sorry for the screenshots in advance, but I was having trouble with the in-built code styling). I start with a…

Marta Lobo
- 175
- 1
- 16
0
votes
1 answer
Using get method from loopj library to receive data from git hub api v3
I'm using loopj to create a GET request to fetch data from GitHub API v3. However the status code 403 keeps returning in the callback and i've tried every possible solution i could think of.
Here is the code im using, this method is called in a…
0
votes
0 answers
GitHub OAuth App - getting token
I have an simple web app I'm testing on localhost (using http-server) in which I'm trying to authorise it following the GitHub tutorial.
I was able to redirect to GitHub page so the user can login there and get the temporary code returned from…

Hubert Siwkin
- 385
- 3
- 16
0
votes
1 answer
How do you add outside collaborators to repositories in your organization using Github Java API?
I am trying to automate the process of instructors setting up an organization with repositories for their students. The repositories need to have a user be added as a collaborator because a continuous delivery server uses that user to make updates…

NCoop
- 341
- 3
- 15
0
votes
0 answers
JavaScript object has data in console but no data in code
I have been working with the Github API and have made function that gets the data from a Github project and returns it in a JSON like collapsed expanded from
function drawProjects() {
var GPD =…

LiamSnow
- 366
- 3
- 11
-1
votes
1 answer
github api Is it possible to view when you joined a specific organization?
Pretty much the title. Been looking through the github api but I do not see that endpoint.

Syn
- 938
- 1
- 10
- 21