From ff99b4d0c6ee2cd4acdf2204a83b0bf390014844 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Wed, 15 Jan 2025 08:48:40 -0500 Subject: [PATCH] docs(kubo-rps): describe JSONL returned by /api/vo/dag/import Resolves #1980 --- docs/reference/kubo/rpc.md | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/docs/reference/kubo/rpc.md b/docs/reference/kubo/rpc.md index 668eea3dc..17f7096f5 100644 --- a/docs/reference/kubo/rpc.md +++ b/docs/reference/kubo/rpc.md @@ -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": { - "/": "" - }, - "PinErrorMsg": "" - }, - "Stats": { - "BlockBytesCount": "", - "BlockCount": "" - } -} - +{"Root":{"Cid":{"/":""},"PinErrorMsg":"string"}} +{"Stats":{"BlockCount":,"BlockBytesCount":}} ``` ### cURL Example