Skip to main content
POST
/
api
/
repos
/
{namespace}
/
{repo_name}
/
commits
/
upload
Upload commits DB
curl --request POST \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/commits/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/octet-stream' \
  --data '[
  1
]'
{
  "status": "<string>",
  "status_message": "<string>",
  "oxen_version": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

Body

application/octet-stream

Compressed commit database (tar.gz)

Required range: x >= 0

Response

200 - application/json

Commits DB uploaded successfully

status
string
required
status_message
string
required
oxen_version
string | null