Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea instance via its API, specifically to retrieve issue templates from a repository. It is useful when you want to programmatically access predefined issue templates in a given repository, for example, to display them in a custom interface or automate issue creation workflows based on these templates.

A practical example would be automating the retrieval of issue templates to present users with standardized issue formats before they submit bug reports or feature requests.

Properties

Name Meaning
Owner The owner (user or organization) of the repository from which to get issue templates.
Repo The name of the repository to fetch issue templates from.

Output

The node outputs JSON data representing the issue templates available in the specified repository. Each template typically includes fields such as the template's name, description, and content. This allows downstream nodes or workflows to utilize or display these templates.

No binary data output is involved.

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 repository issue templates.

Troubleshooting

  • Common issues:

    • Incorrect or missing repository owner or name will result in errors or empty results.
    • Authentication failures if the API key or URL is misconfigured.
    • Insufficient permissions to access the repository or its issue templates.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check API key and URL configuration.
    • "Repository not found": Verify the owner and repo names are correct.
    • "Permission denied": Ensure the authenticated user has read access to the repository.

Links and References

Discussion