KB Share Schema
Campos
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
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/kb_shares— Lista, paginada y filtrableGET /api/v1/kb_shares/<id>— Una entidadPOST /api/v1/kb_shares— CrearPATCH /api/v1/kb_shares/<id>— Actualización parcialDELETE /api/v1/kb_shares/<id>— Eliminación lógicaGET /api/v1/kb_shares/<id>/timeline— Auditoría y actividades