Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node allows you to search for users in a Gitea instance via its API. It is useful when you want to find user accounts based on keywords, user IDs, or paginate through user lists. Typical use cases include automating user management tasks, integrating user data into workflows, or filtering users for reporting purposes.

For example, you can search for users by a keyword in their username or full name, retrieve details of a specific user by their ID, or fetch a paginated list of users with control over page size and number.

Properties

Name Meaning
Q Keyword to search users by (e.g., part of username or full name).
Uid Specific user ID to search for.
Page Page number of results to return (1-based indexing).
Limit Number of results per page (page size).

Output

The node outputs JSON data representing the search results returned by the Gitea API. This typically includes an array of user objects matching the search criteria, each containing user details such as username, ID, email, and other profile information.

No binary data output is produced by this node.

Dependencies

  • Requires access to a Gitea instance with API enabled.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • The base URL of the Gitea server must be provided in the credentials configuration.

Troubleshooting

  • Empty results: Ensure that the search keyword or user ID is correct and that the authenticated user has permission to view user data.
  • Authentication errors: Verify that the API token or credentials are valid and have sufficient permissions.
  • Pagination issues: Remember that page numbering starts at 1; using 0 may result in unexpected behavior or no results.
  • API connectivity: Confirm that the Gitea server URL is reachable from the n8n environment and that there are no network/firewall restrictions.

Links and References

Discussion