Skip to main content

Pin an object

POST /ipfs/pin/add/:IPFS_path

Pinning is necessary to avoid regular garbage collection (deletion) of IPFS objects. Non-pinned objects are regularly being removed without prior notice. Pinned objects are counted in your user storage quota.

Request

Path Parameters

    IPFS_path string required
Responses

Returns pinned object


Schema
    ipfs_hash string required

    IPFS hash of the pinned object

    state string required

    Possible values: [queued|pinned|unpinned|failed|gc]

    State of the pin action

Loading...