Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list topics associated with a specific repository. It is useful when you want to retrieve metadata tags or labels (topics) that categorize or describe a repository in Gitea. For example, developers or project managers can use this node to fetch all topics of a repository to analyze its categorization or to display them in dashboards.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository for which to list topics.
Page The page number of results to return (1-based). Useful for paginated responses.
Limit The number of results per page to return. Controls the page size of the response data.

Output

The node outputs JSON data containing the list of topics for the specified repository. Each item in the output corresponds to a topic label associated with the repository. The structure typically includes an array of strings representing topic names.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to a Gitea instance via its API.
  • Needs an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL of the Gitea server must be provided in the credentials configuration.

Troubleshooting

  • Common issues:

    • Incorrect owner or repository name will result in errors or empty results.
    • Missing or invalid API credentials will cause authentication failures.
    • Pagination parameters (page and limit) set incorrectly may lead to unexpected or empty responses.
  • Error messages:

    • Authentication errors usually indicate missing or invalid API tokens; verify credential setup.
    • "Not Found" errors suggest the repository or owner does not exist or is inaccessible.
    • Rate limiting errors from the API may require waiting or adjusting request frequency.

Links and References

Discussion