Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list subscriptions of a specified user. It is useful for scenarios where you want to retrieve all repositories or resources a particular user is subscribed to within a Gitea instance. For example, it can be used in automation workflows to monitor user activity, generate reports on user subscriptions, or trigger actions based on subscription data.

Properties

Name Meaning
Username The username of the user whose subscriptions 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).

Output

The node outputs JSON data containing the list of subscriptions for the specified user. Each item in the output typically represents a subscription resource (such as a repository) that the user is subscribed to. The structure follows the standard Gitea API response format for user subscriptions.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to a Gitea instance.
  • Needs an API key credential configured in n8n to authenticate requests against the Gitea API.
  • 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 failures.
    • Incorrect username input may result in empty or error responses.
    • Pagination parameters (Page and Limit) set incorrectly might lead to unexpected result sets or no data.
  • Error messages:

    • Authentication errors usually indicate invalid or expired API tokens; verify and update credentials.
    • "User not found" errors suggest the username does not exist on the Gitea instance; double-check the username spelling.
    • Rate limiting or server errors from the Gitea API should be handled by retrying after some delay or checking server status.

Links and References

Discussion