Skip to main content
Register a repository

Authorizations

Authorization
string
header
required

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

Headers

Content-Encoding
enum<string>
Available options:
base64,
gzip, base64

Body

application/json
remote_url
string
required
workspace_id
string
required
contributors
string[]
default_branch
string | null
display_name
string | null
external_id
string | null
owner_id
string | null
project_id
string | null
visibility
enum<string> | null
Available options:
public,
private,
internal

Response

HTTP 201 response.

artifact_status
string
required
commit_ts
string
required
created_at
string
required
created_by
string
required
id
string
required
is_latest
boolean
required
kind
string
required
name
string
required
source_type
string
required
updated_at
string
required
updated_by
string
required
version_ordinal
integer<int64>
required
deprecated
workspace_id
string
required
remote_url
string
required
app
string
content_hash_hex
string | null
current_releases
object | null
display_name
string
etag
string | null
identity
object | null
oidc_client_id
string | null
owner_id
string | null
project_id
string | null
repo_id
string | null
deprecated
source_created_at
string | null
source_created_by
string | null
source_digest
string | null
source_id
string | null
source_last_modified_at
string | null
source_last_modified_by
string | null
source_metadata
any
source_synced_at
string | null
source_uri
string | null
source_version
string | null
uri
string | null
version_label
string | null
write_index
integer<int64> | null
default_branch
string | null
external_id
string | null
last_sync_error
string | null
provider
enum<string>
Available options:
github,
gitlab,
bitbucket,
other
sync_status
enum<string>
Available options:
never,
pending,
ok,
failed
visibility
enum<string> | null
Available options:
public,
private,
internal
permissions
object | null
relationships
object | null