Forgejo icon

Forgejo

Interact with Forgejo API

Overview

This node interacts with the Forgejo API to perform various operations related to software development repositories and their components. Specifically, for the 'Release' resource with the 'Get' operation, it retrieves detailed information about a specific release in a repository. This is useful for scenarios where you need to fetch release metadata such as version tags, release notes, and status for automation workflows, release management, or integration with other tools.

Use Case Examples

  1. Automatically fetch release details to update a changelog or notify a team.
  2. Retrieve release information to verify deployment versions in a CI/CD pipeline.

Properties

Name Meaning
Owner The username or organization that owns the repository where the release exists.
Repository The name of the repository containing the release.
Release ID The unique identifier of the release to retrieve.
Tag Name The tag name associated with the release.

Output

JSON

  • json - The JSON object containing the release details returned from the Forgejo API.

Dependencies

  • Requires an API key credential for Forgejo API authentication.

Troubleshooting

  • Ensure the 'Owner', 'Repository', and 'Release ID' parameters are correctly set to valid values; otherwise, the API call will fail.
  • Common errors include authentication failures if the API key is missing or invalid, and 'Not Found' errors if the release ID does not exist in the specified repository.
  • If the node returns an empty response, verify that the release ID corresponds to an existing release in the repository.

Discussion