Skip to content

Schedule repository storage moves for all snippets on a storage shard

POST
/api/v4/snippet_repository_storage_moves

Schedules repository storage moves for each snippet repository stored on the source storage shard. This endpoint migrates all snippets at once.

Media type application/json
object
source_storage_name
required

The source storage shard

string
>= 1 characters
destination_storage_name

The destination storage shard

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

Accepted

Bad Request