Skip to content

Retrieve a repository storage move for a project

GET
/api/v4/projects/{id}/repository_storage_moves/{repository_storage_move_id}

Retrieves a specified repository storage move for a project.

id
required
One of:
string

The ID or URL-encoded path of the project

repository_storage_move_id
required
integer

The ID of a project repository storage move

OK

Media type application/json
object
id
integer format: int64
created_at
string format: date-time
state
string
source_storage_name
string
destination_storage_name
string
error_message
string
project
object
id
integer format: int64
description
string
name
string
name_with_namespace
string
path
string
path_with_namespace
string
created_at
string format: date-time
Example
{
"id": 1,
"created_at": "2020-05-07T04:27:17.234Z",
"state": "scheduled",
"source_storage_name": "default",
"destination_storage_name": "storage1",
"error_message": "Failed to move repository",
"project": {
"id": 1,
"description": "desc",
"name": "project1",
"name_with_namespace": "John Doe / project1",
"path": "project1",
"path_with_namespace": "namespace1/project1",
"created_at": "2020-05-07T04:27:17.016Z"
}
}

Bad Request

Not Found