curl --request GET \
--url https://hub.oxen.ai/api/repos/:namespace/:repo_name/file/:revision/:pathcurl --request GET \
--url https://hub.oxen.ai/api/repos/:namespace/:repo_name/file/:revision/:pathcurl -X GET \
https://hub.oxen.ai/api/repos/ox/CatVsDogBoundingBox/file/main/images/000000000400.jpg \
-o ~/Downloads/dog.jpg
Authorization header with a valid token.
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