Skip to content

Commit

Permalink
docs(kubo-rps): describe JSONL returned by /api/vo/dag/import
Browse files Browse the repository at this point in the history
Resolves ipfs#1980
  • Loading branch information
smoyer64 committed Jan 15, 2025
1 parent 022d971 commit ff99b4d
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions docs/reference/kubo/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -1102,22 +1102,11 @@ Argument `path` is of file type. This endpoint expects one or several files (dep

### Response

On success, the call to this endpoint will return with 200 and the following body:
On success, the call to this endpoint will return with 200 and the following JSONL body (if the `stats=true` argument is included):

```json
{
"Root": {
"Cid": {
"/": "<cid-string>"
},
"PinErrorMsg": "<string>"
},
"Stats": {
"BlockBytesCount": "<uint64>",
"BlockCount": "<uint64>"
}
}

{"Root":{"Cid":{"/":"<cid-string>"},"PinErrorMsg":"string"}}
{"Stats":{"BlockCount":<uint64>,"BlockBytesCount":<uint64>}}
```

### cURL Example
Expand Down

0 comments on commit ff99b4d

Please sign in to comment.