Forgejo icon

Forgejo

Interact with Forgejo API

Overview

This node interacts with the Forgejo API to perform various operations on repositories. Specifically, the 'List' operation under the 'Repository' resource fetches a list of repositories owned by a specified user or organization. It supports pagination options to control the number of results per page and the starting page. This node is useful for scenarios where you need to retrieve and process multiple repositories programmatically, such as automating repository management, generating reports, or integrating repository data into other workflows.

Use Case Examples

  1. List all repositories for a given user or organization with pagination control.
  2. Fetch repositories to analyze repository metadata or status.

Properties

Name Meaning
Owner The username or organization name that owns the repositories to list.
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 - An array of repository objects returned from the Forgejo API, each representing a repository with its details.

Dependencies

  • Requires an API key credential for Forgejo API authentication.

Troubleshooting

  • Ensure the 'Owner' parameter is correctly specified as a valid username or organization name; otherwise, the API call will fail.
  • Pagination parameters must be within valid ranges; invalid page or limit values may cause errors or unexpected results.
  • API rate limits or authentication errors may occur if the Forgejo API key is invalid or missing.

Links

Discussion