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

DMS Document Schema

ID du schéma
dms_document
Collection
dms_documents
Autorisations
  • Liredms_document_view
  • Créerdms_document_create
  • Modifierdms_document_edit
  • Supprimerdms_document_delete

Champs

DMS Document Schema

dms_documents4 autorisations

Schema for validating DMS document entities (Dokumentenverwaltung)

titlestringobligatoire

Document title

1–500 caractères
descriptionstringfacultatif

Optional description or summary

nullable
documentTypeIduuidfacultatif

Reference to dms_document_types (custom document type)

nullable
documentTypestringfacultatif

Legacy document type string (deprecated, use documentTypeId)

nullable
customFieldsobjectfacultatif

Custom field values defined by the document type schema

nullable
statusstringobligatoire

Document lifecycle status

DRAFTNEEDS_REVIEWAPPROVEDREJECTEDBOOKEDARCHIVED
Par défaut : "DRAFT"
rejectionReasonstringfacultatif

Reason given for the latest transition to REJECTED (BT-33). Written only by the status transition; null for rejections without a reason.

lecture seulenullable
partyIduuidfacultatif

Linked CRM party

nullable
contactPartyIduuidfacultatif

Linked contact person

nullable
contractIduuidfacultatif

Linked contract

nullable
projectIduuidfacultatif

Linked project

nullable
employeeIduuidfacultatif

Linked employee profile

nullable
assignedToIduuidfacultatif

Assigned user for review

nullable
customerVisiblebooleanfacultatif

When true, document is published on the project customer portal (requires project.customerAccess feature releasedDocuments).

Par défaut : false
customerUploadedbooleanfacultatif

True if the document was uploaded by a customer via the public portal.

Par défaut : false
uploadedByPartyIduuidfacultatif

Customer party that uploaded this file (set when customerUploaded = true).

nullable
orgUnitIduuidfacultatif

Owning org unit

nullable
locationIduuidfacultatif

Standort der eigenen Firma (location entity under the isSelfCompany party, same set as the print-target sites of ADR 0370). Purely organisational: it says which own office the document belongs to (Miet-/Versicherungsvertrag, Brandschutz, Netzdoku je Niederlassung). Absent/null = not assigned — no backfill required.

nullable
tagsstring[]facultatif

Manual + auto tags

Par défaut : []
folderIduuidfacultatif

Reference to dms_folders entity

nullable
folderPathstringfacultatif

Virtual folder path (e.g. /invoices/2026/)

max. 1000 caractèresnullable
checkedOutByuuidfacultatif

User ID who has this document checked out

lecture seulenullable
checkedOutAtdatetimefacultatif

When the document was checked out

lecture seulenullable
lockExpiresAtdatetimefacultatif

Auto-release lock after this time (default 24h)

lecture seulenullable
fileIduuidfacultatif

Reference to files collection

nullable
mimeTypestringfacultatif

MIME type of the document file

nullable
sizeBytesnumberfacultatif

File size in bytes

≥ 0nullable
s3Keystringfacultatif

S3 storage key

lecture seulenullable
thumbnailS3Keystringfacultatif

S3 key for thumbnail image

lecture seulenullable
pageCountnumberfacultatif

Number of pages (PDF)

≥ 0nullable
senderDomainstringfacultatif

Mail domain of the sender when the document arrived as a mail attachment — feeds senderDomain classification rules and the vendor suggestion

max. 253 caractèresnullable
sourceEmailMessageIdstringfacultatif

email_messages._id the attachment came from (document intake mailbox)

nullable
extractedTextstringfacultatif

Full text extracted from document for search

nullable
textExtractionStatusstringfacultatif

Text extraction pipeline status

PENDINGCOMPLETEFAILED
nullable
ocrStatusstringfacultatif

OCR processing status

NOT_NEEDEDPENDINGCOMPLETEFAILED
nullable
ocrMethodstringfacultatif

Which OCR method produced the text

tesseractai-vision
nullable
ocrConfidencenumberfacultatif

OCR confidence score (0-100)

0 – 100nullable
ocrErrorstringfacultatif

Reason why the last OCR attempt failed (exception message or diagnostic hint)

nullable
searchablePdfS3Keystringfacultatif

S3 key for the searchable PDF (original + invisible OCR text layer)

lecture seulenullable
searchablePdfErrorstringfacultatif

Why the invisible text layer could not be built, even though OCR itself succeeded. Without a text layer the PDF stays unselectable in the viewer, so this is a user-visible outcome and not just a log line. Absent on documents processed before this field existed — treat as "unknown", never as "no error".

nullable
classificationConfidencenumberfacultatif

Classification confidence score 0-1

0 – 1nullable
classificationSourcestringfacultatif

How the document was classified. EINVOICE = ZUGFeRD/XRechnung Pre-Classifier matched the embedded SellerTradeParty/BuyerTradeParty against the tenant identity. KIND = Belegart-Erkennung (document-kind.ts): Überschrift und Nummernfelder bestimmen die Belegart, die Aussteller-Merkmale die Richtung.

LLMRULEMANUALEINVOICEKIND
nullable
classificationTraceobjectfacultatif

Diagnose-Spur der letzten Klassifikation: welche Regeln matchten, welche E-Invoice-Felder die Tenant-Identität trafen, oder bei MANUAL der vorherige Doktyp. Zeigt im UI „Warum wurde dieses Dokument so klassifiziert?".

nullable
sourcestringfacultatif
LLMRULEMANUALEINVOICEKIND
atdatetimefacultatif
confidencenumberfacultatif
0 – 1nullable
outcomestringfacultatif
classifieddirection_unknownambiguous_kindtype_missingnull
nullable
kindstringfacultatif
nullable
candidateKindsstring[]facultatif
nullable
directionstringfacultatif
incomingoutgoingnull
nullable
typeKeystringfacultatif
nullable
identityKnownbooleanfacultatif
nullable
identityCompletebooleanfacultatif
nullable
kindEvidenceobject[]facultatif
nullable
directionEvidenceobject[]facultatif
nullable
winnerScorenumberfacultatif
nullable
winnerNamestringfacultatif
nullable
candidatesobject[]facultatif
nullable
documentTypeIdstringfacultatif
documentTypeNamestringfacultatif
nullable
scorenumberfacultatif
vetoedbooleanfacultatif
isWinnerbooleanfacultatif
evaluationsobject[]facultatif
patternstringfacultatif
patternTypestringfacultatif
keywordregexbuiltin
weightnumberfacultatif
fieldstringfacultatif
nullable
positionstringfacultatif
nullable
requiredbooleanfacultatif
nullable
matchedbooleanfacultatif
matchedSnippetstringfacultatif
nullable
contributedScorenumberfacultatif
einvoiceFormatstringfacultatif
nullable
einvoiceMatchedOnstringfacultatif
vendor.ibanvendor.vatIdbuyer.vatId
nullable
einvoiceVendorNamestringfacultatif
nullable
einvoiceVendorIbanstringfacultatif
nullable
einvoiceVendorVatIdstringfacultatif
nullable
einvoiceBuyerNamestringfacultatif
nullable
einvoiceBuyerVatIdstringfacultatif
nullable
previousDocumentTypeIdstringfacultatif
nullable
previousDocumentTypeNamestringfacultatif
nullable
previousSourcestringfacultatif
nullable
manualByUserIdstringfacultatif
nullable
retentionPolicyIduuidfacultatif

Applied retention policy

nullable
retentionExpiresAtdatetimefacultatif

When retention period expires

nullable
retentionStartAtdatetimefacultatif

Zeitpunkt, an dem die Aufbewahrungsuhr gestartet ist (abgeleitet aus retentionStartTrigger des Doctypes).

lecture seulenullable
retentionUntildatetimefacultatif

Berechneter Ablauf der Aufbewahrungspflicht. Vor diesem Zeitpunkt blockiert der Soft-Delete-Endpoint und (bei retentionMode=compliance) auch S3 jede Löschung.

lecture seulenullable
retentionModestringfacultatif

Effektiver Object-Lock-Modus dieses Dokuments (vom Doctype geerbt, beim Lock-Apply eingefroren).

nonegovernancecompliance
lecture seulenullable
s3VersionIdstringfacultatif

S3-VersionId des PUT, an dem der Object-Lock haftet. Pflicht, weil Lock immer auf eine konkrete Version greift.

max. 200 caractèreslecture seulenullable
s3ObjectLockAppliedbooleanfacultatif

Sanity-Flag: true sobald PutObjectRetention erfolgreich gegen S3 gefeuert wurde. Daily-Integrity-Job verifiziert via GetObjectRetention.

Par défaut : falselecture seule
contentSha256stringfacultatif

Hex-codierter SHA-256-Hash des Originalinhalts beim Upload. Daily-Integrity-Job vergleicht gegen neu berechneten Hash zur Manipulationsprüfung (GoBD Rz. 110 Unveränderbarkeit).

Motiflecture seulenullable
gobdSealedAtdatetimefacultatif

Zeitpunkt der Festschreibung des aktuellen Inhalts: Hash berechnet und in die Kette des Tenants eingetragen. null = noch nicht festgeschrieben.

lecture seulenullable
gobdChainSeqnumberfacultatif

Position des aktuellen Inhalts in der Kette (gobd_hash_chain.seq).

lecture seulenullable
gobdLockPendingbooleanfacultatif

true, solange der Worker für dieses Dokument noch eine Speicher-Sperre setzen oder hochstufen muss. Trägt den Teilindex der Sperr-Runde.

lecture seulenullable
gobdLockStatestringfacultatif

Stand der Speicher-Sperre: applied = endgültiger Modus gesetzt; awaiting-upgrade = GOVERNANCE gesetzt, COMPLIANCE folgt nach Freigabe; trigger-not-reached = die Frist startet erst mit einem späteren Ereignis; retention-expired = die Frist war beim Sperren schon abgelaufen, eine Sperre ist nicht mehr nötig.

pendingappliedawaiting-approvalawaiting-upgradetrigger-not-reachedretention-expiredfailednull
lecture seulenullable
s3LockModestringfacultatif

Tatsächlich am Objekt gesetzter Modus. Kann unter retentionMode liegen: COMPLIANCE ist endgültig und wird erst nach menschlicher Freigabe gesetzt (ADR 1163 §4).

GOVERNANCECOMPLIANCEnull
lecture seulenullable
retentionDueAtdatetimefacultatif

Server-only: when the nightly retention round found this document past its retention period with "suggest deletion". null = not due. Deletion still needs a manual confirmation (POST /dms/retention/confirm-deletion).

lecture seulenullable
retentionExpiredAtdatetimefacultatif

Server-only: computed end of the retention period belonging to retentionDueAt (later of the type period and an applied lock).

lecture seulenullable
legalHoldobjectfacultatif

Aufbewahrungs-Sperre (S3 PutObjectLegalHold). Wenn active=true, blockiert jede Löschung — auch nach Ablauf von retentionUntil. Verwendung: Steuerprüfung, Litigation Hold, Audit.

lecture seulenullable
activebooleanobligatoire
reasonstringfacultatif
max. 500 caractèresnullable
setByuuidobligatoire
setAtdatetimeobligatoire
releasedByuuidfacultatif
nullable
releasedAtdatetimefacultatif
nullable
caseRefstringfacultatif

Aktenzeichen / Case-ID für Audit-Trail

max. 200 caractèresnullable
documentVersionsobject[]facultatif

Abgelöste Inhalte dieses Dokuments (der aktuelle steht in s3Key). Nur über POST /dms/documents/:id/versions/complete und den SharePoint-Inbound beschreibbar.

Par défaut : []lecture seule
versionNumbernumberobligatoire
≥ 1
s3Keystringobligatoire
lecture seule
uploadedByuuidobligatoire
uploadedAtdatetimeobligatoire
changeNotestringfacultatif
nullable
sizeBytesnumberfacultatif
nullable
mimeTypestringfacultatif
nullable
contentSha256stringfacultatif
Motiflecture seulenullable
s3VersionIdstringfacultatif
lecture seulenullable
gobdChainSeqnumberfacultatif
lecture seulenullable
contentUploadedBystringfacultatif

Wer den aktuellen Inhalt (s3Key) hochgeladen hat. Fehlt, solange der Inhalt nie über „Neue Version" ersetzt wurde — dann gilt createdBy.

lecture seulenullable
contentUploadedAtdatetimefacultatif

Wann der aktuelle Inhalt hochgeladen wurde. Fehlt → createdAt.

lecture seulenullable
contentChangeNotestringfacultatif

Änderungsnotiz zum aktuellen Inhalt (aus „Neue Version hochladen").

max. 500 caractèreslecture seulenullable
linkedEntitiesobject[]facultatif

Links to other entities

Par défaut : []
entityTypestringobligatoire
entityIduuidobligatoire
rolestringfacultatif
nullable
incomingInvoiceobjectfacultatif

Incoming invoice specific data (Eingangsrechnung)

nullable
vendorPartyIduuidfacultatif

Matched CRM party for vendor

nullable
vendorNamestringfacultatif
nullable
vendorTaxIdstringfacultatif

Steuernummer or USt-IdNr

nullable
vendorIbanstringfacultatif
nullable
invoiceNumberstringfacultatif
nullable
invoiceDatedatefacultatif
nullable
dueDatedatefacultatif
nullable
netAmountstringfacultatif
Motifnullable
vatAmountstringfacultatif
Motifnullable
grossAmountstringfacultatif
Motifnullable
currencystringfacultatif
max. 3 caractèresPar défaut : "EUR"
lineItemsobject[]facultatif
Par défaut : []
descriptionstringfacultatif
quantitystringfacultatif
Motifnullable
unitPricestringfacultatif
Motifnullable
vatRatenumberfacultatif
nullable
netAmountstringfacultatif
Motifnullable
articleNumberstringfacultatif
nullable
unitstringfacultatif

Unit as printed or the UN/ECE code of an e-invoice (C62, HUR)

max. 20 caractèresnullable
vatBreakdownobject[]facultatif

VAT per rate (net base + tax) — from the e-invoice or read off the totals block; basis for account assignment and export

max. 20 élémentsnullable
vatRatenumberobligatoire
0 – 100
netAmountstringfacultatif
Motifnullable
vatAmountstringfacultatif
Motifnullable
accountAssignmentsobject[]facultatif

Kontierung (ADR 1297): split of the invoice into booking lines — GL account, tax key, cost center, cost type, GROSS amount. Optional; when present and the invoice is approved, the lines add up to grossAmount

max. 100 élémentsnullable
accountCodestringfacultatif

GL account (Sachkonto) in the tenant chart of accounts

Motifnullable
grossAmountstringobligatoire
Motif
vatRatenumberfacultatif
0 – 100nullable
taxKeystringfacultatif

DATEV BU-Schlüssel

Motifnullable
costCenterIduuidfacultatif
nullable
costTypeIduuidfacultatif
nullable
textstringfacultatif
max. 60 caractèresnullable
vendorBicstringfacultatif
max. 11 caractèresnullable
serviceDatedatefacultatif

Leistungs-/Lieferdatum (§ 14 UStG)

nullable
servicePeriodFromdatefacultatif
nullable
servicePeriodTodatefacultatif
nullable
orderNumberstringfacultatif

Our purchase order number at the vendor

max. 100 caractèresnullable
customerNumberstringfacultatif

Our customer number at the vendor

max. 100 caractèresnullable
deliveryNoteNumberstringfacultatif
max. 100 caractèresnullable
buyerReferencestringfacultatif

Buyer reference / Leitweg-ID of an e-invoice (BT-10)

max. 200 caractèresnullable
cashDiscountPercentnumberfacultatif

Skonto in percent

0 – 100nullable
cashDiscountDaysintegerfacultatif
0 – 365nullable
cashDiscountDatedatefacultatif

Last day the cash discount applies

nullable
paymentTermsstringfacultatif
nullable
paymentReferencestringfacultatif

Verwendungszweck / payment reference

nullable
zugferdVersionstringfacultatif
nullable
xRechnungVersionstringfacultatif
nullable
extractionMethodstringfacultatif
ZUGFERDXRECHNUNGLLM_VISIONOCR_LLMOCR_RULESPARSERMANUAL
nullable
extractionConfidencenumberfacultatif
0 – 1nullable
extractionParserIduuidfacultatif

Which dms_parser was used

nullable
duplicateOfDocumentIdstringfacultatif

DMS-Rechnungseingang: an earlier invoice with the same number from the same vendor (VAT ID or amount) — shown as a duplicate warning

nullable
extractionEvidenceobjectfacultatif

DMS-Rechnungseingang: text line each value was read from (field → line), shown in the review panel

nullable
vendorMatchobjectfacultatif

DMS-Rechnungseingang: how the vendor was found — linked (VAT ID) or only suggested (sender domain)

nullable
methodstringfacultatif
vat_idsender_domainmanualnull
nullable
suggestedPartyIduuidfacultatif
nullable
partyNamestringfacultatif
nullable
reasonstringfacultatif
ambiguous_vat_idambiguous_domaingeneric_domainown_domainnull
nullable
decidedAtdatetimefacultatif
nullable
correctionsobject[]facultatif

User corrections for feedback loop

Par défaut : []
fieldstringobligatoire
originalValueanyfacultatif
correctedValueanyobligatoire
correctedByuuidobligatoire
correctedAtdatetimeobligatoire
bookingReferencestringfacultatif
nullable
datevExportedAtdatetimefacultatif
nullable
aiSummarystringfacultatif

AI-generated document summary

nullable
aiTagsstring[]facultatif

AI-suggested tags

nullable
suggestedFolderPathstringfacultatif

AI-suggested filing location

max. 1000 caractèresnullable
suggestedFolderIduuidfacultatif

AI-suggested folder ID

nullable
accountSuggestionCacheobjectfacultatif

Cache of the AI GL account suggestions for the account assignment (ADR 1297, stage 2): input hash + validated suggestions, so the same invoice does not pay for the same call twice. Server-only — a protected technical field; never the assignment itself

lecture seulenullable
duplicateOfIduuidfacultatif

Reference to potential duplicate document

nullable
duplicateConfidencenumberfacultatif

Similarity score for duplicate detection (0-1)

0 – 1nullable
embeddingStatusstringfacultatif

Vector embedding generation status

PENDINGPROCESSINGDONEFAILED
nullable
lastEmbeddedAtdatetimefacultatif

When embeddings were last generated

nullable
entitySuggestionsobject[]facultatif
Par défaut : nullnullable
entityTypestringobligatoire
entityIdstringobligatoire
displayNamestringobligatoire
confidencenumberobligatoire
0 – 1
reasonstringfacultatif
nullable
entitySuggestionStatusstringfacultatif
PENDINGCOMPLETEFAILED
nullable
expiresAtdatetimefacultatif

Document expiry date (e.g. TÜV, certificates, warranties)

nullable
expiryNotificationDaysintegerfacultatif

Days before expiry to send notification

1 – 365Par défaut : nullnullable
sharePointItemIdstringfacultatif
nullable
sharePointDriveIdstringfacultatif
nullable
sharePointWebUrlstringfacultatif
nullable
sharePointChangeTagstringfacultatif
nullable
sharePointLastModifiedAtdatetimefacultatif
nullable
syncSourcestringfacultatif
localsharepoint
nullable
lastSyncedAtdatetimefacultatif
nullable
syncErrorstringfacultatif
nullable
sharePointCreatedByAadIdstringfacultatif
lecture seulenullable
sharePointCreatedByUpnstringfacultatif
lecture seulenullable
sharePointCreatedByEmailstringfacultatif
lecture seulenullable
sharePointCreatedByDisplayNamestringfacultatif
lecture seulenullable
sharePointCreatedByUserIduuidfacultatif

Resolved Codemeta user ID matching the SharePoint uploader (via AAD object ID, UPN, or email). Null when no match found.

lecture seulenullable
backendIduuidfacultatif

Storage backend currently holding the bytes.

nullable
backendItemIdstringfacultatif

Backend-specific item id (e.g. Graph driveItem id, S3 key, FS path).

max. 500 caractèresnullable
backendETagstringfacultatif

Backend ETag at last sync — used for 3-way conflict detection.

max. 500 caractèresnullable
appliedFilingPolicyIduuidfacultatif

Filing policy most recently applied to this document.

nullable
resolvedPathstringfacultatif

Backend-absolute path at the time of last filing (audit + quick display).

max. 2000 caractèresnullable
originalBackendPathstringfacultatif

Pfad, an dem das Dokument beim Inbound-Sync ursprünglich lag (z.B. "/Kunden/ACME/Rechnungen/file.pdf"). Quelle der Pfad-Hoheit, wenn keine Filing-Policy mit overrideBackendPath greift.

max. 2000 caractèresnullable
originalBackendIduuidfacultatif

Backend, das das Dokument ursprünglich geliefert hat (Inbound-Origin). Bleibt stabil, auch wenn ein späterer Move das aktive Backend ändert.

nullable
pathSourcestringfacultatif

Ownership-Modell der Pfad-Hoheit (ADR 0391): "origin" = Backend-Original (Inbound-Sync), "user" = explizite Ordnerwahl beim Upload, "policy" = Filing-Policy-Template. Nur eine Policy mit overrideBackendPath=true darf "origin"/"user" überstimmen.

originuserpolicy
nullable
filingStatusstringfacultatif

Filing lifecycle state (ADR 0051).

unfiledinboxfiledmisfiledfiling_failedmissing_in_backend
Par défaut : "unfiled"
syncStatestringfacultatif

Conflict-locking state-machine (ADR 0052 §7.4).

cleanpending_outboundpending_inboundconflictrenamingmigrating
Par défaut : "clean"
requiresHumanReviewbooleanfacultatif

Ingestion-Inbox quarantine flag (ADR 0051 §7.2.5).

Par défaut : false
inboxRoutedbooleanfacultatif

Dokument stammt aus einem konfigurierten SharePoint-Posteingangsordner (ADR 0392). Unterdrückt das automatische filingStatus="filed" am Origin-Pfad, damit es ohne greifende Filing-Policy im Posteingang zur Triage landet. Fehlt auf allen Alt-Dokumenten → falsy → unverändertes Verhalten.

nullable
classificationstringfacultatif

Sensitivity classification used by filing policies (§9.4).

publicinternalconfidentialstrictly_confidential
nullable
processingStartedAtdatetimefacultatif

When the post-ingestion pipeline acquired this lock. Null = idle.

nullable
processingJobIdstringfacultatif

BullMQ jobId of the running pipeline (used for explicit cancellation).

max. 200 caractèresnullable
processingStagestringfacultatif

Current pipeline stage — surfaced to the user as a progress hint.

ocrclassifyextractfile
nullable
processingExpiresAtdatetimefacultatif

Lock TTL — past this point the lock is considered stale.

nullable
processingCancelledAtdatetimefacultatif

Set by POST /dms/documents/:id/unlock. The worker checks this between stages and bails on the next stage boundary.

nullable
lastOutboundMoveAtdatetimefacultatif

Timestamp of the most recent successful outbound move/push.

nullable
lastOutboundMoveJobIdstringfacultatif

BullMQ jobId of the last outbound-move attempt (used for diagnostics and idempotency).

max. 200 caractèresnullable
outboundMoveAttemptsintegerfacultatif

Total outbound-move attempts (increments on every CAS-lock acquisition).

≥ 0Par défaut : 0
encryptionOverridestringfacultatif

Per-document override of the document type's defaultEncryption. null = inherit from type.

nonezero-knowledge
lecture seulenullable
encryptionobjectfacultatif

Encryption metadata for ZK-protected files. Set on upload, never mutated; rotation requires re-upload.

lecture seulenullable
modestringobligatoire

Currently only zero-knowledge is supported.

zero-knowledge
algstringobligatoire
AES-256-GCM
Par défaut : "AES-256-GCM"
ivstringobligatoire

Base64-encoded 12-byte IV used to encrypt the file body.

max. 32 caractères
keyIdstringfacultatif

Optional identifier for the per-document DEK (e.g. UUIDv7 generated client-side).

max. 64 caractèresnullable
wrappedKeysobject[]obligatoire

Per-recipient wraps of the per-document DEK. Each entry mirrors vault_customer_keys.memberKeys.

min. 1 éléments
typestringobligatoire
userteamrole
idstringobligatoire
max. 200 caractères
wrappedKeystringobligatoire
max. 1024 caractères
ephemeralPublicKeystringfacultatif
max. 1024 caractèresnullable
addedAtdatetimefacultatif
nullable
addedByuuidfacultatif
nullable
signedbooleanfacultatif

The file is the PAdES-signed PDF of a completed sign_envelope. Server-only — a protected field; its content cannot be replaced. Absent on every other document, which means "not signed".

lecture seule
signEnvelopeIduuidfacultatif

The sign_envelope this signed document came from; unique per tenant, which makes filing idempotent. Server-only — a protected field.

lecture seule
notesstringfacultatif

Free-text notes

nullable

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

Recherche