Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms edit delta consumption

An agent that imports a content edit delta needs source cursor consumption and claimed resulting code-unit length reconciled without exposing inserted text.

POST https://detect.halowerk.com/v1/cms/cms-edit-delta-consumption

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "source_length": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000
        },
        "claimed_result_length": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000000
        },
        "operations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "units": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000000
              }
            },
            "required": [
              "kind",
              "units"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 512
        }
      },
      "required": [
        "source_length",
        "claimed_result_length",
        "operations"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "source_length": 10,
    "claimed_result_length": 8,
    "operations": [
      {
        "kind": "retain",
        "units": 5
      },
      {
        "kind": "delete",
        "units": 5
      },
      {
        "kind": "insert",
        "units": 3
      }
    ]
  }
}

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 →