GitLab API icon

GitLab API

Gitlab

Actions1062

Bulk_imports → postApiV4BulkImports

AI-generated

Summary

Create a bulk import job via GitLab's Bulk Import API. Sends a POST request to /api/v4/bulk_imports with form‑data describing the source entity and destination details.

Inputs

  • skipAuthentication — If true, disables authentication; otherwise uses the GitLab API credential. Default: false
  • authentication — The credential used for authenticating with GitLab (GitLab API). Hidden when skipAuthentication is true. Default: gitlabApi
  • baseUrl — Base URL of the target GitLab instance. Default: https://gitlab.com
  • method — HTTP method to use; for this operation the underlying OpenAPI definition expects POST. Options: get, post, put, delete, head, patch. Default: get
  • parameterSchema (required) — Form‑data parameters sent to the bulk import endpoint. Defined as an array of objects with the following fields: configuration[url] (string, required), configuration[access_token] (string, required), entities[source_type] (array of strings, enum [group_entity, project_entity], required), entities[source_full_path] (array of strings, required), entities[destination_namespace] (array of strings, required), entities[destination_slug] (array of strings, optional), entities[destination_name] (array of strings, deprecated, optional), entities[migrate_projects] (array of booleans, default true, optional), entities[migrate_memberships] (array of booleans, default true, optional)

Output shape

object

Returns the JSON object from the GitLab Bulk Import API representing the created bulk import job (includes fields such as id, state, created_at, etc.).

Links

Discussion