Read a file from MFS.
arg [string]: Path to file to be read. Required: yes.
arg
offset [int64]: Byte offset to begin reading from. Required: no.
offset
count [int64]: Maximum number of bytes to read. Required: no.
count
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/read?arg=<path>&offset=<value>&count=<value>"
Last updated 1 year ago