Pin object to remote pinning service.
arg [string]: CID or Path to be pinned. Required: yes.
arg
service [string]: Name of the remote pinning service to use (mandatory). Required: no.
service
name [string]: An optional name for the pin. Required: no.
name
background [bool]: Add to the queue on the remote service and return immediately (does not wait for pinned status). Default: false. Required: no.
background
false
On success, the call to this endpoint will return with 200 and the following body:
{ "Cid": "<string>", "Name": "<string>", "Status": "<string>" }
curl -X POST "http://127.0.0.1:5001/api/v0/pin/remote/add?arg=<ipfs-path>&service=<value>&name=<value>&background=false"
Last updated 1 year ago