Skip to main content
POST
Create repository

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Repository creation payload (JSON or Multipart)

Only used between client and server for creating a new remote repository.

name
string
required

The name of the repository. When cloned locally, this is the name of the directory. This name uniquely identifies it in the namespace.

namespace
string
required

The namespace that the repository lives in: dictates application-level repository ownership. A namespace can be e.g. a user, a team, or an entire organization. Namespaces must be unique.

description
string | null
files
object[] | null
host
string | null
is_public
boolean | null
root_commit
null | object
Example:
scheme
string | null
storage_kind
null | enum<string>

Which storage backend the server should use for this repo (e.g. "local", "s3").

Available options:
local,
s3

Response

Repository created

repository
object
required
Example:
status
string
required
status_message
string
required
metadata_entries
object[] | null