Skip to main content
POST
Create a repo

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Body

application/json
repo_name
string
required
Required string length: 1 - 128
Example:

"repo-name"

description
string
branchless
boolean

Response

The newly created repo object

repo_name
string
required
Required string length: 1 - 128
Example:

"repo-name"

repo_id
string
required
Example:

"example_id"

size_bytes
number<float>
required
owner_user_id
string
required
created_timestamp
integer<int64>
required

Seconds since epoch UTC

description
string
default_branch_id
string
default_branch_name
string
sync_git_repo_url
string

Optional URL of the git repository being synced with the repo