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