API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · dms_annotations

DMS Annotation Schema

ID du schéma
dms_annotation
Collection
dms_annotations
Autorisations
  • Liredms_annotation_view
  • Créerdms_annotation_create
  • Modifierdms_annotation_edit
  • Supprimerdms_annotation_delete

Champs

DMS Annotation Schema

dms_annotations4 autorisations

Schema for validating DMS PDF annotations (PDF-Annotationen)

documentIduuidobligatoire

Reference to dms_document

pageNumbernumberobligatoire

Page number (1-based)

≥ 1
typestringobligatoire

Annotation type

HIGHLIGHTCOMMENTSTAMPSIGNATUREFREEHANDRECTANGLE
contentstringfacultatif

Text content (for COMMENT type)

nullable
positionobjectobligatoire
xnumberobligatoire

X position (percentage 0-100)

ynumberobligatoire

Y position (percentage 0-100)

widthnumberobligatoire

Width (percentage 0-100)

heightnumberobligatoire

Height (percentage 0-100)

colorstringfacultatif

Color in hex (e.g. #FFFF00)

nullable
opacitynumberfacultatif
0 – 1Par défaut : 1nullable
stampTypestringfacultatif

Stamp type (only for STAMP annotations)

APPROVEDREJECTEDDRAFTCONFIDENTIALCUSTOM
nullable
stampTextstringfacultatif

Custom stamp text (only for CUSTOM stampType)

nullable
freehandPathstringfacultatif

SVG path data for FREEHAND annotations

nullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/dms_annotations — Liste, paginée et filtrable
  • GET /api/v1/dms_annotations/<id> — Une entité
  • POST /api/v1/dms_annotations — Créer
  • PATCH /api/v1/dms_annotations/<id> — Mise à jour partielle
  • DELETE /api/v1/dms_annotations/<id> — Suppression logique
  • GET /api/v1/dms_annotations/<id>/timeline — Audit et activités

Recherche