Repositories

Get repository stats

Get the total number of files, the total size of the files, and the number of different file types.

get/api/repos/{namespace}/{repo_name}/stats

Request

Path parameters

namespacestring required

Namespace of the repository

repo_namestring required

Name of the repository

Response

Repository statistics

oxen_versionstring nullable
statusstring required
status_messagestring required

Example response

{
  "repository": {
    "data_size": 1074288000,
    "data_types": [
      {
        "data_size": 524288000,
        "data_type": "image",
        "file_count": 500
      },
      {
        "data_size": 550000000,
        "data_type": "tabular",
        "file_count": 5
      }
    ]
  },
  "status": "success",
  "status_message": "resource_found"
}

Changes

No recorded changes to this operation across all 1 revision of this API.