GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves the list of groups invited to a specific GitLab project. It is useful for managing project access and permissions by viewing which groups have been granted access to the project. For example, a user can fetch all invited groups to audit access or manage group permissions efficiently.

Use Case Examples

  1. Fetch invited groups for a project to review access rights.
  2. Search for specific groups invited to a project using filters like relation or minimum access level.

Properties

Name Meaning
Skip Authentication If true, the node will skip authentication when making the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is GET.
Parameter Schema Defines the parameters for the API request including path and query parameters such as project ID, relation filter, search term, minimum access level, pagination, and custom attributes inclusion.
Query Parameters Collection of optional query parameters to filter and paginate the invited groups list, including relation, search, minimum access level, page number, items per page, and whether to include custom attributes.
Path Parameters Collection of path parameters, specifically the project ID or URL-encoded path identifying the project.

Output

JSON

  • id - The unique identifier of the invited group.
  • name - The name of the invited group.
  • path - The URL path of the invited group.
  • access_level - The access level granted to the group for the project.
  • custom_attributes - Optional custom attributes included if requested.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID is correctly provided and URL-encoded if necessary to avoid 404 errors.
  • Verify that the API authentication token has sufficient permissions to access project group information to prevent authorization errors.
  • Check query parameter formats and values, especially for enums like relation and min_access_level, to avoid invalid request errors.

Links

Discussion