Filing Policy Schema
Champs
Filing Policy Schema
Deklarative Ablageregel: welcher Dokumenttyp (oder MIME-Pattern) in welchem Entity-Kontext wird unter welchem Pfad + Dateinamen an welchem Backend abgelegt.
name
description
active
priority
documentTypeId
matchMimeTypes
MIME-type matcher, supports wildcards like `image/*`.
entityContext
entityType
classification
pathTemplate
filenameTemplate
overrideBackendPath
Wenn true, ersetzt diese Policy den ursprünglichen Backend-Pfad (originalBackendPath) eines per Inbound-Sync übernommenen Dokuments. Standardmäßig (false) bleibt der Original-Pfad bestehen — Policies greifen dann nur für Dokumente ohne Origin (z.B. DMS-Direkt-Uploads). Aktiviert zugleich ein physisches Move im Quell-Backend.
onExistingFile
renameversionreplacefailonStateChange
field
requiredFields
onDelete
dmsSoftDelete
ignoresoft_delete_spmove_to_trash_folderhard_delete_spdmsRetentionExpiry
soft_delete_sphard_delete_spadmin_report_onlyAucun champ ne correspond au filtre.
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/filing_policies— Liste, paginée et filtrableGET /api/v1/filing_policies/<id>— Une entitéPOST /api/v1/filing_policies— CréerPATCH /api/v1/filing_policies/<id>— Mise à jour partielleDELETE /api/v1/filing_policies/<id>— Suppression logiqueGET /api/v1/filing_policies/<id>/timeline— Audit et activités