/api/v0/files/flush

Flush a given path's data to disk.

Arguments

  • arg [string]: Path to flush. Default: '/'. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "Cid": "<string>"
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/files/flush?arg=<path>"

Last updated