Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to allow users to unstar a repository they previously starred. Specifically, the "User Current Delete Star" operation removes a star from a specified repository owned by another user or organization. This is useful for managing your list of favorite repositories directly within an n8n workflow, automating cleanup or updating your starred repos based on certain triggers.

Practical examples include:

  • Automatically un-starring repositories after a certain period.
  • Removing stars from repositories that no longer meet your criteria.
  • Integrating with other automation workflows that manage your Git hosting activities.

Properties

Name Meaning
Owner The username or organization name that owns the repository to unstar.
Repo The name of the repository you want to remove the star from.

Output

The node outputs JSON data representing the response from the Gitea API after attempting to delete the star. Typically, this will be an empty object or a status confirmation indicating success or failure of the unstar action.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating 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 authenticated user having permission to unstar repositories.

Troubleshooting

  • Common issues:

    • Incorrect owner or repo names can cause the API call to fail.
    • Lack of proper authentication or expired API tokens will result in authorization errors.
    • Network connectivity problems to the Gitea server will prevent the request from completing.
  • Error messages:

    • 404 Not Found: The specified repository does not exist or the owner/repo combination is incorrect.
    • 401 Unauthorized: Authentication failed due to missing or invalid API credentials.
    • 403 Forbidden: The authenticated user does not have permission to unstar the repository.
  • Resolutions:

    • Double-check the spelling and casing of the owner and repo fields.
    • Verify that the API key credential is valid and has sufficient permissions.
    • Ensure the Gitea server URL is correct and reachable from the n8n environment.

Links and References

Discussion