get

Download IPFS objects.

/api/v0/get

Download IPFS objects.

REQUEST

curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/get?arg=<ipfs-path>&output=<value>&archive=false&compress=false&compression-level=-1" \
    -X POST

REQUEST PARAMS

  • arg [Required] - The IPFS object hash.

  • output [Optional] - The path where the output should be stored.

  • archive [Optional] - Output a TAR archive. The default is false.

  • compress [Optional] - Compress the output with GZIP compression. The default is false.

  • compression-level [Optional] - The level of compression (1-9). The default is -1.

RESPONSE

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

BODY

This endpoint returns a `text/plain` response body.

Last updated