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

how do i watch the activity of one user in my private repository?

I have a private repository. Need getting user activity (pull requests, comments filtered by user). 

GET /repos/:owner/:repo/pulls -  can I filtered this query by user login (id or email) ?

 

1 Reply
Community Manager
Message 2 of 2

Re: how do i watch the activity of one user in my private repository?

For that particular endpoint, you can't instruct GitHub to filter it by username or email for you, no. You'll need to get the results and then filter them yourself. You could, however, use the search endpoint and create a search that finds only the activity by that user and use that.

 

I hope that helps! Let us know if you have any other questions.