Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list the repositories that a specified user has starred. It is useful for scenarios where you want to retrieve and analyze the starred repositories of a particular user on a Gitea instance, such as for monitoring popular projects or gathering data about user interests.

For example, you could use this node to:

  • Fetch all repositories starred by a user to display them in a dashboard.
  • Analyze trends in starred repositories across multiple users.
  • Automate notifications when a user stars new repositories.

Properties

Name Meaning
Username The username of the Gitea user whose starred repositories you want to list.
Page The page number of results to return (1-based). Useful for paginating through results.
Limit The number of results to return per page (page size). Controls how many items are fetched.

Output

The node outputs JSON data representing the list of repositories starred by the specified user. Each item in the output array corresponds to a repository object returned by the Gitea API, containing details such as repository name, description, owner, and other metadata.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to a Gitea instance via its API.
  • Needs an API authentication token 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:

    • Invalid or missing API credentials will cause authentication errors.
    • Incorrect username input may result in empty results or "user not found" errors.
    • Pagination parameters (page and limit) set incorrectly might lead to unexpected empty responses or incomplete data.
  • Error messages:

    • Authentication failures typically indicate invalid or expired API tokens; verify and update credentials.
    • "User not found" errors suggest the username does not exist on the connected Gitea instance; double-check the spelling.
    • Rate limiting errors from the API may require waiting or adjusting request frequency.

Links and References

Discussion