Skip to main content
GET
/
api
/
repos
/
{namespace}
/
{repo_name}
/
commits
/
missing
List missing commits
curl --request GET \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/commits/missing \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "hashes": [
    "abc1234567890def1234567890fedcba",
    "84c76a5b2e9a2637f9091991475c404d"
  ]
}
'
{
  "status": "<string>",
  "status_message": "<string>",
  "hashes": [
    "<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/json

List of commit hashes present on the client.

hashes
string[]
required

Response

List of commit hashes missing on the server

status
string
required
status_message
string
required
hashes
string[]
required
oxen_version
string | null