Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve information about organizations in an administrative context. Specifically, the "Admin Get All Orgs" operation fetches a paginated list of all organizations managed by the Gitea instance. This is useful for administrators who need to audit, monitor, or manage multiple organizations within their Gitea server.

Practical examples include:

  • Listing all organizations to display in an admin dashboard.
  • Exporting organization data for reporting or backup.
  • Automating organizational management tasks based on retrieved data.

Properties

Name Meaning
Page The page number of results to return (1-based). Used for pagination.
Limit The number of results per page (page size). Controls how many organizations are returned per request.

Output

The node outputs JSON data representing the list of organizations retrieved from the Gitea API. Each item in the output corresponds to an organization object containing details such as organization name, ID, description, and other metadata as provided by the Gitea API.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Gitea API.
  • The node expects the base URL of the Gitea instance to be configured in the credentials.
  • The node uses standard HTTP headers to accept and send JSON content.

Troubleshooting

  • Empty or missing results: Ensure that the API key has sufficient permissions to access administrative endpoints.
  • Pagination issues: If no results appear, verify that the Page and Limit parameters are set correctly (e.g., Page should start at 1).
  • Authentication errors: Confirm that the API key credential is valid and the base URL is correct.
  • API rate limits or server errors: Check the Gitea server status and logs for any rate limiting or internal errors.

Links and References

Discussion