Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea instance via its API to list pinned issues of a specific repository. It is useful for users who want to programmatically retrieve highlighted or important issues that have been pinned in a repository, such as for dashboards, reporting, or automation workflows.

A practical example would be automatically fetching pinned issues from a project repository to display them on an internal team dashboard or to trigger notifications when pinned issues are updated.

Properties

Name Meaning
Owner The owner (user or organization) of the repository.
Repo The name of the repository from which to list pinned issues.

Output

The node outputs JSON data representing the list of pinned issues for the specified repository. Each item in the output array corresponds to a pinned issue and typically includes details such as issue title, number, state, labels, creator, creation date, and other metadata provided by the Gitea API.

No binary data output is indicated.

Dependencies

  • Requires connection to a Gitea instance with API access.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the Gitea API must be set in the credentials configuration.

Troubleshooting

  • Common Issues:

    • Incorrect owner or repository name will result in errors or empty results.
    • Missing or invalid API authentication token will cause authorization failures.
    • Network connectivity issues to the Gitea server can prevent successful API calls.
  • Error Messages:

    • Authorization errors typically indicate missing or incorrect API credentials.
    • "Not Found" errors usually mean the specified repository or owner does not exist or is inaccessible.
    • Rate limiting or server errors may occur if the Gitea instance restricts API usage.
  • Resolutions:

    • Verify the owner and repository names are correct and accessible.
    • Ensure the API token is valid and has sufficient permissions.
    • Check network connectivity and Gitea server status.

Links and References

Discussion