pin_ls
Lists objects pinned to local storage.
/api/v0/pin/ls
Lists object pinned to local storage.
REQUEST
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/pin/ls?arg=<ipfs-path>&type=all&quiet=<value>&stream=<value>" \
-X POST
REQUEST PARAMS
arg
[Required] - Path to object(s) to be listed.type
[Optional] - The type of pinned keys to list. Can bedirect
,indirect
,recursive
, orall
. The default isall
.quiet
[Optional] - Write just hashes of objects.stream
[Optional] - Enable streaming of pins as they are discovered.
RESPONSE
On success, the call to this endpoint returns with 200 and the following body:
BODY
{
"PinLsList": {
"Keys": {
"<string>": {
"Type": "string"
}
}
},
"PinLsObject": {
"Cid": "string",
"Type": "string"
}
}
Last updated