mirror of https://gitee.com/bigwinds/arangodb
release version 2.5.0-alpha8
This commit is contained in:
parent
5f2655c3d9
commit
daadd697eb
|
@ -1,4 +1,4 @@
|
|||
v2.5.0-alpha7 (2015-02-18)
|
||||
v2.5.0-alpha8 (2015-02-18)
|
||||
-------------------
|
||||
|
||||
* front-end: dashboard tries not to (re)load statistics if user has no access
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
arangosh> col = db.example;
|
||||
[ArangoCollection 950951443, "example" (type document, status loaded)]
|
||||
[ArangoCollection 950887874, "example" (type document, status loaded)]
|
||||
arangosh> col.unload();
|
||||
arangosh> col;
|
||||
[ArangoCollection 950951443, "example" (type document, status unloaded)]
|
||||
[ArangoCollection 950887874, "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: 1492082195
|
||||
etag: 1492673986
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/1492082195",
|
||||
"_rev" : "1492082195",
|
||||
"_key" : "1492082195"
|
||||
"_id" : "relation/1492673986",
|
||||
"_rev" : "1492673986",
|
||||
"_key" : "1492673986"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1452760595
|
||||
etag: 1453155778
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -44,6 +44,6 @@ etag: 1452760595
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1452760595"
|
||||
"_rev" : "1453155778"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1469472275
|
||||
etag: 1469867458
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "male/1469472275",
|
||||
"_rev" : "1469472275",
|
||||
"_key" : "1469472275"
|
||||
"_id" : "male/1469867458",
|
||||
"_rev" : "1469867458",
|
||||
"_key" : "1469867458"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1435393555
|
||||
etag: 1435788738
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -29,6 +29,6 @@ etag: 1435393555
|
|||
"otherVertices"
|
||||
],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1435393555"
|
||||
"_rev" : "1435788738"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1423203859
|
||||
etag: 1423533506
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -36,6 +36,6 @@ etag: 1423203859
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/myGraph",
|
||||
"_rev" : "1423203859"
|
||||
"_rev" : "1423533506"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1462656531
|
||||
etag: 1463051714
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -15,6 +15,6 @@ etag: 1462656531
|
|||
"male"
|
||||
],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1462656531"
|
||||
"_rev" : "1463051714"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1495096851
|
||||
etag: 1495688642
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -10,7 +10,7 @@ etag: 1495096851
|
|||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_key" : "aliceAndBob",
|
||||
"_rev" : "1495096851",
|
||||
"_rev" : "1495688642",
|
||||
"_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: 1424842259
|
||||
etag: 1425171906
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -22,6 +22,6 @@ etag: 1424842259
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/myGraph",
|
||||
"_rev" : "1424842259"
|
||||
"_rev" : "1425171906"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1471503891
|
||||
etag: 1471833538
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -10,7 +10,7 @@ etag: 1471503891
|
|||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_key" : "alice",
|
||||
"_rev" : "1471503891",
|
||||
"_rev" : "1471833538",
|
||||
"name" : "Alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json
|
|||
{
|
||||
"_id" : "_graphs/social",
|
||||
"_key" : "social",
|
||||
"_rev" : "1401052691",
|
||||
"_rev" : "1401382338",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "relation",
|
||||
|
@ -29,7 +29,7 @@ content-type: application/json
|
|||
{
|
||||
"_id" : "_graphs/routeplanner",
|
||||
"_key" : "routeplanner",
|
||||
"_rev" : "1405378067",
|
||||
"_rev" : "1405707714",
|
||||
"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: 1482710547
|
||||
etag: 1483105730
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_rev" : "1482710547",
|
||||
"_oldRev" : "1480220179",
|
||||
"_rev" : "1483105730",
|
||||
"_oldRev" : "1480615362",
|
||||
"_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: 1505058323
|
||||
etag: 1505584578
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_rev" : "1505058323",
|
||||
"_oldRev" : "1503616531",
|
||||
"_rev" : "1505584578",
|
||||
"_oldRev" : "1504142786",
|
||||
"_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: 1500536339
|
||||
etag: 1501128130
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"edge" : {
|
||||
"_id" : "relation/aliceAndBob",
|
||||
"_rev" : "1500536339",
|
||||
"_oldRev" : "1499225619",
|
||||
"_rev" : "1501128130",
|
||||
"_oldRev" : "1499817410",
|
||||
"_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: 1442405907
|
||||
etag: 1442735554
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -24,6 +24,6 @@ etag: 1442405907
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1442405907"
|
||||
"_rev" : "1442735554"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1457806867
|
||||
etag: 1458202050
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
|
@ -39,6 +39,6 @@ etag: 1457806867
|
|||
],
|
||||
"orphanCollections" : [ ],
|
||||
"_id" : "_graphs/social",
|
||||
"_rev" : "1457806867"
|
||||
"_rev" : "1458202050"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: 1478188563
|
||||
etag: 1478583746
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"code" : 202,
|
||||
"vertex" : {
|
||||
"_id" : "female/alice",
|
||||
"_rev" : "1478188563",
|
||||
"_oldRev" : "1475698195",
|
||||
"_rev" : "1478583746",
|
||||
"_oldRev" : "1476093378",
|
||||
"_key" : "alice"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,21 +4,21 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"time" : 1424370089.898552,
|
||||
"time" : 1424433558.230608,
|
||||
"system" : {
|
||||
"minorPageFaults" : 59118,
|
||||
"majorPageFaults" : 2907,
|
||||
"userTime" : 7.488699,
|
||||
"systemTime" : 4.444866,
|
||||
"numberOfThreads" : 26,
|
||||
"residentSize" : 157634560,
|
||||
"residentSizePercent" : 0.03670215606689453,
|
||||
"virtualSize" : 5115826176
|
||||
"minorPageFaults" : 60796,
|
||||
"majorPageFaults" : 2901,
|
||||
"userTime" : 7.476747,
|
||||
"systemTime" : 4.612864,
|
||||
"numberOfThreads" : 28,
|
||||
"residentSize" : 155746304,
|
||||
"residentSizePercent" : 0.03626251220703125,
|
||||
"virtualSize" : 5118246912
|
||||
},
|
||||
"client" : {
|
||||
"httpConnections" : 1,
|
||||
"connectionTime" : {
|
||||
"sum" : 0.002331972122192383,
|
||||
"sum" : 0.0010190010070800781,
|
||||
"count" : 1,
|
||||
"counts" : [
|
||||
1,
|
||||
|
@ -28,33 +28,33 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"totalTime" : {
|
||||
"sum" : 26.85306692123413,
|
||||
"sum" : 25.539113998413086,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10199,
|
||||
397,
|
||||
10202,
|
||||
386,
|
||||
40,
|
||||
34,
|
||||
3,
|
||||
40,
|
||||
5,
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"requestTime" : {
|
||||
"sum" : 25.19148063659668,
|
||||
"sum" : 23.83417558670044,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10201,
|
||||
396,
|
||||
10209,
|
||||
381,
|
||||
39,
|
||||
40,
|
||||
33,
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"queueTime" : {
|
||||
"sum" : 0.27034950256347656,
|
||||
"sum" : 0.2660229206085205,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10674,
|
||||
|
@ -67,20 +67,20 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
"ioTime" : {
|
||||
"sum" : 1.3912367820739746,
|
||||
"sum" : 1.438915491104126,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
10673,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"bytesSent" : {
|
||||
"sum" : 3939806,
|
||||
"sum" : 3939805,
|
||||
"count" : 10674,
|
||||
"counts" : [
|
||||
2796,
|
||||
|
@ -117,7 +117,7 @@ content-type: application/json; charset=utf-8
|
|||
"requestsOther" : 0
|
||||
},
|
||||
"server" : {
|
||||
"uptime" : 36.704097032547,
|
||||
"uptime" : 35.453200817108154,
|
||||
"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-alpha7\"}\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\":\"1509711379\",\"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\":\"1509711379\",\"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\":\"1509711379\",\"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-alpha8\"}\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\":\"1510237634\",\"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\":\"1510237634\",\"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\":\"1510237634\",\"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" : "1372806675",
|
||||
"id" : "1373136322",
|
||||
"name" : "testCollectionBasics",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionEdges
|
||||
|
||||
{
|
||||
"id" : "1372937747",
|
||||
"id" : "1373267394",
|
||||
"name" : "testCollectionEdges",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
|
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/testCollectionUsers
|
||||
|
||||
{
|
||||
"id" : "1373199891",
|
||||
"id" : "1373529538",
|
||||
"name" : "testCollectionUsers",
|
||||
"waitForSync" : false,
|
||||
"isVolatile" : false,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1399152147
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1399481794
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1399152147",
|
||||
"id" : "1399481794",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1399348755",
|
||||
"id" : "1399678402",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -6,482 +6,482 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"collections" : [
|
||||
{
|
||||
"id" : "1063542291",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "4677139",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2448915",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "5070355",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "155155",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1180851731",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1002069523",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087004179",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "5463571",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1063411219",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1179475475",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "4546067",
|
||||
"id" : "4548034",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "2317843",
|
||||
"id" : "2319810",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6315539",
|
||||
"id" : "6317506",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002462739",
|
||||
"name" : "has_bought",
|
||||
"id" : "1001547202",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087397395",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "7167507",
|
||||
"id" : "7169474",
|
||||
"name" : "_apps",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1001938451",
|
||||
"name" : "friend_of",
|
||||
"id" : "1181181378",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1086873107",
|
||||
"name" : "germanCity",
|
||||
"id" : "1087333826",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1001940418",
|
||||
"name" : "has_bought",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1063740866",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "17325587",
|
||||
"id" : "1179805122",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "17327554",
|
||||
"name" : "_system_sessions_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "805789203",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "417299",
|
||||
"id" : "419266",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1063280147",
|
||||
"name" : "female",
|
||||
"id" : "1087727042",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "2186771",
|
||||
"id" : "2188738",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "6184467",
|
||||
"id" : "6186434",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002331667",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087266323",
|
||||
"name" : "frenchHighway",
|
||||
"id" : "1001416130",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "2579987",
|
||||
"id" : "2581954",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1001807379",
|
||||
"id" : "805725634",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087202754",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1001809346",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1063609794",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087595970",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
{
|
||||
"id" : "1001285058",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1092509203",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"id" : "4679106",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1091591699",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"id" : "2450882",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "759389715",
|
||||
"id" : "759326146",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1002200595",
|
||||
"id" : "1001678274",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "1087135251",
|
||||
"name" : "frenchCity",
|
||||
"id" : "1092838850",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
}
|
||||
],
|
||||
"names" : {
|
||||
"relation" : {
|
||||
"id" : "1063542291",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"_statisticsRaw" : {
|
||||
"id" : "4677139",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_routing" : {
|
||||
"id" : "2448915",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statistics" : {
|
||||
"id" : "5070355",
|
||||
{
|
||||
"id" : "5072322",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_configuration" : {
|
||||
"id" : "155155",
|
||||
{
|
||||
"id" : "1091921346",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
{
|
||||
"id" : "157122",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"edges2" : {
|
||||
"id" : "1180851731",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"Company" : {
|
||||
"id" : "1002069523",
|
||||
"name" : "Company",
|
||||
{
|
||||
"id" : "1087464898",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"germanHighway" : {
|
||||
"id" : "1087004179",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"_statistics15" : {
|
||||
"id" : "5463571",
|
||||
{
|
||||
"id" : "5465538",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"male" : {
|
||||
"id" : "1063411219",
|
||||
"name" : "male",
|
||||
{
|
||||
"id" : "1063871938",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"vertices1" : {
|
||||
"id" : "1179475475",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"type" : 3
|
||||
}
|
||||
],
|
||||
"names" : {
|
||||
"_aqlfunctions" : {
|
||||
"id" : "4546067",
|
||||
"id" : "4548034",
|
||||
"name" : "_aqlfunctions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_modules" : {
|
||||
"id" : "2317843",
|
||||
"id" : "2319810",
|
||||
"name" : "_modules",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_jobs" : {
|
||||
"id" : "6315539",
|
||||
"id" : "6317506",
|
||||
"name" : "_jobs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"has_bought" : {
|
||||
"id" : "1002462739",
|
||||
"name" : "has_bought",
|
||||
"Company" : {
|
||||
"id" : "1001547202",
|
||||
"name" : "Company",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"internationalHighway" : {
|
||||
"id" : "1087397395",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
"type" : 2
|
||||
},
|
||||
"_apps" : {
|
||||
"id" : "7167507",
|
||||
"id" : "7169474",
|
||||
"name" : "_apps",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"friend_of" : {
|
||||
"id" : "1001938451",
|
||||
"name" : "friend_of",
|
||||
"edges2" : {
|
||||
"id" : "1181181378",
|
||||
"name" : "edges2",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"germanCity" : {
|
||||
"id" : "1086873107",
|
||||
"name" : "germanCity",
|
||||
"germanHighway" : {
|
||||
"id" : "1087333826",
|
||||
"name" : "germanHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"has_bought" : {
|
||||
"id" : "1001940418",
|
||||
"name" : "has_bought",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"male" : {
|
||||
"id" : "1063740866",
|
||||
"name" : "male",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"vertices1" : {
|
||||
"id" : "1179805122",
|
||||
"name" : "vertices1",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_system_sessions_sessions" : {
|
||||
"id" : "17325587",
|
||||
"id" : "17327554",
|
||||
"name" : "_system_sessions_sessions",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"geo" : {
|
||||
"id" : "805789203",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_users" : {
|
||||
"id" : "417299",
|
||||
"id" : "419266",
|
||||
"name" : "_users",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"female" : {
|
||||
"id" : "1063280147",
|
||||
"name" : "female",
|
||||
"internationalHighway" : {
|
||||
"id" : "1087727042",
|
||||
"name" : "internationalHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
"type" : 3
|
||||
},
|
||||
"_graphs" : {
|
||||
"id" : "2186771",
|
||||
"id" : "2188738",
|
||||
"name" : "_graphs",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_queues" : {
|
||||
"id" : "6184467",
|
||||
"id" : "6186434",
|
||||
"name" : "_queues",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Electronics" : {
|
||||
"id" : "1002331667",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchHighway" : {
|
||||
"id" : "1087266323",
|
||||
"name" : "frenchHighway",
|
||||
"friend_of" : {
|
||||
"id" : "1001416130",
|
||||
"name" : "friend_of",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"_cluster_kickstarter_plans" : {
|
||||
"id" : "2579987",
|
||||
"id" : "2581954",
|
||||
"name" : "_cluster_kickstarter_plans",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"geo" : {
|
||||
"id" : "805725634",
|
||||
"name" : "geo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"germanCity" : {
|
||||
"id" : "1087202754",
|
||||
"name" : "germanCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Electronics" : {
|
||||
"id" : "1001809346",
|
||||
"name" : "Electronics",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"female" : {
|
||||
"id" : "1063609794",
|
||||
"name" : "female",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchHighway" : {
|
||||
"id" : "1087595970",
|
||||
"name" : "frenchHighway",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
},
|
||||
"Customer" : {
|
||||
"id" : "1001807379",
|
||||
"id" : "1001285058",
|
||||
"name" : "Customer",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"animals" : {
|
||||
"id" : "1092509203",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"_statisticsRaw" : {
|
||||
"id" : "4679106",
|
||||
"name" : "_statisticsRaw",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"demo" : {
|
||||
"id" : "1091591699",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"_routing" : {
|
||||
"id" : "2450882",
|
||||
"name" : "_routing",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"better-example" : {
|
||||
"id" : "759389715",
|
||||
"id" : "759326146",
|
||||
"name" : "better-example",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"Groceries" : {
|
||||
"id" : "1002200595",
|
||||
"id" : "1001678274",
|
||||
"name" : "Groceries",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"animals" : {
|
||||
"id" : "1092838850",
|
||||
"name" : "animals",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statistics" : {
|
||||
"id" : "5072322",
|
||||
"name" : "_statistics",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"demo" : {
|
||||
"id" : "1091921346",
|
||||
"name" : "demo",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_configuration" : {
|
||||
"id" : "157122",
|
||||
"name" : "_configuration",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"frenchCity" : {
|
||||
"id" : "1087135251",
|
||||
"id" : "1087464898",
|
||||
"name" : "frenchCity",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"_statistics15" : {
|
||||
"id" : "5465538",
|
||||
"name" : "_statistics15",
|
||||
"isSystem" : true,
|
||||
"status" : 3,
|
||||
"type" : 2
|
||||
},
|
||||
"relation" : {
|
||||
"id" : "1063871938",
|
||||
"name" : "relation",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 3
|
||||
}
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -4,13 +4,13 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1395678739",
|
||||
"id" : "1396008386",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
"checksum" : 3893854201,
|
||||
"revision" : "1396006419",
|
||||
"checksum" : 4057224205,
|
||||
"revision" : "1396336066",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -4,13 +4,13 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1396268563",
|
||||
"id" : "1396598210",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
"type" : 2,
|
||||
"checksum" : 3790907788,
|
||||
"revision" : "1396596243",
|
||||
"checksum" : 3565212977,
|
||||
"revision" : "1396925890",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
|
|||
location: /_db/_system/_api/collection/products/count
|
||||
|
||||
{
|
||||
"id" : "1373855251",
|
||||
"id" : "1374119362",
|
||||
"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" : "1394499091",
|
||||
"id" : "1394304450",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
@ -55,7 +55,7 @@ location: /_db/_system/_api/collection/products/figures
|
|||
"count" : 1,
|
||||
"size" : 2008
|
||||
},
|
||||
"lastTick" : "1394892307",
|
||||
"lastTick" : "1394697666",
|
||||
"uncollectedLogfileEntries" : 0
|
||||
},
|
||||
"status" : 3,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1373396499/properties
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1373726146/properties
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
location: /_db/_system/_api/collection/products/properties
|
||||
|
||||
{
|
||||
"id" : "1373396499",
|
||||
"id" : "1373726146",
|
||||
"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" : "1373658643",
|
||||
"id" : "1373922754",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1395416595",
|
||||
"id" : "1395746242",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1396858387",
|
||||
"id" : "1397253570",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"count" : 0,
|
||||
|
|
|
@ -7,7 +7,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1397579283",
|
||||
"id" : "1397974466",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"doCompact" : true,
|
||||
|
|
|
@ -7,7 +7,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1397906963",
|
||||
"id" : "1398236610",
|
||||
"name" : "newname",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1397317139",
|
||||
"id" : "1397712322",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 3,
|
||||
|
|
|
@ -4,7 +4,7 @@ HTTP/1.1 200 OK
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "1397120531",
|
||||
"id" : "1397515714",
|
||||
"name" : "products",
|
||||
"isSystem" : false,
|
||||
"status" : 4,
|
||||
|
|
|
@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1095589395",
|
||||
"_key" : "1095589395",
|
||||
"_rev" : "1095589395",
|
||||
"_id" : "products/1095919042",
|
||||
"_key" : "1095919042",
|
||||
"_rev" : "1095919042",
|
||||
"hello1" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1095917075",
|
||||
"_key" : "1095917075",
|
||||
"_rev" : "1095917075",
|
||||
"_id" : "products/1096246722",
|
||||
"_key" : "1096246722",
|
||||
"_rev" : "1096246722",
|
||||
"hello2" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1097096723",
|
||||
"id" : "1097426370",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
|
|
@ -7,15 +7,15 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1094671891",
|
||||
"_key" : "1094671891",
|
||||
"_rev" : "1094671891",
|
||||
"_id" : "products/1095001538",
|
||||
"_key" : "1095001538",
|
||||
"_rev" : "1095001538",
|
||||
"hello1" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1094999571",
|
||||
"_key" : "1094999571",
|
||||
"_rev" : "1094999571",
|
||||
"_id" : "products/1095329218",
|
||||
"_key" : "1095329218",
|
||||
"_rev" : "1095329218",
|
||||
"hello2" : "world1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : [
|
||||
{
|
||||
"_id" : "products/1103126035",
|
||||
"_key" : "1103126035",
|
||||
"_rev" : "1103126035",
|
||||
"hello4" : "world1"
|
||||
"_id" : "products/1103128002",
|
||||
"_key" : "1103128002",
|
||||
"_rev" : "1103128002",
|
||||
"hello3" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1102470675",
|
||||
"_key" : "1102470675",
|
||||
"_rev" : "1102470675",
|
||||
"hello2" : "world1"
|
||||
"_id" : "products/1102472642",
|
||||
"_key" : "1102472642",
|
||||
"_rev" : "1102472642",
|
||||
"hello1" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1103650323",
|
||||
"id" : "1103979970",
|
||||
"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/1103650323
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/cursor/1103979970
|
||||
|
||||
|
|
|
@ -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/1101684243
|
||||
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/1102013890
|
||||
|
||||
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/1100176915",
|
||||
"_key" : "1100176915",
|
||||
"_rev" : "1100176915",
|
||||
"hello1" : "world1"
|
||||
"_id" : "products/1100834242",
|
||||
"_key" : "1100834242",
|
||||
"_rev" : "1100834242",
|
||||
"hello2" : "world1"
|
||||
},
|
||||
{
|
||||
"_id" : "products/1100832275",
|
||||
"_key" : "1100832275",
|
||||
"_rev" : "1100832275",
|
||||
"hello3" : "world1"
|
||||
"_id" : "products/1100506562",
|
||||
"_key" : "1100506562",
|
||||
"_rev" : "1100506562",
|
||||
"hello1" : "world1"
|
||||
}
|
||||
],
|
||||
"hasMore" : true,
|
||||
"id" : "1101684243",
|
||||
"id" : "1102013890",
|
||||
"count" : 5,
|
||||
"extra" : {
|
||||
"stats" : {
|
||||
|
|
|
@ -6,8 +6,8 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"result" : {
|
||||
"name" : "_system",
|
||||
"id" : "89619",
|
||||
"path" : "/tmp/vocdir.47079/databases/database-89619",
|
||||
"id" : "91586",
|
||||
"path" : "/tmp/vocdir.62209/databases/database-91586",
|
||||
"isSystem" : true
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1525702163
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1526293954
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1525702163",
|
||||
"_rev" : "1525702163",
|
||||
"_key" : "1525702163"
|
||||
"_id" : "products/1526293954",
|
||||
"_rev" : "1526293954",
|
||||
"_key" : "1526293954"
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
shell> curl -X DELETE --header 'If-Match: "1527602707"' --dump - http://localhost:8529/_api/document/products/1527275027
|
||||
shell> curl -X DELETE --header 'If-Match: "1528194498"' --dump - http://localhost:8529/_api/document/products/1527866818
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1527275027"
|
||||
etag: "1527866818"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1527275027",
|
||||
"_rev" : "1527275027",
|
||||
"_key" : "1527275027"
|
||||
"_id" : "products/1527866818",
|
||||
"_rev" : "1527866818",
|
||||
"_key" : "1527866818"
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1526423059
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1527014850
|
||||
|
||||
HTTP/1.1 404 Not Found
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"errorMessage" : "document /_api/document/products/1526423059 not found",
|
||||
"errorMessage" : "document /_api/document/products/1527014850 not found",
|
||||
"code" : 404,
|
||||
"errorNum" : 1202
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1521901075
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
|
||||
{
|
||||
"hello" : "world"
|
||||
}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1522228755"
|
||||
location: /_db/_system/_api/document/products/1521901075
|
||||
etag: "1522820546"
|
||||
location: /_db/_system/_api/document/products/1522492866
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1521901075",
|
||||
"_rev" : "1522228755",
|
||||
"_key" : "1521901075"
|
||||
"_id" : "products/1522492866",
|
||||
"_rev" : "1522820546",
|
||||
"_key" : "1522492866"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1521901075
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
|
||||
{
|
||||
"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: "1522818579"
|
||||
location: /_db/_system/_api/document/products/1521901075
|
||||
etag: "1523410370"
|
||||
location: /_db/_system/_api/document/products/1522492866
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1521901075",
|
||||
"_rev" : "1522818579",
|
||||
"_key" : "1521901075"
|
||||
"_id" : "products/1522492866",
|
||||
"_rev" : "1523410370",
|
||||
"_key" : "1522492866"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1521901075
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1522818579"
|
||||
etag: "1523410370"
|
||||
|
||||
{
|
||||
"one" : "world",
|
||||
|
@ -50,11 +50,11 @@ etag: "1522818579"
|
|||
"two" : 2,
|
||||
"three" : 3
|
||||
},
|
||||
"_id" : "products/1521901075",
|
||||
"_rev" : "1522818579",
|
||||
"_key" : "1521901075"
|
||||
"_id" : "products/1522492866",
|
||||
"_rev" : "1523410370",
|
||||
"_key" : "1522492866"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1521901075?keepNull=false
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866?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: "1523277331"
|
||||
location: /_db/_system/_api/document/products/1521901075
|
||||
etag: "1523869122"
|
||||
location: /_db/_system/_api/document/products/1522492866
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1521901075",
|
||||
"_rev" : "1523277331",
|
||||
"_key" : "1521901075"
|
||||
"_id" : "products/1522492866",
|
||||
"_rev" : "1523869122",
|
||||
"_key" : "1522492866"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1521901075
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1523277331"
|
||||
etag: "1523869122"
|
||||
|
||||
{
|
||||
"one" : "world",
|
||||
|
@ -88,7 +88,7 @@ etag: "1523277331"
|
|||
"three" : 3,
|
||||
"four" : 4
|
||||
},
|
||||
"_id" : "products/1521901075",
|
||||
"_rev" : "1523277331",
|
||||
"_key" : "1521901075"
|
||||
"_id" : "products/1522492866",
|
||||
"_rev" : "1523869122",
|
||||
"_key" : "1522492866"
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524129299
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1524129299"
|
||||
etag: "1524721090"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
|
@ -10,11 +10,11 @@ etag: "1524129299"
|
|||
"india" : 1263590000,
|
||||
"usa" : 319220000
|
||||
},
|
||||
"_id" : "products/1524129299",
|
||||
"_rev" : "1524129299",
|
||||
"_key" : "1524129299"
|
||||
"_id" : "products/1524721090",
|
||||
"_rev" : "1524721090",
|
||||
"_key" : "1524721090"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524129299?mergeObjects=true
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090?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/1524129299
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1524653587"
|
||||
etag: "1525245378"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
|
@ -36,11 +36,11 @@ etag: "1524653587"
|
|||
"indonesia" : 252164800,
|
||||
"brazil" : 203553000
|
||||
},
|
||||
"_id" : "products/1524129299",
|
||||
"_rev" : "1524653587",
|
||||
"_key" : "1524129299"
|
||||
"_id" : "products/1524721090",
|
||||
"_rev" : "1525245378",
|
||||
"_key" : "1524721090"
|
||||
}
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524129299?mergeObjects=false
|
||||
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090?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: "1525112339"
|
||||
location: /_db/_system/_api/document/products/1524129299
|
||||
etag: "1525704130"
|
||||
location: /_db/_system/_api/document/products/1524721090
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1524129299",
|
||||
"_rev" : "1525112339",
|
||||
"_key" : "1524129299"
|
||||
"_id" : "products/1524721090",
|
||||
"_rev" : "1525704130",
|
||||
"_key" : "1524721090"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524129299
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1525112339"
|
||||
etag: "1525704130"
|
||||
|
||||
{
|
||||
"inhabitants" : {
|
||||
"pakistan" : 188346000
|
||||
},
|
||||
"_id" : "products/1524129299",
|
||||
"_rev" : "1525112339",
|
||||
"_key" : "1524129299"
|
||||
"_id" : "products/1524721090",
|
||||
"_rev" : "1525704130",
|
||||
"_key" : "1524721090"
|
||||
}
|
||||
|
|
|
@ -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: "1510891027"
|
||||
location: /_db/_system/_api/document/products/1510891027
|
||||
etag: "1511417282"
|
||||
location: /_db/_system/_api/document/products/1511417282
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1510891027",
|
||||
"_rev" : "1510891027",
|
||||
"_key" : "1510891027"
|
||||
"_id" : "products/1511417282",
|
||||
"_rev" : "1511417282",
|
||||
"_key" : "1511417282"
|
||||
}
|
||||
|
|
|
@ -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: "1510366739"
|
||||
location: /_db/_system/_api/document/products/1510366739
|
||||
etag: "1510892994"
|
||||
location: /_db/_system/_api/document/products/1510892994
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1510366739",
|
||||
"_rev" : "1510366739",
|
||||
"_key" : "1510366739"
|
||||
"_id" : "products/1510892994",
|
||||
"_rev" : "1510892994",
|
||||
"_key" : "1510892994"
|
||||
}
|
||||
|
|
|
@ -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: "1511939603"
|
||||
location: /_db/_system/_api/document/products/1511939603
|
||||
etag: "1512531394"
|
||||
location: /_db/_system/_api/document/products/1512531394
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1511939603",
|
||||
"_rev" : "1511939603",
|
||||
"_key" : "1511939603"
|
||||
"_id" : "products/1512531394",
|
||||
"_rev" : "1512531394",
|
||||
"_key" : "1512531394"
|
||||
}
|
||||
|
|
|
@ -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: "1511415315"
|
||||
location: /_db/_system/_api/document/products/1511415315
|
||||
etag: "1512007106"
|
||||
location: /_db/_system/_api/document/products/1512007106
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1511415315",
|
||||
"_rev" : "1511415315",
|
||||
"_key" : "1511415315"
|
||||
"_id" : "products/1512007106",
|
||||
"_rev" : "1512007106",
|
||||
"_key" : "1512007106"
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1512463891
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1513055682
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1512463891"
|
||||
etag: "1513055682"
|
||||
|
||||
{
|
||||
"hello" : "world",
|
||||
"_id" : "products/1512463891",
|
||||
"_rev" : "1512463891",
|
||||
"_key" : "1512463891"
|
||||
"_id" : "products/1513055682",
|
||||
"_rev" : "1513055682",
|
||||
"_key" : "1513055682"
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"documents" : [
|
||||
"1515281939",
|
||||
"1515609619",
|
||||
"1514954259"
|
||||
"1515873730",
|
||||
"1516201410",
|
||||
"1515546050"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"documents" : [
|
||||
"/_api/document/products/1513709075",
|
||||
"/_api/document/products/1514036755",
|
||||
"/_api/document/products/1514364435"
|
||||
"/_api/document/products/1514300866",
|
||||
"/_api/document/products/1514628546",
|
||||
"/_api/document/products/1514956226"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1516199443
|
||||
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1516791234
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
shell> curl --header 'If-None-Match: "1513053715"' --dump - http://localhost:8529/_api/document/products/1513053715
|
||||
shell> curl --header 'If-None-Match: "1513645506"' --dump - http://localhost:8529/_api/document/products/1513645506
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1516789267
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1517381058
|
||||
{"Hello": "you"}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1517116947"
|
||||
location: /_db/_system/_api/document/products/1516789267
|
||||
etag: "1517708738"
|
||||
location: /_db/_system/_api/document/products/1517381058
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1516789267",
|
||||
"_rev" : "1517116947",
|
||||
"_key" : "1516789267"
|
||||
"_id" : "products/1517381058",
|
||||
"_rev" : "1517708738",
|
||||
"_key" : "1517381058"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
shell> curl -X PUT --header 'If-Match: "1518886419"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1518558739
|
||||
shell> curl -X PUT --header 'If-Match: "1519478210"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1519150530
|
||||
{"other":"content"}
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1518558739"
|
||||
etag: "1519150530"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1518558739",
|
||||
"_rev" : "1518558739",
|
||||
"_key" : "1518558739"
|
||||
"_id" : "products/1519150530",
|
||||
"_rev" : "1519150530",
|
||||
"_key" : "1519150530"
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
shell> curl -X PUT --header 'If-Match: "1520000531"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1519672851?policy=last
|
||||
shell> curl -X PUT --header 'If-Match: "1520592322"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1520264642?policy=last
|
||||
{}
|
||||
|
||||
HTTP/1.1 202 Accepted
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1520262675"
|
||||
location: /_db/_system/_api/document/products/1519672851
|
||||
etag: "1520854466"
|
||||
location: /_db/_system/_api/document/products/1520264642
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "products/1519672851",
|
||||
"_rev" : "1520262675",
|
||||
"_key" : "1519672851"
|
||||
"_id" : "products/1520264642",
|
||||
"_rev" : "1520854466",
|
||||
"_key" : "1520264642"
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1520786963?rev=1521114643
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1521378754?rev=1521706434
|
||||
{"other":"content"}
|
||||
|
||||
HTTP/1.1 412 Precondition Failed
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1520786963"
|
||||
etag: "1521378754"
|
||||
|
||||
{
|
||||
"error" : true,
|
||||
"code" : 412,
|
||||
"errorNum" : 1200,
|
||||
"errorMessage" : "precondition failed",
|
||||
"_id" : "products/1520786963",
|
||||
"_rev" : "1520786963",
|
||||
"_key" : "1520786963"
|
||||
"_id" : "products/1521378754",
|
||||
"_rev" : "1521378754",
|
||||
"_key" : "1521378754"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1517641235
|
||||
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1518233026
|
||||
{}
|
||||
|
||||
HTTP/1.1 404 Not Found
|
||||
|
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
|
|||
|
||||
{
|
||||
"error" : true,
|
||||
"errorMessage" : "document /_api/document/products/1517641235 not found",
|
||||
"errorMessage" : "document /_api/document/products/1518233026 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: "1529896467"
|
||||
location: /_db/_system/_api/document/edges/1529896467
|
||||
etag: "1530488258"
|
||||
location: /_db/_system/_api/document/edges/1530488258
|
||||
|
||||
{
|
||||
"error" : false,
|
||||
"_id" : "edges/1529896467",
|
||||
"_rev" : "1529896467",
|
||||
"_key" : "1529896467"
|
||||
"_id" : "edges/1530488258",
|
||||
"_rev" : "1530488258",
|
||||
"_key" : "1530488258"
|
||||
}
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1529896467
|
||||
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1530488258
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
etag: "1529896467"
|
||||
etag: "1530488258"
|
||||
|
||||
{
|
||||
"name" : "Emil",
|
||||
"_id" : "edges/1529896467",
|
||||
"_rev" : "1529896467",
|
||||
"_key" : "1529896467",
|
||||
"_id" : "edges/1530488258",
|
||||
"_rev" : "1530488258",
|
||||
"_key" : "1530488258",
|
||||
"_from" : "vertices/1",
|
||||
"_to" : "vertices/2"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/6",
|
||||
"_key" : "6",
|
||||
"_rev" : "1157127699",
|
||||
"_rev" : "1157457346",
|
||||
"_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" : "1157651987",
|
||||
"_rev" : "1157981634",
|
||||
"_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" : "1156603411",
|
||||
"_rev" : "1156933058",
|
||||
"_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" : "1161846291",
|
||||
"_rev" : "1162175938",
|
||||
"_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" : "1162370579",
|
||||
"_rev" : "1162700226",
|
||||
"_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" : "1166040595",
|
||||
"_rev" : "1166370242",
|
||||
"_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:37079",
|
||||
"endpoint" : "tcp://127.0.0.1:32209",
|
||||
"databases" : [ ]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -53,7 +53,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "hash",
|
||||
"id" : "1175477779",
|
||||
"id" : "1175807426",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"selectivityEstimate" : 1,
|
||||
|
|
|
@ -33,7 +33,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "skiplist",
|
||||
"id" : "1170365971",
|
||||
"id" : "1170695618",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
"fields" : [
|
||||
|
|
|
@ -34,7 +34,7 @@ content-type: application/json; charset=utf-8
|
|||
],
|
||||
"index" : {
|
||||
"type" : "skiplist",
|
||||
"id" : "1172921875",
|
||||
"id" : "1173251522",
|
||||
"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: 1223187987
|
||||
etag: 1223517634
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1223187987",
|
||||
"_rev" : "1223517634",
|
||||
"_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: 1192058387
|
||||
etag: 1192388034
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1192058387",
|
||||
"_rev" : "1192388034",
|
||||
"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: 1226726931
|
||||
etag: 1227056578
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1226726931",
|
||||
"_rev" : "1227056578",
|
||||
"_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: 1194417683
|
||||
etag: 1194747330
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1194417683",
|
||||
"_rev" : "1194747330",
|
||||
"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: 1194941971
|
||||
etag: 1195271618
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1194941971",
|
||||
"_rev" : "1195271618",
|
||||
"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: 1213292051
|
||||
etag: 1213556162
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1213292051",
|
||||
"_rev" : "1213556162",
|
||||
"_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: 1185439251
|
||||
etag: 1185768898
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1185439251",
|
||||
"_rev" : "1185768898",
|
||||
"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: 1216175635
|
||||
etag: 1216505282
|
||||
|
||||
{
|
||||
"edge" : {
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1216175635",
|
||||
"_rev" : "1216505282",
|
||||
"_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" : "1231379987",
|
||||
"_rev" : "1231709634",
|
||||
"_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" : "1231904275",
|
||||
"_rev" : "1232233922",
|
||||
"_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" : "1230855699",
|
||||
"_rev" : "1231185346",
|
||||
"_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" : "1232428563",
|
||||
"_rev" : "1232758210",
|
||||
"_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: 1178295827
|
||||
etag: 1178625474
|
||||
|
||||
{
|
||||
"graph" : {
|
||||
"_id" : "_graphs/graph",
|
||||
"_key" : "graph",
|
||||
"_rev" : "1178295827",
|
||||
"_rev" : "1178625474",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges",
|
||||
|
|
|
@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "_graphs/graph2",
|
||||
"_key" : "graph2",
|
||||
"_rev" : "1181048339",
|
||||
"_rev" : "1181377986",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges2",
|
||||
|
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "_graphs/graph1",
|
||||
"_key" : "graph1",
|
||||
"_rev" : "1180065299",
|
||||
"_rev" : "1180394946",
|
||||
"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: 1187274259
|
||||
etag: 1187603906
|
||||
|
||||
{
|
||||
"vertex" : {
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1187274259",
|
||||
"_rev" : "1187603906",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
"error" : false,
|
||||
|
|
|
@ -9,7 +9,7 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "edges/edge1",
|
||||
"_key" : "edge1",
|
||||
"_rev" : "1236753939",
|
||||
"_rev" : "1237083586",
|
||||
"_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" : "1237802515",
|
||||
"_rev" : "1238132162",
|
||||
"_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" : "1200381459",
|
||||
"_rev" : "1200711106",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1201561107",
|
||||
"_rev" : "1201890754",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -9,13 +9,13 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1207459347",
|
||||
"_rev" : "1207788994",
|
||||
"optional1" : "val2"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1206279699",
|
||||
"_rev" : "1206609346",
|
||||
"optional1" : "val1"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -11,31 +11,31 @@ content-type: application/json; charset=utf-8
|
|||
{
|
||||
"_id" : "vertices/v3",
|
||||
"_key" : "v3",
|
||||
"_rev" : "1197563411",
|
||||
"_rev" : "1197893058",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v2",
|
||||
"_key" : "v2",
|
||||
"_rev" : "1197170195",
|
||||
"_rev" : "1197499842",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v5",
|
||||
"_key" : "v5",
|
||||
"_rev" : "1198349843",
|
||||
"_rev" : "1198679490",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v4",
|
||||
"_key" : "v4",
|
||||
"_rev" : "1197956627",
|
||||
"_rev" : "1198286274",
|
||||
"optional1" : "val1"
|
||||
},
|
||||
{
|
||||
"_id" : "vertices/v1",
|
||||
"_key" : "v1",
|
||||
"_rev" : "1196776979",
|
||||
"_rev" : "1197106626",
|
||||
"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: 1176985107
|
||||
etag: 1177314754
|
||||
|
||||
{
|
||||
"graph" : {
|
||||
"_id" : "_graphs/graph",
|
||||
"_key" : "graph",
|
||||
"_rev" : "1176985107",
|
||||
"_rev" : "1177314754",
|
||||
"edgeDefinitions" : [
|
||||
{
|
||||
"collection" : "edges",
|
||||
|
|
|
@ -16,7 +16,7 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
{
|
||||
"id" : "products/1239440915",
|
||||
"id" : "products/1239770562",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
@ -26,7 +26,7 @@ content-type: application/json; charset=utf-8
|
|||
]
|
||||
},
|
||||
{
|
||||
"id" : "products/1239703059",
|
||||
"id" : "products/1240032706",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
@ -46,8 +46,8 @@ content-type: application/json; charset=utf-8
|
|||
"_key"
|
||||
]
|
||||
},
|
||||
"products/1239440915" : {
|
||||
"id" : "products/1239440915",
|
||||
"products/1239770562" : {
|
||||
"id" : "products/1239770562",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
@ -56,8 +56,8 @@ content-type: application/json; charset=utf-8
|
|||
"name"
|
||||
]
|
||||
},
|
||||
"products/1239703059" : {
|
||||
"id" : "products/1239703059",
|
||||
"products/1240032706" : {
|
||||
"id" : "products/1240032706",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -11,7 +11,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1241472531",
|
||||
"id" : "products/1241802178",
|
||||
"type" : "geo2",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -10,7 +10,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1240948243",
|
||||
"id" : "products/1241277890",
|
||||
"type" : "geo1",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1240423955",
|
||||
"id" : "products/1240753602",
|
||||
"type" : "cap",
|
||||
"unique" : false,
|
||||
"size" : 10,
|
||||
|
|
|
@ -10,7 +10,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1244421651",
|
||||
"id" : "products/1244751298",
|
||||
"type" : "fulltext",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -12,7 +12,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1242521107",
|
||||
"id" : "products/1242850754",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -12,7 +12,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1243504147",
|
||||
"id" : "products/1243833794",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -12,7 +12,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1241996819",
|
||||
"id" : "products/1242326466",
|
||||
"type" : "hash",
|
||||
"unique" : true,
|
||||
"sparse" : false,
|
||||
|
|
|
@ -12,7 +12,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1242979859",
|
||||
"id" : "products/1243309506",
|
||||
"type" : "hash",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -12,7 +12,7 @@ HTTP/1.1 201 Created
|
|||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1243962899",
|
||||
"id" : "products/1244292546",
|
||||
"type" : "skiplist",
|
||||
"unique" : false,
|
||||
"sparse" : true,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1244945939
|
||||
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1245275586
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
content-type: application/json; charset=utf-8
|
||||
|
||||
{
|
||||
"id" : "products/1244945939",
|
||||
"id" : "products/1245275586",
|
||||
"error" : false,
|
||||
"code" : 200
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-19T18:20:53Z",
|
||||
"time" : "2015-02-20T11:58:42Z",
|
||||
"message" : "applier created",
|
||||
"failedConnects" : 0
|
||||
},
|
||||
|
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
|
|||
"lastError" : {
|
||||
"errorNum" : 0
|
||||
},
|
||||
"time" : "2015-02-19T18:21:44Z"
|
||||
"time" : "2015-02-20T11:59:32Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha7",
|
||||
"serverId" : "170704756236322"
|
||||
"version" : "2.5.0-alpha8",
|
||||
"serverId" : "42066900187190"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
|
@ -10,8 +10,8 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-19T18:21:44Z",
|
||||
"message" : "fetching master state information",
|
||||
"time" : "2015-02-20T11:59:32Z",
|
||||
"message" : "applier shut down",
|
||||
"failedConnects" : 1
|
||||
},
|
||||
"totalRequests" : 2,
|
||||
|
@ -19,15 +19,15 @@ content-type: application/json; charset=utf-8
|
|||
"totalEvents" : 0,
|
||||
"totalOperationsExcluded" : 0,
|
||||
"lastError" : {
|
||||
"time" : "2015-02-19T18:21:44Z",
|
||||
"time" : "2015-02-20T11:59:32Z",
|
||||
"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-19T18:21:44Z"
|
||||
"time" : "2015-02-20T11:59:32Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha7",
|
||||
"serverId" : "170704756236322"
|
||||
"version" : "2.5.0-alpha8",
|
||||
"serverId" : "42066900187190"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
|
@ -10,9 +10,9 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-19T18:21:44Z",
|
||||
"time" : "2015-02-20T11:59:32Z",
|
||||
"message" : "fetching master state information",
|
||||
"failedConnects" : 1
|
||||
"failedConnects" : 0
|
||||
},
|
||||
"totalRequests" : 2,
|
||||
"totalFailedConnects" : 2,
|
||||
|
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
|
|||
"lastError" : {
|
||||
"errorNum" : 0
|
||||
},
|
||||
"time" : "2015-02-19T18:21:44Z"
|
||||
"time" : "2015-02-20T11:59:32Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha7",
|
||||
"serverId" : "170704756236322"
|
||||
"version" : "2.5.0-alpha8",
|
||||
"serverId" : "42066900187190"
|
||||
},
|
||||
"endpoint" : "tcp://127.0.0.1:8529",
|
||||
"database" : "_system"
|
||||
|
|
|
@ -10,8 +10,8 @@ content-type: application/json; charset=utf-8
|
|||
"lastProcessedContinuousTick" : null,
|
||||
"lastAvailableContinuousTick" : null,
|
||||
"progress" : {
|
||||
"time" : "2015-02-19T18:21:44Z",
|
||||
"message" : "fetching master state information",
|
||||
"time" : "2015-02-20T11:59:32Z",
|
||||
"message" : "applier shut down",
|
||||
"failedConnects" : 1
|
||||
},
|
||||
"totalRequests" : 2,
|
||||
|
@ -19,15 +19,15 @@ content-type: application/json; charset=utf-8
|
|||
"totalEvents" : 0,
|
||||
"totalOperationsExcluded" : 0,
|
||||
"lastError" : {
|
||||
"time" : "2015-02-19T18:21:44Z",
|
||||
"time" : "2015-02-20T11:59:32Z",
|
||||
"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-19T18:21:44Z"
|
||||
"time" : "2015-02-20T11:59:32Z"
|
||||
},
|
||||
"server" : {
|
||||
"version" : "2.5.0-alpha7",
|
||||
"serverId" : "170704756236322"
|
||||
"version" : "2.5.0-alpha8",
|
||||
"serverId" : "42066900187190"
|
||||
},
|
||||
"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