Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to delete a subscription for an issue. Specifically, it allows a user to unsubscribe from notifications or updates related to a particular issue in a repository hosted on Gitea. This is useful in scenarios where users want to stop receiving alerts about changes or comments on issues they no longer wish to follow.

Practical examples:

  • A developer who was previously subscribed to an issue but has resolved their part and wants to stop receiving notifications.
  • A project manager cleaning up subscriptions to reduce noise in their notification feed.

Properties

Name Meaning
Owner The owner of the repository where the issue exists.
Repo The name of the repository containing the issue.
Index The index (number) identifying the specific issue within the repository.
User The username of the user who wants to unsubscribe from the issue notifications.

Output

The node outputs JSON data representing the result of the unsubscribe operation. Typically, this will confirm whether the unsubscription was successful or provide details if it failed. There is no indication that binary data is output by this node.

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 having appropriate permissions to modify issue subscriptions.

Troubleshooting

  • Common Issues:

    • Incorrect repository owner or repo name can cause "not found" errors.
    • Invalid issue index may lead to failure because the issue does not exist.
    • Insufficient permissions for the authenticated user to modify subscriptions.
    • Network connectivity problems to the Gitea server.
  • Error Messages:

    • 404 Not Found: Check that the owner, repo, and issue index are correct.
    • 401 Unauthorized or 403 Forbidden: Verify that the API key credential is valid and has sufficient rights.
    • Network Errors: Ensure the Gitea server URL is reachable and correct.

Links and References

Discussion