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