all repos — litestore @ 9096b38771ae0cdceac0216ed39f9ca2614eda75

A minimalist nosql document store.

Fixed mistakes in documentation.
* Closes #35.
h3rald h3rald@h3rald.com
Sun, 27 Dec 2015 11:46:11 +0100
commit

9096b38771ae0cdceac0216ed39f9ca2614eda75

parent

100e448446640cd793ac8746724e014d146c5213

3 files changed, 6 insertions(+), 6 deletions(-)

jump to
M admin/md/api_dir.mdadmin/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.mdadmin/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.nimblelitestore.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"