offline_transfers

Start a new offline transfer import

Initiates a new offline transfer import from object storage. For more information, see https://docs.gitlab.com/user/group/import/offline_transfer_migrations/

post/api/v4/offline_imports

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Request body

bucketstring required

Name of the object storage bucket where export data is stored

export_prefixstring required

Prefix of the export within the bucket

Response

Start a new offline transfer import

idinteger required
status'created' | 'started' | 'finished' | 'timeout' | 'failed' required
source_typestring required
source_urlstring required
created_atstring date-time required
updated_atstring date-time required
has_failuresboolean required

Example response

{
  "id": 1,
  "status": "finished",
  "source_type": "gitlab",
  "source_url": "https://source.gitlab.com/",
  "created_at": "2012-05-28T04:42:42-07:00",
  "updated_at": "2012-05-28T04:42:42-07:00"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.