spaces
Resolve a file
Changed onThis endpoint requires to follow redirection
get/spaces/{namespace}/{repo}/resolve/{rev}/{path}
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/spaces/{namespace}/{repo}/resolve/{rev}/{path}
- Auth: HTTP bearer
Path parameters
namespacestring required
repostring required
revstring required
pathstring required
Wildcard path parameter
Headers
Rangestring
The range in bytes of the file to download
Accept'application/vnd.xet-fileinfo+json'
Returns json information about the XET file info - if the file is a xet file
Response
The XET file info only available if the accept header is set to application/vnd.xet-fileinfo+json
Changes
- info
for the
headerrequest parameterAccept, the type was generalized from no type tostring
- info