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
- Base URLhttps://hub.oxen.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namespacestring required
Namespace of the repository
repo_namestring required
Name of the repository
Response
Repository statistics
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.