Entity · filing_policies
Filing Policy Schema
Fields
Filing Policy Schema
Deklarative Ablageregel: welcher Dokumenttyp (oder MIME-Pattern) in welchem Entity-Kontext wird unter welchem Pfad + Dateinamen an welchem Backend abgelegt.
name
1–200 characters
description
max 1000 charactersnullable
active
Default: true
priority
0 – 1000Default: 50
documentTypeId
nullable
matchMimeTypes
MIME-type matcher, supports wildcards like `image/*`.
nullable
entityContext
nullable
entityType
1–100 characters
classification
nullable
pathTemplate
1–2000 characters
filenameTemplate
1–500 characters
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.
Default: false
onExistingFile
Values
renameversionreplacefailDefault: "version"
onStateChange
nullable
field
1–200 characters
requiredFields
nullable
onDelete
nullable
dmsSoftDelete
Values
ignoresoft_delete_spmove_to_trash_folderhard_delete_spdmsRetentionExpiry
Values
soft_delete_sphard_delete_spadmin_report_onlyNo fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/filing_policies— List, paginated + filterableGET /api/v1/filing_policies/<id>— Single entityPOST /api/v1/filing_policies— CreatePATCH /api/v1/filing_policies/<id>— Partial updateDELETE /api/v1/filing_policies/<id>— Soft deleteGET /api/v1/filing_policies/<id>/timeline— Audit + activities