v14

latestOpenAPI 3.1.02026-08-043122950.3 KB
discussions

PR storage estimate

Estimates the LFS storage used by a PR that could be freed if the ref is deleted.

get/api/{repoType}/{namespace}/{repo}/discussions/{num}/storage

Path parameters

repoType'models' | 'spaces' | 'datasets' | 'kernels' required
namespacestring required
repostring required
numstring required

Response

PR storage estimate response

estimatedStoragenumber required

Estimated storage in bytes that may be freed

refDeletedboolean required

Whether the ref has already been deleted