2019-05-24 01:07:56 -05:00
|
|
|
(defpackage :cl-ipfs-api2
|
2019-05-22 01:00:40 -05:00
|
|
|
(:use :cl :arnesi)
|
2019-05-24 01:07:56 -05:00
|
|
|
(:nicknames :cl-ipfs :ipfs :cl-ipfs-api²)
|
2019-05-22 01:00:40 -05:00
|
|
|
(:export
|
|
|
|
*api-host*
|
2019-05-24 00:08:19 -05:00
|
|
|
*api-root*
|
2019-06-18 02:39:35 -05:00
|
|
|
*ipfs-root*
|
2019-05-24 00:08:19 -05:00
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; calls
|
2019-05-22 01:00:40 -05:00
|
|
|
:dl
|
|
|
|
:cat
|
2019-05-24 00:08:19 -05:00
|
|
|
:add
|
|
|
|
:dns
|
|
|
|
:id
|
|
|
|
:ls
|
|
|
|
:resolve
|
|
|
|
:shutdown
|
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; bitswap calls
|
|
|
|
:bitswap-ledger
|
|
|
|
:bitswap-reprovide
|
|
|
|
:bitswap-stat
|
|
|
|
:bitswap-wantlist
|
2019-06-06 19:39:10 -05:00
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; block calls
|
|
|
|
:block-get
|
|
|
|
:block-put
|
|
|
|
:block-rm
|
|
|
|
:block-stat
|
2019-05-24 01:07:56 -05:00
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; bootstrap calls
|
2019-05-24 01:16:00 -05:00
|
|
|
:bootstrap
|
2019-06-06 19:48:18 -05:00
|
|
|
:bootstrap-list
|
|
|
|
:bootstrap-add
|
|
|
|
:bootstrap-add-default
|
|
|
|
:bootstrap-rm
|
|
|
|
:bootstrap-rm-all
|
2019-05-24 01:16:00 -05:00
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; cid calls
|
|
|
|
:cid-base32
|
|
|
|
:cid-bases
|
2019-06-06 19:25:17 -05:00
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; config calls
|
2019-05-24 00:08:19 -05:00
|
|
|
:config
|
2019-06-06 19:48:18 -05:00
|
|
|
:config-show
|
2019-05-24 00:08:19 -05:00
|
|
|
|
2019-06-06 19:59:22 -05:00
|
|
|
;; dag calls
|
|
|
|
:dag-get
|
|
|
|
:dag-put
|
|
|
|
:dag-resolve
|
|
|
|
|
2019-06-06 23:00:44 -05:00
|
|
|
;; dht calls
|
|
|
|
:dht-findpeer
|
|
|
|
:dht-findprovs
|
|
|
|
:dht-get
|
|
|
|
:dht-provide
|
|
|
|
:dht-put
|
|
|
|
:dht-query
|
|
|
|
|
2019-06-06 23:07:49 -05:00
|
|
|
;; diag calls
|
|
|
|
:diag-cmds
|
|
|
|
:diag-cmds-clear
|
|
|
|
:diag-cmds-set-time
|
|
|
|
:diag-sys
|
|
|
|
|
2019-06-06 23:31:34 -05:00
|
|
|
;; file calls
|
|
|
|
:file-ls
|
|
|
|
|
|
|
|
;; files calls
|
|
|
|
:files-chcid
|
|
|
|
:files-cp
|
|
|
|
:files-flush
|
|
|
|
:files-ls
|
|
|
|
:files-mkdir
|
|
|
|
:files-mv
|
|
|
|
:files-read
|
|
|
|
:files-rm
|
|
|
|
:files-stat
|
2019-06-06 23:47:40 -05:00
|
|
|
:files-write
|
|
|
|
|
|
|
|
;; filestore calls
|
|
|
|
:filestore-dups
|
|
|
|
:filestore-ls
|
|
|
|
:filestore-verify
|
2019-06-07 00:12:39 -05:00
|
|
|
|
|
|
|
;; key calls
|
|
|
|
:key-gen
|
|
|
|
:key-list
|
|
|
|
:key-rename
|
|
|
|
:key-remove
|
2019-06-06 23:31:34 -05:00
|
|
|
|
2019-06-18 02:47:06 -05:00
|
|
|
;; log calls
|
|
|
|
:log-level
|
|
|
|
:log-ls
|
|
|
|
:log-tail
|
|
|
|
|
2019-06-18 02:39:35 -05:00
|
|
|
;; pubsub calls
|
|
|
|
:pubsub-sub
|
|
|
|
:pubsub-sub-process
|
|
|
|
:pubsub-sub-read-char
|
|
|
|
:pubsub-sub-listen
|
|
|
|
:pubsub-sub-close
|
|
|
|
:pubsub-pub
|
|
|
|
:pubsub-ls
|
|
|
|
:pubsub-peers
|
|
|
|
|
2019-06-06 19:48:18 -05:00
|
|
|
;; version calls
|
2019-05-24 00:08:19 -05:00
|
|
|
:version
|
2019-06-06 19:48:18 -05:00
|
|
|
:version-deps))
|