v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01141816.7 KB
Data

Download a file from the network to the local node if it's not available locally. Note: Download is performed async. Call can return before download is completed.

post/data/{cid}/network

Path parameters

cidstring required

Content Identifier as specified at https://github.com/multiformats/cid

Example:QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N

File to be downloaded.

Response

Manifest information for download that has been started.

cidstring required

Content Identifier as specified at https://github.com/multiformats/cid

Example response

{
  "cid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
  "manifest": {
    "treeCid": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
    "filename": "storage.png",
    "mimetype": "image/png"
  }
}