Version Files
Download version file
Download a file by its resource path, with optional image resizing.
get/api/repos/{namespace}/{repo_name}/versions/{resource}
Request
- Base URLhttps://hub.oxen.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namespacestring required
The namespace of the repository
repo_namestring required
The name of the repository
resourcestring required
The resource identifier (e.g., 'main/path/to/file.ext' or a commit ID/branch name followed by the file path)
widthinteger nullable required
heightinteger nullable required
Response
File content returned as a stream. Content-Type matches the file's MIME type (e.g., image/jpeg), or the resized image's MIME type.
Changes
No recorded changes to this operation across all 1 revision of this API.