index.md
HTML wrapper for HTML-only fetchers; content is shown verbatim.
Raw file
Links (extracted)
Clickable list for reviewers; avoids copy/paste line-wrap issues.
# if.api demo — Azure Blob resolver (receipt-backed)
**Audience:** external reviewers + operators
**Reality gate:** demo of a transformation contract, not a deployed Azure Blob integration.
---
## Links (HTML-first)
if.trace receipt:
https://infrafabric.io/static/trace/bTYwONvnsqCsIP0si1t4gA
Pack (HTML view):
https://infrafabric.io/static/pack/bTYwONvnsqCsIP0si1t4gA
Pack (raw Markdown):
https://infrafabric.io/static/pack/bTYwONvnsqCsIP0si1t4gA.md
Source bundle (tgz):
https://infrafabric.io/static/source/1f1321107062174ab35f298c0d25fe3a7e73cd0d5726f55f2903f39b1986dbc7.tgz
---
## What this proves (black/white)
This demo proves:
- a known Azure Blob request can be transformed deterministically into a normalized resolution envelope
- the output is bound to if.trace receipts (hash checks; signatures only where present and verifiable)
This demo does not prove:
- live Azure Blob API calls, access policies, or lifecycle rules
- any shipped if.bus runtime or message broker
---
## Demo artifacts
Source bundle sha256 (tgz):
1f1321107062174ab35f298c0d25fe3a7e73cd0d5726f55f2903f39b1986dbc7
Input JSON sha256:
4972b0594ea538f2781189010bc8b1e09da004f4e0c728096e9e1ca0ed509b9e
Normalized output JSON sha256:
a02917989f938bf607e894621a09bd27c135690b24d42511b769df14764fe12f
---
## How to reproduce (no internal access)
```bash
curl -fsSL -o if-api-azure-blob-demo-source.tgz "https://infrafabric.io/static/source/1f1321107062174ab35f298c0d25fe3a7e73cd0d5726f55f2903f39b1986dbc7.tgz"
sha256sum if-api-azure-blob-demo-source.tgz
tar -xzf if-api-azure-blob-demo-source.tgz
python3 resolve_azure_blob_demo.py azure_blob_input.json > resolved_event.json
sha256sum resolved_event.json
```
Expected `sha256sum` (source bundle):
1f1321107062174ab35f298c0d25fe3a7e73cd0d5726f55f2903f39b1986dbc7 if-api-azure-blob-demo-source.tgz
Expected `sha256sum` (normalized output):
a02917989f938bf607e894621a09bd27c135690b24d42511b769df14764fe12f resolved_event.json
---
## Output (normalized event envelope)
```json
{
"event": "resolve",
"input_sha256": "4972b0594ea538f2781189010bc8b1e09da004f4e0c728096e9e1ca0ed509b9e",
"integration": "azure.blob",
"notes": {
"integrity": "see if.trace receipt for output bytes",
"live_lookup": false
},
"requested_at": "2026-01-07T00:00:00Z",
"resolved_at": "2026-01-07T00:00:00Z",
"results": [
{
"account": "iftracearchive",
"blob": "2026-01-07/if-api-azure-blob-demo.md",
"container": "receipts",
"metadata": {
"content_type": "text/markdown",
"etag": "0x8DAF5C2E0F5D2AA",
"owner": "demo.owner@example.com",
"size_bytes": 39112,
"tier": "Hot"
},
"resolution_method": "synthetic-map",
"status": "resolved",
"target_url": "https://iftracearchive.blob.core.windows.net/receipts/2026-01-07/if-api-azure-blob-demo.md"
},
{
"account": "iftracearchive",
"blob": "if-api-azure-blob-demo-source.tgz",
"container": "sources",
"metadata": {
"content_type": "application/gzip",
"etag": "0x8DAF5C2E0F5D2AB",
"owner": "demo.owner@example.com",
"size_bytes": 21888,
"tier": "Cool"
},
"resolution_method": "synthetic-map",
"status": "resolved",
"target_url": "https://iftracearchive.blob.core.windows.net/sources/if-api-azure-blob-demo-source.tgz"
}
],
"schema_version": "demo.v1"
}
```