Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list dependencies of a specific issue within a repository. It is useful for project management and tracking, allowing users to see which issues depend on or are related to a particular issue. For example, a developer can use this node to retrieve all issues that must be resolved before the current issue can be completed, helping to manage task priorities and workflows.

Properties

Name Meaning
Owner The owner (user or organization) 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.
Page (Optional) The page number of results to return, starting at 1. Used for pagination.
Limit (Optional) The number of results per page to return. Controls the page size.

Output

The node outputs JSON data representing the list of issue dependencies retrieved from the Gitea API. This typically includes details about each dependent issue such as its ID, title, status, and other metadata. The output does not include binary data.

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 endpoint /api/v1/repos/{owner}/{repo}/issues/{index}/dependencies to fetch issue dependencies.

Troubleshooting

  • Common Issues:

    • Incorrect or missing repository owner or name will cause the API call to fail.
    • Providing an invalid issue index may result in a "not found" error.
    • Pagination parameters (page and limit) set incorrectly might lead to empty or incomplete results.
    • Network connectivity or authentication failures can prevent successful API calls.
  • Error Messages:

    • 404 Not Found: Check if 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 pagination parameters are valid numbers and within allowed ranges.

Links and References

Discussion