API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

Commit offline ops — apply to server

POST/v1/sync/commit

CodeMeta OS API endpoint.

Request Body

NameTypBeschreibung
opserforderlicharray
resolutionsobjectMap of opId → resolved body for conflict overrides

Beispiel

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
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche