GitLab API icon

GitLab API

Gitlab

Actions1062

Project_import → postApiV4ProjectsRemoteImport

AI-generated

Summary

Imports a project from a remote repository URL into GitLab via the POST /api/v4/projects/remote-import endpoint.

Inputs

  • skipAuthentication — If true, bypasses credential authentication (defaults to false).
  • authentication — GitLab API credential to use (hidden unless skipAuthentication is false).
  • baseUrl — Base URL of the GitLab instance (defaults to https://gitlab.com).
  • method — HTTP verb for the request; set to POST for this operation (default GET in UI but endpoint expects POST).
  • url (required) — Remote repository URL to import.
  • path (required) — Target project path and name (e.g., group/project).
  • name — Project name; defaults to the path if omitted.
  • namespace — Namespace ID or name where the project will be created; defaults to current user.
  • overwrite — If true, overwrites an existing project with same namespace and name.
  • override_params — Object containing additional project attributes (description, visibility, access levels, etc.) as per GitLab API.

Output shape

object

Returns the created project resource as JSON from GitLab.

Links

Discussion