Skip to content

Retrieve the path to repository storage

GET
/api/v4/projects/{id}/storage

Retrieves the path to repository storage for a specified project. If you are using Gitaly Cluster (Praefect), see Praefect-generated replica paths instead. Administrators only.

id
required
string

ID of a project

OK

Media type application/json
object
disk_path
string
project_id
integer format: int64
repository_storage
string
created_at
string format: date-time
Example
{
"disk_path": "@hashed/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b",
"project_id": 1,
"repository_storage": "default",
"created_at": "2012-10-12T17:04:47Z"
}

Bad Request

Unauthenticated

Not Found