Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with a Gitea instance to retrieve wiki pages from a specified repository. It is useful for automating the extraction of documentation or notes stored in the wiki section of a repository hosted on a Gitea server. Typical use cases include syncing wiki content, generating reports based on wiki pages, or integrating wiki data into other workflows.

For example, you might use this node to fetch all wiki pages of a project repository to display them in an internal dashboard or to back up wiki content regularly.

Properties

Name Meaning
Owner The username or organization name that owns the repository.
Repo The name of the repository from which to get the wiki pages.
Page The page number of results to return (1-based). Useful for paginating through results.
Limit The number of wiki pages to return per request (page size).

Output

The node outputs JSON data containing the list of wiki pages retrieved from the specified repository. Each item in the output typically includes details about a wiki page such as its title, content, and metadata. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires access to a Gitea instance with API enabled.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL of the Gitea server must be provided in the credentials configuration.

Troubleshooting

  • Authentication errors: Ensure the API token is valid and has sufficient permissions to read repository wiki pages.
  • Invalid owner or repo: Verify that the owner and repository names are correct and accessible by the authenticated user.
  • Pagination issues: If not all wiki pages appear, check the Page and Limit parameters to paginate through all results.
  • Network or connectivity problems: Confirm that the Gitea server URL is reachable from the n8n environment.

Links and References

Discussion