Creating a new download is a two step process. You must first
create a new download resource using this call here. After
that you take the return Pithub::Result object and call
upload to upload the file to Amazon S3.
o Delete a download
o Get a single download
o List downloads for a repository
o Upload a file to Amazon S3. See also: create. This will use the ua attributes request method to do a POST request to Amazon S3. It requires the Pithub::Result object of a create call to get the necessary data for S3 API call. This method returns an HTTP::Response object directly, not a Pithub::Result object (like all other methods do)! If the upload was successful the status will be 201.
Github says: The Downloads API (described below) was deprecated on December 11, 2012. It will be removed at a future date. We recommend using Pithub::Repos::Releases instead.
Johannes Plunien <firstname.lastname@example.org>
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.
|perl v5.20.3||PITHUB::REPOS::DOWNLOADS (3)||2016-01-22|