/api/v0/dag/get
Get a DAG node from IPFS.
Arguments
arg[string]: The object to get Required: yes.output-codec[string]: Format that the object will be encoded as. Default:dag-json. Required: no.
Response
On success, the call to this endpoint will return with 200 and the following body:
This endpoint returns a `text/plain` response body.cURL Example
curl -X POST "http://127.0.0.1:5001/api/v0/dag/get?arg=<ref>&output-codec=dag-json"
Last updated