API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · filing_policies

Filing Policy Schema

Schema ID
filing_policy
Collection
filing_policies
Permissions
  • Readfiling_policy_view
  • Createfiling_policy_create
  • Editfiling_policy_edit
  • Deletefiling_policy_delete

Fields

Filing Policy Schema

filing_policies4 permissions

Deklarative Ablageregel: welcher Dokumenttyp (oder MIME-Pattern) in welchem Entity-Kontext wird unter welchem Pfad + Dateinamen an welchem Backend abgelegt.

namestringrequired
1–200 characters
descriptionstringoptional
max 1000 charactersnullable
activebooleanoptional
Default: true
priorityintegerrequired
0 – 1000Default: 50
documentTypeIduuidoptional
nullable
matchMimeTypesstring[]optional

MIME-type matcher, supports wildcards like `image/*`.

nullable
entityContextobjectoptional
nullable
entityTypestringrequired
1–100 characters
conditionsobject[]optional
nullable
fieldstringrequired
1–200 characters
opstringrequired
eqneqinninexistsnexistsgtgteltltecontainsstartsWithendsWithmatches
valueanyoptional

Operand — type depends on the operator. `in`/`nin` expect arrays.

classificationstring[]optional
nullable
backendIduuidrequired
pathTemplatestringrequired
1–2000 characters
filenameTemplatestringrequired
1–500 characters
overrideBackendPathbooleanoptional

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
onExistingFilestringrequired
renameversionreplacefail
Default: "version"
onStateChangeobjectoptional
nullable
fieldstringrequired
1–200 characters
transitionsobject[]required
fromValuestringrequired
toValuestringrequired
newPathTemplatestringrequired
1–2000 characters
requiredFieldsstring[]optional
nullable
onDeleteobjectoptional
nullable
dmsSoftDeletestringrequired
ignoresoft_delete_spmove_to_trash_folderhard_delete_sp
dmsRetentionExpirystringrequired
soft_delete_sphard_delete_spadmin_report_only

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 + filterable
  • GET /api/v1/filing_policies/<id> — Single entity
  • POST /api/v1/filing_policies — Create
  • PATCH /api/v1/filing_policies/<id> — Partial update
  • DELETE /api/v1/filing_policies/<id> — Soft delete
  • GET /api/v1/filing_policies/<id>/timeline — Audit + activities

Search