Forgejo icon

Forgejo

Interact with Forgejo API

Overview

This node interacts with the Forgejo API to perform operations related to tags in a repository. Specifically, the 'List' operation under the 'Tag' resource fetches a paginated list of tags from a specified repository owned by a user or organization. This is useful for scenarios where you want to retrieve all tags associated with a repository, for example, to display version tags or to automate processes based on tag information.

Use Case Examples

  1. Listing all tags in a repository to display available versions.
  2. Automating deployment workflows by fetching the latest tag from a repository.

Properties

Name Meaning
Owner The username or organization that owns the repository from which to list tags.
Additional Options Optional parameters to control pagination, including the page number to start from and the maximum number of results per page.

Output

JSON

  • json - The JSON response containing the list of tags retrieved from the repository.

Dependencies

  • Requires an API key credential for authentication with the Forgejo API.

Troubleshooting

  • Ensure the 'Owner' and 'Repository' parameters are correctly set to valid values; otherwise, the API call may fail.
  • Pagination parameters 'Page' and 'Limit' should be set within acceptable ranges to avoid errors or incomplete data.
  • Common errors include authentication failures due to invalid or missing API credentials, which can be resolved by verifying the API key setup.

Links

  • Forgejo API Documentation - Official documentation for the Forgejo API, useful for understanding available endpoints and parameters.

Discussion