API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

Commit offline ops — apply to server

POST/v1/sync/commit

CodeMeta OS API endpoint.

Request body

NaamTypeBeschrijving
opsvereistarray
resolutionsobjectMap of opId → resolved body for conflict overrides

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/sync/commit \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "ops": [],
  "resolutions": null
}'
const result = await cm.sync.post({
  "ops": [],
  "resolutions": null
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken