-
Notifications
You must be signed in to change notification settings - Fork 460
Open
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps uphelp wantedSeeking public contribution on this issueSeeking public contribution on this issuetopic/docsDocumentationDocumentation
Description
The current documentation describes /api/v0/dag/import
as returning a JSON body with the following structure:
{
"Root": {
"Cid": {
"/": "<cid-string>"
},
"PinErrorMsg": "<string>"
},
"Stats": {
"BlockBytesCount": "<uint64>",
"BlockCount": "<uint64>"
}
}
What is actually returned is a JSONL body with the following structure:
{"Root":{"Cid":{"/":"<cid-string>"},"PinErrorMsg":"string"}}
{"Stats":{"BlockCount":<uint64>,"BlockBytesCount":<uint64>}}
Note that the Stats
"record" is only returned if the stats=true
argument is provided.
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps uphelp wantedSeeking public contribution on this issueSeeking public contribution on this issuetopic/docsDocumentationDocumentation