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 — Dropbox Sign (receipt-backed)

**Audience:** external reviewers + operators  
**Reality gate:** demo of a signing contract, not a deployed Dropbox Sign integration.

---

## Links (HTML-first)

if.trace receipt:
https://infrafabric.io/static/trace/V5pqVq8uGnu71v_ncRh4aA

Pack (HTML view):
https://infrafabric.io/static/pack/V5pqVq8uGnu71v_ncRh4aA

Pack (raw Markdown):
https://infrafabric.io/static/pack/V5pqVq8uGnu71v_ncRh4aA.md

Source bundle (tgz):
https://infrafabric.io/static/source/e523d2d18ab1161dd9ea64b41029c86b3e6ce281b66e676c5bd38cdddaab5ac9.tgz

---

## What this proves (black/white)

This demo proves:
- a known signing request can be normalized deterministically into a results envelope
- the output is bound to if.trace receipts (hash checks; signatures only where present and verifiable)

This demo does not prove:
- live Dropbox Sign API calls, credentials, or signer identity verification
- any shipped if.bus runtime or message broker

---

## Demo artifacts

Source bundle sha256 (tgz):

    e523d2d18ab1161dd9ea64b41029c86b3e6ce281b66e676c5bd38cdddaab5ac9

Input JSON sha256:

    9d6ce83635a648da18411f8e47a609cce825defadc5aa65f02060e2cd77a5d70

Normalized output JSON sha256:

    5e4aa7168d3e7c9b1269de2dc55e54c42e65c35e8f25a849d2a3c570c53c5db3

---

## How to reproduce (no internal access)

```bash
curl -fsSL -o if-api-dropbox-sign-demo-source.tgz "https://infrafabric.io/static/source/e523d2d18ab1161dd9ea64b41029c86b3e6ce281b66e676c5bd38cdddaab5ac9.tgz"
sha256sum if-api-dropbox-sign-demo-source.tgz

tar -xzf if-api-dropbox-sign-demo-source.tgz
python3 run_dropbox_sign_demo.py dropbox_sign_input.json > normalized_event.json
sha256sum normalized_event.json
```

Expected `sha256sum` (source bundle):

    e523d2d18ab1161dd9ea64b41029c86b3e6ce281b66e676c5bd38cdddaab5ac9  if-api-dropbox-sign-demo-source.tgz

Expected `sha256sum` (normalized output):

    5e4aa7168d3e7c9b1269de2dc55e54c42e65c35e8f25a849d2a3c570c53c5db3  normalized_event.json

---

## Output (normalized event envelope)

```json
{
  "event": "sign",
  "input_sha256": "9d6ce83635a648da18411f8e47a609cce825defadc5aa65f02060e2cd77a5d70",
  "integration": "dropbox.sign",
  "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": [
    {
      "document_name": "demo-contract.pdf",
      "metadata": {
        "request_id": "REQ-0001",
        "routing": "parallel",
        "signature_type": "electronic"
      },
      "request_name": "Demo Contract",
      "resolution_method": "synthetic-map",
      "status": "simulated"
    }
  ],
  "schema_version": "demo.v1"
}
```