Skip to main content

Summary

Insert new linked text at a target position.
  • Operation ID: hyperlinks.insert
  • API member path: editor.doc.hyperlinks.insert(...)
  • Mutates document: yes
  • Idempotency: non-idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a HyperlinkMutationResult with the created hyperlink address on success, or a failure code.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE
  • INVALID_TARGET
  • INVALID_INPUT

Non-applied failure codes

  • NO_OP
  • INVALID_TARGET

Raw schemas