v1
latestOpenAPI 3.0.32026-07-17136180270.3 KBGit
Get workspace file content
Get workspace file content. Returns the requested resource or collection for the authenticated caller.
get/api/projects/{projectId}/workspaces/{workspaceId}/git/file
Path parameters
projectIdstring required
Project identifier used to scope the request.
workspaceIdstring required
Workspace identifier within the project.
Query parameters
pathstring required
File or directory path relative to the workspace or session root.
refstring
Git revision or ref to read from.
Response
File content