Skip to main content

Summary

Normalize a content control tag between plain-string and JSON-encoded formats.
  • Operation ID: contentControls.normalizeTagPayload
  • API member path: editor.doc.contentControls.normalizeTagPayload(...)
  • Mutates document: yes
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a ContentControlMutationResult; reports NO_OP if already normalized.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_INPUT
  • REVISION_MISMATCH
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • NO_OP

Raw schemas