Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list the users that a specified user is following. It is useful in scenarios where you want to retrieve and analyze the social connections of a user within a Gitea instance, such as for community management, analytics, or integration with other systems.

For example, you can use this node to:

  • Fetch all users followed by a particular username to display their network.
  • Integrate follower data into dashboards or reports.
  • Automate notifications or actions based on the follow relationships of users.

Properties

Name Meaning
Username The username of the user whose following list you want to retrieve.
Page The page number of results to return (1-based). Useful for paginating through results.
Limit The number of results per page (page size). Controls how many users are returned at once.

Output

The node outputs JSON data representing the list of users that the specified user is following. Each item in the output array corresponds to a user object from Gitea's API, typically including details like 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 a Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • Uses the Gitea REST API endpoint /api/v1 to fetch user following information.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Specifying a username that does not exist will result in an error or empty response.
    • Pagination parameters (page and limit) set incorrectly (e.g., negative numbers) may cause unexpected results or errors.
  • Error messages:

    • Authentication failures: Check that the API key and base URL are correctly configured.
    • User not found: Verify the username spelling and existence on the Gitea instance.
    • Rate limiting or API errors: Ensure the Gitea server allows sufficient API calls and that the node respects any rate limits.

Links and References

Discussion