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-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 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))
|