Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea instance via its API to retrieve information about repository reviewers. Specifically, the "Repo Get Reviewers" operation fetches the list of users who are designated as reviewers for a given repository. This is useful in scenarios where you want to automate or integrate code review workflows, monitor reviewer assignments, or gather metadata about repository collaboration.

Practical examples include:

  • Automatically fetching reviewers to notify them about new pull requests.
  • Integrating reviewer data into dashboards or reports.
  • Triggering workflows based on reviewer availability or assignments.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository from which to get reviewers.

Output

The node outputs JSON data representing the list of reviewers for the specified repository. Each item in the output typically contains details about a reviewer user such as username, ID, and other profile information as provided by the Gitea API.

If the node supports binary data output (not indicated here), it would be related to any attachments or files returned by the API, but this operation primarily returns JSON user data.

Dependencies

  • Requires access to a Gitea instance with an API endpoint.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the Gitea API must be set in the credentials configuration.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Incorrect owner or repo names will result in "not found" errors.
    • Network connectivity problems can prevent API calls from succeeding.
  • Error messages:

    • Authentication failures: Check that the API token is valid and has sufficient permissions.
    • 404 Not Found: Verify that the owner and repo names are correct and that the repository exists.
    • Timeout or network errors: Ensure the Gitea server is reachable and the URL is correctly configured.

Links and References

Discussion