API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · dms_comments

DMS Comment Schema

Schema ID
dms_comment
Collection
dms_comments
Permissions
  • Readdms_comment_view
  • Createdms_comment_create
  • Editdms_comment_edit
  • Deletedms_comment_delete

Fields

DMS Comment Schema

dms_comments4 permissions

Threaded comment on a DMS document

documentIduuidrequired

Reference to dms_document

parentCommentIduuidoptional

Parent comment ID for threaded replies

nullable
bodystringrequired

Comment text (may contain @mentions as @[userId])

1–5000 characters
mentionsuuid[]optional

User IDs mentioned in this comment

Default: []
annotationIduuidoptional

Linked annotation (for comments on specific PDF regions)

nullable
isResolvedbooleanoptional

Whether this comment thread is resolved

Default: false
resolvedByuuidoptional

Who resolved this thread

read-onlynullable
resolvedAtdatetimeoptional
read-onlynullable
reactionsobject[]optional

Emoji reactions (Teams-style). Managed exclusively via POST /:resource/:id/reactions — never set directly via create/update (the field is protected). Absent/missing = no reactions.

read-only
emojistringrequired

Native Unicode emoji character

1–32 characters
userIdstringrequired

Internal users._id of the reactor

min 1 characters
createdAtdatetimeoptional

When the reaction was added

read-only

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/dms_comments — List, paginated + filterable
  • GET /api/v1/dms_comments/<id> — Single entity
  • POST /api/v1/dms_comments — Create
  • PATCH /api/v1/dms_comments/<id> — Partial update
  • DELETE /api/v1/dms_comments/<id> — Soft delete
  • GET /api/v1/dms_comments/<id>/timeline — Audit + activities

Search