NAME

WWW::Gitea::Org - Gitea organization entity

VERSION

version 0.001

SYNOPSIS

my $org = $gitea->orgs->get('perl-modules');

print $org->name, " — ", $org->full_name, "\n";
my $repos = $org->repos;

DESCRIPTION

Lightweight wrapper around the JSON returned for a Gitea organization. Convenience methods delegate back to the client's WWW::Gitea::API::Orgs controller. The raw decoded data is always available via "data".

data

Raw decoded JSON for the organization. Writable so "refresh" can update it in place.

id

Numeric organization ID.

name

Organization name (the name/username field).

full_name

Organization display name.

description

Organization description.

avatar_url

URL of the organization's avatar image.

website

Organization website URL.

location

Organization location.

visibility

public, limited or private.

refresh

$org->refresh;

Re-fetches the organization and updates "data" in place.

repos

my $repos = $org->repos;

Lists the organization's repositories. Delegates to "repos" in WWW::Gitea::API::Orgs. Returns an ArrayRef of WWW::Gitea::Repo.

delete

$org->delete;

Deletes the organization.

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.