NAME
Pithub::Issues::Milestones - Github v3 Issue Milestones API
VERSION
version 0.01027
METHODS
create
Create a milestone
POST /repos/:user/:repo/milestones
Examples:
my $m = Pithub::Issues::Milestones->new; my $result = $m->create( repo => 'Pithub', user => 'plu', data => { description => 'String', due_on => 'Time', state => 'open or closed', title => 'String' } );
delete
Delete a milestone
DELETE /repos/:user/:repo/milestones/:id
Examples:
my $m = Pithub::Issues::Milestones->new; my $result = $m->delete( repo => 'Pithub', user => 'plu', milestone_id => 1, );
get
Get a single milestone
GET /repos/:user/:repo/milestones/:id
Examples:
my $m = Pithub::Issues::Milestones->new; my $result = $m->get( repo => 'Pithub', user => 'plu', milestone_id => 1, );
list
List milestones for an issue
GET /repos/:user/:repo/milestones
Examples:
my $m = Pithub::Issues::Milestones->new; my $result = $m->list( repo => 'Pithub', user => 'plu', );
update
Update a milestone
PATCH /repos/:user/:repo/milestones/:id
Examples:
my $m = Pithub::Issues::Milestones->new; my $result = $m->update( repo => 'Pithub', user => 'plu', data => { description => 'String', due_on => 'Time', state => 'open or closed', title => 'String' } );
AUTHOR
Johannes Plunien <plu@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 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.