![Coverage Status](https://camo.githubusercontent.com/f43ae38bbf9ff6c8ed9923a432fb6e06e1098846e43acd3b1855e4aef1e159ab/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f77656d656574616761696e2f636c2d697066732d6170692f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)
![](https://camo.githubusercontent.com/812f3242c83aa7174f044c28d5e953644f36e2abccdde4f59cbbde6b889b8587/68747470733a2f2f697066732e696f2f697066732f516d514a363850464d4464417367435a76413155567a7a6e3138617356636637485676434467706a695343417365)
A client library for the IPFS API.
Identifying user-agent string for API calls
Path prefix for all API calls
[macro] WITH-IPFS-CONNECTION (&REST ARGS)
[function] ADD (PATH &KEY RECURSIVE QUIET PROGRESS TRICKLE ONLY-HASH WRAP-WITH-DIRECTORY HIDDEN CHUNKER TIMEOUT WANT-STREAM)
[function] CAT (IPFS-PATH &KEY TIMEOUT WANT-STREAM)
[function] LS (IPFS-PATH &KEY HEADERS (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List links from an object.
[function] FILE-LS (IPFS-PATH &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List directory contents for Unix-filesystem objects.
[function] BLOCK-GET (KEY &KEY TIMEOUT WANT-STREAM)
[function] BLOCK-PUT (DATA &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Store input as an IPFS block.
[function] BLOCK-STAT (KEY &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Print information of a raw IPFS block.
[function] OBJECT-GET (KEY &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Get and serialize the DAG node named by KEY.
[function] OBJECT-PUT (DATA &KEY INPUTENC (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
stores input as a DAG object, outputs its key.
[function] OBJECT-STAT (KEY &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Get stats for the DAG node named by KEY.
[function] OBJECT-DATA (KEY &KEY TIMEOUT WANT-STREAM)
Output the raw bytes in an IPFS object.
[function] OBJECT-LINKS (KEY &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Output the links pointed to by the specified object.
[function] OBJECT-NEW (TEMPLATE &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Create a new object from an ipfs template.
[function] OBJECT-PATCH (ROOT COMMAND ARGS &KEY CREATE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Create a new DAG node based on an existing one.
[function] PIN-ADD (IPFS-PATH &KEY RECURSIVE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Pin objects to local storage.
[function] PIN-RM (IPFS-PATH &KEY RECURSIVE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Unpin an object from local storage.
[function] PIN-LS (&KEY TYPE COUNT QUIET (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List objects pinned to local storage.
[function] REPO-GC (&KEY QUIET (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Perform a garbage collection sweep on non-pinned objects.
[function] SWARM-ADDRS (&KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
[function] SWARM-PEERS (&KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List peers with open connections.
[function] SWARM-CONNECT (ADDRESS &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Open connection to a given address.
[function] SWARM-DISCONNECT (ADDRESS &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Close connection to a given address.
[function] SWARM-FILTERS (&KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List currently applied filters.
[function] SWARM-FILTERS-ADD (ADDRESS &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
[function] SWARM-FILTERS-RM (ADDRESS &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Remove an address filter.
[function] BOOTSTRAP (&KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Show peers in the bootstrap list.
[function] BOOTSTRAP-ADD (PEERS &KEY DEFAULT (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Add peers to the bootstrap list.
[function] BOOTSTRAP-RM (PEERS &KEY ALL (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Remove peers from the bootstrap list.
[function] REFS (IPFS-PATH &KEY FORMAT EDGES UNIQUE RECURSIVE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List links (references) from an object.
[function] REFS-LOCAL (&KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
List all local references.
[function] RESOLVE (NAME &KEY RECURSIVE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Resolve the value of names to IPFS.
[function] NAME-PUBLISH (NAME IPFS-PATH &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Publish an object to IPNS.
[function] NAME-RESOLVE (NAME &KEY RECURSIVE WANT-STREAM)
Get the value currently published at an IPNS name.
[function] DNS (DOMAIN-NAME &KEY RECURSIVE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
[function] DHT-QUERY (PEER-ID &KEY VERBOSE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Run a 'FindClosestPeers' query through the DHT.
[function] DHT-GET (KEY &KEY VERBOSE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Run a 'GetValue' query through the DHT.
[function] DHT-PUT (KEY VALUE &KEY VERBOSE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Run a 'PutValue' query through the DHT.
[function] DHT-FINDPEER (PEER-ID &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Run a 'FindPeer' query through the DHT.
[function] DHT-FINDPROVS (KEY &KEY VERBOSE (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Run a 'FindProviders' query through the DHT.
[function] PING (PEER-ID &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Send echo request packets to IPFS hosts.
[function] CONFIG (KEY VALUE &KEY BOOL JSON (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Get and set IPFS config values.
[function] CONFIG-SHOW (&KEY TIMEOUT WANT-STREAM)
Outputs the content of the config file.
[function] CONFIG-REPLACE (FILE &KEY (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Replace the config with FILE.
[function] ID (&KEY FORMAT (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Show IPFS Node ID information
[function] VERSION (&KEY NUMBER (ENCODING *ENCODING*) TIMEOUT WANT-STREAM)
Show IPFS version information.
(asdf:test-system :cl-ipfs-api)
MIT