Repositories

Get repository details

Get repository details including size and data types from the main branch.

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

Request

Path parameters

namespacestring required

Namespace of the repository

repo_namestring required

Name of the repository

Response

Repository details

statusstring required
status_messagestring required

Example response

{
  "repository": {
    "data_types": [
      {
        "count": 1000,
        "data_type": "image"
      },
      {
        "count": 5,
        "data_type": "tabular"
      }
    ],
    "is_empty": false,
    "name": "my-corn-pics",
    "namespace": "bessie",
    "size": 1074288000
  },
  "status": "success",
  "status_message": "resource_found"
}

Changes

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