NAME
WWW::Gitea::Attachment - Gitea attachment / asset entity
VERSION
version 0.003
SYNOPSIS
my $assets = $gitea->releases->assets('getty', 'p5-www-gitea', 5);
for my $a (@$assets) {
print $a->name, " (", $a->size, " bytes) -> ",
$a->browser_download_url, "\n";
}
DESCRIPTION
Lightweight wrapper around the JSON returned for a Gitea attachment (also called an "asset"). Attachments are returned by the release-asset and issue/comment-attachment endpoints. The raw decoded data is always available via "data"; mutation runs through the controllers (WWW::Gitea::API::Releases, WWW::Gitea::API::Issues).
data
Raw decoded JSON for the attachment.
id
Numeric attachment ID.
name
Display name of the attachment.
size
Size of the attachment in bytes.
download_count
Number of times the attachment has been downloaded.
uuid
The attachment's UUID.
browser_download_url
Direct download URL for the attachment.
created_at
ISO-8601 creation timestamp.
SEE ALSO
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://codeberg.org/getty/p5-www-gitea/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.