Repository Workspace Manipulation
Workspace checkout ref
Set the workspace to follow a different branch or commit (checkout). Currently supports only moving to a branch with an identical commit as the workspace’s current branch, or moving to any branch/commit if the workspace has no working changes.
POST
/
repos
/
{repo_id}
/
workspaces
/
{workspace_id}
/
checkout
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
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
The repo ID of the workspace.
Required string length:
3 - 128
Body
application/json
Properties to modify in an existing workspace
A branch or commit ID to point the workspace onto