Skip to main content
POST
/
{namespace}
/
{repo_name}
/
versions
/
batch-download
Batch download files (Tarball)
curl --request POST \
  --url https://hub.oxen.ai/{namespace}/{repo_name}/versions/batch-download \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/gzip' \
  --data '[
  1
]'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

The namespace of the repository

repo_name
string
required

The name of the repository

Body

application/gzip

Gzip compressed binary payload containing a line-delimited list of merkle hashes to download

Required range: x >= 0

Response

200 - application/gzip

Tarball of all requested files, gzipped.