Skip to content

List all group or project migration entities

GET
/api/v4/bulk_imports/{import_id}/entities

Lists all group or project migration entities for a specified migration.

import_id
required
integer

The ID of user’s GitLab Migration

status
string
nullable
Allowed values: created started finished timeout failed canceled

Return import entities with specified status

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
id
integer format: int64
bulk_import_id
integer format: int64
status
string
entity_type
string
source_full_path
string
destination_full_path
string
destination_name
string
destination_slug
string
destination_namespace
string
parent_id
integer format: int64
namespace_id
integer format: int64
project_id
integer format: int64
created_at
string format: date-time
updated_at
string format: date-time
failures
Array<object>
object
relation
string
exception_message
string
exception_class
string
correlation_id_value
string
source_url
string
source_title
string
migrate_projects
boolean
migrate_memberships
boolean
has_failures
boolean
stats
object
Example
{
"id": 1,
"bulk_import_id": 1,
"status": "created",
"source_full_path": "source_group",
"destination_full_path": "some_group/source_project",
"destination_name": "destination_slug",
"destination_slug": "destination_slug",
"destination_namespace": "destination_path",
"parent_id": 1,
"namespace_id": 1,
"project_id": 1,
"created_at": "2012-05-28T04:42:42-07:00",
"updated_at": "2012-05-28T04:42:42-07:00",
"failures": [
{
"relation": "label",
"exception_message": "error message",
"exception_class": "Exception",
"correlation_id_value": "dfcf583058ed4508e4c7c617bd7f0edd",
"source_url": "https://source.gitlab.com/group/-/epics/1",
"source_title": "title"
}
],
"migrate_projects": true,
"migrate_memberships": true,
"has_failures": false
}

Bad Request

Unauthorized

Not found

Service unavailable