Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve information about a specific label associated with an issue in a repository. It is useful when you want to fetch details of a particular label by its ID within a given repository owned by a user or organization. Practical scenarios include automating issue management workflows, generating reports on issue labels, or integrating label data into other systems.

Properties

Name Meaning
Owner The owner (user or organization) of the repository
Repo The name of the repository
Id The numeric ID of the label to retrieve

Output

The node outputs JSON data representing the label's details fetched from the Gitea API. This typically includes properties such as the label's ID, name, color, and description. There is no binary data output.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • Uses the Gitea REST API endpoint /api/v1 to perform operations.

Troubleshooting

  • Invalid Credentials: If authentication fails, verify that the API key and base URL are correctly set in the credentials.
  • Label Not Found: If the label ID does not exist in the specified repository, the API will return an error. Double-check the label ID, owner, and repo values.
  • Network Issues: Ensure the Gitea server is reachable from the n8n environment.
  • Permission Denied: The API key must have sufficient permissions to read repository labels.

Links and References

Discussion