Get GitLab Migration details

GET /bulk_imports/{import_id}

This feature was introduced in GitLab 14.1.

Path parameters

  • import_id integer(int32) Required

    The ID of user's GitLab Migration

Responses

  • 200 application/json

    Get GitLab Migration details

    Hide response attributes Show response attributes object
    • id integer(int32)
    • status string

      Values are created, started, finished, timeout, or failed.

    • source_type string
    • created_at string(date-time)
    • updated_at string(date-time)
  • 401

    Unauthorized

  • 404

    Not found

  • 503

    Service unavailable

GET /bulk_imports/{import_id}
curl \
 --request GET 'https://www.gitlab.com/api/v4/bulk_imports/{import_id}' \
 --header "Private-Token: $API_KEY"
Response examples (200)
{
  "id": 1,
  "status": "finished",
  "source_type": "gitlab",
  "created_at": "2012-05-28T04:42:42-07:00",
  "updated_at": "2012-05-28T04:42:42-07:00"
}