API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · filing_policies

Filing Policy Schema

Schema-ID
filing_policy
Collection
filing_policies
Permissions
  • Lezenfiling_policy_view
  • Aanmakenfiling_policy_create
  • Wijzigenfiling_policy_edit
  • Verwijderenfiling_policy_delete

Velden

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.

namestringvereist
1–200 tekens
descriptionstringoptioneel
max. 1000 tekensnullable
activebooleanoptioneel
Default: true
priorityintegervereist
0 – 1000Default: 50
documentTypeIduuidoptioneel
nullable
matchMimeTypesstring[]optioneel

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

nullable
entityContextobjectoptioneel
nullable
entityTypestringvereist
1–100 tekens
conditionsobject[]optioneel
nullable
fieldstringvereist
1–200 tekens
opstringvereist
eqneqinninexistsnexistsgtgteltltecontainsstartsWithendsWithmatches
valueanyoptioneel

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

classificationstring[]optioneel
nullable
backendIduuidvereist
pathTemplatestringvereist
1–2000 tekens
filenameTemplatestringvereist
1–500 tekens
overrideBackendPathbooleanoptioneel

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
onExistingFilestringvereist
renameversionreplacefail
Default: "version"
onStateChangeobjectoptioneel
nullable
fieldstringvereist
1–200 tekens
transitionsobject[]vereist
fromValuestringvereist
toValuestringvereist
newPathTemplatestringvereist
1–2000 tekens
requiredFieldsstring[]optioneel
nullable
onDeleteobjectoptioneel
nullable
dmsSoftDeletestringvereist
ignoresoft_delete_spmove_to_trash_folderhard_delete_sp
dmsRetentionExpirystringvereist
soft_delete_sphard_delete_spadmin_report_only

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/filing_policies — Lijst, gepagineerd + filterbaar
  • GET /api/v1/filing_policies/<id> — Enkele entity
  • POST /api/v1/filing_policies — Aanmaken
  • PATCH /api/v1/filing_policies/<id> — Gedeeltelijke update
  • DELETE /api/v1/filing_policies/<id> — Soft-delete
  • GET /api/v1/filing_policies/<id>/timeline — Audit + activiteiten

Zoeken