Questions tagged [github-api]

An API used to retrieve information about data on GitHub.

All API access has to be done over HTTPS, and accessed from the api.github.com domain. All data is sent and received as JSON.

Online resources:

3713 questions
1
vote
0 answers

GitHub API not providing my personal Organization

I need to fetch the repos with respect to organization. I have 2 repos in my github one is under a organization called 'A' and another is not under any organization.. When i try to fetch organization list using user org list API. It gives me only…
ajay
  • 11
  • 1
1
vote
2 answers

GitHub REST and GraphQL API are returning different data

I am scraping some data from GitHub. The RESTful URL to this particular PR shows that it has a merge_commit_sha value: https://api.github.com/repos/ansible/ansible/pulls/15088 However, when I try to get the same PR using GitHub GraphQL API, it shows…
Parvez M Robin
  • 154
  • 1
  • 3
  • 16
1
vote
1 answer

Getting repository contents using GitHub API

I know there is an API for getting repository content. But my use case is I need to get the whole repository and display it in my UI like GitHub UI. Similar to GitHub UI, I need my repository to be displayed in my UI. Is there any API I can use to…
user19672461
1
vote
1 answer

How to pass Github Auth token in Node Fetch?

I'm currently dealing with API rate: API rate limit exceeded. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) I've tried multiple different methods, but seems like I'm…
Fill
  • 377
  • 2
  • 15
1
vote
1 answer

How to find the exact contributor count of a GitHub repository using GitHub API?

I am trying to count the total number of contributors of a GitHub repository using the GitHub API. But, I did not get the exact number of contributors shown in the repository. For example, in the azure-sdk-for-go repository, the total number of…
Setu Kumar Basak
  • 11,460
  • 9
  • 53
  • 85
1
vote
0 answers

Github API for retrieving organization activities

We found below link which can get organization events for authenticated user: https://docs.github.com/en/rest/activity/events#list-organization-events-for-the-authenticated-user curl \ -H "Accept: application/vnd.github+json" \ -H…
ebaotech
  • 11
  • 1
1
vote
1 answer

Is there a Git API List of Pull Request To Review?

I want to list up my team's pull request list not approved by me https://docs.github.com/en/rest/pulls/pulls#list-pull-requests I tried that API but it is return full list of my team's PR
Deong
  • 55
  • 1
  • 6
1
vote
0 answers

GitHub GraphQL API doesn't return pull requests from user with private activity settings

I have a GitHub app that is authorized to access data from my workplace's private repository. I use the GitHub GraphQL API to search for each user's recent pull requests. The pull request query works great except in the case of one user who has made…
marie2048
  • 11
  • 1
1
vote
0 answers

Question about integrating Slack API with Github API

I'm trying to create a Slack app and integrate it with Github's API. So for example whenever a Slack user performs a slash command like /repositories my web app (Spring boot) will make a request to Github and fetch all the repositories. My question…
1
vote
1 answer

Get date of review request from GitHub API

How do I get the timestamp at which a PR review was request/re-requested? It shows as an event in the conversations tab in a PR so it must exist somewhere. The pulls API endpoint show who has been requested to review but I can't see when. …
Tamlyn
  • 22,122
  • 12
  • 111
  • 127
1
vote
0 answers

How do I prevent a Github App API authentication from failing

I am building a simple process that requires access to Github App authentication to create and manage issues. I am using this library: https://github.com/GrahamCampbell/Laravel-GitHub In the config, I opted to use the app connection method, so I…
3m1n3nc3
  • 353
  • 7
  • 21
1
vote
1 answer

Is there a way to get binary files (contents) of Github private repositories of GitHub OAuth logged in users through Github API?

I've been looking for a way to get binary files (contents) of Github private repositories and organization repositories through GitHub API, in order to build those files and deploy them for users. (in order to create a minimized version of clone…
Taewan
  • 23
  • 3
1
vote
1 answer

can not search a user name in repositories those I have starred

Is there any way to find a user in my starred repo list? For e.g. I have starred 3 or 4 repos from the user: https://github.com/pemistahl But there seems to be no way to get that list.
shantanuo
  • 31,689
  • 78
  • 245
  • 403
1
vote
1 answer

Run github workflow with python

I have a python workflow in github here. I can run that workflow from the web interface. But problem is everytime I have to visit github and click on run workflow. Again I have to login in github from an unknown device to run that workflow. Is there…
1
vote
1 answer

github api : List workflow runs with created and status parameters

I am trying to list Lists all workflow runs for a repository with parameters created and status also i am using per_page. I am using below url but it doss not work as expected. It does not throw any error but the filter for date(created)does not…
Panda
  • 513
  • 2
  • 11
1 2 3
99
100