Get the full vault manifest
GET
/sync/manifest
const url = 'https://api.engram.page/sync/manifest';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.engram.page/sync/manifest \ --header 'Authorization: Bearer <token>'Every live note + attachment path and content hash, for sync reconciliation.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Manifest
Media typeapplication/json
ManifestResponse
object
attachments
required
Array<object>
ManifestEntryobject
content_hash
string
id
required
Stable note/attachment id — lets a client reconcile its path↔id map.
string format: uuid
path
required
string
change_seq
required
Current per-vault sequence watermark.
integer
notes
required
Array<object>
ManifestEntryobject
content_hash
string
id
required
Stable note/attachment id — lets a client reconcile its path↔id map.
string format: uuid
path
required
string
total_attachments
required
integer
total_notes
required
integer
Examplegenerated
{ "attachments": [ { "content_hash": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "path": "example" } ], "change_seq": 1, "notes": [ { "content_hash": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "path": "example" } ], "total_attachments": 1, "total_notes": 1}