Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list subscribers (watchers) of a specific repository. It is useful for scenarios where you want to retrieve and process information about users who are watching a repository, such as for analytics, notifications, or integrations that depend on subscriber data.

For example, you might use this node to:

  • Generate reports on repository popularity by counting subscribers.
  • Trigger workflows when new subscribers are detected.
  • Sync subscriber lists with other systems.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository for which to list subscribers.
Page The page number of results to return (1-based). Useful for paginating through results.
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 subscribers to the specified repository. Each item in the output array corresponds to a subscriber object containing details such as username, user ID, and possibly other metadata provided by the Gitea API.

No binary data output is involved.

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 set in the credentials.

Troubleshooting

  • Authentication errors: Ensure the API token is valid and has sufficient permissions to access repository subscriber data.
  • Invalid owner or repo: Verify that the owner and repository names are correct and that the authenticated user has access.
  • Pagination issues: If no results appear, check that the Page and Limit parameters are set correctly; pages start at 1.
  • Network errors: Confirm that the Gitea server URL is reachable from the n8n environment.

Links and References

Discussion