{ "opencollection": "1.0.0", "info": { "name": "IPFS RPC Add Bitswap API", "version": "v0" }, "items": [ { "info": { "name": "Bitswap", "type": "folder" }, "items": [ { "info": { "name": "bitswap/ledger", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:5001/api/v0/bitswap/ledger", "params": [ { "name": "arg", "value": "", "type": "query", "description": "The PeerID (B58) of the ledger to inspect." } ] }, "docs": "Show the current ledger for a peer." }, { "info": { "name": "bitswap/reprovide", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:5001/api/v0/bitswap/reprovide" }, "docs": "Trigger reprovider." }, { "info": { "name": "bitswap/stat", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:5001/api/v0/bitswap/stat", "params": [ { "name": "verbose", "value": "", "type": "query", "description": "Print extra information." }, { "name": "human", "value": "", "type": "query", "description": "Print sizes in human readable format (e.g., 1K 234M 2G)." } ] }, "docs": "Show some diagnostic information on the bitswap agent." }, { "info": { "name": "bitswap/wantlist", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:5001/api/v0/bitswap/wantlist", "params": [ { "name": "peer", "value": "", "type": "query", "description": "Specify which peer to show wantlist for." } ] }, "docs": "Show blocks currently on the wantlist." } ] } ], "bundled": true }