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

DMS Annotation Schema

Schema ID
dms_annotation
Collection
dms_annotations
Permissions
  • Readdms_annotation_view
  • Createdms_annotation_create
  • Editdms_annotation_edit
  • Deletedms_annotation_delete

Fields

DMS Annotation Schema

dms_annotations4 permissions

Schema for validating DMS PDF annotations (PDF-Annotationen)

documentIduuidrequired

Reference to dms_document

pageNumbernumberrequired

Page number (1-based)

≥ 1
typestringrequired

Annotation type

HIGHLIGHTCOMMENTSTAMPSIGNATUREFREEHANDRECTANGLE
contentstringoptional

Text content (for COMMENT type)

nullable
positionobjectrequired
xnumberrequired

X position (percentage 0-100)

ynumberrequired

Y position (percentage 0-100)

widthnumberrequired

Width (percentage 0-100)

heightnumberrequired

Height (percentage 0-100)

colorstringoptional

Color in hex (e.g. #FFFF00)

nullable
opacitynumberoptional
0 – 1Default: 1nullable
stampTypestringoptional

Stamp type (only for STAMP annotations)

APPROVEDREJECTEDDRAFTCONFIDENTIALCUSTOM
nullable
stampTextstringoptional

Custom stamp text (only for CUSTOM stampType)

nullable
freehandPathstringoptional

SVG path data for FREEHAND annotations

nullable

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_annotations — List, paginated + filterable
  • GET /api/v1/dms_annotations/<id> — Single entity
  • POST /api/v1/dms_annotations — Create
  • PATCH /api/v1/dms_annotations/<id> — Partial update
  • DELETE /api/v1/dms_annotations/<id> — Soft delete
  • GET /api/v1/dms_annotations/<id>/timeline — Audit + activities

Search