KB Share Schema
Velden
KB Share Schema
Knowledge base article share configuration (user, team, role, or tenant)
articleId
Reference to a kb_article (root or sub-article)
recipientType
Type of recipient this article is shared with
USERTEAMROLETENANTrecipientId
ID of the recipient (userId, orgUnitId, roleId, or tenantId)
permissions
Granular permissions granted by this share
canView
Can view the article (and its children if appliesToSubtree)
canCreate
Can create child articles
canUpdate
Can update the article (and its children if appliesToSubtree)
canDelete
Can delete the article (and its children if appliesToSubtree)
canComment
Can add comments to the article
canExport
Can export the article (e.g. PDF, Markdown)
canDownload
Can download attachments of the article
canPrint
Can print the article
appliesToSubtree
If true (default), the share recursively applies to all descendant articles. If false, it only applies to this exact article.
validUntil
Optional ISO date-time after which the share is no longer effective. Null = unlimited.
createdBy
User ID who created this share (set automatically by the API)
updatedBy
User ID who last updated this share (set automatically by the API)
isActive
Soft toggle to temporarily disable sharing without deleting
Geen velden komen overeen met het filter.
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/kb_shares— Lijst, gepagineerd + filterbaarGET /api/v1/kb_shares/<id>— Enkele entityPOST /api/v1/kb_shares— AanmakenPATCH /api/v1/kb_shares/<id>— Gedeeltelijke updateDELETE /api/v1/kb_shares/<id>— Soft-deleteGET /api/v1/kb_shares/<id>/timeline— Audit + activiteiten