Skip to main content

Add a file to IPFS

POST /ipfs/add

You need to /ipfs/pin/add an object to avoid it being garbage collected. This usage is being counted in your user account quota.

Hosted Endpoint only available for hosted variant.

Request

Body

    file binary
Responses

Returns information about added IPFS object


Schema
    name string required

    Name of the file

    ipfs_hash string required

    IPFS hash of the file

    size string required

    IPFS node size in Bytes

Loading...