Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 authored Jul 21, 2022
1 parent baa1e84 commit 92c8ca5
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,28 +117,23 @@ Response:

2. GET **/dag/car**


**Request**

```
{"ReqId":"00c1d646-7b06-445f-9162-1966c670f37d",
"Root":"QmfMYyn8LUWEfRXfijKFjBAshSsPVRUgwLZzsD7kcTtX1A",
"Selector":"",
"SkipOffset":0}
```

**Response**

```
Body: CAR file bytes are streamed
Status Codes:
404 -> L2 does not have the requested content
200 -> L2 has the requested content and CAR file bytes will be streamed back.
400 -> Internal L2 error that we should probably look into.
```

**Request**
```
{"ReqId":"00c1d646-7b06-445f-9162-1966c670f37d",
"Root":"QmfMYyn8LUWEfRXfijKFjBAshSsPVRUgwLZzsD7kcTtX1A",
"Selector":"",
"SkipOffset":0}
```

**Response**
```
Body: CAR file bytes are streamed
Status Codes:
404 -> L2 does not have the requested content.
200 -> L2 has the requested content and CAR file bytes will be streamed back.
400 -> Internal L2 error that we should probably look into.
```


**Sample cids to test with** can be found [here](https://pl-strflt.notion.site/Sample-cids-for-testing-Saturn-IPFS-Gateway-can-serve-all-these-cids-4387a7b734aa4a5fa3166d8eac7cac5e). These are cids the IPFS Gateway can serve.

0 comments on commit 92c8ca5

Please sign in to comment.