Create a repository storage move for a project
POST
/api/v4/projects/{id}/repository_storage_moves
Creates a repository storage move for a specified project.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ” Media type application/json
object
destination_storage_name
The destination storage shard
string
Example generated
{ "destination_storage_name": "example"}Responses
Section titled “ Responses ”Created
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