{"service":"HALOWERK finopswerk","endpoint":"/v1/cloudfront-invalidation-allowance-ledger","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"baseline_domain":{"type":"array","items":{"type":"integer","minimum":0,"maximum":2000},"minItems":1,"maxItems":2},"history":{"type":"array","items":{"type":"object","properties":{"distribution":{"enum":["a","b"]},"reference":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,7}$","minLength":1,"maxLength":8},"paths":{"type":"array","items":{"type":"string","pattern":"^/[A-Za-z0-9_./-]{0,30}[*]?$","minLength":1,"maxLength":32},"minItems":1,"maxItems":4}},"required":["distribution","reference","paths"],"additionalProperties":false},"minItems":0,"maxItems":4},"inventory":{"type":"array","items":{"type":"object","properties":{"distribution":{"enum":["a","b"]},"path":{"type":"string","pattern":"^/[A-Za-z0-9_./-]{0,30}[*]?$","minLength":1,"maxLength":32}},"required":["distribution","path"],"additionalProperties":false},"minItems":0,"maxItems":8},"batches":{"type":"array","items":{"type":"object","properties":{"distribution":{"enum":["a","b"]},"reference":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,7}$","minLength":1,"maxLength":8},"paths":{"type":"array","items":{"type":"string","pattern":"^/[A-Za-z0-9_./-]{0,30}[*]?$","minLength":1,"maxLength":32},"minItems":1,"maxItems":4}},"required":["distribution","reference","paths"],"additionalProperties":false},"minItems":1,"maxItems":8},"report":{"type":"object","properties":{"batches":{"type":"array","items":{"type":"object","properties":{"outcome":{"anyOf":[{"enum":["new","reused","conflict"]},{"type":"null"}]},"new_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"inventory_matches":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"free_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"paid_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"cumulative_month_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]}},"required":["outcome","new_paths","inventory_matches","free_paths","paid_paths","cumulative_month_paths"],"additionalProperties":false},"minItems":1,"maxItems":8},"total":{"type":"object","properties":{"new_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"free_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"paid_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"cumulative_month_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]}},"required":["new_paths","free_paths","paid_paths","cumulative_month_paths"],"additionalProperties":false}},"required":["batches","total"],"additionalProperties":false}},"required":["baseline_domain","history","inventory","batches","report"],"additionalProperties":false},"requestExample":{"baseline_domain":[998],"history":[],"inventory":[{"distribution":"a","path":"/a"},{"distribution":"a","path":"/b"},{"distribution":"b","path":"/a"},{"distribution":"b","path":"/b"},{"distribution":"b","path":"/c"}],"batches":[{"distribution":"a","reference":"x","paths":["/a","/b"]},{"distribution":"a","reference":"x","paths":["/a","/b"]},{"distribution":"b","reference":"x","paths":["/*"]}],"report":{"batches":[{"outcome":"new","new_paths":2,"inventory_matches":2,"free_paths":2,"paid_paths":0,"cumulative_month_paths":1000},{"outcome":"reused","new_paths":0,"inventory_matches":0,"free_paths":0,"paid_paths":0,"cumulative_month_paths":1000},{"outcome":"new","new_paths":1,"inventory_matches":3,"free_paths":0,"paid_paths":1,"cumulative_month_paths":1001}],"total":{"new_paths":3,"free_paths":2,"paid_paths":1,"cumulative_month_paths":1001}}},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"baseline_domain":{"type":"array","items":{"type":"integer","minimum":0,"maximum":2000},"minItems":1,"maxItems":2},"history":{"type":"array","items":{"type":"object","properties":{"distribution":{"enum":["a","b"]},"reference":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,7}$","minLength":1,"maxLength":8},"paths":{"type":"array","items":{"type":"string","pattern":"^/[A-Za-z0-9_./-]{0,30}[*]?$","minLength":1,"maxLength":32},"minItems":1,"maxItems":4}},"required":["distribution","reference","paths"],"additionalProperties":false},"minItems":0,"maxItems":4},"inventory":{"type":"array","items":{"type":"object","properties":{"distribution":{"enum":["a","b"]},"path":{"type":"string","pattern":"^/[A-Za-z0-9_./-]{0,30}[*]?$","minLength":1,"maxLength":32}},"required":["distribution","path"],"additionalProperties":false},"minItems":0,"maxItems":8},"batches":{"type":"array","items":{"type":"object","properties":{"distribution":{"enum":["a","b"]},"reference":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,7}$","minLength":1,"maxLength":8},"paths":{"type":"array","items":{"type":"string","pattern":"^/[A-Za-z0-9_./-]{0,30}[*]?$","minLength":1,"maxLength":32},"minItems":1,"maxItems":4}},"required":["distribution","reference","paths"],"additionalProperties":false},"minItems":1,"maxItems":8},"report":{"type":"object","properties":{"batches":{"type":"array","items":{"type":"object","properties":{"outcome":{"anyOf":[{"enum":["new","reused","conflict"]},{"type":"null"}]},"new_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"inventory_matches":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"free_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"paid_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"cumulative_month_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]}},"required":["outcome","new_paths","inventory_matches","free_paths","paid_paths","cumulative_month_paths"],"additionalProperties":false},"minItems":1,"maxItems":8},"total":{"type":"object","properties":{"new_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"free_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"paid_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]},"cumulative_month_paths":{"anyOf":[{"type":"integer","minimum":0,"maximum":3000},{"type":"null"}]}},"required":["new_paths","free_paths","paid_paths","cumulative_month_paths"],"additionalProperties":false}},"required":["batches","total"],"additionalProperties":false}},"required":["baseline_domain","history","inventory","batches","report"],"additionalProperties":false},"requestExample":{"baseline_domain":[998],"history":[],"inventory":[{"distribution":"a","path":"/a"},{"distribution":"a","path":"/b"},{"distribution":"b","path":"/a"},{"distribution":"b","path":"/b"},{"distribution":"b","path":"/c"}],"batches":[{"distribution":"a","reference":"x","paths":["/a","/b"]},{"distribution":"a","reference":"x","paths":["/a","/b"]},{"distribution":"b","reference":"x","paths":["/*"]}],"report":{"batches":[{"outcome":"new","new_paths":2,"inventory_matches":2,"free_paths":2,"paid_paths":0,"cumulative_month_paths":1000},{"outcome":"reused","new_paths":0,"inventory_matches":0,"free_paths":0,"paid_paths":0,"cumulative_month_paths":1000},{"outcome":"new","new_paths":1,"inventory_matches":3,"free_paths":0,"paid_paths":1,"cumulative_month_paths":1001}],"total":{"new_paths":3,"free_paths":2,"paid_paths":1,"cumulative_month_paths":1001}}}}]}