Zum Inhalt
HALOWERK

Datenvertragswerk

delta dv replacement precondition

Check the two named atomic logical-file replacement preconditions before a data writer proposes a new deletion-vector identity for an existing physical file. Checks only per-path action multiplicity and exact prior-DV retirement; observed is not full Delta commit validity. Pseudonym metadata only,no file access or changes. Schema-valid unknown is successful at the same fixed price;invalid input requires native400 before settlement. A schema-valid unknown is a successful result at the same.

POST https://datenvertrag.halowerk.com/v1/delta-dv-replacement-precondition

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
snapshot_completebooleanJa
current_filesarrayJa
addsarrayJa
removesarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "snapshot_complete": {
      "type": "boolean"
    },
    "current_files": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "file": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "dv": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,16}$"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file",
          "dv"
        ]
      },
      "minItems": 0,
      "maxItems": 16
    },
    "adds": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "file": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "dv": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,16}$"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file",
          "dv"
        ]
      },
      "minItems": 0,
      "maxItems": 16
    },
    "removes": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "file": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "dv": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,16}$"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file",
          "dv"
        ]
      },
      "minItems": 0,
      "maxItems": 16
    }
  },
  "required": [
    "snapshot_complete",
    "current_files",
    "adds",
    "removes"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "snapshot_complete": true,
  "current_files": [
    {
      "file": "F",
      "dv": "A"
    }
  ],
  "adds": [
    {
      "file": "F",
      "dv": "B"
    }
  ],
  "removes": [
    {
      "file": "F",
      "dv": "A"
    }
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-05, 03:23 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →