dag_resolve
/api/v0/dag/resolve
Resolve IPLD block.
REQUEST
- Syntax
- Example
curl "https://ipfs.infura.io:5001/api/v0/dag/resolve?arg=<key>" \
-X POST \
-u "<API_KEY>:<API_KEY_SECRET>"
curl "https://ipfs.infura.io:5001/api/v0/dag/resolve?arg=QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy" \
-X POST \
-u "PROJECT_ID:PROJECT_SECRET"
REQUEST PARAMS
arg
[Required] - The IPFS object hash; the path to resolve.
RESPONSE
On success, the call to this endpoint will return with 200 and the following body:
BODY
{
Cid: {
/: "QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy"
},
RemPath: ""
}
RESULT FIELDS
Cid
- Content ID.RemPath