From 0cf9a7be5331b2c8ab9830a04514e828c3bdb08b Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Wed, 31 Aug 2016 17:20:15 -0700 Subject: [PATCH] Added docs for readat --- website/source/docs/http/client-fs.html.md | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/website/source/docs/http/client-fs.html.md b/website/source/docs/http/client-fs.html.md index 582e95d6f..c373eec2a 100644 --- a/website/source/docs/http/client-fs.html.md +++ b/website/source/docs/http/client-fs.html.md @@ -54,6 +54,60 @@ allocation was placed. +
+
Description
+
+ Read contents of a file in an allocation directory at a particular offset. +
+ +
Method
+
GET
+ +
URL
+
`/v1/client/fs/readat/`
+ +
Parameters
+
+
    +
  • + path + required + The path relative to the root of the allocation directory. It + defaults to `/` +
  • +
+
    +
  • + offset + required + The byte offset from where content is going to be read. +
  • +
+
    +
  • + limit + required + The number of bytes to read from the offset. +
  • +
+ +
+ +
Returns
+
+ + ``` +... +07:49 docker/3e8f0f4a67c2[924]: 1:M 22 Jun 21:07:49.110 # Server started, Redis version 3.2.1 +07:49 docker/3e8f0f4a67c2[924]: 1:M 22 Jun 21:07:49.110 * The server is now ready to accept connections on port 6379 +... + ``` + +
+ +
+ +
Description