GitLab API icon

GitLab API

Gitlab

Actions1062

Groups → getApiV4GroupsIdGroupsShared

AI-generated

Summary

Retrieve the groups shared with a specified GitLab group by group ID, optionally filtering and paginating the results.

Inputs

  • id (required) — The ID of the GitLab group whose shared groups you want to retrieve.
  • skip_groups — Array of group IDs to exclude from the result list.
  • visibility — Filter shared groups by their visibility status: private, internal, or public.
  • search — Search for specific group names within the shared groups.
  • min_access_level — Minimum access level of the authenticated user required for the shared groups.
  • order_by — Field to order the results by; options include name, path, id, or similarity (when searching). Defaults to name.
  • sort — Sort order for the results: ascending ('asc') or descending ('desc'). Defaults to ascending.
  • page — Page number for paginated results. Defaults to 1.
  • per_page — Number of shared groups to return per page. Defaults to 20.
  • with_custom_attributes — Whether to include custom attributes in the response.

Output shape

a paginated list of shared groups objects as returned by the GitLab API

Pagination is supported via the 'page' and 'per_page' parameters. Filtering and sorting options affect the returned list. Authentication is required unless 'Skip Authentication' is enabled. If enabled, authentication is omitted.

Links

Discussion