v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Git

Get workspace diff

Get workspace diff. Returns the requested resource or collection for the authenticated caller.

get/api/projects/{projectId}/workspaces/{workspaceId}/git/diff

Path parameters

projectIdstring required

Project identifier used to scope the request.

workspaceIdstring required

Workspace identifier within the project.

Query parameters

basestring

Base revision or ref for a diff.

headstring

Head revision or ref for a diff.

stagedboolean

When true, return staged changes.

pathstring[]

Limit the diff to one or more paths.

Response

Diff

DiffResponse required

diff Response payload returned by the API.