Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to check if the currently authenticated user has starred a specific repository owned by another user or organization. It is useful in scenarios where you want to programmatically verify whether a repository is starred by the current user, for example, to customize UI elements, trigger workflows based on starring status, or gather analytics about user interactions with repositories.

Practical examples:

  • Automatically notify a user if they have not starred a repository they frequently interact with.
  • Trigger follow-up actions only if the user has starred a particular repository.
  • Aggregate data on which repositories are popular among users.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository to check starring status for.

Output

The node outputs JSON data indicating whether the current user has starred the specified repository. The exact structure depends on the Gitea API response but typically includes a boolean or status confirming the starring state.

No binary data output is expected from this operation.

Dependencies

  • Requires an API authentication token credential to access the Gitea API.
  • The node expects the base URL of the Gitea instance to be configured in the credentials.
  • Network connectivity to the Gitea server is necessary.

Troubleshooting

  • Authentication errors: Ensure the API token or credentials provided have sufficient permissions to query starring information.
  • Repository not found: Verify that the "Owner" and "Repo" properties are correctly spelled and that the repository exists.
  • API endpoint unreachable: Check network connectivity and the correctness of the Gitea base URL in credentials.
  • Unexpected API responses: Confirm the Gitea server version supports the starring check endpoint.

Links and References

Discussion