Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 2

cannot get pull request

Solved! Go to Solution.

I am admin on the repository xxx, but i cannot list all the pull request for the repository.

 

https://api.github.com/repos/rsarosh/xxx/pulls?state=all

 

Reponse gives me 404. What am i missing?

 

However, this API works : https://api.github.com/user/repos?type=all&per_page=1000

1 Reply
Solution
Copilot Lvl 2
Message 2 of 2

Re: cannot get pull request

Do you create the personal toke to have a link like this https://api.github.com/repos/rsarosh/xxx/pulls?state=all&access_token=xxxxx. You should be able to get it in settings -> developer settings -> personal token.