v52

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2026-08-03134119177.4 KB
repositories

create repository

post/repositories

Query parameters

bareboolean

If true, create a bare repository with no initial commit and branch

Request body

namestring required
storage_idstring

Unique identifier of the underlying data store. EXPERIMENTAL

storage_namespacestring required

Filesystem URI to store the underlying data in (e.g. "s3://my-bucket/some/path/")

default_branchstring
sample_databoolean
read_onlyboolean

Example request

{
  "storage_namespace": "s3://example-bucket/",
  "default_branch": "main",
  "sample_data": true,
  "read_only": true
}

Response

repository

idstring required
creation_dateinteger required

Unix Epoch in seconds

default_branchstring required
storage_idstring

Unique identifier of the underlying data store. EXPERIMENTAL

storage_namespacestring required

Filesystem URI to store the underlying data in (e.g. "s3://my-bucket/some/path/")

read_onlyboolean

Whether the repository is a read-only repository- not relevant for bare repositories