cURL
curl --request GET \ --url https://hub.oxen.ai/api/repos/:namespace/:repo_name/file/:revision/:path
curl -X GET \ https://hub.oxen.ai/api/repos/ox/CatVsDogBoundingBox/file/main/images/000000000400.jpg \ -o ~/Downloads/dog.jpg
Authorization
curl -X GET -H "Authorization: Bearer $TOKEN" \ https://hub.oxen.ai/api/repos/my-namespace/my-private-repo/file/main/secret_image.png \ -o ~/Downloads/secret_image.png
curl -X GET -H "Authorization: Bearer $TOKEN" \ https://hub.oxen.ai/api/repos/my-namespace/my-private-repo/file/presigned_url/main/secret_image.png