Zum Inhalt
HALOWERK

Finopswerk

item mutation write unit ledger

OriginalflatStringitemimages/orderedPutUpdateDelete reconstruct internalUTF8name/valuebytes,before-afterMAX/Deleteoldsize,perwrite1KiBrounding andwholeendstate. Immutablekkey/slotprofile;noindexes/storage100Boverhead/conditions/transactions/retries/realDynamoAPI/bill/pricescertification. Oneboundedinitialimagecapturekeeps2wholehistories.Strictrecursive reportkeys/objectorderirrelevant/stepandslotarraysordered. A schema-valid unknown is a successful result at the same fixed price. Invalid.

POST https://finops.halowerk.com/v1/item-mutation-write-unit-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
initial_itemsarrayJa
actionsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "initial_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "images": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "pattern": "^[a-z]{1,8}$",
                    "minLength": 1,
                    "maxLength": 8
                  },
                  "value": {
                    "type": "string",
                    "maxLength": 256
                  }
                },
                "required": [
                  "name",
                  "value"
                ],
                "additionalProperties": false
              },
              "minItems": 1,
              "maxItems": 4
            },
            "minItems": 1,
            "maxItems": 2
          }
        },
        "required": [
          "images"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 3
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "put",
              "update",
              "delete"
            ]
          },
          "slot": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "pattern": "^[a-z]{1,8}$",
                  "minLength": 1,
                  "maxLength": 8
                },
                "value": {
                  "type": "string",
                  "maxLength": 256
                }
              },
              "required": [
                "name",
                "value"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 4
          },
          "remove_names": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z]{1,8}$",
              "minLength": 1,
              "maxLength": 8
            },
            "minItems": 0,
            "maxItems": 3
          }
        },
        "required": [
          "kind",
          "slot",
          "attributes",
          "remove_names"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 4
    },
    "report": {
      "type": "object",
      "properties": {
        "steps": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "before_bytes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "after_bytes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "charged_bytes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "wcu": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "exists_after": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "before_bytes",
              "after_bytes",
              "charged_bytes",
              "wcu",
              "exists_after"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 4
        },
        "final_item_bytes": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 1,
          "maxItems": 3
        },
        "total_wcu": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "steps",
        "final_item_bytes",
        "total_wcu"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "initial_items",
    "actions",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "initial_items": [
    {
      "images": [
        [
          {
            "name": "k",
            "value": "a"
          },
          {
            "name": "a",
            "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          {
            "name": "b",
            "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          {
            "name": "c",
            "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          }
        ]
      ]
    }
  ],
  "actions": [
    {
      "kind": "put",
      "slot": 0,
      "attributes": [
        {
          "name": "k",
          "value": "a"
        },
        {
          "name": "a",
          "value": "x"
        },
        {
          "name": "b",
          "value": "x"
        }
      ],
      "remove_names": []
    },
    {
      "kind": "update",
      "slot": 0,
      "attributes": [
        {
          "name": "a",
          "value": "y"
        }
      ],
      "remove_names": []
    }
  ],
  "report": {
    "steps": [
      {
        "before_bytes": 773,
        "after_bytes": 6,
        "charged_bytes": 773,
        "wcu": 1,
        "exists_after": 1
      },
      {
        "before_bytes": 6,
        "after_bytes": 6,
        "charged_bytes": 6,
        "wcu": 1,
        "exists_after": 1
      }
    ],
    "final_item_bytes": [
      6
    ],
    "total_wcu": 2
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →