Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve information about a specific organization. It is useful when you need to fetch details of an organization hosted on a Gitea instance, such as its profile data or metadata. Practical scenarios include automating workflows that require organizational data for reporting, synchronization, or access control purposes.

Properties

Name Meaning
Org The name of the organization to retrieve information about. This is a required string input where you specify the exact organization identifier in Gitea.

Output

The node outputs JSON data representing the organization's details as returned by the Gitea API. This typically includes fields such as the organization's ID, username, full name, description, website URL, location, visibility status, and other metadata related to the organization entity in Gitea.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential to authenticate with the Gitea instance.
  • Needs the base URL of the Gitea server configured in the credentials.
  • Depends on the Gitea REST API being accessible and the user having permission to read organization data.

Troubleshooting

  • Common issues:

    • Invalid or missing organization name will result in errors or empty responses.
    • Authentication failures due to incorrect or expired API keys.
    • Network connectivity problems to the Gitea server.
    • Insufficient permissions to access organization data.
  • Error messages and resolutions:

    • 404 Not Found: The specified organization does not exist or the user lacks access rights. Verify the organization name and permissions.
    • 401 Unauthorized: Authentication failed. Check the API key credential and ensure it has proper scopes.
    • Network errors: Confirm the Gitea server URL is correct and reachable from n8n.

Links and References

Discussion