Preview offline sync — detect conflicts before committing
POST/v1/sync/preview
CodeMeta OS API endpoint.
Request body
| Name | Type | Description |
|---|
opsrequired | array | |
Example
curl -X POST https://api.codemeta-os.de/v1/sync/preview \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"ops": []
}'
const result = await cm.sync.post({
"ops": []
});
Response codes
| HTTP |
Meaning |
200 |
Default Response |