dag_get

/api/v0/dag/get

Get a dag node from IPFS.

REQUEST

1
POST http://ipfs.infura.io:5001/api/v0/dag/get?arg=<key>&output-codec=dag-json
Copied!

REQUEST PARAMS

  • arg [string]: The object to get. Required: yes.
  • output-codec [string]: Format the object will be decoded in. Default: dag-json. Required: no.

EXAMPLE

1
curl -X POST "http://ipfs.infura.io:5001/api/v0/dag/get?arg=<key>&output-codec=dag-json"
Copied!

RESPONSE

On success, the call to this endpoint will return with 200 and the following body:
1
This endpoint returns a `text/plain` response body.
Copied!
Last modified 2mo ago