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

KB Share Schema

Schema-ID
kb_share
Collection
kb_shares
Permissions
  • Lezenkb_share_view
  • Aanmakenkb_share_create
  • Wijzigenkb_share_edit
  • Verwijderenkb_share_delete

Velden

KB Share Schema

kb_shares4 permissions

Knowledge base article share configuration (user, team, role, or tenant)

articleIduuidvereist

Reference to a kb_article (root or sub-article)

recipientTypestringvereist

Type of recipient this article is shared with

USERTEAMROLETENANT
recipientIduuidvereist

ID of the recipient (userId, orgUnitId, roleId, or tenantId)

permissionsobjectoptioneel

Granular permissions granted by this share

canViewbooleanoptioneel

Can view the article (and its children if appliesToSubtree)

Default: true
canCreatebooleanoptioneel

Can create child articles

Default: false
canUpdatebooleanoptioneel

Can update the article (and its children if appliesToSubtree)

Default: false
canDeletebooleanoptioneel

Can delete the article (and its children if appliesToSubtree)

Default: false
canSharebooleanoptioneel

Can re-share this article to additional recipients (capped by own permissions)

Default: false
canCommentbooleanoptioneel

Can add comments to the article

Default: false
canExportbooleanoptioneel

Can export the article (e.g. PDF, Markdown)

Default: false
canDownloadbooleanoptioneel

Can download attachments of the article

Default: false
canPrintbooleanoptioneel

Can print the article

Default: false
appliesToSubtreebooleanoptioneel

If true (default), the share recursively applies to all descendant articles. If false, it only applies to this exact article.

Default: true
validUntildatetimeoptioneel

Optional ISO date-time after which the share is no longer effective. Null = unlimited.

Default: nullnullable
createdByuuidoptioneel

User ID who created this share (set automatically by the API)

read-only
updatedBystringoptioneel

User ID who last updated this share (set automatically by the API)

Patternread-onlynullable
isActivebooleanoptioneel

Soft toggle to temporarily disable sharing without deleting

Default: true

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 + filterbaar
  • GET /api/v1/kb_shares/<id> — Enkele entity
  • POST /api/v1/kb_shares — Aanmaken
  • PATCH /api/v1/kb_shares/<id> — Gedeeltelijke update
  • DELETE /api/v1/kb_shares/<id> — Soft-delete
  • GET /api/v1/kb_shares/<id>/timeline — Audit + activiteiten

Zoeken