GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdTransferLocations

AI-generated

Summary

Retrieve a list of namespaces to which a specified GitLab project can be transferred, optionally filtering by a search term and paginating results.

Inputs

  • id (required) — The ID or URL-encoded path of the project to query for possible transfer locations.
  • search — Filter namespaces by this search string to narrow down results.
  • page — Specify the page number of the paginated results to retrieve, defaulting to 1 if not set.
  • per_page — Specify how many items to return per page, with a default of 20.
  • skipAuthentication — Optionally skip authentication; defaults to false and normally requires GitLab API credentials.
  • baseUrl — Base URL of the GitLab instance, defaulting to https://gitlab.com.
  • method — HTTP method to use for the request; defaults to GET in this operation.

Output shape

a list of namespace objects available as transfer destinations for the specified project

The response is paginated according to the 'page' and 'per_page' query parameters. Authentication is required unless explicitly skipped. Returned namespaces match optional 'search' criteria if provided.

Links

Discussion