POST https://api.token-project.eu/ipfs/add
The proxy adds the content to the local IPFS daemon and pins the resulting hash[es] in cluster.
Query Parameters
Use trickle-dag format for dag generation.
Only chunk and hash - do not write to disk.
Wrap files with a directory object.
Chunking algorithm, size-[bytes], rabin-[min]-[avg]-[max] or buzhash. Default: size-262144.
Pin this object when adding. Default: true.
Use raw blocks for leaf nodes. (experimental).
Add the file using filestore. Implies raw-leaves. (experimental).
Check the filestore for pre-existing blocks. (experimental).
CID version. Defaults to 0 unless an option that depends on CIDv1 is passed (experimental).
Hash function to use. Implies CIDv1 if not sha2-256. (experimental). Default: sha2-256.
Inline small blocks into CIDs. (experimental).
Maximum block size to inline. (experimental). Default: 32.
POST https://api.token-project.eu/ipfs/get
Download IPFS objects.
Query Parameters
The path to the IPFS object(s) to be outputted.
The path where the output should be stored.
Compress the output with GZIP compression.
The level of compression (1-9).
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/pin/add
The proxy pins the given CID in the cluster.
Query Parameters
Path to object(s) to be pinned.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/pin/update
The proxy updates the given pin to a new one in cluster.
Query Parameters
Path to a new object to be pinned.
Remove the old pin. Default: true.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/pin/rm
The proxy unpins the given CID from cluster.
Query Parameters
Path to object(s) to be unpinned.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/pin/ls
The proxy lists the pinned items in cluster.
Query Parameters
Path to object(s) to be listed.
The type of pinned keys to list. Can be "direct", "indirect", "recursive", or "all". Default: all.
Write just hashes of objects.
Enable streaming of pins as they are discovered.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/repo/stat
The proxy responds with aggregated /repo/stat from all connected IPFS daemons.
Query Parameters
Only report RepoSize and StorageMax.
Print sizes in human readable format (e.g., 1K 234M 2G).
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/repo/gc
The proxy performs garbage collection on all IPFS daemons and responds with collected CIDs.
Query Parameters
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/block/get
Get a raw IPFS block.
Query Parameters
The base58 multihash of an existing block to get.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/block/put
Store input as an IPFS block.
Query Parameters
cid format for blocks to be created with.
multihash hash function. Default: sha2-256.
multihash hash length. Default: -1.
pin added blocks recursively. Default: false.
Any kind of file, or multiple files.
POST https://api.token-project.eu/ipfs/block/stat
Print information of a raw IPFS block.
Query Parameters
The base58 multihash of an existing block to stat.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/object/stat
Get stats for the DAG node named by.
Query Parameters
Key of the object to retrieve, in base58-encoded multihash format.
Print sizes in human readable format (e.g., 1K 234M 2G).
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/object/put
Store input as a DAG object, print its key.
Query Parameters
Encoding type of input data. One of: {"protobuf", "json"}. Default: json.
Encoding type of the data field, either "text" or "base64". Default: text.
Pin this object when adding.
JSON file with format {"Data": "whatever_your_data_is"}
POST https://api.token-project.eu/ipfs/object/get
Get and serialize the DAG node named by.
Query Parameters
Key of the object to retrieve, in base58-encoded multihash format.
Encoding type of the data field, either "text" or "base64". Default: text.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/object/data
Output the raw bytes of an IPFS object.
Query Parameters
Key of the object to retrieve, in base58-encoded multihash format.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/dag/resolve
Resolve ipld block.
Query Parameters
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/dag/put
Add a dag node to ipfs.
Query Parameters
Format that the object will be added as. Default: cbor.
Format that the input object will be. Default: json.
Pin this object when adding.
POST https://api.token-project.eu/ipfs/dag/get
Get a dag node from ipfs.
Query Parameters
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/cat
Show IPFS object data.
Query Parameters
The path to the IPFS object(s) to be outputted.
Byte offset to begin reading from.
Maximum number of bytes to read.
application/x-www-form-urlencoded
POST https://api.token-project.eu/ipfs/version
Show ipfs version information.
Query Parameters
Only show the version number.
Show all version information.
application/x-www-form-urlencoded