Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea instance via its API, specifically to retrieve the issue configuration of a repository. It is useful when you want to programmatically access metadata or settings related to issues in a specific repository hosted on a Gitea server. For example, you might use this node to fetch issue templates, labels, or other configuration details before creating or managing issues automatically.

Properties

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

Output

The node outputs JSON data representing the issue configuration of the specified repository. This typically includes details such as issue templates, labels, and other settings related to how issues are managed within that repository. The exact structure depends on the Gitea API response for the issue configuration endpoint.

No binary data output is involved.

Dependencies

  • Requires a Gitea API authentication token configured in the node credentials.
  • Needs the base URL of the Gitea instance to be set in the credentials.
  • Relies on the Gitea REST API v1 endpoints.

Troubleshooting

  • Common Issues:

    • Incorrect or missing repository owner or name will cause the API call to fail.
    • Invalid or expired API authentication token will result in authorization errors.
    • Network connectivity issues to the Gitea server can prevent successful requests.
  • Error Messages:

    • 401 Unauthorized: Check that the API token is valid and has sufficient permissions.
    • 404 Not Found: Verify that the repository owner and name are correct and that the repository exists.
    • 500 Internal Server Error: Could indicate an issue with the Gitea server; try again later or check server logs.

Links and References

Discussion