Download OpenAPI specification:
List of endpoints and interfaces available to Logos Storage API users
{- "content": [
- {
- "cid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "manifest": {
- "treeCid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "datasetSize": 0,
- "blockSize": 0,
- "filename": "codex.png",
- "mimetype": "image/png"
}
}
]
}| content-type | string Example: image/png The content type of the file. Must be valid. |
| content-disposition | string Example: attachment; filename="codex.png" The content disposition used to send the filename. |
| cid required | string (Cid) Example: QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N File to be downloaded. |
{- "cid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "manifest": {
- "treeCid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "datasetSize": 0,
- "blockSize": 0,
- "filename": "codex.png",
- "mimetype": "image/png"
}
}| cid required | string (Cid) Example: QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N File to be downloaded. |
| cid required | string (Cid) Example: QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N File for which the manifest is to be downloaded. |
{- "cid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "manifest": {
- "treeCid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "datasetSize": 0,
- "blockSize": 0,
- "filename": "codex.png",
- "mimetype": "image/png"
}
}If addrs param is supplied, it will be used to dial the peer, otherwise the peerId is used
to invoke peer discovery, if it succeeds the returned addresses will be used to dial.
| peerId required | string (PeerId) Example: QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N Peer that should be dialed. |
| addrs | Array of strings or null (MultiAddress) Example: addrs=/ip4/127.0.0.1/tcp/8080 If supplied, it will be used to dial the peer.
The address has to target the listening address of the peer,
which is specified with the |
{- "id": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
- "addrs": [
- "/ip4/127.0.0.1/tcp/8080"
], - "repo": "string",
- "spr": "string",
- "announceAddresses": [
- "/ip4/127.0.0.1/tcp/8080"
], - "table": {
- "localNode": {
- "nodeId": "string",
- "peerId": "string",
- "record": "string",
- "address": "string",
- "seen": true
}, - "nodes": [
- {
- "nodeId": "string",
- "peerId": "string",
- "record": "string",
- "address": "string",
- "seen": true
}
]
}, - "storage": {
- "version": "v0.1.7",
- "revision": "0c647d8"
}
}