Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to perform various operations related to repositories. Specifically, the "Topic Search" operation under the "Repository" resource allows users to search for repository topics by keywords. This is useful when you want to find repositories tagged with certain topics or keywords within a Gitea instance.

Practical examples include:

  • Searching for repositories related to a specific programming language or framework.
  • Finding projects tagged with particular topics for analysis or integration.
  • Filtering repositories based on custom tags or keywords used in your organization's Gitea server.

Properties

Name Meaning
Q Keywords to search for in repository topics (required).
Page Page number of results to return (1-based). Used for pagination.
Limit Number of results per page (page size). Controls how many results are returned per call.

Output

The node outputs JSON data containing the search results from the Gitea API. The structure typically includes an array of repository topics matching the search query, along with metadata such as pagination details if applicable.

No binary data output is indicated.

Dependencies

  • Requires connection to a Gitea instance via its API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL for the Gitea API must be provided in the credentials configuration.

Troubleshooting

  • Empty results: Ensure the search keyword (Q) is correctly specified and that the Gitea instance contains topics matching the query.
  • Authentication errors: Verify that the API key/token credential is valid and has sufficient permissions.
  • Pagination issues: If no results appear beyond the first page, check the Page and Limit values to ensure they are within valid ranges.
  • API connectivity: Confirm the Gitea base URL is correct and accessible from the n8n environment.

Links and References

Discussion