Skip to main content

Summary

Find where an anchored-metadata entry is anchored in the document. Returns the SelectionTarget covering the anchor content.
  • Operation ID: metadata.resolve
  • API member path: editor.doc.metadata.resolve(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns an AnchoredMetadataResolveInfo with id and target SelectionTarget; or null if the anchor is no longer present.

Input fields

Example request

Output fields

Variant 1

No fields.

Variant 2

No fields.

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • None

Raw schemas