Summary
Wrap a content control inside a new group content control. Always nests; not idempotent.- Operation ID:
contentControls.group.wrap - API member path:
editor.doc.contentControls.group.wrap(...) - Mutates document:
yes - Idempotency:
non-idempotent - Supports tracked mode:
no - Supports dry run:
yes - Deterministic target resolution:
yes
Expected result
Returns a ContentControlMutationResult with the new group wrapper target.Input fields
Example request
Output fields
Variant 1 (success=true)
Variant 2 (success=false)
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETAMBIGUOUS_TARGETINVALID_INPUTLOCK_VIOLATIONREVISION_MISMATCHCAPABILITY_UNAVAILABLE
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema
Raw success schema
Raw success schema
Raw failure schema
Raw failure schema

