POST
/
repos
/
{repo_id}
/
workspaces
/
{workspace_id}
/
checkout

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
workspace_id
string
required

The repo ID of the workspace.

Required string length: 3 - 128

Body

application/json

Properties to modify in an existing workspace

ref_id
string
required

A branch or commit ID to point the workspace onto