Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea instance to retrieve the content of a specific wiki page from a repository. It is useful when you want to programmatically access documentation or notes stored in a repository's wiki on Gitea. For example, you might use this node to fetch the latest version of a project's wiki page for display in a dashboard or to automate documentation updates.

Properties

Name Meaning
Owner The username or organization that owns the repository.
Repo The name of the repository containing the wiki page.
Page Name The exact name of the wiki page to retrieve.

Output

The node outputs JSON data representing the content and metadata of the requested wiki page. This typically includes the page's text content, title, and possibly other related information such as last updated timestamp or author details. The output does not include binary data.

Dependencies

  • Requires an API key credential to authenticate with the Gitea instance.
  • Needs the base URL of the Gitea server configured in the credentials.
  • Depends on the Gitea REST API being accessible and the user having permission to read the repository's wiki pages.

Troubleshooting

  • Common issues:

    • Incorrect owner, repo, or page name will result in errors or empty responses.
    • Insufficient permissions or invalid API credentials can cause authentication failures.
    • Network connectivity problems to the Gitea server will prevent the node from working.
  • Error messages:

    • "404 Not Found" indicates the specified wiki page or repository does not exist.
    • "401 Unauthorized" or "403 Forbidden" suggests invalid credentials or lack of access rights.
  • Resolutions:

    • Verify the spelling and case sensitivity of the owner, repo, and page name.
    • Ensure the API key has appropriate permissions.
    • Confirm the Gitea server URL and network accessibility.

Links and References

Discussion