v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Git

Checkout a branch or ref

Checkout a branch or ref. Accepts a JSON request body when defined and returns the resulting resource or action status.

post/api/projects/{projectId}/workspaces/{workspaceId}/git/checkout

Path parameters

projectIdstring required

Project identifier used to scope the request.

workspaceIdstring required

Workspace identifier within the project.

Request body

refstring required

ref value for the git Checkout Request object.

Response

Checkout result

messagestring

Human-readable status or error message.

statusstring

Current status value.

successboolean

Whether the requested action succeeded.