{"service":"HALOWERK finopswerk","endpoint":"/v1/item-mutation-write-unit-ledger","method":"POST","content_type":"application/json","inputSchema":{"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},"requestExample":{"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}},"operations":[{"method":"POST","inputSchema":{"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},"requestExample":{"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}}}]}