API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · kb_shares

KB Share Schema

ID del esquema
kb_share
Colección
kb_shares
Permisos
  • Leerkb_share_view
  • Crearkb_share_create
  • Modificarkb_share_edit
  • Eliminarkb_share_delete

Campos

KB Share Schema

kb_shares4 permisos

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

articleIduuidobligatorio

Reference to a kb_article (root or sub-article)

recipientTypestringobligatorio

Type of recipient this article is shared with

USERTEAMROLETENANT
recipientIduuidobligatorio

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

permissionsobjectopcional

Granular permissions granted by this share

canViewbooleanopcional

Can view the article (and its children if appliesToSubtree)

Valor por defecto: true
canCreatebooleanopcional

Can create child articles

Valor por defecto: false
canUpdatebooleanopcional

Can update the article (and its children if appliesToSubtree)

Valor por defecto: false
canDeletebooleanopcional

Can delete the article (and its children if appliesToSubtree)

Valor por defecto: false
canSharebooleanopcional

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

Valor por defecto: false
canCommentbooleanopcional

Can add comments to the article

Valor por defecto: false
canExportbooleanopcional

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

Valor por defecto: false
canDownloadbooleanopcional

Can download attachments of the article

Valor por defecto: false
canPrintbooleanopcional

Can print the article

Valor por defecto: false
appliesToSubtreebooleanopcional

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

Valor por defecto: true
validUntildatetimeopcional

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

Valor por defecto: nulladmite null
createdByuuidopcional

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

solo lectura
updatedBystringopcional

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

Patrónsolo lecturaadmite null
isActivebooleanopcional

Soft toggle to temporarily disable sharing without deleting

Valor por defecto: true

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 filtrable
  • GET /api/v1/kb_shares/<id> — Una entidad
  • POST /api/v1/kb_shares — Crear
  • PATCH /api/v1/kb_shares/<id> — Actualización parcial
  • DELETE /api/v1/kb_shares/<id> — Eliminación lógica
  • GET /api/v1/kb_shares/<id>/timeline — Auditoría y actividades

Búsqueda