RewriterAnnotation Class Properties

PropertyTypeOptionalDescription
annotationIdStringNoUnique identifier for the rewriter annotation, automatically generated.
fromUserNoThe user who created this rewriter annotation.
colorStringYesColor used for the rewriter annotation.
lastUpdatedAnyYesTimestamp when the rewriter annotation was last updated, automatically generated.
documentParamsIdNumber | nullYesUnique document params ID, deprecated, use locationId instead.
documentParamsLocation | nullYesDocument params to identify user on sub document, deprecated, use location instead.
locationIdNumber | nullYesUnique location ID generated from provided location.
locationLocation | nullYesSet location to identify user on sub document.
typeStringYesType of annotation.
rewriterTypeStringNoType of rewriter for the annotation, either ‘generic’ or ‘copywriter’.
targetTextRangeTargetTextRange | nullYesSelected text range of rewriter annotation.
annotationIndexNumberYesIndex of the current annotation in the list of annotations.
pageInfoPageInfoYesInformation about the page where the annotation is made.
selectedRewriterOptionStringYesSelected rewriter option used in the annotation.