projects

Retrieve the path to repository 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.

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

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

ID of a project

Response

Retrieve the path to repository storage

disk_pathstring required
project_idinteger required
repository_storagestring required
created_atstring date-time required

Example response

{
  "disk_path": "@hashed/6b/86/6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b",
  "project_id": 1,
  "repository_storage": "default",
  "created_at": "2012-10-12T17:04:47Z"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.