Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list collaborators of a specified repository. It is useful for scenarios where you need to retrieve and manage the users who have access to a particular repository in Gitea, such as auditing permissions, displaying collaborator lists in dashboards, or automating team management workflows.

For example, you might use this node to:

  • Fetch all collaborators on a project repository to verify access rights.
  • Integrate collaborator data into reporting tools.
  • Automate notifications or updates based on collaborator changes.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository for which to list collaborators.
Page The page number of results to return (1-based). Useful for paginating through results.
Limit The number of results per page to return. Controls the page size of the response.

Output

The node outputs JSON data representing the list of collaborators for the specified repository. Each item in the output array typically contains details about a collaborator such as their username, permissions, and other metadata provided by the Gitea API.

If the API supports it, pagination information may also be included implicitly via the Page and Limit parameters controlling the subset of collaborators returned.

No binary data output is expected from this operation.

Dependencies

  • Requires an active connection to a Gitea instance via its REST API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL of the Gitea server must be set in the credentials.
  • The node uses standard HTTP headers for JSON content negotiation.

Troubleshooting

  • Invalid credentials or unauthorized error: Ensure the API token has sufficient permissions to read repository collaborators.
  • Repository not found: Verify the Owner and Repo names are correct and that the authenticated user has access.
  • Pagination issues: If no results appear, check that the Page and Limit values are within valid ranges and that collaborators exist.
  • Network errors: Confirm the Gitea server URL is reachable and the network allows outbound API calls.

Links and References

Discussion