v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
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

Request body

ref_idstring required

A branch or commit ID to point the workspace onto

Response

Request completed successfully