93cc41f2018a

latestOpenAPI 3.0.0GPL-3.0raw.githubusercontent.com2026-08-10215274484.1 KB
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 sync item identifier

filePathstring required

Relative file path with extension

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

Sync status of an item

kind'dag' | 'doc' | 'doc-asset'

Type of sync item

binaryboolean

True for binary items; content fields are omitted and sizes are reported instead

localContentstring

Current local file content. Omitted for binary items.

remoteContentstring

Content from remote repository. Omitted for binary items.

localSizeinteger

Local file size in bytes. Only set for binary items.

remoteSizeinteger

Remote file size in bytes. Only set for binary items.

remoteCommitstring

Commit hash being compared against

remoteAuthorstring

Author of the remote commit

remoteMessagestring

Commit message of the remote version