object_get

/api/v0/object/get

Get and serialize the DAG node named by key.

REQUEST

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

REQUEST PARAMS

  • arg [required] - Key of the object to retrieve, in base58-encoded multihash format.

EXAMPLE

1
// POST
2
curl -X POST "https://ipfs.infura.io:5001/api/v0/object/get?arg=QmfQ5QAjvg4GtA3wg3adpnDJug8ktA1BxurVqBD8rtgVjM"
Copied!

RESPONSE

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

RESULT FIELDS

  • links - An array of associated link objects
  • data

BODY

1
{
2
Links: [ ],
3
Data: "version 1 of my text "
4
}
Copied!