Skip to main content

Add and pin object

This endpoint adds a pin to the IPFS daemon.

Query Parameters
ignore-dupes string

Ignore Dupes

overwrite string

Overwrite conflicting files in collections

Request Body REQUIRED

Pin Body {cid:cid, name:name}

cid string
meta object
name string
origins string[]
Responses
202

Accepted

Schema OPTIONAL
created string OPTIONAL
delegates string[] OPTIONAL
info object OPTIONAL
pin object OPTIONAL
cid string OPTIONAL
meta object OPTIONAL
name string OPTIONAL
origins string[] OPTIONAL
requestid string OPTIONAL
status string OPTIONAL

Possible values: [pinning, pinned, failed, queued, offloaded]

500

Internal Server Error

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL