Skip to content

gitea.organization.base

base

Base class for Gitea Organization resource.

Two endpoints answer "which organizations are there", and what separates them is whose organizations are being asked for: /user/orgs lists those of the account the token belongs to, and /users/{username}/orgs those of a named account.

Gitea also serves a site-wide listing at /orgs, which a token that is not scoped for it is refused. A listing of the organizations an account can see therefore cannot be read from it, and it is not wrapped here.

Classes

gitea.organization.base.BaseOrganization

Base class for Gitea Organization resource.