Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to list team members within an organization. Specifically, for the "Organization" resource and the "Org List Team Member" operation, it retrieves information about a particular member of a specified team by their username. This is useful in scenarios where you want to manage or audit team membership details programmatically, such as verifying if a user belongs to a team or fetching user details for automation workflows.

Practical examples:

  • Automatically checking if a user is part of a specific team before granting access to resources.
  • Generating reports on team memberships.
  • Syncing team member data with other systems.

Properties

Name Meaning
Id The numeric identifier of the team whose member list you want to query.
Username The username of the member to retrieve information about.

Output

The node outputs JSON data representing the details of the specified team member within the given team. This typically includes user-related information as returned by the Gitea API for that team member. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating 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 authenticated user having permission to view team members.

Troubleshooting

  • Common issues:

    • Invalid or missing team ID or username will cause the request to fail.
    • Insufficient permissions may result in authorization errors.
    • Network connectivity problems can prevent API calls from succeeding.
  • Error messages:

    • "Not Found" or similar indicates the team or user does not exist or is inaccessible.
    • "Unauthorized" suggests invalid or missing API credentials.
  • Resolutions:

    • Verify the team ID and username are correct.
    • Ensure the API key has sufficient permissions.
    • Check network connectivity and Gitea server availability.

Links and References

Discussion