curl --request GET \
--url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/branches \
--header 'Authorization: Bearer <token>'{
"branches": [
{
"commit": {
"author": "Bessie Oxington",
"email": "[email protected]",
"id": "592d564750031fa1431000472c2d721d",
"message": "update README",
"timestamp": "2024-11-25T21:11:12Z"
},
"commit_id": "592d564750031fa1431000472c2d721d",
"name": "main"
},
{
"commit": {
"author": "Daisy Oxington",
"email": "[email protected]",
"id": "abc1234567890def1234567890fedcba",
"message": "added new validation data",
"timestamp": "2024-11-25T20:00:00Z"
},
"commit_id": "abc1234567890def1234567890fedcba",
"name": "development"
}
],
"oxen_version": "0.22.2",
"status": "success",
"status_message": "resource_found"
}curl --request GET \
--url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/branches \
--header 'Authorization: Bearer <token>'{
"branches": [
{
"commit": {
"author": "Bessie Oxington",
"email": "[email protected]",
"id": "592d564750031fa1431000472c2d721d",
"message": "update README",
"timestamp": "2024-11-25T21:11:12Z"
},
"commit_id": "592d564750031fa1431000472c2d721d",
"name": "main"
},
{
"commit": {
"author": "Daisy Oxington",
"email": "[email protected]",
"id": "abc1234567890def1234567890fedcba",
"message": "added new validation data",
"timestamp": "2024-11-25T20:00:00Z"
},
"commit_id": "abc1234567890def1234567890fedcba",
"name": "development"
}
],
"oxen_version": "0.22.2",
"status": "success",
"status_message": "resource_found"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Namespace of the repository
Name of the repository