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