List all participants in a GitHub issue

Viewed 84

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?

0 Answers
Related