dag_resolve

/api/v0/dag/resolve

Resolve IPLD block

REQUEST

1
POST https://ipfs.infura.io:5001/api/v0/dat/resolve?arg=<key>
Copied!

REQUEST PARAMS

  • arg [required] - The IPFS object hash; the path to resolve

EXAMPLE

1
// POST
2
curl -X POST "https://ipfs.infura.io:5001/api/v0/dag/resolve?arg=QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy"
Copied!

RESPONSE

On success, the call to this endpoint will return with 200 and the following body:

RESULT FIELDS

  • Cid - Content ID (see more here)
  • RemPath

BODY

1
{
2
Cid: {
3
/: "QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy"
4
},
5
RemPath: ""
6
}
Copied!
Last modified 3mo ago