{"uid":"cap_K86qba2M-y4aGNbjxOOJ6","slug":"oci-chunked-blob-upload-prefix-and-digest-ledger-validator-abce2441","name":"OCI Chunked Blob Upload Prefix and Digest Ledger Validator","description":"Reconstruct a decoded OCI chunked upload prefix and terminal digest outcome. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.","url":"https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-09/oci11-chunked-blob-upload-inclusive-range-prefix-and-digest-ledger?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","$defs":{"s0":{"anyOf":[{"type":"null"},{"type":"integer","maximum":32768,"minimum":0}]}},"required":["ociUpload"],"properties":{"ociUpload":{"type":"object","required":["data","claim"],"properties":{"data":{"type":"object","required":["events"],"properties":{"events":{"type":"array","items":{"type":"object","required":["method","request_location","body_hex","range_start","range_end","digest","response_status","response_location","response_range_end"],"properties":{"digest":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","maxLength":71,"minLength":71}]},"method":{"enum":["POST","PATCH","GET","PUT"]},"body_hex":{"type":"string","pattern":"^(?:[0-9a-f]{2})*$","maxLength":4096,"minLength":0},"range_end":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"},"range_start":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"},"response_status":{"type":"integer","maximum":599,"minimum":100},"request_location":{"type":"string","maxLength":512,"minLength":1},"response_location":{"anyOf":[{"type":"null"},{"type":"string","maxLength":512,"minLength":1}]},"response_range_end":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"}},"additionalProperties":false},"maxItems":32,"minItems":1}},"additionalProperties":false},"claim":{"anyOf":[{"type":"null"},{"type":"string","pattern":"^[0-9a-f]{64}$","maxLength":64,"minLength":64}]}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lHr73B7qyzZUovLHZtyor","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reconstructs and validates an OCI chunked blob upload sequence, verifying the prefix range and terminal SHA256 digest claim against the recorded upload events.","exampleAgentPrompt":"I have a log of OCI chunked blob upload events — a sequence of PATCH and POST requests with their body hex, range start/end values, response statuses, and a terminal SHA256 digest claim — can you reconstruct the full upload and verify whether the digest claim matches?","exampleUseCases":[{"title":"Container layer upload integrity check","prompt":"I ran a chunked OCI blob upload for a container layer and ended up with a digest claim of 'sha256:a3f1...' — here are all the PATCH events with their ranges and body hex. Can you reconstruct the upload and tell me if that digest is correct?"},{"title":"Debugging failed OCI registry push","prompt":"My OCI registry push failed at the final digest verification step. I have all the upload events including range starts, ends, response statuses, and the claimed SHA256. Can you reconstruct the sequence and show me what the actual digest should be versus what was claimed?"},{"title":"Auditing OCI upload ledger for compliance","prompt":"I need to audit this OCI chunked upload ledger — it has 12 PATCH events with hex bodies and range metadata, plus a terminal digest claim. Reconstruct the full typed result and compare the canonical SHA256 to verify the upload was recorded correctly."}],"resultDescription":"Returns a fully typed reconstruction of the OCI chunked upload sequence, including the decoded prefix, terminal digest outcome, and a comparison of the canonical SHA256 claim against the reconstructed digest — indicating whether the claim is valid or mismatched.","failureModes":["Invalid or malformed body_hex values causing reconstruction failure","SHA256 digest pattern mismatch (not matching ^sha256:[0-9a-f]{64}$)","Upload event array exceeding 32 items limit","Missing required event fields (method, range_start, range_end, etc.)","Response status codes outside valid HTTP range (100-599)","Range start/end values exceeding 32768 maximum","Null claim provided when digest comparison is expected","Inconsistent range sequence across PATCH events"],"whenToPreferThis":"Use this endpoint when you need to programmatically validate the integrity of an OCI chunked blob upload by reconstructing the event sequence and verifying the terminal SHA256 digest claim. Prefer this over manual digest calculation when you have a structured log of OCI upload HTTP events (method, location, body hex, range metadata, response status) and need a typed, comparable result confirming whether the upload ledger is internally consistent and the digest claim is correct.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:39.587Z","isFirstParty":false,"canonicalSlug":"oci-chunked-blob-upload-prefix-and-digest-ledger-validator-abce2441"}