Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve a list of followers for the currently authenticated user. It is useful in scenarios where you want to analyze or display the social connections of the user logged into Gitea, such as building dashboards, automating follower management, or integrating follower data into other workflows.

For example, you might use this node to:

  • Fetch and display the current user's followers on a team dashboard.
  • Automate notifications when new followers are detected.
  • Aggregate follower data for analytics purposes.

Properties

Name Meaning
Page The page number of results to return (1-based). Used for pagination to navigate through multiple pages of followers.
Limit The number of follower records to return per page. Controls the page size of results.

Output

The node outputs JSON data representing the list of followers of the current user. Each item in the output array corresponds to a follower object as returned by the Gitea API, typically including details such as username, id, avatar URL, and other user metadata.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • Needs the base URL of the Gitea server configured in the credentials.
  • Depends on the Gitea REST API v1 endpoint /api/v1 to fetch follower data.

Troubleshooting

  • Empty result sets: If no followers are returned, verify that the authenticated user actually has followers and that the page and limit parameters are set correctly.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to access user follower information.
  • Pagination issues: If you receive incomplete data, adjust the limit parameter or iterate over pages using the page property.
  • API connectivity problems: Confirm the Gitea base URL is correct and reachable from the n8n environment.

Links and References

Discussion