buckets
Get file metadata
Changed onReturns file metadata including size, hash, and links to XET authentication
get/buckets/{namespace}/{repo}/resolve/{path}
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/buckets/{namespace}/{repo}/resolve/{path}
- Auth: HTTP bearer
Path parameters
namespacestring required
repostring required
pathstring required
Wildcard path parameter
Query parameters
noContentDispositionstring
downloadstring
Headers
Accept'application/vnd.xet-fileinfo+json'
Returns json information about the XET file info
Response
XET file info returned when the Accept header is set to application/vnd.xet-fileinfo+json. Otherwise, a 302 redirect is returned.
Changes
- info
added the required property
to the response with the status
- info
- info
for the
headerrequest parameterAccept, the type was generalized from no type tostring - info
for the
queryrequest parameterdownload, the type was generalized from no type tostring - info
for the
queryrequest parameternoContentDisposition, the type was generalized from no type tostring
- info