Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list all attachments of a specific release in a repository. It is useful when you want to programmatically retrieve metadata about files attached to a particular release, such as download links or file names. For example, this can be used in automation workflows that need to gather release assets for deployment, auditing, or notification purposes.

Properties

Name Meaning
Owner The owner (user or organization) of the repository.
Repo The name of the repository.
Id The numeric ID of the release whose attachments you want to list.

Output

The node outputs JSON data representing the list of attachments associated with the specified release. Each attachment typically includes details such as its name, size, download URL, and other metadata provided by the Gitea API. This output allows downstream nodes to process or utilize these attachments as needed.

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.
  • No additional external dependencies beyond the Gitea API and n8n's HTTP request capabilities.

Troubleshooting

  • Invalid Owner/Repo/Id: If the owner, repository name, or release ID is incorrect or does not exist, the node will likely return an error or empty results. Verify these inputs carefully.
  • Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to access the repository and its releases.
  • Network Issues: Connectivity problems to the Gitea server will cause failures; check network settings and server availability.
  • API Rate Limits: If the Gitea server enforces rate limits, excessive requests may be throttled or blocked.

Links and References

Discussion