Pithub::PullRequests::Reviewers - Github v3 Pull Request Review Requests API
- •
- Remove requested reviewers
DELETE /repos/:user/:repo/pulls/:id/requested_reviewers
Examples:
my $c = Pithub::PullRequests::Reviewers->new;
my $result = $c->delete(
repo => 'Pithub',
user => 'plu',
pull_request_id => 1,
);
- •
- List requested_reviewers for a pull request
GET /repos/:user/:repo/pulls/:id/requested_reviewers
Examples:
my $c = Pithub::PullRequests::Reviewers->new;
my $result = $c->list(
repo => 'Pithub',
user => 'plu',
pull_request_id => 1,
);
- •
- Request reviewers for a pull request
POST /repos/:user/:repo/pulls/:id/requested_reviewers
Examples:
my $c = Pithub::PullRequests::Reviewers->new;
my $result = $c->update(
repo => 'Pithub',
user => 'plu',
pull_request_id => 1,
data => { reviewers => ['octocat'] },
);
Johannes Plunien <plu@cpan.org>
This software is copyright (c) 2011-2019 by Johannes Plunien.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.