Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for POST /api/v1/repositories/fork

source_org
string
required

The organization that owns the source public repository

source_repo
string
required

The source repository name

source_tag
string
required

The tag to fork (e.g. "latest", "v1.0")

repo_name
string | null

Name for the new repository in your org (defaults to source_repo if omitted)

tag_name
string | null

Tag name in the new repo (defaults to source_tag if omitted)

Response

Repository forked successfully

Response body for POST /api/v1/repositories/fork

commit_id
string<uuid>
required

The new commit in your org (snapshot of the forked VM)

reference
string
required

Full reference: repo_name:tag_name

repo_name
string
required

The new repository name in your org

tag_name
string
required

The tag name pointing to the forked commit

vm_id
string
required

The new VM that was created from the fork