Reputation: 20135
How can I list all active participants (commenters, reviewers, including reactions) in a GitHub pull request?
So far I do
GET /repos/{owner}/{repo}/issues/{issue_number}/comments
GET /repos/{owner}/{repo}/pulls/{issue_number}/comments
GET /repos/{owner}/{repo}/issues/{issue_number}/events
GET /repos/{owner}/{repo}/pulls/{issue_number}/reviews
and for the reactions on issues and pulls reactions
GET /repos/{owner}/{repo}/issues/{issue_comment_number}/reactions
GET /repos/{owner}/{repo}/pulls/{pull_comment_number}/reactions
for all pull requests needed.
Is there a faster/efficient way?
Upvotes: 4
Views: 387
Reputation: 252
It is a partial answer. It may satisfy you somehow:
GET /repos/{owner}/{repo}/pulls/{issue_number}
issue_html.txt
;There are 20 participants.
Upvotes: 0