List all GitLab Migrations' entities
This feature was introduced in GitLab 14.1.
Query parameters
-
Current page number
Default value is
1
. -
Number of items per page
Default value is
20
. -
Return GitLab Migrations sorted in created by
asc
ordesc
order.Values are
asc
ordesc
. Default value isdesc
. -
Return all GitLab Migrations' entities with specified status
Values are
created
,started
,finished
,timeout
, orfailed
.
GET
/bulk_imports/entities
curl \
--request GET 'https://www.gitlab.com/api/v4/bulk_imports/entities' \
--header "Private-Token: $API_KEY"
Response examples (200)
[
{
"id": 1,
"bulk_import_id": 1,
"status": "created",
"entity_type": "group",
"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": "group",
"step": "extractor",
"exception_message": "error message",
"exception_class": "Exception",
"correlation_id_value": "dfcf583058ed4508e4c7c617bd7f0edd",
"created_at": "2012-05-28T04:42:42-07:00",
"pipeline_class": "BulkImports::Groups::Pipelines::GroupPipeline",
"pipeline_step": "extractor"
}
],
"migrate_projects": true
}
]