Data

Download a file from the network in a streaming manner. If the file is not available locally, it will be retrieved from other nodes in the network if able.

get/data/{cid}/network/stream

Path parameters

cidstring required

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

Example:QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N

File to be downloaded.

Query parameters

advertiseboolean

When false, the dataset is neither announced to the DHT nor served to peers. Defaults to true.

Response

Retrieved content specified by CID

Changes

Changed in 3 of the 53 revisions of this API.12