mirror of https://gitee.com/bigwinds/arangodb
release version 2.5.0-alpha2
This commit is contained in:
parent
cbb0b2f372
commit
3b9b1510e5
|
@ -1,4 +1,4 @@
|
|||
v2.5.0-alpha1 (2015-02-16)
|
||||
v2.5.0-alpha2 (2015-02-16)
|
||||
-------------------
|
||||
|
||||
* added optimizer rule `propagate-constant-attributes`
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
arangosh> col = db.example;
|
||||
[ArangoCollection 962934488, "example" (type document, status loaded)]
|
||||
[ArangoCollection 962815446, "example" (type document, status loaded)]
|
||||
arangosh> col.unload();
|
||||
arangosh> col;
|
||||
[ArangoCollection 962934488, "example" (type document, status unloaded)]
|
||||
[ArangoCollection 962815446, "example" (type document, status unloaded)]
|
||||
|
|
|
@ -7,14 +7,14 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json
|
||||
etag: 1568487128
|
||||
etag: 1568237014
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/1568487128",
|
||||
"_rev" : "1568487128",
|
||||
"_key" : "1568487128"
|
||||
"_id" : "relation/1568237014",
|
||||
"_rev" : "1568237014",
|
||||
"_key" : "1568237014"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
|
|||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json
|
||||
etag: 1529165528
|
||||
etag: 1509385686
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -44,6 +44,6 @@ etag: 1529165528
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1529165528"
|
||||
"_rev" : "1509385686"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,14 +5,14 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json
|
||||
etag: 1545877208
|
||||
etag: 1526097366
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "male/1545877208",
|
||||
"_rev" : "1545877208",
|
||||
"_key" : "1545877208"
|
||||
"_id" : "male/1526097366",
|
||||
"_rev" : "1526097366",
|
||||
"_key" : "1526097366"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
|
|||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json
|
||||
etag: 1490958040
|
||||
etag: 1492018646
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -29,6 +29,6 @@ etag: 1490958040
|
|||
"otherVertices"
|
||||
],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1490958040"
|
||||
"_rev" : "1492018646"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
|
|||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json
|
||||
etag: 1478768344
|
||||
etag: 1479828950
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -36,6 +36,6 @@ etag: 1478768344
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/myGraph",
|
||||
"_rev" : "1478768344"
|
||||
"_rev" : "1479828950"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/ghari
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json
|
||||
etag: 1539061464
|
||||
etag: 1519281622
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -15,6 +15,6 @@ etag: 1539061464
|
|||
"male"
|
||||
],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1539061464"
|
||||
"_rev" : "1519281622"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/gharial/social/
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json
|
||||
etag: 1571501784
|
||||
etag: 1571251670
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -10,7 +10,7 @@ etag: 1571501784
|
|||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_key" : "aliceAndBob",
|
||||
"_rev" : "1571501784",
|
||||
"_rev" : "1571251670",
|
||||
"_from" : "female/alice",
|
||||
"_to" : "male/bob",
|
||||
"type" : "married"
|
||||
|
|
|
@ -2,7 +2,7 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/gharial/myGraph
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json
|
||||
etag: 1480406744
|
||||
etag: 1481467350
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -22,6 +22,6 @@ etag: 1480406744
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/myGraph",
|
||||
"_rev" : "1480406744"
|
||||
"_rev" : "1481467350"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/gharial/social/
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json
|
||||
etag: 1547908824
|
||||
etag: 1528063446
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -10,7 +10,7 @@ etag: 1547908824
|
|||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_key" : "alice",
|
||||
"_rev" : "1547908824",
|
||||
"_rev" : "1528063446",
|
||||
"name" : "Alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json
|
|||
{
|
||||
"_id" : "_graphs/social",
|
||||
"_key" : "social",
|
||||
"_rev" : "1449080536",
|
||||
"_rev" : "1448830422",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "relation",
|
||||
|
@ -29,7 +29,7 @@ content-type: application/json
|
|||
{
|
||||
"_id" : "_graphs/routeplanner",
|
||||
"_key" : "routeplanner",
|
||||
"_rev" : "1453405912",
|
||||
"_rev" : "1453155798",
|
||||
"orphanCollections" : [ ],
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
|
|
|
@ -5,15 +5,15 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharia
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json
|
||||
etag: 1559115480
|
||||
etag: 1539270102
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_rev" : "1559115480",
|
||||
"_oldRev" : "1556625112",
|
||||
"_rev" : "1539270102",
|
||||
"_oldRev" : "1536779734",
|
||||
"_key" : "alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,15 +5,15 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharia
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json
|
||||
etag: 1581397720
|
||||
etag: 1581147606
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_rev" : "1581397720",
|
||||
"_oldRev" : "1579955928",
|
||||
"_rev" : "1581147606",
|
||||
"_oldRev" : "1579705814",
|
||||
"_key" : "aliceAndBob"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,15 +5,15 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json
|
||||
etag: 1576941272
|
||||
etag: 1576691158
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_rev" : "1576941272",
|
||||
"_oldRev" : "1575630552",
|
||||
"_rev" : "1576691158",
|
||||
"_oldRev" : "1575380438",
|
||||
"_key" : "aliceAndBob"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/ghari
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json
|
||||
etag: 1497970392
|
||||
etag: 1498965462
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -24,6 +24,6 @@ etag: 1497970392
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1497970392"
|
||||
"_rev" : "1498965462"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json
|
||||
etag: 1534211800
|
||||
etag: 1514431958
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -39,6 +39,6 @@ etag: 1534211800
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1534211800"
|
||||
"_rev" : "1514431958"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,15 +6,15 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json
|
||||
etag: 1554593496
|
||||
etag: 1534748118
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_rev" : "1554593496",
|
||||
"_oldRev" : "1552103128",
|
||||
"_rev" : "1534748118",
|
||||
"_oldRev" : "1532257750",
|
||||
"_key" : "alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,21 +4,21 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"time" : 1424077131.189959,
|
||||
"time" : 1424079545.73056,
|
||||
"system" : {
|
||||
"minorPageFaults" : 61970,
|
||||
"majorPageFaults" : 2966,
|
||||
"userTime" : 9.014113,
|
||||
"systemTime" : 4.769111,
|
||||
"minorPageFaults" : 60258,
|
||||
"majorPageFaults" : 2976,
|
||||
"userTime" : 8.758606,
|
||||
"systemTime" : 4.694996,
|
||||
"numberOfThreads" : 28,
|
||||
"residentSize" : 129142784,
|
||||
"residentSizePercent" : 0.030068397521972656,
|
||||
"virtualSize" : 5196730368
|
||||
"residentSize" : 143171584,
|
||||
"residentSizePercent" : 0.03333473205566406,
|
||||
"virtualSize" : 5197221888
|
||||
},
|
||||
"client" : {
|
||||
"httpConnections" : 1,
|
||||
"connectionTime" : {
|
||||
"sum" : 0.0014889240264892578,
|
||||
"sum" : 0.0021181106567382812,
|
||||
"count" : 1,
|
||||
"counts" : [
|
||||
1,
|
||||
|
@ -28,33 +28,33 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"totalTime" : {
|
||||
"sum" : 26.739400625228882,
|
||||
"sum" : 31.292392253875732,
|
||||
"count" : 10352,
|
||||
"counts" : [
|
||||
9798,
|
||||
495,
|
||||
31,
|
||||
21,
|
||||
2,
|
||||
9765,
|
||||
507,
|
||||
44,
|
||||
27,
|
||||
4,
|
||||
1
|
||||
3,
|
||||
2
|
||||
]
|
||||
},
|
||||
"requestTime" : {
|
||||
"sum" : 25.019429683685303,
|
||||
"sum" : 29.34764790534973,
|
||||
"count" : 10352,
|
||||
"counts" : [
|
||||
9799,
|
||||
495,
|
||||
31,
|
||||
21,
|
||||
1,
|
||||
9779,
|
||||
494,
|
||||
44,
|
||||
26,
|
||||
4,
|
||||
1
|
||||
3,
|
||||
2
|
||||
]
|
||||
},
|
||||
"queueTime" : {
|
||||
"sum" : 0.24812078475952148,
|
||||
"sum" : 0.27307581901550293,
|
||||
"count" : 10352,
|
||||
"counts" : [
|
||||
10352,
|
||||
|
@ -67,11 +67,11 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"ioTime" : {
|
||||
"sum" : 1.4718501567840576,
|
||||
"sum" : 1.671668529510498,
|
||||
"count" : 10352,
|
||||
"counts" : [
|
||||
10351,
|
||||
0,
|
||||
10348,
|
||||
3,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
|
@ -80,11 +80,11 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"bytesSent" : {
|
||||
"sum" : 3797175,
|
||||
"sum" : 3797166,
|
||||
"count" : 10352,
|
||||
"counts" : [
|
||||
2677,
|
||||
7517,
|
||||
2678,
|
||||
7516,
|
||||
18,
|
||||
10,
|
||||
130,
|
||||
|
@ -117,7 +117,7 @@ content-type: application/json; charset=utf-8
|
|||
"requestsOther" : 0
|
||||
},
|
||||
"server" : {
|
||||
"uptime" : 36.588233947753906,
|
||||
"uptime" : 41.729098081588745,
|
||||
"physicalMemory" : 4294967296
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -37,4 +37,4 @@ HTTP/1.1 200 OK
|
|||
content-type: multipart/form-data; boundary=SomeBoundaryValue
|
||||
x-arango-errors: 1
|
||||
|
||||
"--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nHTTP/1.1 200 OK\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 44\r\n\r\n{\"server\":\"arango\",\"version\":\"2.5.0-alpha1\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId2\r\n\r\nHTTP/1.1 404 Not Found\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 88\r\n\r\n{\"error\":true,\"code\":404,\"errorNum\":1203,\"errorMessage\":\"unknown collection 'products'\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: someId\r\n\r\nHTTP/1.1 200 OK\r\nLocation: /_db/_system/_api/collection/products\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 138\r\n\r\n{\"id\":\"1586116312\",\"name\":\"products\",\"waitForSync\":false,\"isVolatile\":false,\"isSystem\":false,\"status\":3,\"type\":2,\"error\":false,\"code\":200}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: nextId\r\n\r\nHTTP/1.1 200 OK\r\nLocation: /_db/_system/_api/collection/products/figures\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 618\r\n\r\n{\"id\":\"1586116312\",\"name\":\"products\",\"isSystem\":false,\"doCompact\":true,\"isVolatile\":false,\"journalSize\":1048576,\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true},\"waitForSync\":false,\"count\":0,\"figures\":{\"alive\":{\"count\":0,\"size\":0},\"dead\":{\"count\":0,\"size\":0,\"deletion\":0},\"datafiles\":{\"count\":0,\"fileSize\":0},\"journals\":{\"count\":0,\"fileSize\":0},\"compactors\":{\"count\":0,\"fileSize\":0},\"shapefiles\":{\"count\":0,\"fileSize\":0},\"shapes\":{\"count\":0,\"size\":0},\"attributes\":{\"count\":0,\"size\":0},\"indexes\":{\"count\":1,\"size\":2008},\"lastTick\":\"0\",\"uncollectedLogfileEntries\":0},\"status\":3,\"type\":2,\"error\":false,\"code\":200}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: otherId\r\n\r\nHTTP/1.1 200 OK\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 44\r\n\r\n{\"id\":\"1586116312\",\"error\":false,\"code\":200}\r\n--SomeBoundaryValue--"
|
||||
"--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nHTTP/1.1 200 OK\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 44\r\n\r\n{\"server\":\"arango\",\"version\":\"2.5.0-alpha2\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId2\r\n\r\nHTTP/1.1 404 Not Found\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 88\r\n\r\n{\"error\":true,\"code\":404,\"errorNum\":1203,\"errorMessage\":\"unknown collection 'products'\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: someId\r\n\r\nHTTP/1.1 200 OK\r\nLocation: /_db/_system/_api/collection/products\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 138\r\n\r\n{\"id\":\"1585800662\",\"name\":\"products\",\"waitForSync\":false,\"isVolatile\":false,\"isSystem\":false,\"status\":3,\"type\":2,\"error\":false,\"code\":200}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: nextId\r\n\r\nHTTP/1.1 200 OK\r\nLocation: /_db/_system/_api/collection/products/figures\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 618\r\n\r\n{\"id\":\"1585800662\",\"name\":\"products\",\"isSystem\":false,\"doCompact\":true,\"isVolatile\":false,\"journalSize\":1048576,\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true},\"waitForSync\":false,\"count\":0,\"figures\":{\"alive\":{\"count\":0,\"size\":0},\"dead\":{\"count\":0,\"size\":0,\"deletion\":0},\"datafiles\":{\"count\":0,\"fileSize\":0},\"journals\":{\"count\":0,\"fileSize\":0},\"compactors\":{\"count\":0,\"fileSize\":0},\"shapefiles\":{\"count\":0,\"fileSize\":0},\"shapes\":{\"count\":0,\"size\":0},\"attributes\":{\"count\":0,\"size\":0},\"indexes\":{\"count\":1,\"size\":2008},\"lastTick\":\"0\",\"uncollectedLogfileEntries\":0},\"status\":3,\"type\":2,\"error\":false,\"code\":200}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: otherId\r\n\r\nHTTP/1.1 200 OK\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 44\r\n\r\n{\"id\":\"1585800662\",\"error\":false,\"code\":200}\r\n--SomeBoundaryValue--"
|
||||
|
|
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionBasics
|
||||
|
||||
{
|
||||
"id" : "1106327256",
|
||||
"id" : "1106208214",
|
||||
"name" : "testCollectionBasics",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionEdges
|
||||
|
||||
{
|
||||
"id" : "1106458328",
|
||||
"id" : "1106339286",
|
||||
"name" : "testCollectionEdges",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
|
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionUsers
|
||||
|
||||
{
|
||||
"id" : "1106720472",
|
||||
"id" : "1106601430",
|
||||
"name" : "testCollectionUsers",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1132213976
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1132094934
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1132213976",
|
||||
"id" : "1132094934",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1132410584",
|
||||
"id" : "1132291542",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -6,454 +6,454 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"collections" : [
|
||||
{
|
||||
"id" : "1013855960",
|
||||
"id" : "1014130134",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2569944",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1098331864",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1098725080",
|
||||
"id" : "1099064790",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1013331672",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1104492248",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1103574744",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "771372760",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1013724888",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4667096",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2438872",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "210648",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1075066584",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "5060312",
|
||||
"id" : "5072342",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1098594008",
|
||||
"name" : "frenchCity",
|
||||
"id" : "1104373206",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "5453528",
|
||||
"id" : "157142",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1103455702",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "5465558",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1013593816",
|
||||
"name" : "Company",
|
||||
"id" : "771253718",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4536024",
|
||||
"id" : "1013605846",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4548054",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2307800",
|
||||
"id" : "2319830",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6305496",
|
||||
"id" : "6317526",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4077272",
|
||||
"id" : "4089302",
|
||||
"name" : "_aal",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1074935512",
|
||||
"name" : "male",
|
||||
"id" : "1075406294",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1013999062",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1013987032",
|
||||
"name" : "has_bought",
|
||||
"id" : "1098933718",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1098462936",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1098856152",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1013462744",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "407256",
|
||||
"id" : "419286",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2176728",
|
||||
"id" : "1075275222",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2188758",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6174424",
|
||||
"id" : "6186454",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "817772248",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "26621656",
|
||||
"id" : "26633686",
|
||||
"name" : "_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1074804440",
|
||||
"id" : "1013867990",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1098802646",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "2581974",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1014261206",
|
||||
"name" : "has_bought",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1099195862",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1075144150",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "817653206",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1013736918",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1098671574",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4679126",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2450902",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
}
|
||||
],
|
||||
"names" : {
|
||||
"Electronics" : {
|
||||
"id" : "1013855960",
|
||||
"id" : "1014130134",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_cluster_kickstarter_plans" : {
|
||||
"id" : "2569944",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"germanCity" : {
|
||||
"id" : "1098331864",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchHighway" : {
|
||||
"id" : "1098725080",
|
||||
"id" : "1099064790",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"Customer" : {
|
||||
"id" : "1013331672",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"animals" : {
|
||||
"id" : "1104492248",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"demo" : {
|
||||
"id" : "1103574744",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"better-example" : {
|
||||
"id" : "771372760",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Groceries" : {
|
||||
"id" : "1013724888",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statisticsRaw" : {
|
||||
"id" : "4667096",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_routing" : {
|
||||
"id" : "2438872",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_configuration" : {
|
||||
"id" : "210648",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"relation" : {
|
||||
"id" : "1075066584",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"_statistics" : {
|
||||
"id" : "5060312",
|
||||
"id" : "5072342",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchCity" : {
|
||||
"id" : "1098594008",
|
||||
"name" : "frenchCity",
|
||||
"animals" : {
|
||||
"id" : "1104373206",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_configuration" : {
|
||||
"id" : "157142",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"demo" : {
|
||||
"id" : "1103455702",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statistics15" : {
|
||||
"id" : "5453528",
|
||||
"id" : "5465558",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Company" : {
|
||||
"id" : "1013593816",
|
||||
"name" : "Company",
|
||||
"better-example" : {
|
||||
"id" : "771253718",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Customer" : {
|
||||
"id" : "1013605846",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_aqlfunctions" : {
|
||||
"id" : "4536024",
|
||||
"id" : "4548054",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_modules" : {
|
||||
"id" : "2307800",
|
||||
"id" : "2319830",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_jobs" : {
|
||||
"id" : "6305496",
|
||||
"id" : "6317526",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_aal" : {
|
||||
"id" : "4077272",
|
||||
"id" : "4089302",
|
||||
"name" : "_aal",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"male" : {
|
||||
"id" : "1074935512",
|
||||
"name" : "male",
|
||||
"relation" : {
|
||||
"id" : "1075406294",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"Groceries" : {
|
||||
"id" : "1013999062",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"has_bought" : {
|
||||
"id" : "1013987032",
|
||||
"name" : "has_bought",
|
||||
"frenchCity" : {
|
||||
"id" : "1098933718",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"germanHighway" : {
|
||||
"id" : "1098462936",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"internationalHighway" : {
|
||||
"id" : "1098856152",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"friend_of" : {
|
||||
"id" : "1013462744",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
"type" : 2
|
||||
},
|
||||
"_users" : {
|
||||
"id" : "407256",
|
||||
"id" : "419286",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"male" : {
|
||||
"id" : "1075275222",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_graphs" : {
|
||||
"id" : "2176728",
|
||||
"id" : "2188758",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_queues" : {
|
||||
"id" : "6174424",
|
||||
"id" : "6186454",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"geo" : {
|
||||
"id" : "817772248",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_sessions" : {
|
||||
"id" : "26621656",
|
||||
"id" : "26633686",
|
||||
"name" : "_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Company" : {
|
||||
"id" : "1013867990",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"germanHighway" : {
|
||||
"id" : "1098802646",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"_cluster_kickstarter_plans" : {
|
||||
"id" : "2581974",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"has_bought" : {
|
||||
"id" : "1014261206",
|
||||
"name" : "has_bought",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"internationalHighway" : {
|
||||
"id" : "1099195862",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"female" : {
|
||||
"id" : "1074804440",
|
||||
"id" : "1075144150",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"geo" : {
|
||||
"id" : "817653206",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"friend_of" : {
|
||||
"id" : "1013736918",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"germanCity" : {
|
||||
"id" : "1098671574",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statisticsRaw" : {
|
||||
"id" : "4679126",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_routing" : {
|
||||
"id" : "2450902",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
}
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -4,13 +4,13 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1128806104",
|
||||
"id" : "1128621526",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
"checksum" : 2077498154,
|
||||
"revision" : "1129133784",
|
||||
"checksum" : 3429992264,
|
||||
"revision" : "1128949206",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -4,13 +4,13 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1129395928",
|
||||
"id" : "1129211350",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
"checksum" : 89078093,
|
||||
"revision" : "1129723608",
|
||||
"checksum" : 591228361,
|
||||
"revision" : "1129539030",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/products/count
|
||||
|
||||
{
|
||||
"id" : "1107310296",
|
||||
"id" : "1107191254",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/products/figures
|
||||
|
||||
{
|
||||
"id" : "1127495384",
|
||||
"id" : "1127376342",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
@ -55,7 +55,7 @@ location: /_db/_system/_api/collection/products/figures
|
|||
"count" : 1,
|
||||
"size" : 2008
|
||||
},
|
||||
"lastTick" : "1127888600",
|
||||
"lastTick" : "1127769558",
|
||||
"uncollectedLogfileEntries" : 0
|
||||
},
|
||||
"status" : 3,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1106917080/properties
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1106798038/properties
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
location: /_db/_system/_api/collection/products/properties
|
||||
|
||||
{
|
||||
"id" : "1106917080",
|
||||
"id" : "1106798038",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/products/properties
|
||||
|
||||
{
|
||||
"id" : "1107113688",
|
||||
"id" : "1106994646",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1128543960",
|
||||
"id" : "1128359382",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1129985752",
|
||||
"id" : "1129801174",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"count" : 0,
|
||||
|
|
|
@ -7,7 +7,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1130706648",
|
||||
"id" : "1130587606",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -7,7 +7,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1130968792",
|
||||
"id" : "1130849750",
|
||||
"name" : "newname",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1130444504",
|
||||
"id" : "1130325462",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1130247896",
|
||||
"id" : "1130128854",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 4,
|
||||
|
|
|
@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1134507736",
|
||||
"_key" : "1134507736",
|
||||
"_rev" : "1134507736",
|
||||
"hello3" : "world1"
|
||||
"_id" : "products/1135044054",
|
||||
"_key" : "1135044054",
|
||||
"_rev" : "1135044054",
|
||||
"hello5" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1133852376",
|
||||
"_key" : "1133852376",
|
||||
"_rev" : "1133852376",
|
||||
"_id" : "products/1133733334",
|
||||
"_key" : "1133733334",
|
||||
"_rev" : "1133733334",
|
||||
"hello1" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1135359704",
|
||||
"id" : "1135240662",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
|
|
@ -7,15 +7,15 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1133262552",
|
||||
"_key" : "1133262552",
|
||||
"_rev" : "1133262552",
|
||||
"_id" : "products/1133143510",
|
||||
"_key" : "1133143510",
|
||||
"_rev" : "1133143510",
|
||||
"hello2" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1132934872",
|
||||
"_key" : "1132934872",
|
||||
"_rev" : "1132934872",
|
||||
"_id" : "products/1132815830",
|
||||
"_key" : "1132815830",
|
||||
"_rev" : "1132815830",
|
||||
"hello1" : "world1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1140733656",
|
||||
"_key" : "1140733656",
|
||||
"_rev" : "1140733656",
|
||||
"hello2" : "world1"
|
||||
"_id" : "products/1141597654",
|
||||
"_key" : "1141597654",
|
||||
"_rev" : "1141597654",
|
||||
"hello5" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1141061336",
|
||||
"_key" : "1141061336",
|
||||
"_rev" : "1141061336",
|
||||
"_id" : "products/1140942294",
|
||||
"_key" : "1140942294",
|
||||
"_rev" : "1140942294",
|
||||
"hello3" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1141913304",
|
||||
"id" : "1141794262",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
@ -34,5 +34,5 @@ content-type: application/json; charset=utf-8
|
|||
"error" : false,
|
||||
"code" : 201
|
||||
}
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/cursor/1141913304
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/cursor/1141794262
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor
|
||||
{"query":"FOR p IN products LIMIT 5 RETURN p","count":true,"batchSize":2}
|
||||
|
||||
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/1139947224
|
||||
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/1139828182
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
@ -9,20 +9,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1138767576",
|
||||
"_key" : "1138767576",
|
||||
"_rev" : "1138767576",
|
||||
"_id" : "products/1138648534",
|
||||
"_key" : "1138648534",
|
||||
"_rev" : "1138648534",
|
||||
"hello2" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1139422936",
|
||||
"_key" : "1139422936",
|
||||
"_rev" : "1139422936",
|
||||
"hello4" : "world1"
|
||||
"_id" : "products/1139631574",
|
||||
"_key" : "1139631574",
|
||||
"_rev" : "1139631574",
|
||||
"hello5" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1139947224",
|
||||
"id" : "1139828182",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
|
|
@ -6,8 +6,8 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : {
|
||||
"name" : "_system",
|
||||
"id" : "79576",
|
||||
"path" : "/tmp/vocdir.71389/databases/database-79576",
|
||||
"id" : "91606",
|
||||
"path" : "/tmp/vocdir.79621/databases/database-91606",
|
||||
"isSystem" : true
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1602107096
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1602708950
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1602107096",
|
||||
"_rev" : "1602107096",
|
||||
"_key" : "1602107096"
|
||||
"_id" : "products/1602708950",
|
||||
"_rev" : "1602708950",
|
||||
"_key" : "1602708950"
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
shell> curl -X DELETE --header 'If-Match: "1604007640"' --dump - http://localhost:8529/_api/document/products/1603679960
|
||||
shell> curl -X DELETE --header 'If-Match: "1604609494"' --dump - http://localhost:8529/_api/document/products/1604281814
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1603679960"
|
||||
etag: "1604281814"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1603679960",
|
||||
"_rev" : "1603679960",
|
||||
"_key" : "1603679960"
|
||||
"_id" : "products/1604281814",
|
||||
"_rev" : "1604281814",
|
||||
"_key" : "1604281814"
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1602827992
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1603429846
|
||||
|
||||
HTTP/1.1 404 Not Found
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"errorMessage" : "document /_api/document/products/1602827992 not found",
|
||||
"errorMessage" : "document /_api/document/products/1603429846 not found",
|
||||
"code" : 404,
|
||||
"errorNum" : 1202
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1598306008
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1597990358
|
||||
{
|
||||
"hello" : "world"
|
||||
}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1598633688"
|
||||
location: /_db/_system/_api/document/products/1598306008
|
||||
etag: "1598318038"
|
||||
location: /_db/_system/_api/document/products/1597990358
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1598306008",
|
||||
"_rev" : "1598633688",
|
||||
"_key" : "1598306008"
|
||||
"_id" : "products/1597990358",
|
||||
"_rev" : "1598318038",
|
||||
"_key" : "1597990358"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1598306008
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1597990358
|
||||
{
|
||||
"numbers" : {
|
||||
"one" : 1,
|
||||
|
@ -26,20 +26,20 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/docume
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1599223512"
|
||||
location: /_db/_system/_api/document/products/1598306008
|
||||
etag: "1598907862"
|
||||
location: /_db/_system/_api/document/products/1597990358
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1598306008",
|
||||
"_rev" : "1599223512",
|
||||
"_key" : "1598306008"
|
||||
"_id" : "products/1597990358",
|
||||
"_rev" : "1598907862",
|
||||
"_key" : "1597990358"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1598306008
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1597990358
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1599223512"
|
||||
etag: "1598907862"
|
||||
|
||||
{
|
||||
"one" : "world",
|
||||
|
@ -50,11 +50,11 @@ etag: "1599223512"
|
|||
"two" : 2,
|
||||
"three" : 3
|
||||
},
|
||||
"_id" : "products/1598306008",
|
||||
"_rev" : "1599223512",
|
||||
"_key" : "1598306008"
|
||||
"_id" : "products/1597990358",
|
||||
"_rev" : "1598907862",
|
||||
"_key" : "1597990358"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1598306008?keepNull=false
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1597990358?keepNull=false
|
||||
{
|
||||
"hello" : null,
|
||||
"numbers" : {
|
||||
|
@ -64,20 +64,20 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/docume
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1599682264"
|
||||
location: /_db/_system/_api/document/products/1598306008
|
||||
etag: "1600284118"
|
||||
location: /_db/_system/_api/document/products/1597990358
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1598306008",
|
||||
"_rev" : "1599682264",
|
||||
"_key" : "1598306008"
|
||||
"_id" : "products/1597990358",
|
||||
"_rev" : "1600284118",
|
||||
"_key" : "1597990358"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1598306008
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1597990358
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1599682264"
|
||||
etag: "1600284118"
|
||||
|
||||
{
|
||||
"one" : "world",
|
||||
|
@ -88,7 +88,7 @@ etag: "1599682264"
|
|||
"three" : 3,
|
||||
"four" : 4
|
||||
},
|
||||
"_id" : "products/1598306008",
|
||||
"_rev" : "1599682264",
|
||||
"_key" : "1598306008"
|
||||
"_id" : "products/1597990358",
|
||||
"_rev" : "1600284118",
|
||||
"_key" : "1597990358"
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1600534232
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1601136086
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1600534232"
|
||||
etag: "1601136086"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
|
@ -10,11 +10,11 @@ etag: "1600534232"
|
|||
"india" : 1263590000,
|
||||
"usa" : 319220000
|
||||
},
|
||||
"_id" : "products/1600534232",
|
||||
"_rev" : "1600534232",
|
||||
"_key" : "1600534232"
|
||||
"_id" : "products/1601136086",
|
||||
"_rev" : "1601136086",
|
||||
"_key" : "1601136086"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1600534232?mergeObjects=true
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1601136086?mergeObjects=true
|
||||
{
|
||||
"inhabitants" : {
|
||||
"indonesia" : 252164800,
|
||||
|
@ -22,11 +22,11 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/docume
|
|||
}
|
||||
}
|
||||
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1600534232
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1601136086
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1601058520"
|
||||
etag: "1601660374"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
|
@ -36,11 +36,11 @@ etag: "1601058520"
|
|||
"indonesia" : 252164800,
|
||||
"brazil" : 203553000
|
||||
},
|
||||
"_id" : "products/1600534232",
|
||||
"_rev" : "1601058520",
|
||||
"_key" : "1600534232"
|
||||
"_id" : "products/1601136086",
|
||||
"_rev" : "1601660374",
|
||||
"_key" : "1601136086"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1600534232?mergeObjects=false
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1601136086?mergeObjects=false
|
||||
{
|
||||
"inhabitants" : {
|
||||
"pakistan" : 188346000
|
||||
|
@ -49,26 +49,26 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/docume
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1601517272"
|
||||
location: /_db/_system/_api/document/products/1600534232
|
||||
etag: "1602119126"
|
||||
location: /_db/_system/_api/document/products/1601136086
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1600534232",
|
||||
"_rev" : "1601517272",
|
||||
"_key" : "1600534232"
|
||||
"_id" : "products/1601136086",
|
||||
"_rev" : "1602119126",
|
||||
"_key" : "1601136086"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1600534232
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1601136086
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1601517272"
|
||||
etag: "1602119126"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
"pakistan" : 188346000
|
||||
},
|
||||
"_id" : "products/1600534232",
|
||||
"_rev" : "1601517272",
|
||||
"_key" : "1600534232"
|
||||
"_id" : "products/1601136086",
|
||||
"_rev" : "1602119126",
|
||||
"_key" : "1601136086"
|
||||
}
|
||||
|
|
|
@ -3,12 +3,12 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/documen
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1587295960"
|
||||
location: /_db/_system/_api/document/products/1587295960
|
||||
etag: "1586980310"
|
||||
location: /_db/_system/_api/document/products/1586980310
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1587295960",
|
||||
"_rev" : "1587295960",
|
||||
"_key" : "1587295960"
|
||||
"_id" : "products/1586980310",
|
||||
"_rev" : "1586980310",
|
||||
"_key" : "1586980310"
|
||||
}
|
||||
|
|
|
@ -3,12 +3,12 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/documen
|
|||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1586771672"
|
||||
location: /_db/_system/_api/document/products/1586771672
|
||||
etag: "1586456022"
|
||||
location: /_db/_system/_api/document/products/1586456022
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1586771672",
|
||||
"_rev" : "1586771672",
|
||||
"_key" : "1586771672"
|
||||
"_id" : "products/1586456022",
|
||||
"_rev" : "1586456022",
|
||||
"_key" : "1586456022"
|
||||
}
|
||||
|
|
|
@ -3,12 +3,12 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/documen
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1588344536"
|
||||
location: /_db/_system/_api/document/products/1588344536
|
||||
etag: "1588028886"
|
||||
location: /_db/_system/_api/document/products/1588028886
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1588344536",
|
||||
"_rev" : "1588344536",
|
||||
"_key" : "1588344536"
|
||||
"_id" : "products/1588028886",
|
||||
"_rev" : "1588028886",
|
||||
"_key" : "1588028886"
|
||||
}
|
||||
|
|
|
@ -3,12 +3,12 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/documen
|
|||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1587820248"
|
||||
location: /_db/_system/_api/document/products/1587820248
|
||||
etag: "1587504598"
|
||||
location: /_db/_system/_api/document/products/1587504598
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1587820248",
|
||||
"_rev" : "1587820248",
|
||||
"_key" : "1587820248"
|
||||
"_id" : "products/1587504598",
|
||||
"_rev" : "1587504598",
|
||||
"_key" : "1587504598"
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1588868824
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1588553174
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1588868824"
|
||||
etag: "1588553174"
|
||||
|
||||
{
|
||||
"hello" : "world",
|
||||
"_id" : "products/1588868824",
|
||||
"_rev" : "1588868824",
|
||||
"_key" : "1588868824"
|
||||
"_id" : "products/1588553174",
|
||||
"_rev" : "1588553174",
|
||||
"_key" : "1588553174"
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"documents" : [
|
||||
"1592014552",
|
||||
"1591359192",
|
||||
"1591686872"
|
||||
"1591043542",
|
||||
"1591698902",
|
||||
"1591371222"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"documents" : [
|
||||
"/_api/document/products/1590441688",
|
||||
"/_api/document/products/1590769368",
|
||||
"/_api/document/products/1590114008"
|
||||
"/_api/document/products/1590126038",
|
||||
"/_api/document/products/1589798358",
|
||||
"/_api/document/products/1590453718"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1592604376
|
||||
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1592288726
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
shell> curl --header 'If-None-Match: "1589458648"' --dump - http://localhost:8529/_api/document/products/1589458648
|
||||
shell> curl --header 'If-None-Match: "1589142998"' --dump - http://localhost:8529/_api/document/products/1589142998
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1593194200
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1592878550
|
||||
{"Hello": "you"}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1593521880"
|
||||
location: /_db/_system/_api/document/products/1593194200
|
||||
etag: "1593206230"
|
||||
location: /_db/_system/_api/document/products/1592878550
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1593194200",
|
||||
"_rev" : "1593521880",
|
||||
"_key" : "1593194200"
|
||||
"_id" : "products/1592878550",
|
||||
"_rev" : "1593206230",
|
||||
"_key" : "1592878550"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
shell> curl -X PUT --header 'If-Match: "1595291352"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1594963672
|
||||
shell> curl -X PUT --header 'If-Match: "1594975702"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1594648022
|
||||
{"other":"content"}
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1594963672"
|
||||
etag: "1594648022"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1594963672",
|
||||
"_rev" : "1594963672",
|
||||
"_key" : "1594963672"
|
||||
"_id" : "products/1594648022",
|
||||
"_rev" : "1594648022",
|
||||
"_key" : "1594648022"
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
shell> curl -X PUT --header 'If-Match: "1596405464"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1596077784?policy=last
|
||||
shell> curl -X PUT --header 'If-Match: "1596089814"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1595762134?policy=last
|
||||
{}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1596667608"
|
||||
location: /_db/_system/_api/document/products/1596077784
|
||||
etag: "1596351958"
|
||||
location: /_db/_system/_api/document/products/1595762134
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1596077784",
|
||||
"_rev" : "1596667608",
|
||||
"_key" : "1596077784"
|
||||
"_id" : "products/1595762134",
|
||||
"_rev" : "1596351958",
|
||||
"_key" : "1595762134"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1597191896?rev=1597519576
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1596876246?rev=1597203926
|
||||
{"other":"content"}
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1597191896"
|
||||
etag: "1596876246"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1597191896",
|
||||
"_rev" : "1597191896",
|
||||
"_key" : "1597191896"
|
||||
"_id" : "products/1596876246",
|
||||
"_rev" : "1596876246",
|
||||
"_key" : "1596876246"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1594046168
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1593730518
|
||||
{}
|
||||
|
||||
HTTP/1.1 404 Not Found
|
||||
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"error" : true,
|
||||
"errorMessage" : "document /_api/document/products/1594046168 not found",
|
||||
"errorMessage" : "document /_api/document/products/1593730518 not found",
|
||||
"code" : 404,
|
||||
"errorNum" : 1202
|
||||
}
|
||||
|
|
|
@ -5,26 +5,26 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/edge/?c
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1606301400"
|
||||
location: /_db/_system/_api/document/edges/1606301400
|
||||
etag: "1606903254"
|
||||
location: /_db/_system/_api/document/edges/1606903254
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "edges/1606301400",
|
||||
"_rev" : "1606301400",
|
||||
"_key" : "1606301400"
|
||||
"_id" : "edges/1606903254",
|
||||
"_rev" : "1606903254",
|
||||
"_key" : "1606903254"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1606301400
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1606903254
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1606301400"
|
||||
etag: "1606903254"
|
||||
|
||||
{
|
||||
"name" : "Emil",
|
||||
"_id" : "edges/1606301400",
|
||||
"_rev" : "1606301400",
|
||||
"_key" : "1606301400",
|
||||
"_id" : "edges/1606903254",
|
||||
"_rev" : "1606903254",
|
||||
"_key" : "1606903254",
|
||||
"_from" : "vertices/1",
|
||||
"_to" : "vertices/2"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/6",
|
||||
"_key" : "6",
|
||||
"_rev" : "1231173336",
|
||||
"_rev" : "1231578582",
|
||||
"_from" : "vertices/2",
|
||||
"_to" : "vertices/1",
|
||||
"$label" : "v2 -> v1"
|
||||
|
@ -16,7 +16,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/7",
|
||||
"_key" : "7",
|
||||
"_rev" : "1231697624",
|
||||
"_rev" : "1232102870",
|
||||
"_from" : "vertices/4",
|
||||
"_to" : "vertices/1",
|
||||
"$label" : "v4 -> v1"
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/5",
|
||||
"_key" : "5",
|
||||
"_rev" : "1230649048",
|
||||
"_rev" : "1231054294",
|
||||
"_from" : "vertices/1",
|
||||
"_to" : "vertices/3",
|
||||
"$label" : "v1 -> v3"
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/6",
|
||||
"_key" : "6",
|
||||
"_rev" : "1235891928",
|
||||
"_rev" : "1236297174",
|
||||
"_from" : "vertices/2",
|
||||
"_to" : "vertices/1",
|
||||
"$label" : "v2 -> v1"
|
||||
|
@ -16,7 +16,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/7",
|
||||
"_key" : "7",
|
||||
"_rev" : "1236416216",
|
||||
"_rev" : "1236821462",
|
||||
"_from" : "vertices/4",
|
||||
"_to" : "vertices/1",
|
||||
"$label" : "v4 -> v1"
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/5",
|
||||
"_key" : "5",
|
||||
"_rev" : "1240086232",
|
||||
"_rev" : "1240491478",
|
||||
"_from" : "vertices/1",
|
||||
"_to" : "vertices/3",
|
||||
"$label" : "v1 -> v3"
|
||||
|
|
|
@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
[
|
||||
{
|
||||
"endpoint" : "tcp://127.0.0.1:31389",
|
||||
"endpoint" : "tcp://127.0.0.1:39621",
|
||||
"databases" : [ ]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -53,7 +53,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "hash",
|
||||
"id" : "1249588952",
|
||||
"id" : "1249994198",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"selectivityEstimate" : 1,
|
||||
|
|
|
@ -33,7 +33,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "skiplist",
|
||||
"id" : "1244477144",
|
||||
"id" : "1244816854",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"fields" : [
|
||||
|
|
|
@ -34,7 +34,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "skiplist",
|
||||
"id" : "1247033048",
|
||||
"id" : "1247438294",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"fields" : [
|
||||
|
|
|
@ -5,13 +5,13 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/graph/gr
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1297430232
|
||||
etag: 1297704406
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1297430232",
|
||||
"_rev" : "1297704406",
|
||||
"_from" : "vertices/vert1",
|
||||
"_to" : "vertices/vert2",
|
||||
"$label" : null,
|
||||
|
|
|
@ -5,13 +5,13 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/graph/gr
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1266366168
|
||||
etag: 1266574806
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1266366168",
|
||||
"_rev" : "1266574806",
|
||||
"optional1" : "val2"
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -5,13 +5,13 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/graph/
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1300969176
|
||||
etag: 1301243350
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1300969176",
|
||||
"_rev" : "1301243350",
|
||||
"_from" : "vertices/vert1",
|
||||
"_to" : "vertices/vert2",
|
||||
"$label" : null,
|
||||
|
|
|
@ -5,13 +5,13 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/graph/
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1268725464
|
||||
etag: 1268934102
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1268725464",
|
||||
"_rev" : "1268934102",
|
||||
"optional1" : "vertexPatch"
|
||||
},
|
||||
"error" : false,
|
||||
|
@ -24,13 +24,13 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/graph/
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1269249752
|
||||
etag: 1269458390
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1269249752",
|
||||
"_rev" : "1269458390",
|
||||
"optional1" : null
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -8,13 +8,13 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/graph/g
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1287534296
|
||||
etag: 1287742934
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1287534296",
|
||||
"_rev" : "1287742934",
|
||||
"_from" : "vertices/vert2",
|
||||
"_to" : "vertices/vert1",
|
||||
"$label" : null,
|
||||
|
|
|
@ -6,13 +6,13 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/graph/g
|
|||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1259681496
|
||||
etag: 1259890134
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1259681496",
|
||||
"_rev" : "1259890134",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -2,13 +2,13 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/graph/graph/edg
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1290417880
|
||||
etag: 1290626518
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1290417880",
|
||||
"_rev" : "1290626518",
|
||||
"_from" : "vertices/vert1",
|
||||
"_to" : "vertices/vert2",
|
||||
"$label" : null,
|
||||
|
|
|
@ -11,7 +11,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge2",
|
||||
"_key" : "edge2",
|
||||
"_rev" : "1305687768",
|
||||
"_rev" : "1305896406",
|
||||
"_from" : "vertices/v1",
|
||||
"_to" : "vertices/v3",
|
||||
"$label" : null,
|
||||
|
@ -20,7 +20,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge3",
|
||||
"_key" : "edge3",
|
||||
"_rev" : "1306212056",
|
||||
"_rev" : "1306420694",
|
||||
"_from" : "vertices/v2",
|
||||
"_to" : "vertices/v4",
|
||||
"$label" : null,
|
||||
|
@ -29,7 +29,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1305163480",
|
||||
"_rev" : "1305372118",
|
||||
"_from" : "vertices/v1",
|
||||
"_to" : "vertices/v2",
|
||||
"$label" : null,
|
||||
|
@ -38,7 +38,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge4",
|
||||
"_key" : "edge4",
|
||||
"_rev" : "1306736344",
|
||||
"_rev" : "1306944982",
|
||||
"_from" : "vertices/v1",
|
||||
"_to" : "vertices/v5",
|
||||
"$label" : null,
|
||||
|
|
|
@ -2,13 +2,13 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/graph/graph
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1252407000
|
||||
etag: 1252812246
|
||||
|
||||
{
|
||||
"graph" : {
|
||||
"_id" : "_graphs/graph",
|
||||
"_key" : "graph",
|
||||
"_rev" : "1252407000",
|
||||
"_rev" : "1252812246",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges",
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "_graphs/graph2",
|
||||
"_key" : "graph2",
|
||||
"_rev" : "1255093976",
|
||||
"_rev" : "1255499222",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges2",
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "_graphs/graph1",
|
||||
"_key" : "graph1",
|
||||
"_rev" : "1254110936",
|
||||
"_rev" : "1254516182",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges1",
|
||||
|
|
|
@ -2,13 +2,13 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/graph/graph/ver
|
|||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1261516504
|
||||
etag: 1261725142
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1261516504",
|
||||
"_rev" : "1261725142",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -9,7 +9,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1311061720",
|
||||
"_rev" : "1311270358",
|
||||
"_from" : "vertices/v1",
|
||||
"_to" : "vertices/v2",
|
||||
"$label" : null,
|
||||
|
@ -18,7 +18,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge3",
|
||||
"_key" : "edge3",
|
||||
"_rev" : "1312110296",
|
||||
"_rev" : "1312318934",
|
||||
"_from" : "vertices/v2",
|
||||
"_to" : "vertices/v4",
|
||||
"$label" : null,
|
||||
|
|
|
@ -9,13 +9,13 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1274689240",
|
||||
"_rev" : "1274897878",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1275868888",
|
||||
"_rev" : "1276077526",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -9,13 +9,13 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1281767128",
|
||||
"_rev" : "1281975766",
|
||||
"optional1" : "val2"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1280587480",
|
||||
"_rev" : "1280796118",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -11,31 +11,31 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v3",
|
||||
"_key" : "v3",
|
||||
"_rev" : "1271871192",
|
||||
"_rev" : "1272079830",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v2",
|
||||
"_key" : "v2",
|
||||
"_rev" : "1271477976",
|
||||
"_rev" : "1271686614",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v5",
|
||||
"_key" : "v5",
|
||||
"_rev" : "1272657624",
|
||||
"_rev" : "1272866262",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1272264408",
|
||||
"_rev" : "1272473046",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1271084760",
|
||||
"_rev" : "1271293398",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -7,13 +7,13 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/graph/
|
|||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: 1251096280
|
||||
etag: 1251501526
|
||||
|
||||
{
|
||||
"graph" : {
|
||||
"_id" : "_graphs/graph",
|
||||
"_key" : "graph",
|
||||
"_rev" : "1251096280",
|
||||
"_rev" : "1251501526",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges",
|
||||
|
|
|
@ -15,7 +15,7 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
{
|
||||
"id" : "products/1313748696",
|
||||
"id" : "products/1313957334",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
@ -25,7 +25,7 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
{
|
||||
"id" : "products/1314010840",
|
||||
"id" : "products/1314219478",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
@ -44,8 +44,8 @@ content-type: application/json; charset=utf-8
|
|||
"_key"
|
||||
]
|
||||
},
|
||||
"products/1313748696" : {
|
||||
"id" : "products/1313748696",
|
||||
"products/1313957334" : {
|
||||
"id" : "products/1313957334",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
@ -54,8 +54,8 @@ content-type: application/json; charset=utf-8
|
|||
"name"
|
||||
]
|
||||
},
|
||||
"products/1314010840" : {
|
||||
"id" : "products/1314010840",
|
||||
"products/1314219478" : {
|
||||
"id" : "products/1314219478",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1315780312",
|
||||
"id" : "products/1315988950",
|
||||
"type" : "geo2",
|
||||
"unique" : false,
|
||||
"constraint" : false,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1315256024",
|
||||
"id" : "products/1315464662",
|
||||
"type" : "geo1",
|
||||
"unique" : false,
|
||||
"geoJson" : false,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1314731736",
|
||||
"id" : "products/1314940374",
|
||||
"type" : "cap",
|
||||
"unique" : false,
|
||||
"size" : 10,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1318729432",
|
||||
"id" : "products/1318938070",
|
||||
"type" : "fulltext",
|
||||
"unique" : false,
|
||||
"minLength" : 2,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1316828888",
|
||||
"id" : "products/1317037526",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1317811928",
|
||||
"id" : "products/1318020566",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1316304600",
|
||||
"id" : "products/1316513238",
|
||||
"type" : "hash",
|
||||
"unique" : true,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1317287640",
|
||||
"id" : "products/1317496278",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1318270680",
|
||||
"id" : "products/1318479318",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1319253720
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1319462358
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1319253720",
|
||||
"id" : "products/1319462358",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-16T08:58:14Z",
|
||||
"time" : "2015-02-16T09:38:24Z",
|
||||
"message" : "applier created",
|
||||
"failedConnects" : 0
|
||||
},
|
||||
|
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
|
|||
"lastError" : {
|
||||
"errorNum" : 0
|
||||
},
|
||||
"time" : "2015-02-16T08:59:01Z"
|
||||
"time" : "2015-02-16T09:39:16Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha1",
|
||||
"serverId" : "27426833688090"
|
||||
"version" : "2.5.0-alpha2",
|
||||
"serverId" : "69660969078947"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-16T08:59:01Z",
|
||||
"time" : "2015-02-16T09:39:16Z",
|
||||
"message" : "applier shut down",
|
||||
"failedConnects" : 1
|
||||
},
|
||||
|
@ -19,15 +19,15 @@ content-type: application/json; charset=utf-8
|
|||
"totalEvents" : 0,
|
||||
"totalOperationsExcluded" : 0,
|
||||
"lastError" : {
|
||||
"time" : "2015-02-16T08:59:01Z",
|
||||
"time" : "2015-02-16T09:39:16Z",
|
||||
"errorMessage" : "could not connect to master at tcp://127.0.0.1:8529: Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #61 - Connection refused'",
|
||||
"errorNum" : 1412
|
||||
},
|
||||
"time" : "2015-02-16T08:59:01Z"
|
||||
"time" : "2015-02-16T09:39:16Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha1",
|
||||
"serverId" : "27426833688090"
|
||||
"version" : "2.5.0-alpha2",
|
||||
"serverId" : "69660969078947"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-16T08:59:01Z",
|
||||
"time" : "2015-02-16T09:39:16Z",
|
||||
"message" : "fetching master state information",
|
||||
"failedConnects" : 1
|
||||
},
|
||||
|
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
|
|||
"lastError" : {
|
||||
"errorNum" : 0
|
||||
},
|
||||
"time" : "2015-02-16T08:59:01Z"
|
||||
"time" : "2015-02-16T09:39:16Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha1",
|
||||
"serverId" : "27426833688090"
|
||||
"version" : "2.5.0-alpha2",
|
||||
"serverId" : "69660969078947"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-16T08:59:01Z",
|
||||
"time" : "2015-02-16T09:39:16Z",
|
||||
"message" : "applier shut down",
|
||||
"failedConnects" : 1
|
||||
},
|
||||
|
@ -19,15 +19,15 @@ content-type: application/json; charset=utf-8
|
|||
"totalEvents" : 0,
|
||||
"totalOperationsExcluded" : 0,
|
||||
"lastError" : {
|
||||
"time" : "2015-02-16T08:59:01Z",
|
||||
"time" : "2015-02-16T09:39:16Z",
|
||||
"errorMessage" : "could not connect to master at tcp://127.0.0.1:8529: Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #61 - Connection refused'",
|
||||
"errorNum" : 1412
|
||||
},
|
||||
"time" : "2015-02-16T08:59:01Z"
|
||||
"time" : "2015-02-16T09:39:16Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha1",
|
||||
"serverId" : "27426833688090"
|
||||
"version" : "2.5.0-alpha2",
|
||||
"serverId" : "69660969078947"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue