Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list members of a specified organization. It is useful for workflows that need to retrieve and process information about users belonging to an organization hosted on a Gitea instance. For example, it can be used to automate reporting on team membership, synchronize user lists with other systems, or trigger actions based on organization membership changes.

Properties

Name Meaning
Org The name of the organization whose members you want to list.
Page The page number of results to return (1-based). Useful for paginating through members.
Limit The number of results per page (page size). Controls how many members are returned at once.

Output

The node outputs JSON data containing the list of members retrieved from the specified organization's membership endpoint. Each item in the output corresponds to a member object as returned by the Gitea API, typically including details such as username, ID, and role within the organization.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with a Gitea instance.
  • The base URL of the Gitea server must be configured in the credentials.
  • The node uses the Gitea REST API v1 endpoints under /api/v1.

Troubleshooting

  • Invalid Organization Name: If the organization name is incorrect or does not exist, the API will return an error. Verify the spelling and existence of the organization.
  • Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to access organization membership data.
  • Pagination Issues: If no results are returned, check if the Page and Limit parameters are set correctly. Remember that pages are 1-based.
  • API Rate Limits: Frequent requests may hit rate limits imposed by the Gitea server; handle errors accordingly and consider adding delays or retries.

Links and References

Discussion