Fixed mistakes in documentation. * Closes #35.
h3rald h3rald@h3rald.com
Sun, 27 Dec 2015 11:46:11 +0100
3 files changed,
6 insertions(+),
6 deletions(-)
M
admin/md/api_dir.md
→
admin/md/api_dir.md
@@ -1,8 +1,8 @@
-### info (LiteStore Information) +### dir (LiteStore Directory) This resource can be queried to retrieve files within the served directory (specied via **-d**). -#### OPTIONS info +#### OPTIONS dir Returns the allowed HTTP verbs for this resource.@@ -35,4 +35,4 @@ Access-Control-Allow-Origin: *
Server: LiteStore/1.0.3 This is a test text file. -``` +```
M
admin/md/api_docs.md
→
admin/md/api_docs.md
@@ -246,7 +246,7 @@ > * Only **add**, **remove**, **replace** and **test** operations are supported.
> * It is currently only possible to change tags, not other parts of a document. ``` -$ curl -i -X PATCH 'http://localhost:9500/docs/test.json' --header "Content-Type:application/json" -d '[{"op":"add","path":"/tags/3","value":"test1"},{"op":"add","path":"/tags/4","value":"test2"},{"op":"add","path":"/tags/5","value":"test3"}]' +$ curl -i -X PATCH 'http://localhost:9500/docs/test.json' --header "Content-Type:application/json" -d '[{"op":"add", "path":"/tags/3", "value":"test1"},{"op":"add", "path":"/tags/4", "value":"test2"},{"op":"add", "path":"/tags/5", "value":"test3"}]' HTTP/1.1 200 OK Content-Length: 187 Content-Type: application/json@@ -270,4 +270,4 @@ Content-Length: 0
Access-Control-Allow-Headers: Content-Type Access-Control-Allow-Origin: * Server: LiteStore/1.0.3 -``` +```
M
litestore.nimble
→
litestore.nimble
@@ -1,6 +1,6 @@
[Package] name = "litestore" -version = "1.0.3" +version = "1.0.4" author = "Fabio Cevasco" description = "Self-contained, lightweight, RESTful document store." license = "MIT"