sync

Get diff for a sync item

Returns the diff between local and remote versions of a sync item

get/sync/items/{itemId}/diff

Path parameters

itemIdstring required

The sync item identifier (file path without extension)

Query parameters

remoteNodestring

name of the remote node

Response

Diff retrieved successfully

itemIdstring required

The item identifier

filePathstring required

Relative file path with extension

status'synced' | 'modified' | 'untracked' | 'conflict' | 'missing' required

Sync status of a DAG

localContentstring required

Current local file content

remoteContentstring

Content from remote repository

remoteCommitstring

Commit hash being compared against

remoteAuthorstring

Author of the remote commit

remoteMessagestring

Commit message of the remote version

Changes