KB Share Schema
Felder
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
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/kb_shares— Liste, paginiert + filterbarGET /api/v1/kb_shares/<id>— Einzelne EntityPOST /api/v1/kb_shares— AnlegenPATCH /api/v1/kb_shares/<id>— Teil-UpdateDELETE /api/v1/kb_shares/<id>— Soft-DeleteGET /api/v1/kb_shares/<id>/timeline— Audit + Aktivitäten