add
Add a file or directory to IPFS.
/api/v0/add
REQUEST
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/add?recursive=false&quiet=<value>&quieter=<value>&silent=<value>&progress=<value>&trickle=<value>&only-hash=<value>&wrap-with-directory=<value>&hidden=<value>&chunker=<value>&pin=true&raw-leaves=<value>&nocopy=<value>&fscache=<value>&cid-version=0&hash=sha2-256" \
-X POST \
-H "Content-Type: multipart/form-data" \
-F file=@"<file>"curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/add?pin=false" \
-X POST \
-H "Content-Type: multipart/form-data" \
-F file=@"/sample-result.json"REQUEST PARAMS
RESPONSE
BODY
RESULT FIELDS
Last updated