Streams the selected DAG as a .car stream on stdout.
arg [string]: CID of a root to recursively export Required: yes.
arg
progress [bool]: Display progress on CLI. Defaults to true when STDERR is a TTY. Required: no.
progress
On success, the call to this endpoint will return with 200 and the following body:
This endpoint returns a `text/plain` response body.
curl -X POST "http://127.0.0.1:5001/api/v0/dag/export?arg=<root>&progress=<value>"
Last updated 1 year ago