{ "add": { "path": "/api/v0/add", "method": "post", "status": "200", "example": { "Bytes": "", "Hash": "", "Name": "", "Size": "" } }, "bitswap-ledger": { "path": "/api/v0/bitswap/ledger", "method": "post", "status": "200", "example": { "Exchanged": "", "Peer": "", "Recv": "", "Sent": "", "Value": "" } }, "bitswap-stat": { "path": "/api/v0/bitswap/stat", "method": "post", "status": "200", "example": { "BlocksReceived": "", "BlocksSent": "", "DataReceived": "", "DataSent": "", "DupBlksReceived": "", "DupDataReceived": "", "MessagesReceived": "", "Peers": [ "" ], "ProvideBufLen": "", "Wantlist": [ { "/": "" } ] } }, "bitswap-wantlist": { "path": "/api/v0/bitswap/wantlist", "method": "post", "status": "200", "example": { "Keys": [ { "/": "" } ] } }, "block-put": { "path": "/api/v0/block/put", "method": "post", "status": "200", "example": { "Key": "", "Size": "" } }, "block-rm": { "path": "/api/v0/block/rm", "method": "post", "status": "200", "example": { "Error": "", "Hash": "" } }, "block-stat": { "path": "/api/v0/block/stat", "method": "post", "status": "200", "example": { "Key": "", "Size": "" } }, "bootstrap": { "path": "/api/v0/bootstrap", "method": "post", "status": "200", "example": { "Peers": [ "" ] } }, "bootstrap-add": { "path": "/api/v0/bootstrap/add", "method": "post", "status": "200", "example": { "Peers": [ "" ] } }, "bootstrap-add-default": { "path": "/api/v0/bootstrap/add/default", "method": "post", "status": "200", "example": { "Peers": [ "" ] } }, "bootstrap-list": { "path": "/api/v0/bootstrap/list", "method": "post", "status": "200", "example": { "Peers": [ "" ] } }, "bootstrap-rm": { "path": "/api/v0/bootstrap/rm", "method": "post", "status": "200", "example": { "Peers": [ "" ] } }, "bootstrap-rm-all": { "path": "/api/v0/bootstrap/rm/all", "method": "post", "status": "200", "example": { "Peers": [ "" ] } }, "cid-base32": { "path": "/api/v0/cid/base32", "method": "post", "status": "200", "example": { "CidStr": "", "ErrorMsg": "", "Formatted": "" } }, "cid-bases": { "path": "/api/v0/cid/bases", "method": "post", "status": "200", "example": [ { "Code": "", "Name": "" } ] }, "cid-codecs": { "path": "/api/v0/cid/codecs", "method": "post", "status": "200", "example": [ { "Code": "", "Name": "" } ] }, "cid-format": { "path": "/api/v0/cid/format", "method": "post", "status": "200", "example": { "CidStr": "", "ErrorMsg": "", "Formatted": "" } }, "cid-hashes": { "path": "/api/v0/cid/hashes", "method": "post", "status": "200", "example": [ { "Code": "", "Name": "" } ] }, "commands": { "path": "/api/v0/commands", "method": "post", "status": "200", "example": { "Name": "", "Options": [ { "Names": [ "" ] } ], "Subcommands": [ { "Name": "", "Options": [ { "Names": [ "" ] } ], "Subcommands": [ "..." ] } ] } }, "config": { "path": "/api/v0/config", "method": "post", "status": "200", "example": { "Key": "", "Value": "" } }, "config-profile-apply": { "path": "/api/v0/config/profile/apply", "method": "post", "status": "200", "example": { "NewCfg": { "": "" }, "OldCfg": { "": "" } } }, "config-show": { "path": "/api/v0/config/show", "method": "post", "status": "200", "example": { "": "" } }, "dag-import": { "path": "/api/v0/dag/import", "method": "post", "status": "200", "example": { "Root": { "Cid": { "/": "" }, "PinErrorMsg": "" }, "Stats": { "BlockBytesCount": "", "BlockCount": "" } } }, "dag-put": { "path": "/api/v0/dag/put", "method": "post", "status": "200", "example": { "Cid": { "/": "" } } }, "dag-resolve": { "path": "/api/v0/dag/resolve", "method": "post", "status": "200", "example": { "Cid": { "/": "" }, "RemPath": "" } }, "dag-stat": { "path": "/api/v0/dag/stat", "method": "post", "status": "200", "example": { "NumBlocks": "", "Size": "" } }, "dht-query": { "path": "/api/v0/dht/query", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "diag-cmds": { "path": "/api/v0/diag/cmds", "method": "post", "status": "200", "example": [ { "Active": "", "Args": [ "" ], "Command": "", "EndTime": "", "ID": "", "Options": { "": "" }, "StartTime": "" } ] }, "files-flush": { "path": "/api/v0/files/flush", "method": "post", "status": "200", "example": { "Cid": "" } }, "files-ls": { "path": "/api/v0/files/ls", "method": "post", "status": "200", "example": { "Entries": [ { "Hash": "", "Name": "", "Size": "", "Type": "" } ] } }, "files-stat": { "path": "/api/v0/files/stat", "method": "post", "status": "200", "example": { "Blocks": "", "CumulativeSize": "", "Hash": "", "Local": "", "Size": "", "SizeLocal": "", "Type": "", "WithLocality": "" } }, "filestore-dups": { "path": "/api/v0/filestore/dups", "method": "post", "status": "200", "example": { "Err": "", "Ref": "" } }, "filestore-ls": { "path": "/api/v0/filestore/ls", "method": "post", "status": "200", "example": { "ErrorMsg": "", "FilePath": "", "Key": { "/": "" }, "Offset": "", "Size": "", "Status": "" } }, "filestore-verify": { "path": "/api/v0/filestore/verify", "method": "post", "status": "200", "example": { "ErrorMsg": "", "FilePath": "", "Key": { "/": "" }, "Offset": "", "Size": "", "Status": "" } }, "id": { "path": "/api/v0/id", "method": "post", "status": "200", "example": { "Addresses": [ "" ], "AgentVersion": "", "ID": "", "ProtocolVersion": "", "Protocols": [ "" ], "PublicKey": "" } }, "key-gen": { "path": "/api/v0/key/gen", "method": "post", "status": "200", "example": { "Id": "", "Name": "" } }, "key-import": { "path": "/api/v0/key/import", "method": "post", "status": "200", "example": { "Id": "", "Name": "" } }, "key-list": { "path": "/api/v0/key/list", "method": "post", "status": "200", "example": { "Keys": [ { "Id": "", "Name": "" } ] } }, "key-rename": { "path": "/api/v0/key/rename", "method": "post", "status": "200", "example": { "Id": "", "Now": "", "Overwrite": "", "Was": "" } }, "key-rm": { "path": "/api/v0/key/rm", "method": "post", "status": "200", "example": { "Keys": [ { "Id": "", "Name": "" } ] } }, "log-level": { "path": "/api/v0/log/level", "method": "post", "status": "200", "example": { "Message": "" } }, "log-ls": { "path": "/api/v0/log/ls", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "ls": { "path": "/api/v0/ls", "method": "post", "status": "200", "example": { "Objects": [ { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "", "Target": "", "Type": "" } ] } ] } }, "multibase-list": { "path": "/api/v0/multibase/list", "method": "post", "status": "200", "example": [ { "Code": "", "Name": "" } ] }, "name-publish": { "path": "/api/v0/name/publish", "method": "post", "status": "200", "example": { "Name": "", "Value": "" } }, "name-resolve": { "path": "/api/v0/name/resolve", "method": "post", "status": "200", "example": { "Path": "" } }, "pin-add": { "path": "/api/v0/pin/add", "method": "post", "status": "200", "example": { "Pins": [ "" ], "Progress": "" } }, "pin-ls": { "path": "/api/v0/pin/ls", "method": "post", "status": "200", "example": { "PinLsList": { "Keys": { "": { "Type": "" } } }, "PinLsObject": { "Cid": "", "Type": "" } } }, "pin-remote-add": { "path": "/api/v0/pin/remote/add", "method": "post", "status": "200", "example": { "Cid": "", "Name": "", "Status": "" } }, "pin-remote-ls": { "path": "/api/v0/pin/remote/ls", "method": "post", "status": "200", "example": { "Cid": "", "Name": "", "Status": "" } }, "pin-remote-service-ls": { "path": "/api/v0/pin/remote/service/ls", "method": "post", "status": "200", "example": { "RemoteServices": [ { "ApiEndpoint": "", "Service": "", "Stat": { "PinCount": { "Failed": "", "Pinned": "", "Pinning": "", "Queued": "" }, "Status": "" } } ] } }, "pin-rm": { "path": "/api/v0/pin/rm", "method": "post", "status": "200", "example": { "Pins": [ "" ] } }, "pin-update": { "path": "/api/v0/pin/update", "method": "post", "status": "200", "example": { "Pins": [ "" ] } }, "pin-verify": { "path": "/api/v0/pin/verify", "method": "post", "status": "200", "example": { "Cid": "", "PinStatus": { "BadNodes": [ { "Cid": "", "Err": "" } ], "Ok": "" } } }, "ping": { "path": "/api/v0/ping", "method": "post", "status": "200", "example": { "Success": "", "Text": "", "Time": "" } }, "refs": { "path": "/api/v0/refs", "method": "post", "status": "200", "example": { "Err": "", "Ref": "" } }, "refs-local": { "path": "/api/v0/refs/local", "method": "post", "status": "200", "example": { "Err": "", "Ref": "" } }, "repo-gc": { "path": "/api/v0/repo/gc", "method": "post", "status": "200", "example": { "Error": "", "Key": { "/": "" } } }, "repo-ls": { "path": "/api/v0/repo/ls", "method": "post", "status": "200", "example": { "Err": "", "Ref": "" } }, "repo-stat": { "path": "/api/v0/repo/stat", "method": "post", "status": "200", "example": { "NumObjects": "", "RepoPath": "", "SizeStat": { "RepoSize": "", "StorageMax": "" }, "Version": "" } }, "repo-verify": { "path": "/api/v0/repo/verify", "method": "post", "status": "200", "example": { "Msg": "", "Progress": "" } }, "repo-version": { "path": "/api/v0/repo/version", "method": "post", "status": "200", "example": { "Version": "" } }, "resolve": { "path": "/api/v0/resolve", "method": "post", "status": "200", "example": { "Path": "" } }, "routing-findpeer": { "path": "/api/v0/routing/findpeer", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "routing-findprovs": { "path": "/api/v0/routing/findprovs", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "stats-bitswap": { "path": "/api/v0/stats/bitswap", "method": "post", "status": "200", "example": { "BlocksReceived": "", "BlocksSent": "", "DataReceived": "", "DataSent": "", "DupBlksReceived": "", "DupDataReceived": "", "MessagesReceived": "", "Peers": [ "" ], "ProvideBufLen": "", "Wantlist": [ { "/": "" } ] } }, "stats-bw": { "path": "/api/v0/stats/bw", "method": "post", "status": "200", "example": { "RateIn": "", "RateOut": "", "TotalIn": "", "TotalOut": "" } }, "stats-dht": { "path": "/api/v0/stats/dht", "method": "post", "status": "200", "example": { "Buckets": [ { "LastRefresh": "", "Peers": [ { "AgentVersion": "", "Connected": "", "ID": "", "LastQueriedAt": "", "LastUsefulAt": "" } ] } ], "Name": "" } }, "stats-provide": { "path": "/api/v0/stats/provide", "method": "post", "status": "200", "example": { "AvgProvideDuration": "", "LastReprovideBatchSize": "", "LastReprovideDuration": "", "TotalProvides": "" } }, "stats-repo": { "path": "/api/v0/stats/repo", "method": "post", "status": "200", "example": { "NumObjects": "", "RepoPath": "", "SizeStat": { "RepoSize": "", "StorageMax": "" }, "Version": "" } }, "swarm-addrs": { "path": "/api/v0/swarm/addrs", "method": "post", "status": "200", "example": { "Addrs": { "": [ "" ] } } }, "swarm-addrs-listen": { "path": "/api/v0/swarm/addrs/listen", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-addrs-local": { "path": "/api/v0/swarm/addrs/local", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-connect": { "path": "/api/v0/swarm/connect", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-disconnect": { "path": "/api/v0/swarm/disconnect", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-filters": { "path": "/api/v0/swarm/filters", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-filters-add": { "path": "/api/v0/swarm/filters/add", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-filters-rm": { "path": "/api/v0/swarm/filters/rm", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "swarm-peering-add": { "path": "/api/v0/swarm/peering/add", "method": "post", "status": "200", "example": { "ID": "", "Status": "" } }, "swarm-peering-ls": { "path": "/api/v0/swarm/peering/ls", "method": "post", "status": "200", "example": { "Peers": [ { "Addrs": [ "" ], "ID": "peer-id" } ] } }, "swarm-peering-rm": { "path": "/api/v0/swarm/peering/rm", "method": "post", "status": "200", "example": { "ID": "", "Status": "" } }, "swarm-peers": { "path": "/api/v0/swarm/peers", "method": "post", "status": "200", "example": { "Peers": [ { "Addr": "", "Direction": "", "Identify": { "Addresses": [ "" ], "AgentVersion": "", "ID": "", "ProtocolVersion": "", "Protocols": [ "" ], "PublicKey": "" }, "Latency": "", "Muxer": "", "Peer": "", "Streams": [ { "Protocol": "" } ] } ] } }, "version": { "path": "/api/v0/version", "method": "post", "status": "200", "example": { "Commit": "", "Golang": "", "Repo": "", "System": "", "Version": "" } }, "version-deps": { "path": "/api/v0/version/deps", "method": "post", "status": "200", "example": { "Path": "", "ReplacedBy": "", "Sum": "", "Version": "" } }, "mount": { "path": "/api/v0/mount", "method": "post", "status": "200", "example": { "FuseAllowOther": "", "IPFS": "", "IPNS": "" } }, "name-inspect": { "path": "/api/v0/name/inspect", "method": "post", "status": "200", "example": { "Entry": { "Data": "", "PublicKey": "", "Sequence": "", "SignatureV1": "", "SignatureV2": "", "TTL": "", "Validity": "", "ValidityType": "", "Value": "" }, "Validation": { "PublicKey": "", "Reason": "", "Valid": "" } } }, "name-pubsub-cancel": { "path": "/api/v0/name/pubsub/cancel", "method": "post", "status": "200", "example": { "Canceled": "" } }, "name-pubsub-state": { "path": "/api/v0/name/pubsub/state", "method": "post", "status": "200", "example": { "Enabled": "" } }, "name-pubsub-subs": { "path": "/api/v0/name/pubsub/subs", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "p2p-close": { "path": "/api/v0/p2p/close", "method": "post", "status": "200", "example": "" }, "p2p-ls": { "path": "/api/v0/p2p/ls", "method": "post", "status": "200", "example": { "Listeners": [ { "ListenAddress": "", "Protocol": "", "TargetAddress": "" } ] } }, "p2p-stream-ls": { "path": "/api/v0/p2p/stream/ls", "method": "post", "status": "200", "example": { "Streams": [ { "HandlerID": "", "OriginAddress": "", "Protocol": "", "TargetAddress": "" } ] } }, "routing-get": { "path": "/api/v0/routing/get", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "routing-provide": { "path": "/api/v0/routing/provide", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "routing-put": { "path": "/api/v0/routing/put", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "swarm-resources": { "path": "/api/v0/swarm/resources", "method": "post", "status": "200", "example": "" }, "dht-findpeer": { "path": "/api/v0/dht/findpeer", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "dht-findprovs": { "path": "/api/v0/dht/findprovs", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "dht-get": { "path": "/api/v0/dht/get", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "dht-provide": { "path": "/api/v0/dht/provide", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "dht-put": { "path": "/api/v0/dht/put", "method": "post", "status": "200", "example": { "Extra": "", "ID": "", "Responses": [ { "Addrs": [ "" ], "ID": "peer-id" } ], "Type": "" } }, "dns": { "path": "/api/v0/dns", "method": "post", "status": "200", "example": { "Path": "" } }, "file-ls": { "path": "/api/v0/file/ls", "method": "post", "status": "200", "example": { "Arguments": { "": "" }, "Objects": { "": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "", "Type": "" } ], "Size": "", "Type": "" } } } }, "object-diff": { "path": "/api/v0/object/diff", "method": "post", "status": "200", "example": { "Changes": [ { "After": { "/": "" }, "Before": { "/": "" }, "Path": "", "Type": "" } ] } }, "object-get": { "path": "/api/v0/object/get", "method": "post", "status": "200", "example": { "Data": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-links": { "path": "/api/v0/object/links", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-new": { "path": "/api/v0/object/new", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-patch-add-link": { "path": "/api/v0/object/patch/add-link", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-patch-append-data": { "path": "/api/v0/object/patch/append-data", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-patch-rm-link": { "path": "/api/v0/object/patch/rm-link", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-patch-set-data": { "path": "/api/v0/object/patch/set-data", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-put": { "path": "/api/v0/object/put", "method": "post", "status": "200", "example": { "Hash": "", "Links": [ { "Hash": "", "Name": "", "Size": "" } ] } }, "object-stat": { "path": "/api/v0/object/stat", "method": "post", "status": "200", "example": { "BlockSize": "", "CumulativeSize": "", "DataSize": "", "Hash": "", "LinksSize": "", "NumLinks": "" } }, "pubsub-ls": { "path": "/api/v0/pubsub/ls", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "pubsub-peers": { "path": "/api/v0/pubsub/peers", "method": "post", "status": "200", "example": { "Strings": [ "" ] } }, "pubsub-sub": { "path": "/api/v0/pubsub/sub", "method": "post", "status": "200", "example": { "data": "", "from": "", "seqno": "", "topicIDs": [ "" ] } }, "tar-add": { "path": "/api/v0/tar/add", "method": "post", "status": "200", "example": { "Bytes": "", "Hash": "", "Name": "", "Size": "" } } }