Zum Inhalt
HALOWERK

Webinhalte extrahieren

diff

Compare a page against its last stored state, or two supplied documents, and report only the content changes.

POST https://fetch.halowerk.com/diff

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
urlstringNeinPage to fetch and compare against its last stored state.
sincestringNeinISO timestamp. Picks the stored state at or before this moment instead of the newest one.
beforestringNeinEarlier document as HTML or Markdown. No network access is used.
afterstringNeinLater document as HTML or Markdown.
before_fetched_atstringNeinOptional, echoed back for inline comparisons.
after_fetched_atstringNeinOptional, echoed back for inline comparisons.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "description": "Either \"url\" (compare against the state fetchwerk stored for it) or \"before\" and \"after\" (compare two supplied documents).",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Page to fetch and compare against its last stored state."
    },
    "since": {
      "type": "string",
      "format": "date-time",
      "description": "ISO timestamp. Picks the stored state at or before this moment instead of the newest one."
    },
    "before": {
      "type": "string",
      "description": "Earlier document as HTML or Markdown. No network access is used."
    },
    "after": {
      "type": "string",
      "description": "Later document as HTML or Markdown."
    },
    "before_fetched_at": {
      "type": "string",
      "format": "date-time",
      "description": "Optional, echoed back for inline comparisons."
    },
    "after_fetched_at": {
      "type": "string",
      "format": "date-time",
      "description": "Optional, echoed back for inline comparisons."
    }
  },
  "anyOf": [
    {
      "required": [
        "url"
      ]
    },
    {
      "required": [
        "before",
        "after"
      ]
    }
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "url": "https://example.com/"
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →