get

/api/v0/get

Download IPFS objects.

REQUEST

1
POST https://ipfs.infura.io:5001/api/v0/get?arg=<ipfs-path>&output=<value>&archive=false&compress=false&compression-level=-1
Copied!

REQUEST PARAMS

  • arg [required] - The IPFS object hash
  • output [optional] - The path where the output should be stored.
  • archive [optional] - Output a TAR archive. Default: “false”.
  • compress [optional] - Compress the output with GZIP compression. Default is “false”.
  • compression-level [optional] - The level of compression (1-9). Default: “-1”.

EXAMPLE

1
// POST
2
curl -X POST "https://ipfs.infura.io:5001/api/v0/get?arg=QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy&archive=true"
Copied!

RESPONSE

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

BODY

1
This endpoint returns a `text/plain` response body.
Copied!