Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve a paginated list of users that the current authenticated user is following. It is useful in scenarios where you want to analyze or process the social connections of the authenticated user on a Gitea instance, such as displaying followed users, syncing follow lists, or performing further operations on those users.

For example, you might use this node to:

  • Display all users the current user follows in a dashboard.
  • Automate notifications or actions based on the followed users' activities.
  • Aggregate data about followed users for reporting purposes.

Properties

Name Meaning
Page The page number of results to return (1-based). Allows pagination through the follow list.
Limit The number of results per page (page size). Controls how many followed users are returned per request.

Output

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

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with a Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • The node uses the Gitea REST API v1 endpoint /api/v1 to fetch data.

Troubleshooting

  • Empty results: If the output is empty, verify that the authenticated user actually follows other users and that the correct page and limit parameters are set.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to access the user's follow data.
  • Pagination issues: If you receive fewer results than expected, check the limit parameter and increment the page parameter to fetch subsequent pages.
  • API connectivity: Confirm the Gitea base URL is correct and reachable from n8n.

Links and References

Discussion