Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node operation retrieves the reactions for a specific issue in a repository hosted on a Gitea instance. It is useful when you want to analyze or display user engagement on issues by fetching all the emoji reactions associated with an issue.

Practical examples include:

  • Displaying the number and types of reactions on an issue in a dashboard.
  • Monitoring community feedback or sentiment on reported issues.
  • Automating reports that summarize user interactions on issues.

Properties

Name Meaning
Owner The owner (user or organization) of the repository where the issue exists.
Repo The name of the repository containing the issue.
Index The index (number) of the issue for which to get reactions.
Page (Optional) The page number of results to return, starting at 1. Used for pagination.
Limit (Optional) The number of results per page to return. Used for pagination.

Output

The output contains a JSON array of reaction objects related to the specified issue. Each reaction object typically includes details such as the type of reaction (e.g., thumbs up, heart), the user who reacted, and timestamps.

If the node supports binary data output, it would be used for attachments or media, but this operation focuses solely on JSON data representing reactions.

Dependencies

  • Requires connection to a Gitea instance via its API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL of the Gitea server must be set in the credentials.

Troubleshooting

  • Common Issues:

    • Incorrect repository owner or repo name will result in "Not Found" errors.
    • Providing an invalid issue index may cause errors or empty results.
    • Pagination parameters (page, limit) set incorrectly might lead to unexpected empty responses.
  • Error Messages:

    • 404 Not Found: Verify that the owner, repo, and issue index are correct.
    • 401 Unauthorized: Check that the API authentication token is valid and has sufficient permissions.
    • 400 Bad Request: Ensure that pagination parameters are positive integers if provided.

Links and References

Discussion