Create sync_conflict
POST/v1/sync_conflicts
Create a new sync_conflict in the active tenant.
Data model
This operation works on the entity Sync Conflict (sync_conflict). All 11 fields — type, validation, required status, relationships — are listed in the schema reference.
-
Required fields:
provider,entityType,entityId,detectedSource,status,fields -
Server-managed:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,provider,entityType,entityId,externalId,detectedSource,detectedAt,fields— the platform assigns these fields; they are discarded in the request.
Example
curl -X POST https://api.codemeta-os.de/v1/sync_conflicts \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.sync_conflicts.post();Response codes
| HTTP | Meaning |
|---|---|
200 |
Default Response |