Add references to IPFS files and directories in MFS (or copy within MFS).
arg [string]: Source IPFS or MFS path to copy. Required: yes.
arg
arg [string]: Destination within MFS. Required: yes.
parents [bool]: Make parent directories as needed. Required: no.
parents
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/files/cp?arg=<source>&arg=<dest>&parents=<value>"
Last updated 1 year ago