Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to create dependencies for an issue within a specified repository. It is useful in scenarios where you want to programmatically define relationships between issues, such as marking one issue as dependent on another. This can help in project management workflows by automating the tracking of issue dependencies.

For example, if you have an issue that cannot be resolved until another issue is completed, this node allows you to set that dependency via the Gitea API.

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 (identifier) of the issue for which you want to create dependencies.

Output

The node outputs JSON data representing the response from the Gitea API after creating the issue dependencies. This typically includes confirmation details about the created dependencies or any relevant metadata returned by the API.

No binary data output is indicated.

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 API being accessible and the user having appropriate permissions to modify issues in the target repository.

Troubleshooting

  • Common Issues:

    • Incorrect repository owner or name may cause "not found" errors.
    • Invalid or missing API authentication will result in authorization errors.
    • Providing an invalid issue index could lead to failure in creating dependencies.
  • Error Messages:

    • 404 Not Found: Check that the owner, repo, and issue index are correct.
    • 401 Unauthorized: Verify that the API key credential is valid and has sufficient permissions.
    • 400 Bad Request: Ensure all required properties are provided and correctly formatted.

Links and References

Discussion