Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list repositories of a specified user. It is useful when you want to retrieve and process information about repositories owned by a particular user on a Gitea instance. Common scenarios include automation workflows that analyze user repositories, generate reports, or synchronize repository data with other systems.

For example, you could use this node to:

  • Fetch all repositories of a user to display them in a dashboard.
  • Automate backup or mirroring of user repositories.
  • Integrate repository metadata into project management tools.

Properties

Name Meaning
Username The username of the Gitea user whose repositories you want to list.
Page The page number of results to return (1-based). Useful for paginating through results.
Limit The number of repository results to return per page (page size).

Output

The node outputs JSON data representing the list of repositories for the specified user. Each item in the output array corresponds to a repository object as returned by the Gitea API, typically including details such as repository name, description, visibility, creation date, and other metadata.

No binary data output is indicated.

Dependencies

  • Requires an active connection to a Gitea instance via its API.
  • Needs an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL of the Gitea server must be provided in the credentials configuration.

Troubleshooting

  • Invalid Credentials or Unauthorized Access: If the API key or token is missing or incorrect, the node will fail to authenticate. Ensure the API credential is correctly set up.
  • User Not Found: If the specified username does not exist on the Gitea instance, the API will return an error. Verify the username spelling and existence.
  • Pagination Issues: Setting Page or Limit incorrectly (e.g., zero or negative values) may result in no data or errors. Use positive integers starting from 1 for Page.
  • Network or URL Errors: Incorrect base URL or network issues can cause request failures. Confirm the Gitea server URL and network connectivity.

Links and References

Discussion