Make directories.
arg [string]: Path to dir to make. Required: yes.
arg
parents [bool]: No error if existing, make parent directories as needed. Required: no.
parents
cid-version [int]: Cid version to use. (experimental). Required: no.
cid-version
hash [string]: Hash function to use. Will set Cid version to 1 if used. (experimental). Required: no.
hash
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/mkdir?arg=<path>&parents=<value>&cid-version=<value>&hash=<value>"
Last updated 1 year ago