Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to delete a specific time entry associated with an issue in a repository. It is useful for managing issue tracking by removing time logs that are no longer relevant or were added by mistake. For example, if a user mistakenly logged time spent on an issue, this node can be used to delete that particular time record.

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 of the issue within the repository (likely its issue number).
Id The identifier of the specific time entry to delete from the issue.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this will confirm whether the time entry was successfully deleted or provide error details if the operation failed. There is no indication that binary data is output 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 API being accessible and the user having appropriate permissions to delete issue time entries.

Troubleshooting

  • Common issues:
    • Incorrect repository owner or repo name may cause "not found" errors.
    • Providing an invalid issue index or time entry ID will result in failure to locate the resource.
    • Insufficient permissions or invalid API credentials will cause authorization errors.
  • Error messages:
    • "404 Not Found": Check that the owner, repo, issue index, and time entry ID are correct.
    • "401 Unauthorized" or "403 Forbidden": Verify API credentials and user permissions.
    • Network errors: Ensure the Gitea server URL is reachable and correct.

Links and References

Discussion