Skip to content
HALOWERK

File Formats and Conversion

deep link anchor migration

Bookmark migration finds candidate replacement IDs by matching an old heading label in supplied revised HTML. Use it when an agent needs to verify that a shared deep link selects the intended content.

POST https://format.halowerk.com/v1/deep-link-anchor-migration

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
urlstringYes
old_htmlstringYes
new_htmlstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 1800,
      "minLength": 1
    },
    "old_html": {
      "type": "string",
      "maxLength": 6500,
      "minLength": 1
    },
    "new_html": {
      "type": "string",
      "maxLength": 6500,
      "minLength": 1
    }
  },
  "required": [
    "url",
    "old_html",
    "new_html"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "url": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15",
  "old_html": "<h2 id=\"section-15\">HTTP Semantics</h2>",
  "new_html": "<h2 id=\"http-semantics\">HTTP Semantics</h2>"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "old_found": {
          "type": "boolean"
        },
        "still_present": {
          "type": "boolean"
        },
        "candidate_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "old_found",
        "still_present",
        "candidate_ids"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’