Skip to content

Commit

Permalink
feat: block batching (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw authored Oct 10, 2022
1 parent b0fecc4 commit c0a35e4
Show file tree
Hide file tree
Showing 7 changed files with 558 additions and 399 deletions.
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@

🧪 Experimental IPFS HTTP gateway providing access to UnixFS data via CAR CIDs.

Gateway URLs should be in the format:
The querystring parameter `origin` provides the hint of which CAR file(s) the data DAG is contained within.

```
https://bagbaieralsmnkvhi3t3d7lek2ti2vhfglb4bhw7gite2qsz467zjuqvbvyva.ipfs.freeway.dag.haus/ipfs/bafybeiaaxqlnwlfeirgr5p63ftnfszmerttupnwrim52h4zv2tfpntbjdy/data.txt
|-------------------------- CAR CID -------------------------| |------------------------ Data CID -----------------------|
```

Where:
* CAR CID - is the CID of the CAR file the DAG can be found in.
* Data CID - is the root CID of the data.

Alternatively the `?in` querystring parameter can be used to specify the CAR CID:
e.g.

```
http://localhost:8787/ipfs/bafybeiaaxqlnwlfeirgr5p63ftnfszmerttupnwrim52h4zv2tfpntbjdy/data.txt?in=bagbaieralsmnkvhi3t3d7lek2ti2vhfglb4bhw7gite2qsz467zjuqvbvyva
https://freeway.dag.haus/ipfs/bafybeiaaxqlnwlfeirgr5p63ftnfszmerttupnwrim52h4zv2tfpntbjdy/data.txt?origin=bagbaieralsmnkvhi3t3d7lek2ti2vhfglb4bhw7gite2qsz467zjuqvbvyva
```
Loading

0 comments on commit c0a35e4

Please sign in to comment.