API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · sync_conflicts

Sync Conflict Schema

ID du schéma
sync_conflict
Collection
sync_conflicts
Autorisations
  • Lireintegration_party_sync_view
  • Créerintegration_party_sync_configure
  • Modifierintegration_party_sync_resolve
  • Supprimerintegration_party_sync_configure

Champs

Sync Conflict Schema

sync_conflicts4 autorisations

Tracks shared-writable field conflicts detected during bidirectional sync

providerstringobligatoire

External system the conflict is against

weclapp
lecture seule
entityTypestringobligatoire

Codemeta entity type (only party today; reserved for future entities)

party
lecture seule
entityIduuidobligatoire

Codemeta entity id

lecture seule
externalIdstringfacultatif

External (weclapp) entity id

max. 200 caractèreslecture seulenullable
detectedSourcestringobligatoire

Which sync path detected the conflict

INBOUND_WEBHOOKINBOUND_DELTAOUTBOUND_PUSH
lecture seule
detectedAtdatetimefacultatif

When the conflict was detected

lecture seulenullable
fieldsobject[]obligatoire

Per-field divergences

Par défaut : []lecture seule
fieldstringobligatoire
max. 100 caractères
codemetaValuestringfacultatif
max. 4000 caractèresnullable
weclappValuestringfacultatif
max. 4000 caractèresnullable
codemetaUpdatedAtdatetimefacultatif
nullable
weclappLastModifiedDatestringfacultatif
nullable
codemetaUpdatedBystringfacultatif
nullable
statusstringobligatoire

Resolution state

openresolved-keep-codemetaresolved-keep-weclappresolved-mergeddismissed
Par défaut : "open"
resolvedAtdatetimefacultatif

When the conflict was resolved (drives the retention TTL)

nullable
resolvedByuuidfacultatif

User who resolved it

nullable
resolutionNotestringfacultatif

Optional free-text note recorded at resolution

max. 2000 caractèresnullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/sync_conflicts — Liste, paginée et filtrable
  • GET /api/v1/sync_conflicts/<id> — Une entité
  • POST /api/v1/sync_conflicts — Créer
  • PATCH /api/v1/sync_conflicts/<id> — Mise à jour partielle
  • DELETE /api/v1/sync_conflicts/<id> — Suppression logique
  • GET /api/v1/sync_conflicts/<id>/timeline — Audit et activités

Recherche