cURL
curl --request POST \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/commits/synced \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "hashes": [ "abc1234567890def1234567890fedcba", "84c76a5b2e9a2637f9091991475c404d" ] } '
{ "status": "<string>", "status_message": "<string>", "hashes": [ "<string>" ], "oxen_version": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Namespace of the repository
Name of the repository
List of commit hashes successfully synced to the server.
Commits marked as synced