88 lines
1.2 KiB
Common Lisp
88 lines
1.2 KiB
Common Lisp
(defpackage :cl-ipfs-api2
|
|
(:use :cl :arnesi)
|
|
(:nicknames :cl-ipfs :ipfs :cl-ipfs-api²)
|
|
(:export
|
|
*api-host*
|
|
*api-root*
|
|
|
|
;; calls
|
|
:dl
|
|
:cat
|
|
:add
|
|
:dns
|
|
:id
|
|
:ls
|
|
:resolve
|
|
:shutdown
|
|
|
|
;; bitswap calls
|
|
:bitswap-ledger
|
|
:bitswap-reprovide
|
|
:bitswap-stat
|
|
:bitswap-wantlist
|
|
|
|
;; block calls
|
|
:block-get
|
|
:block-put
|
|
:block-rm
|
|
:block-stat
|
|
|
|
;; bootstrap calls
|
|
:bootstrap
|
|
:bootstrap-list
|
|
:bootstrap-add
|
|
:bootstrap-add-default
|
|
:bootstrap-rm
|
|
:bootstrap-rm-all
|
|
|
|
;; cid calls
|
|
:cid-base32
|
|
:cid-bases
|
|
|
|
;; config calls
|
|
:config
|
|
:config-show
|
|
|
|
;; dag calls
|
|
:dag-get
|
|
:dag-put
|
|
:dag-resolve
|
|
|
|
;; dht calls
|
|
:dht-findpeer
|
|
:dht-findprovs
|
|
:dht-get
|
|
:dht-provide
|
|
:dht-put
|
|
:dht-query
|
|
|
|
;; diag calls
|
|
:diag-cmds
|
|
:diag-cmds-clear
|
|
:diag-cmds-set-time
|
|
:diag-sys
|
|
|
|
;; file calls
|
|
:file-ls
|
|
|
|
;; files calls
|
|
:files-chcid
|
|
:files-cp
|
|
:files-flush
|
|
:files-ls
|
|
:files-mkdir
|
|
:files-mv
|
|
:files-read
|
|
:files-rm
|
|
:files-stat
|
|
:files-write
|
|
|
|
;; filestore calls
|
|
:filestore-dups
|
|
:filestore-ls
|
|
:filestore-verify
|
|
|
|
;; version calls
|
|
:version
|
|
:version-deps))
|