Commits

Get root commit

Get the root (initial) commit of the repository, or None if empty.

get/api/repos/{namespace}/{repo_name}/commits/root

Request

Path parameters

namespacestring required

Namespace of the repository

repo_namestring required

Name of the repository

Response

Root commit found (None if empty repository)

oxen_versionstring nullable
statusstring required
status_messagestring required

Example response

{
  "commit": {
    "author": "ox",
    "email": "ox@example.com",
    "id": "a1b2c3d4e5f67890abcdef1234567890",
    "message": "Initial empty repository commit.",
    "parent_ids": [],
    "timestamp": "2025-01-01T10:00:00Z"
  },
  "status": "success",
  "status_message": "resource_found"
}

Changes

No recorded changes to this operation across all 1 revision of this API.