Skip to content

Create a group repository storage move

POST
/api/v4/groups/{id}/repository_storage_moves

Creates a group repository storage move for a specified group. This operation moves only group wiki repositories and does not move repositories for projects in a group.

id
required
string

The ID of a group

Media type application/json
object
destination_storage_name

The destination storage shard

string
nullable
Example generated
{
"destination_storage_name": "example"
}

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
group
object
id
integer format: int64
web_url
string
name
string
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",
"group": {
"web_url": "http://gitlab.example.com/groups/diaspora",
"name": "Diaspora"
}
}

Bad Request

Not Found