Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list repositories belonging to a specified organization. It is useful for workflows that need to retrieve and process repository data from an organization hosted on a Gitea instance. For example, it can be used to automate reporting on repositories, trigger actions based on repository metadata, or synchronize repository information with other systems.

Properties

Name Meaning
Org The name of the organization whose repositories you want to list.
Page The page number of results to return (1-based). Useful for paginating through large sets.
Limit The number of results per page to return. Controls the page size of the response.

Output

The node outputs JSON data representing the list of repositories retrieved from the specified organization. Each item in the output corresponds to a repository object as returned by the Gitea API, typically including details such as repository name, description, visibility, creation date, and other metadata.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with a Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • The node uses the Gitea REST API v1 endpoint /api/v1.

Troubleshooting

  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to access organization repositories.
  • Invalid organization name: If the organization does not exist or is misspelled, the API will return an error or empty result.
  • Pagination issues: If page or limit parameters are set incorrectly (e.g., zero or negative), the API may return unexpected results or errors. Use positive integers starting at 1 for page.
  • API connectivity: Verify network connectivity to the Gitea server and that the base URL is correctly configured in credentials.

Links and References

Discussion