Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve a paginated list of starred repositories for the current authenticated user. It is useful when you want to programmatically access or display the repositories that a user has marked as favorites (starred) in Gitea. Typical use cases include generating reports, syncing starred repositories with other services, or building dashboards showing user preferences.

Properties

Name Meaning
Page The page number of results to return (1-based). Used for pagination.
Limit The number of results per page (page size). Controls how many starred repositories are returned per request.

Output

The node outputs JSON data representing the list of starred repositories for the current user. Each item in the output array corresponds to a repository object containing details such as repository name, owner, description, and other metadata as provided by the Gitea API.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Gitea instance.
  • The node expects the base URL of the Gitea server to be configured in the credentials.
  • The node uses the Gitea REST API endpoint /api/v1 to fetch starred repositories.

Troubleshooting

  • Empty results: If no starred repositories are returned, verify that the authenticated user has actually starred repositories.
  • Authentication errors: Ensure the API key or token used has sufficient permissions to read user starred repositories.
  • Pagination issues: If you receive fewer results than expected, check the Page and Limit parameters to ensure correct pagination.
  • API connectivity: Confirm the Gitea server URL is correct and reachable from n8n.

Links and References

Discussion