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

DMS Share Schema

Schema-ID
dms_share
Collection
dms_shares
Permissions
  • Lezendms_share_view
  • Aanmakendms_share_create
  • Wijzigendms_share_edit
  • Verwijderendms_share_delete

Velden

DMS Share Schema

dms_shares4 permissions

Document share configuration (internal user or external link)

documentIduuidvereist

Reference to dms_document

shareTypestringvereist

Internal (user/role) or external (public link)

INTERNALEXTERNAL_LINK
sharedWithUserIduuidoptioneel

User this document is shared with (internal)

nullable
sharedWithRoleIduuidoptioneel

Role this document is shared with (internal)

nullable
permissionstringoptioneel

Permission level granted by this share

VIEWCOMMENTEDIT
Default: "VIEW"
tokenstringoptioneel

Unique token for external access (UUIDv7)

read-onlynullable
passwordHashstringoptioneel

bcrypt hash of optional access password

read-onlynullable
expiresAtdatetimeoptioneel

When the share link expires

nullable
maxDownloadsnumberoptioneel

Maximum number of downloads allowed

≥ 1nullable
downloadCountnumberoptioneel

Current download count

Default: 0read-only
allowDownloadbooleanoptioneel

Whether the recipient can download the file

Default: true
messagestringoptioneel

Optional message to the recipient

max. 1000 tekensnullable
isActivebooleanoptioneel
Default: true
lastAccessedAtdatetimeoptioneel
read-onlynullable
accessCountnumberoptioneel

Total number of times this share was accessed

Default: 0read-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/dms_shares — Lijst, gepagineerd + filterbaar
  • GET /api/v1/dms_shares/<id> — Enkele entity
  • POST /api/v1/dms_shares — Aanmaken
  • PATCH /api/v1/dms_shares/<id> — Gedeeltelijke update
  • DELETE /api/v1/dms_shares/<id> — Soft-delete
  • GET /api/v1/dms_shares/<id>/timeline — Audit + activiteiten

Zoeken