mirror of https://gitee.com/bigwinds/arangodb
release version 2.5.0-alpha5
This commit is contained in:
parent
6190bb7994
commit
b346b35ad4
|
@ -1,4 +1,4 @@
|
|||
v2.5.0-alpha4 (2015-02-17)
|
||||
v2.5.0-alpha5 (2015-02-18)
|
||||
-------------------
|
||||
|
||||
* V8: Upgrade to version 3.31.74.1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
arangosh> col = db.example;
|
||||
[ArangoCollection 948889207, "example" (type document, status loaded)]
|
||||
[ArangoCollection 951707995, "example" (type document, status loaded)]
|
||||
arangosh> col.unload();
|
||||
arangosh> col;
|
||||
[ArangoCollection 948889207, "example" (type document, status unloaded)]
|
||||
[ArangoCollection 951707995, "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: 1497622135
|
||||
etag: 1489103195
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/1497622135",
|
||||
"_rev" : "1497622135",
|
||||
"_key" : "1497622135"
|
||||
"_id" : "relation/1489103195",
|
||||
"_rev" : "1489103195",
|
||||
"_key" : "1489103195"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1458300535
|
||||
etag: 1449716059
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -44,6 +44,6 @@ etag: 1458300535
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1458300535"
|
||||
"_rev" : "1449716059"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1475012215
|
||||
etag: 1466493275
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "male/1475012215",
|
||||
"_rev" : "1475012215",
|
||||
"_key" : "1475012215"
|
||||
"_id" : "male/1466493275",
|
||||
"_rev" : "1466493275",
|
||||
"_key" : "1466493275"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1428874871
|
||||
etag: 1432349019
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -29,6 +29,6 @@ etag: 1428874871
|
|||
"otherVertices"
|
||||
],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1428874871"
|
||||
"_rev" : "1432349019"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1416685175
|
||||
etag: 1420093787
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -36,6 +36,6 @@ etag: 1416685175
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/myGraph",
|
||||
"_rev" : "1416685175"
|
||||
"_rev" : "1420093787"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1468196471
|
||||
etag: 1459677531
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -15,6 +15,6 @@ etag: 1468196471
|
|||
"male"
|
||||
],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1468196471"
|
||||
"_rev" : "1459677531"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1500636791
|
||||
etag: 1492117851
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -10,7 +10,7 @@ etag: 1500636791
|
|||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_key" : "aliceAndBob",
|
||||
"_rev" : "1500636791",
|
||||
"_rev" : "1492117851",
|
||||
"_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: 1418323575
|
||||
etag: 1421732187
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -22,6 +22,6 @@ etag: 1418323575
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/myGraph",
|
||||
"_rev" : "1418323575"
|
||||
"_rev" : "1421732187"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1476978295
|
||||
etag: 1468459355
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -10,7 +10,7 @@ etag: 1476978295
|
|||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_key" : "alice",
|
||||
"_rev" : "1476978295",
|
||||
"_rev" : "1468459355",
|
||||
"name" : "Alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json
|
|||
{
|
||||
"_id" : "_graphs/social",
|
||||
"_key" : "social",
|
||||
"_rev" : "1394468471",
|
||||
"_rev" : "1399253339",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "relation",
|
||||
|
@ -29,7 +29,7 @@ content-type: application/json
|
|||
{
|
||||
"_id" : "_graphs/routeplanner",
|
||||
"_key" : "routeplanner",
|
||||
"_rev" : "1398793847",
|
||||
"_rev" : "1403578715",
|
||||
"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: 1488250487
|
||||
etag: 1479666011
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_rev" : "1488250487",
|
||||
"_oldRev" : "1485760119",
|
||||
"_rev" : "1479666011",
|
||||
"_oldRev" : "1477175643",
|
||||
"_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: 1510532727
|
||||
etag: 1502013787
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_rev" : "1510532727",
|
||||
"_oldRev" : "1509090935",
|
||||
"_rev" : "1502013787",
|
||||
"_oldRev" : "1500571995",
|
||||
"_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: 1506076279
|
||||
etag: 1497557339
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_rev" : "1506076279",
|
||||
"_oldRev" : "1504765559",
|
||||
"_rev" : "1497557339",
|
||||
"_oldRev" : "1496246619",
|
||||
"_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: 1435821687
|
||||
etag: 1439361371
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -24,6 +24,6 @@ etag: 1435821687
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1435821687"
|
||||
"_rev" : "1439361371"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1463346807
|
||||
etag: 1454762331
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -39,6 +39,6 @@ etag: 1463346807
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1463346807"
|
||||
"_rev" : "1454762331"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1483662967
|
||||
etag: 1475144027
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_rev" : "1483662967",
|
||||
"_oldRev" : "1481172599",
|
||||
"_rev" : "1475144027",
|
||||
"_oldRev" : "1472653659",
|
||||
"_key" : "alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,21 +4,21 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"time" : 1424189770.272964,
|
||||
"time" : 1424297626.031688,
|
||||
"system" : {
|
||||
"minorPageFaults" : 59994,
|
||||
"majorPageFaults" : 2917,
|
||||
"userTime" : 7.265846,
|
||||
"systemTime" : 4.128215,
|
||||
"minorPageFaults" : 63313,
|
||||
"majorPageFaults" : 2907,
|
||||
"userTime" : 7.661292,
|
||||
"systemTime" : 4.342269,
|
||||
"numberOfThreads" : 26,
|
||||
"residentSize" : 139345920,
|
||||
"residentSizePercent" : 0.032444000244140625,
|
||||
"virtualSize" : 5111504896
|
||||
"residentSize" : 136458240,
|
||||
"residentSizePercent" : 0.03177165985107422,
|
||||
"virtualSize" : 5119266816
|
||||
},
|
||||
"client" : {
|
||||
"httpConnections" : 1,
|
||||
"connectionTime" : {
|
||||
"sum" : 0.0015590190887451172,
|
||||
"sum" : 0.002577066421508789,
|
||||
"count" : 1,
|
||||
"counts" : [
|
||||
1,
|
||||
|
@ -28,33 +28,33 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"totalTime" : {
|
||||
"sum" : 21.17373490333557,
|
||||
"sum" : 41.27445030212402,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10219,
|
||||
407,
|
||||
22,
|
||||
24,
|
||||
1,
|
||||
10179,
|
||||
360,
|
||||
78,
|
||||
42,
|
||||
13,
|
||||
0,
|
||||
1
|
||||
2
|
||||
]
|
||||
},
|
||||
"requestTime" : {
|
||||
"sum" : 19.645156621932983,
|
||||
"sum" : 39.629737854003906,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10226,
|
||||
401,
|
||||
22,
|
||||
23,
|
||||
1,
|
||||
10182,
|
||||
358,
|
||||
78,
|
||||
42,
|
||||
12,
|
||||
0,
|
||||
1
|
||||
2
|
||||
]
|
||||
},
|
||||
"queueTime" : {
|
||||
"sum" : 0.24262094497680664,
|
||||
"sum" : 0.2529916763305664,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10674,
|
||||
|
@ -67,20 +67,20 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"ioTime" : {
|
||||
"sum" : 1.2859573364257812,
|
||||
"sum" : 1.3917207717895508,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10673,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"bytesSent" : {
|
||||
"sum" : 3937712,
|
||||
"sum" : 3939778,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
2797,
|
||||
|
@ -92,11 +92,11 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"bytesReceived" : {
|
||||
"sum" : 2314640,
|
||||
"sum" : 2314675,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
8833,
|
||||
1841,
|
||||
8837,
|
||||
1837,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
@ -117,7 +117,7 @@ content-type: application/json; charset=utf-8
|
|||
"requestsOther" : 0
|
||||
},
|
||||
"server" : {
|
||||
"uptime" : 30.63864803314209,
|
||||
"uptime" : 51.222331047058105,
|
||||
"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-alpha4\"}\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\":\"1515185783\",\"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\":\"1515185783\",\"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\":\"1515185783\",\"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-alpha5\"}\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\":\"1506666843\",\"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\":\"1506666843\",\"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\":\"1506666843\",\"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" : "1365960311",
|
||||
"id" : "1370876251",
|
||||
"name" : "testCollectionBasics",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionEdges
|
||||
|
||||
{
|
||||
"id" : "1366091383",
|
||||
"id" : "1371007323",
|
||||
"name" : "testCollectionEdges",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
|
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionUsers
|
||||
|
||||
{
|
||||
"id" : "1366353527",
|
||||
"id" : "1371269467",
|
||||
"name" : "testCollectionUsers",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1392567927
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1397287259
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1392567927",
|
||||
"id" : "1397287259",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1392764535",
|
||||
"id" : "1397483867",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -6,479 +6,479 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"collections" : [
|
||||
{
|
||||
"id" : "999745143",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1084679799",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "452215",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2221687",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6219383",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1174005367",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "999220855",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2614903",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1061021303",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1089922679",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1172629111",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1089005175",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "999614071",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1084548727",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "754116215",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4712055",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2483831",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1060890231",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "999482999",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1084417655",
|
||||
"id" : "1087301979",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "5105271",
|
||||
"name" : "_statistics",
|
||||
"id" : "1063709019",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2615643",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "190071",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "16180855",
|
||||
"name" : "_system_sessions_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "999876215",
|
||||
"id" : "1002760539",
|
||||
"name" : "has_bought",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "5498487",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1084810871",
|
||||
"id" : "1087695195",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "803726967",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4580983",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2352759",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6350455",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1060759159",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "999351927",
|
||||
"id" : "1002236251",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "7202423",
|
||||
"id" : "1087170907",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "806545755",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1063577947",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4712795",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2484571",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002629467",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087564123",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1178265947",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1092872539",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "5106011",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1091955035",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "190811",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1176889691",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002105179",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "5499227",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1063905627",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "760146267",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4581723",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2353499",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6351195",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002498395",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087433051",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "7203163",
|
||||
"name" : "_apps",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1084286583",
|
||||
"name" : "germanCity",
|
||||
"id" : "16509275",
|
||||
"name" : "_system_sessions_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "452955",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2222427",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6220123",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002367323",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
}
|
||||
],
|
||||
"names" : {
|
||||
"Electronics" : {
|
||||
"id" : "999745143",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchHighway" : {
|
||||
"id" : "1084679799",
|
||||
"name" : "frenchHighway",
|
||||
"germanHighway" : {
|
||||
"id" : "1087301979",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"_users" : {
|
||||
"id" : "452215",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_graphs" : {
|
||||
"id" : "2221687",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_queues" : {
|
||||
"id" : "6219383",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"edges2" : {
|
||||
"id" : "1174005367",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"Customer" : {
|
||||
"id" : "999220855",
|
||||
"name" : "Customer",
|
||||
"male" : {
|
||||
"id" : "1063709019",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_cluster_kickstarter_plans" : {
|
||||
"id" : "2614903",
|
||||
"id" : "2615643",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"relation" : {
|
||||
"id" : "1061021303",
|
||||
"name" : "relation",
|
||||
"has_bought" : {
|
||||
"id" : "1002760539",
|
||||
"name" : "has_bought",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"animals" : {
|
||||
"id" : "1089922679",
|
||||
"name" : "animals",
|
||||
"internationalHighway" : {
|
||||
"id" : "1087695195",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"friend_of" : {
|
||||
"id" : "1002236251",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"germanCity" : {
|
||||
"id" : "1087170907",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"vertices1" : {
|
||||
"id" : "1172629111",
|
||||
"name" : "vertices1",
|
||||
"geo" : {
|
||||
"id" : "806545755",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"demo" : {
|
||||
"id" : "1089005175",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Groceries" : {
|
||||
"id" : "999614071",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchCity" : {
|
||||
"id" : "1084548727",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"better-example" : {
|
||||
"id" : "754116215",
|
||||
"name" : "better-example",
|
||||
"female" : {
|
||||
"id" : "1063577947",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statisticsRaw" : {
|
||||
"id" : "4712055",
|
||||
"id" : "4712795",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_routing" : {
|
||||
"id" : "2483831",
|
||||
"id" : "2484571",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"male" : {
|
||||
"id" : "1060890231",
|
||||
"name" : "male",
|
||||
"Electronics" : {
|
||||
"id" : "1002629467",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Company" : {
|
||||
"id" : "999482999",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"germanHighway" : {
|
||||
"id" : "1084417655",
|
||||
"name" : "germanHighway",
|
||||
"frenchHighway" : {
|
||||
"id" : "1087564123",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"edges2" : {
|
||||
"id" : "1178265947",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"animals" : {
|
||||
"id" : "1092872539",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statistics" : {
|
||||
"id" : "5105271",
|
||||
"id" : "5106011",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"demo" : {
|
||||
"id" : "1091955035",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_configuration" : {
|
||||
"id" : "190071",
|
||||
"id" : "190811",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_system_sessions_sessions" : {
|
||||
"id" : "16180855",
|
||||
"name" : "_system_sessions_sessions",
|
||||
"isSystem" : true,
|
||||
"vertices1" : {
|
||||
"id" : "1176889691",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"has_bought" : {
|
||||
"id" : "999876215",
|
||||
"name" : "has_bought",
|
||||
"Customer" : {
|
||||
"id" : "1002105179",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
"type" : 2
|
||||
},
|
||||
"_statistics15" : {
|
||||
"id" : "5498487",
|
||||
"id" : "5499227",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"internationalHighway" : {
|
||||
"id" : "1084810871",
|
||||
"name" : "internationalHighway",
|
||||
"relation" : {
|
||||
"id" : "1063905627",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"geo" : {
|
||||
"id" : "803726967",
|
||||
"name" : "geo",
|
||||
"better-example" : {
|
||||
"id" : "760146267",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_aqlfunctions" : {
|
||||
"id" : "4580983",
|
||||
"id" : "4581723",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_modules" : {
|
||||
"id" : "2352759",
|
||||
"id" : "2353499",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_jobs" : {
|
||||
"id" : "6350455",
|
||||
"id" : "6351195",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"female" : {
|
||||
"id" : "1060759159",
|
||||
"name" : "female",
|
||||
"Groceries" : {
|
||||
"id" : "1002498395",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"friend_of" : {
|
||||
"id" : "999351927",
|
||||
"name" : "friend_of",
|
||||
"frenchCity" : {
|
||||
"id" : "1087433051",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
"type" : 2
|
||||
},
|
||||
"_apps" : {
|
||||
"id" : "7202423",
|
||||
"id" : "7203163",
|
||||
"name" : "_apps",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"germanCity" : {
|
||||
"id" : "1084286583",
|
||||
"name" : "germanCity",
|
||||
"_system_sessions_sessions" : {
|
||||
"id" : "16509275",
|
||||
"name" : "_system_sessions_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_users" : {
|
||||
"id" : "452955",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_graphs" : {
|
||||
"id" : "2222427",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_queues" : {
|
||||
"id" : "6220123",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Company" : {
|
||||
"id" : "1002367323",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
|
|
|
@ -4,13 +4,13 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1389160055",
|
||||
"id" : "1393813851",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
"checksum" : 4168020428,
|
||||
"revision" : "1389487735",
|
||||
"checksum" : 3786187659,
|
||||
"revision" : "1394141531",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -4,13 +4,13 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1389749879",
|
||||
"id" : "1394403675",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
"checksum" : 2583960127,
|
||||
"revision" : "1390077559",
|
||||
"checksum" : 2239643493,
|
||||
"revision" : "1394731355",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/products/count
|
||||
|
||||
{
|
||||
"id" : "1366943351",
|
||||
"id" : "1371859291",
|
||||
"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" : "1387980407",
|
||||
"id" : "1392044379",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
@ -19,8 +19,8 @@ location: /_db/_system/_api/collection/products/figures
|
|||
"count" : 1,
|
||||
"figures" : {
|
||||
"alive" : {
|
||||
"count" : 0,
|
||||
"size" : 0
|
||||
"count" : 1,
|
||||
"size" : 88
|
||||
},
|
||||
"dead" : {
|
||||
"count" : 0,
|
||||
|
@ -44,19 +44,19 @@ location: /_db/_system/_api/collection/products/figures
|
|||
"fileSize" : 0
|
||||
},
|
||||
"shapes" : {
|
||||
"count" : 0,
|
||||
"size" : 0
|
||||
"count" : 1,
|
||||
"size" : 104
|
||||
},
|
||||
"attributes" : {
|
||||
"count" : 0,
|
||||
"size" : 0
|
||||
"count" : 1,
|
||||
"size" : 48
|
||||
},
|
||||
"indexes" : {
|
||||
"count" : 1,
|
||||
"size" : 2008
|
||||
},
|
||||
"lastTick" : "1388373623",
|
||||
"uncollectedLogfileEntries" : 1
|
||||
"lastTick" : "1392437595",
|
||||
"uncollectedLogfileEntries" : 0
|
||||
},
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1366550135/properties
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1371466075/properties
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
location: /_db/_system/_api/collection/products/properties
|
||||
|
||||
{
|
||||
"id" : "1366550135",
|
||||
"id" : "1371466075",
|
||||
"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" : "1366746743",
|
||||
"id" : "1371662683",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1388897911",
|
||||
"id" : "1393551707",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1390339703",
|
||||
"id" : "1394993499",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"count" : 0,
|
||||
|
|
|
@ -7,7 +7,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1391060599",
|
||||
"id" : "1395714395",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -7,7 +7,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1391322743",
|
||||
"id" : "1395976539",
|
||||
"name" : "newname",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1390798455",
|
||||
"id" : "1395452251",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1390601847",
|
||||
"id" : "1395255643",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 4,
|
||||
|
|
|
@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1093330551",
|
||||
"_key" : "1093330551",
|
||||
"_rev" : "1093330551",
|
||||
"hello2" : "world1"
|
||||
"_id" : "products/1095952731",
|
||||
"_key" : "1095952731",
|
||||
"_rev" : "1095952731",
|
||||
"hello1" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1093985911",
|
||||
"_key" : "1093985911",
|
||||
"_rev" : "1093985911",
|
||||
"_id" : "products/1096935771",
|
||||
"_key" : "1096935771",
|
||||
"_rev" : "1096935771",
|
||||
"hello4" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1094510199",
|
||||
"id" : "1097460059",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
|
|
@ -7,15 +7,15 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1092413047",
|
||||
"_key" : "1092413047",
|
||||
"_rev" : "1092413047",
|
||||
"_id" : "products/1095362907",
|
||||
"_key" : "1095362907",
|
||||
"_rev" : "1095362907",
|
||||
"hello2" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1092085367",
|
||||
"_key" : "1092085367",
|
||||
"_rev" : "1092085367",
|
||||
"_id" : "products/1095035227",
|
||||
"_key" : "1095035227",
|
||||
"_rev" : "1095035227",
|
||||
"hello1" : "world1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1099556471",
|
||||
"_key" : "1099556471",
|
||||
"_rev" : "1099556471",
|
||||
"_id" : "products/1102506331",
|
||||
"_key" : "1102506331",
|
||||
"_rev" : "1102506331",
|
||||
"hello1" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1099884151",
|
||||
"_key" : "1099884151",
|
||||
"_rev" : "1099884151",
|
||||
"hello2" : "world1"
|
||||
"_id" : "products/1103489371",
|
||||
"_key" : "1103489371",
|
||||
"_rev" : "1103489371",
|
||||
"hello4" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1101063799",
|
||||
"id" : "1104013659",
|
||||
"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/1101063799
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/cursor/1104013659
|
||||
|
||||
|
|
|
@ -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/1099097719
|
||||
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/1102047579
|
||||
|
||||
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/1098573431",
|
||||
"_key" : "1098573431",
|
||||
"_rev" : "1098573431",
|
||||
"hello4" : "world1"
|
||||
"_id" : "products/1101850971",
|
||||
"_key" : "1101850971",
|
||||
"_rev" : "1101850971",
|
||||
"hello5" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1097918071",
|
||||
"_key" : "1097918071",
|
||||
"_rev" : "1097918071",
|
||||
"hello2" : "world1"
|
||||
"_id" : "products/1101523291",
|
||||
"_key" : "1101523291",
|
||||
"_rev" : "1101523291",
|
||||
"hello4" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1099097719",
|
||||
"id" : "1102047579",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
|
|
@ -6,8 +6,8 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : {
|
||||
"name" : "_system",
|
||||
"id" : "124535",
|
||||
"path" : "/tmp/vocdir.41230/databases/database-124535",
|
||||
"id" : "125275",
|
||||
"path" : "/tmp/vocdir.18548/databases/database-125275",
|
||||
"isSystem" : true
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1531242103
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1522723163
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1531242103",
|
||||
"_rev" : "1531242103",
|
||||
"_key" : "1531242103"
|
||||
"_id" : "products/1522723163",
|
||||
"_rev" : "1522723163",
|
||||
"_key" : "1522723163"
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
shell> curl -X DELETE --header 'If-Match: "1533142647"' --dump - http://localhost:8529/_api/document/products/1532814967
|
||||
shell> curl -X DELETE --header 'If-Match: "1524623707"' --dump - http://localhost:8529/_api/document/products/1524296027
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1532814967"
|
||||
etag: "1524296027"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1532814967",
|
||||
"_rev" : "1532814967",
|
||||
"_key" : "1532814967"
|
||||
"_id" : "products/1524296027",
|
||||
"_rev" : "1524296027",
|
||||
"_key" : "1524296027"
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1531962999
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1523444059
|
||||
|
||||
HTTP/1.1 404 Not Found
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"errorMessage" : "document /_api/document/products/1531962999 not found",
|
||||
"errorMessage" : "document /_api/document/products/1523444059 not found",
|
||||
"code" : 404,
|
||||
"errorNum" : 1202
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1527441015
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1518922075
|
||||
{
|
||||
"hello" : "world"
|
||||
}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1527768695"
|
||||
location: /_db/_system/_api/document/products/1527441015
|
||||
etag: "1519249755"
|
||||
location: /_db/_system/_api/document/products/1518922075
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1527441015",
|
||||
"_rev" : "1527768695",
|
||||
"_key" : "1527441015"
|
||||
"_id" : "products/1518922075",
|
||||
"_rev" : "1519249755",
|
||||
"_key" : "1518922075"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1527441015
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1518922075
|
||||
{
|
||||
"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: "1528358519"
|
||||
location: /_db/_system/_api/document/products/1527441015
|
||||
etag: "1519839579"
|
||||
location: /_db/_system/_api/document/products/1518922075
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1527441015",
|
||||
"_rev" : "1528358519",
|
||||
"_key" : "1527441015"
|
||||
"_id" : "products/1518922075",
|
||||
"_rev" : "1519839579",
|
||||
"_key" : "1518922075"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1527441015
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1518922075
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1528358519"
|
||||
etag: "1519839579"
|
||||
|
||||
{
|
||||
"one" : "world",
|
||||
|
@ -50,11 +50,11 @@ etag: "1528358519"
|
|||
"two" : 2,
|
||||
"three" : 3
|
||||
},
|
||||
"_id" : "products/1527441015",
|
||||
"_rev" : "1528358519",
|
||||
"_key" : "1527441015"
|
||||
"_id" : "products/1518922075",
|
||||
"_rev" : "1519839579",
|
||||
"_key" : "1518922075"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1527441015?keepNull=false
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1518922075?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: "1528817271"
|
||||
location: /_db/_system/_api/document/products/1527441015
|
||||
etag: "1520298331"
|
||||
location: /_db/_system/_api/document/products/1518922075
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1527441015",
|
||||
"_rev" : "1528817271",
|
||||
"_key" : "1527441015"
|
||||
"_id" : "products/1518922075",
|
||||
"_rev" : "1520298331",
|
||||
"_key" : "1518922075"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1527441015
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1518922075
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1528817271"
|
||||
etag: "1520298331"
|
||||
|
||||
{
|
||||
"one" : "world",
|
||||
|
@ -88,7 +88,7 @@ etag: "1528817271"
|
|||
"three" : 3,
|
||||
"four" : 4
|
||||
},
|
||||
"_id" : "products/1527441015",
|
||||
"_rev" : "1528817271",
|
||||
"_key" : "1527441015"
|
||||
"_id" : "products/1518922075",
|
||||
"_rev" : "1520298331",
|
||||
"_key" : "1518922075"
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1529669239
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1521150299
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1529669239"
|
||||
etag: "1521150299"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
|
@ -10,11 +10,11 @@ etag: "1529669239"
|
|||
"india" : 1263590000,
|
||||
"usa" : 319220000
|
||||
},
|
||||
"_id" : "products/1529669239",
|
||||
"_rev" : "1529669239",
|
||||
"_key" : "1529669239"
|
||||
"_id" : "products/1521150299",
|
||||
"_rev" : "1521150299",
|
||||
"_key" : "1521150299"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1529669239?mergeObjects=true
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1521150299?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/1529669239
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1521150299
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1530193527"
|
||||
etag: "1521674587"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
|
@ -36,11 +36,11 @@ etag: "1530193527"
|
|||
"indonesia" : 252164800,
|
||||
"brazil" : 203553000
|
||||
},
|
||||
"_id" : "products/1529669239",
|
||||
"_rev" : "1530193527",
|
||||
"_key" : "1529669239"
|
||||
"_id" : "products/1521150299",
|
||||
"_rev" : "1521674587",
|
||||
"_key" : "1521150299"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1529669239?mergeObjects=false
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1521150299?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: "1530652279"
|
||||
location: /_db/_system/_api/document/products/1529669239
|
||||
etag: "1522133339"
|
||||
location: /_db/_system/_api/document/products/1521150299
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1529669239",
|
||||
"_rev" : "1530652279",
|
||||
"_key" : "1529669239"
|
||||
"_id" : "products/1521150299",
|
||||
"_rev" : "1522133339",
|
||||
"_key" : "1521150299"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1529669239
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1521150299
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1530652279"
|
||||
etag: "1522133339"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
"pakistan" : 188346000
|
||||
},
|
||||
"_id" : "products/1529669239",
|
||||
"_rev" : "1530652279",
|
||||
"_key" : "1529669239"
|
||||
"_id" : "products/1521150299",
|
||||
"_rev" : "1522133339",
|
||||
"_key" : "1521150299"
|
||||
}
|
||||
|
|
|
@ -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: "1516365431"
|
||||
location: /_db/_system/_api/document/products/1516365431
|
||||
etag: "1507846491"
|
||||
location: /_db/_system/_api/document/products/1507846491
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1516365431",
|
||||
"_rev" : "1516365431",
|
||||
"_key" : "1516365431"
|
||||
"_id" : "products/1507846491",
|
||||
"_rev" : "1507846491",
|
||||
"_key" : "1507846491"
|
||||
}
|
||||
|
|
|
@ -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: "1515841143"
|
||||
location: /_db/_system/_api/document/products/1515841143
|
||||
etag: "1507322203"
|
||||
location: /_db/_system/_api/document/products/1507322203
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1515841143",
|
||||
"_rev" : "1515841143",
|
||||
"_key" : "1515841143"
|
||||
"_id" : "products/1507322203",
|
||||
"_rev" : "1507322203",
|
||||
"_key" : "1507322203"
|
||||
}
|
||||
|
|
|
@ -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: "1517414007"
|
||||
location: /_db/_system/_api/document/products/1517414007
|
||||
etag: "1508895067"
|
||||
location: /_db/_system/_api/document/products/1508895067
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1517414007",
|
||||
"_rev" : "1517414007",
|
||||
"_key" : "1517414007"
|
||||
"_id" : "products/1508895067",
|
||||
"_rev" : "1508895067",
|
||||
"_key" : "1508895067"
|
||||
}
|
||||
|
|
|
@ -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: "1516889719"
|
||||
location: /_db/_system/_api/document/products/1516889719
|
||||
etag: "1508370779"
|
||||
location: /_db/_system/_api/document/products/1508370779
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1516889719",
|
||||
"_rev" : "1516889719",
|
||||
"_key" : "1516889719"
|
||||
"_id" : "products/1508370779",
|
||||
"_rev" : "1508370779",
|
||||
"_key" : "1508370779"
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1517938295
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1509419355
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1517938295"
|
||||
etag: "1509419355"
|
||||
|
||||
{
|
||||
"hello" : "world",
|
||||
"_id" : "products/1517938295",
|
||||
"_rev" : "1517938295",
|
||||
"_key" : "1517938295"
|
||||
"_id" : "products/1509419355",
|
||||
"_rev" : "1509419355",
|
||||
"_key" : "1509419355"
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"documents" : [
|
||||
"1520756343",
|
||||
"1521084023",
|
||||
"1520428663"
|
||||
"1512565083",
|
||||
"1512237403",
|
||||
"1511909723"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"documents" : [
|
||||
"/_api/document/products/1519511159",
|
||||
"/_api/document/products/1519183479",
|
||||
"/_api/document/products/1519838839"
|
||||
"/_api/document/products/1510992219",
|
||||
"/_api/document/products/1510664539",
|
||||
"/_api/document/products/1511319899"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1521673847
|
||||
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1513154907
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
shell> curl --header 'If-None-Match: "1518528119"' --dump - http://localhost:8529/_api/document/products/1518528119
|
||||
shell> curl --header 'If-None-Match: "1510009179"' --dump - http://localhost:8529/_api/document/products/1510009179
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1522263671
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1513744731
|
||||
{"Hello": "you"}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1522591351"
|
||||
location: /_db/_system/_api/document/products/1522263671
|
||||
etag: "1514072411"
|
||||
location: /_db/_system/_api/document/products/1513744731
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1522263671",
|
||||
"_rev" : "1522591351",
|
||||
"_key" : "1522263671"
|
||||
"_id" : "products/1513744731",
|
||||
"_rev" : "1514072411",
|
||||
"_key" : "1513744731"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
shell> curl -X PUT --header 'If-Match: "1524360823"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1524033143
|
||||
shell> curl -X PUT --header 'If-Match: "1515841883"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1515514203
|
||||
{"other":"content"}
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1524033143"
|
||||
etag: "1515514203"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1524033143",
|
||||
"_rev" : "1524033143",
|
||||
"_key" : "1524033143"
|
||||
"_id" : "products/1515514203",
|
||||
"_rev" : "1515514203",
|
||||
"_key" : "1515514203"
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
shell> curl -X PUT --header 'If-Match: "1525540471"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1525147255?policy=last
|
||||
shell> curl -X PUT --header 'If-Match: "1516955995"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1516628315?policy=last
|
||||
{}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1525802615"
|
||||
location: /_db/_system/_api/document/products/1525147255
|
||||
etag: "1517218139"
|
||||
location: /_db/_system/_api/document/products/1516628315
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1525147255",
|
||||
"_rev" : "1525802615",
|
||||
"_key" : "1525147255"
|
||||
"_id" : "products/1516628315",
|
||||
"_rev" : "1517218139",
|
||||
"_key" : "1516628315"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1526326903?rev=1526654583
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1517807963?rev=1518135643
|
||||
{"other":"content"}
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1526326903"
|
||||
etag: "1517807963"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1526326903",
|
||||
"_rev" : "1526326903",
|
||||
"_key" : "1526326903"
|
||||
"_id" : "products/1517807963",
|
||||
"_rev" : "1517807963",
|
||||
"_key" : "1517807963"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1523115639
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1514596699
|
||||
{}
|
||||
|
||||
HTTP/1.1 404 Not Found
|
||||
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"error" : true,
|
||||
"errorMessage" : "document /_api/document/products/1523115639 not found",
|
||||
"errorMessage" : "document /_api/document/products/1514596699 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: "1535436407"
|
||||
location: /_db/_system/_api/document/edges/1535436407
|
||||
etag: "1526917467"
|
||||
location: /_db/_system/_api/document/edges/1526917467
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "edges/1535436407",
|
||||
"_rev" : "1535436407",
|
||||
"_key" : "1535436407"
|
||||
"_id" : "edges/1526917467",
|
||||
"_rev" : "1526917467",
|
||||
"_key" : "1526917467"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1535436407
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1526917467
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1535436407"
|
||||
etag: "1526917467"
|
||||
|
||||
{
|
||||
"name" : "Emil",
|
||||
"_id" : "edges/1535436407",
|
||||
"_rev" : "1535436407",
|
||||
"_key" : "1535436407",
|
||||
"_id" : "edges/1526917467",
|
||||
"_rev" : "1526917467",
|
||||
"_key" : "1526917467",
|
||||
"_from" : "vertices/1",
|
||||
"_to" : "vertices/2"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/6",
|
||||
"_key" : "6",
|
||||
"_rev" : "1150215799",
|
||||
"_rev" : "1154541915",
|
||||
"_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" : "1150740087",
|
||||
"_rev" : "1155066203",
|
||||
"_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" : "1149691511",
|
||||
"_rev" : "1154017627",
|
||||
"_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" : "1154934391",
|
||||
"_rev" : "1159260507",
|
||||
"_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" : "1155458679",
|
||||
"_rev" : "1159784795",
|
||||
"_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" : "1159128695",
|
||||
"_rev" : "1163454811",
|
||||
"_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:31230",
|
||||
"endpoint" : "tcp://127.0.0.1:38548",
|
||||
"databases" : [ ]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -53,7 +53,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "hash",
|
||||
"id" : "1168696951",
|
||||
"id" : "1172957531",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"selectivityEstimate" : 1,
|
||||
|
|
|
@ -33,7 +33,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "skiplist",
|
||||
"id" : "1163585143",
|
||||
"id" : "1167845723",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"fields" : [
|
||||
|
|
|
@ -34,7 +34,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "skiplist",
|
||||
"id" : "1166141047",
|
||||
"id" : "1170401627",
|
||||
"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: 1216341623
|
||||
etag: 1221192027
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1216341623",
|
||||
"_rev" : "1221192027",
|
||||
"_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: 1185277559
|
||||
etag: 1190062427
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1185277559",
|
||||
"_rev" : "1190062427",
|
||||
"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: 1219880567
|
||||
etag: 1224730971
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1219880567",
|
||||
"_rev" : "1224730971",
|
||||
"_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: 1187636855
|
||||
etag: 1192421723
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1187636855",
|
||||
"_rev" : "1192421723",
|
||||
"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: 1188161143
|
||||
etag: 1192946011
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1188161143",
|
||||
"_rev" : "1192946011",
|
||||
"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: 1206445687
|
||||
etag: 1211296091
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1206445687",
|
||||
"_rev" : "1211296091",
|
||||
"_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: 1178592887
|
||||
etag: 1182853467
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1178592887",
|
||||
"_rev" : "1182853467",
|
||||
"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: 1209329271
|
||||
etag: 1214179675
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1209329271",
|
||||
"_rev" : "1214179675",
|
||||
"_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" : "1224533623",
|
||||
"_rev" : "1229384027",
|
||||
"_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" : "1225057911",
|
||||
"_rev" : "1229908315",
|
||||
"_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" : "1224009335",
|
||||
"_rev" : "1228859739",
|
||||
"_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" : "1225582199",
|
||||
"_rev" : "1230432603",
|
||||
"_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: 1171514999
|
||||
etag: 1175775579
|
||||
|
||||
{
|
||||
"graph" : {
|
||||
"_id" : "_graphs/graph",
|
||||
"_key" : "graph",
|
||||
"_rev" : "1171514999",
|
||||
"_rev" : "1175775579",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges",
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "_graphs/graph2",
|
||||
"_key" : "graph2",
|
||||
"_rev" : "1174201975",
|
||||
"_rev" : "1178462555",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges2",
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "_graphs/graph1",
|
||||
"_key" : "graph1",
|
||||
"_rev" : "1173218935",
|
||||
"_rev" : "1177479515",
|
||||
"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: 1180427895
|
||||
etag: 1184688475
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1180427895",
|
||||
"_rev" : "1184688475",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -9,7 +9,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1229907575",
|
||||
"_rev" : "1234757979",
|
||||
"_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" : "1230956151",
|
||||
"_rev" : "1235806555",
|
||||
"_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" : "1193600631",
|
||||
"_rev" : "1198385499",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1194780279",
|
||||
"_rev" : "1199565147",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -9,13 +9,13 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1200678519",
|
||||
"_rev" : "1205463387",
|
||||
"optional1" : "val2"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1199498871",
|
||||
"_rev" : "1204283739",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -11,31 +11,31 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v3",
|
||||
"_key" : "v3",
|
||||
"_rev" : "1190782583",
|
||||
"_rev" : "1195567451",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v2",
|
||||
"_key" : "v2",
|
||||
"_rev" : "1190389367",
|
||||
"_rev" : "1195174235",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v5",
|
||||
"_key" : "v5",
|
||||
"_rev" : "1191569015",
|
||||
"_rev" : "1196353883",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1191175799",
|
||||
"_rev" : "1195960667",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1189996151",
|
||||
"_rev" : "1194781019",
|
||||
"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: 1170204279
|
||||
etag: 1174464859
|
||||
|
||||
{
|
||||
"graph" : {
|
||||
"_id" : "_graphs/graph",
|
||||
"_key" : "graph",
|
||||
"_rev" : "1170204279",
|
||||
"_rev" : "1174464859",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges",
|
||||
|
|
|
@ -9,13 +9,14 @@ content-type: application/json; charset=utf-8
|
|||
"id" : "products/0",
|
||||
"type" : "primary",
|
||||
"unique" : true,
|
||||
"sparse" : false,
|
||||
"selectivityEstimate" : 1,
|
||||
"fields" : [
|
||||
"_key"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id" : "products/1232594551",
|
||||
"id" : "products/1237444955",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
@ -25,7 +26,7 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
{
|
||||
"id" : "products/1232856695",
|
||||
"id" : "products/1237707099",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
@ -39,13 +40,14 @@ content-type: application/json; charset=utf-8
|
|||
"id" : "products/0",
|
||||
"type" : "primary",
|
||||
"unique" : true,
|
||||
"sparse" : false,
|
||||
"selectivityEstimate" : 1,
|
||||
"fields" : [
|
||||
"_key"
|
||||
]
|
||||
},
|
||||
"products/1232594551" : {
|
||||
"id" : "products/1232594551",
|
||||
"products/1237444955" : {
|
||||
"id" : "products/1237444955",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
@ -54,8 +56,8 @@ content-type: application/json; charset=utf-8
|
|||
"name"
|
||||
]
|
||||
},
|
||||
"products/1232856695" : {
|
||||
"id" : "products/1232856695",
|
||||
"products/1237707099" : {
|
||||
"id" : "products/1237707099",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "geo", "fields" : [ "e", "f" ] }
|
||||
{
|
||||
"type" : "geo",
|
||||
"fields" : [
|
||||
"e",
|
||||
"f"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1234626167",
|
||||
"id" : "products/1239542107",
|
||||
"type" : "geo2",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
"constraint" : false,
|
||||
"ignoreNull" : false,
|
||||
"ignoreNull" : true,
|
||||
"fields" : [
|
||||
"e",
|
||||
"f"
|
||||
|
|
|
@ -1,16 +1,22 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "geo", "fields" : [ "b" ] }
|
||||
{
|
||||
"type" : "geo",
|
||||
"fields" : [
|
||||
"b"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1234101879",
|
||||
"id" : "products/1239017819",
|
||||
"type" : "geo1",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
"geoJson" : false,
|
||||
"constraint" : false,
|
||||
"ignoreNull" : false,
|
||||
"ignoreNull" : true,
|
||||
"fields" : [
|
||||
"b"
|
||||
],
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1233577591",
|
||||
"id" : "products/1238427995",
|
||||
"type" : "cap",
|
||||
"unique" : false,
|
||||
"size" : 10,
|
||||
|
|
|
@ -1,13 +1,19 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type" : "fulltext", "fields" : [ "text" ] }
|
||||
{
|
||||
"type" : "fulltext",
|
||||
"fields" : [
|
||||
"text"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1237640823",
|
||||
"id" : "products/1242491227",
|
||||
"type" : "fulltext",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
"minLength" : 2,
|
||||
"fields" : [
|
||||
"text"
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "hash", "unique" : false, "fields" : [ "a", "b" ] }
|
||||
{
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"fields" : [
|
||||
"a",
|
||||
"b"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1235674743",
|
||||
"id" : "products/1240590683",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "skiplist", "unique" : false, "fields" : [ "a", "b" ] }
|
||||
{
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"fields" : [
|
||||
"a",
|
||||
"b"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1236723319",
|
||||
"id" : "products/1241573723",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "hash", "unique" : true, "fields" : [ "a", "b" ] }
|
||||
{
|
||||
"type" : "hash",
|
||||
"unique" : true,
|
||||
"fields" : [
|
||||
"a",
|
||||
"b"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1235150455",
|
||||
"id" : "products/1240066395",
|
||||
"type" : "hash",
|
||||
"unique" : true,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "hash", "unique" : false, "sparse" : true, "fields" : [ "a" ] }
|
||||
{
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
"fields" : [
|
||||
"a"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1236199031",
|
||||
"id" : "products/1241049435",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
|
||||
{ "type": "skiplist", "unique" : false, "sparse" : true, "fields" : [ "a" ] }
|
||||
{
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
"fields" : [
|
||||
"a"
|
||||
]
|
||||
}
|
||||
|
||||
HTTP/1.1 201 Created
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1237182071",
|
||||
"id" : "products/1242032475",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1238165111
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1243015515
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1238165111",
|
||||
"id" : "products/1243015515",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ content-type: application/json; charset=utf-8
|
|||
"id" : "products/0",
|
||||
"type" : "primary",
|
||||
"unique" : true,
|
||||
"sparse" : false,
|
||||
"selectivityEstimate" : 1,
|
||||
"fields" : [
|
||||
"_key"
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-17T16:15:39Z",
|
||||
"time" : "2015-02-18T22:12:55Z",
|
||||
"message" : "applier created",
|
||||
"failedConnects" : 0
|
||||
},
|
||||
|
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
|
|||
"lastError" : {
|
||||
"errorNum" : 0
|
||||
},
|
||||
"time" : "2015-02-17T16:16:23Z"
|
||||
"time" : "2015-02-18T22:14:06Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha4",
|
||||
"serverId" : "50131824189065"
|
||||
"version" : "2.5.0-alpha5",
|
||||
"serverId" : "186987722306660"
|
||||
},
|
||||
"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-17T16:16:23Z",
|
||||
"time" : "2015-02-18T22:14:06Z",
|
||||
"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-17T16:16:23Z",
|
||||
"time" : "2015-02-18T22:14:06Z",
|
||||
"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-17T16:16:23Z"
|
||||
"time" : "2015-02-18T22:14:06Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha4",
|
||||
"serverId" : "50131824189065"
|
||||
"version" : "2.5.0-alpha5",
|
||||
"serverId" : "186987722306660"
|
||||
},
|
||||
"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-17T16:16:23Z",
|
||||
"time" : "2015-02-18T22:14:06Z",
|
||||
"message" : "fetching master state information",
|
||||
"failedConnects" : 1
|
||||
},
|
||||
|
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
|
|||
"lastError" : {
|
||||
"errorNum" : 0
|
||||
},
|
||||
"time" : "2015-02-17T16:16:23Z"
|
||||
"time" : "2015-02-18T22:14:06Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha4",
|
||||
"serverId" : "50131824189065"
|
||||
"version" : "2.5.0-alpha5",
|
||||
"serverId" : "186987722306660"
|
||||
},
|
||||
"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