Forgejo icon

Forgejo

Interact with Forgejo API

Overview

This node interacts with the Forgejo API to list assets of a specific release in a repository. It is useful for retrieving all assets associated with a particular release, such as binaries, source code archives, or other files attached to the release. For example, it can be used to automate the retrieval of release assets for deployment or backup purposes.

Use Case Examples

  1. List all assets for a release in a repository owned by a specific user or organization.
  2. Fetch release assets to display or process them in a workflow.

Properties

Name Meaning
Owner The username or organization that owns the repository.
Repository The name of the repository containing the release.
Release ID The unique identifier of the release whose assets are to be listed.
Additional Options Optional parameters to control pagination such as page number and limit of results per page.

Output

JSON

  • json - The JSON response containing the list of release assets with their details.

Dependencies

  • Requires an API key credential for Forgejo API authentication.

Troubleshooting

  • Ensure the Release ID is valid and corresponds to an existing release in the specified repository.
  • Verify that the Owner and Repository names are correct and accessible with the provided credentials.
  • Check API rate limits and permissions to avoid authorization errors.
  • Common errors include 404 Not Found if the release or repository does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion