Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve information about a specific user. It is useful when you want to fetch details of a user by their username from a Gitea instance, such as for automation workflows that need to verify user existence, gather user metadata, or integrate user data into other systems.

A practical example would be an automation that triggers when a new issue is created and then fetches the issue creator's user details to personalize notifications or update records in a CRM.

Properties

Name Meaning
Username The username of the user to get

Output

The node outputs JSON data representing the user details retrieved from the Gitea API. This typically includes fields such as user ID, username, full name, email, avatar URL, and other profile-related information provided by Gitea.

No binary data output is indicated.

Dependencies

  • Requires an API key credential to authenticate with the Gitea instance.
  • Needs the base URL of the Gitea server configured in the credentials.
  • Depends on the Gitea REST API being accessible and the user specified by username existing.

Troubleshooting

  • User Not Found: If the username does not exist, the API will likely return a 404 error. Verify the username spelling and ensure the user exists in the Gitea instance.
  • Authentication Errors: If the API key or URL is incorrect or missing, authentication will fail. Check the credential configuration.
  • Network Issues: Ensure the Gitea server is reachable from the n8n environment.
  • API Rate Limits: If many requests are made in a short time, the API might throttle requests. Implement retry logic or reduce request frequency.

Links and References

Discussion