Document apiReferenceMetadata

metadata.resolve

Find where an anchored-metadata entry is anchored in the document. Returns the SelectionTarget covering the anchor content.

read-onlyidempotent
doc.metadata.resolve(…)

Expected result

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

Inputs

idstringrequired

Result

Output fields
Variant 1

No fields.

Variant 2

No fields.

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE

Raw schemas

Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.

View raw JSON schemas