1
0
Fork 0

release version 2.5.0-beta1

This commit is contained in:
Frank Celler 2015-02-23 10:47:30 +01:00
parent b8276747d8
commit c3f64e6a25
311 changed files with 2820 additions and 2820 deletions

View File

@ -1,4 +1,4 @@
v2.5.0-alpha8 (2015-02-18)
v2.5.0-beta1 (2015-02-23)
-------------------
* front-end: dashboard tries not to (re)load statistics if user has no access

View File

@ -1,5 +1,5 @@
arangosh> col = db.example;
[ArangoCollection 950887874, "example" (type document, status loaded)]
[ArangoCollection 950544547, "example" (type document, status loaded)]
arangosh> col.unload();
arangosh> col;
[ArangoCollection 950887874, "example" (type document, status unloaded)]
[ArangoCollection 950544547, "example" (type document, status unloaded)]

View File

@ -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: 1492673986
etag: 1492854947
{
"error" : false,
"code" : 202,
"edge" : {
"_id" : "relation/1492673986",
"_rev" : "1492673986",
"_key" : "1492673986"
"_id" : "relation/1492854947",
"_rev" : "1492854947",
"_key" : "1492854947"
}
}

View File

@ -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: 1453155778
etag: 1453467811
{
"error" : false,
@ -44,6 +44,6 @@ etag: 1453155778
],
"orphanCollections" : [ ],
"_id" : "_graphs/social",
"_rev" : "1453155778"
"_rev" : "1453467811"
}
}

View File

@ -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: 1469867458
etag: 1470245027
{
"error" : false,
"code" : 202,
"vertex" : {
"_id" : "male/1469867458",
"_rev" : "1469867458",
"_key" : "1469867458"
"_id" : "male/1470245027",
"_rev" : "1470245027",
"_key" : "1470245027"
}
}

View File

@ -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: 1435788738
etag: 1436166307
{
"error" : false,
@ -29,6 +29,6 @@ etag: 1435788738
"otherVertices"
],
"_id" : "_graphs/social",
"_rev" : "1435788738"
"_rev" : "1436166307"
}
}

View File

@ -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: 1423533506
etag: 1423911075
{
"error" : false,
@ -36,6 +36,6 @@ etag: 1423533506
],
"orphanCollections" : [ ],
"_id" : "_graphs/myGraph",
"_rev" : "1423533506"
"_rev" : "1423911075"
}
}

View File

@ -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: 1463051714
etag: 1463429283
{
"error" : false,
@ -15,6 +15,6 @@ etag: 1463051714
"male"
],
"_id" : "_graphs/social",
"_rev" : "1463051714"
"_rev" : "1463429283"
}
}

View File

@ -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: 1495688642
etag: 1495869603
{
"error" : false,
@ -10,7 +10,7 @@ etag: 1495688642
"edge" : {
"_id" : "relation/aliceAndBob",
"_key" : "aliceAndBob",
"_rev" : "1495688642",
"_rev" : "1495869603",
"_from" : "female/alice",
"_to" : "male/bob",
"type" : "married"

View File

@ -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: 1425171906
etag: 1425549475
{
"error" : false,
@ -22,6 +22,6 @@ etag: 1425171906
],
"orphanCollections" : [ ],
"_id" : "_graphs/myGraph",
"_rev" : "1425171906"
"_rev" : "1425549475"
}
}

View File

@ -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: 1471833538
etag: 1472211107
{
"error" : false,
@ -10,7 +10,7 @@ etag: 1471833538
"vertex" : {
"_id" : "female/alice",
"_key" : "alice",
"_rev" : "1471833538",
"_rev" : "1472211107",
"name" : "Alice"
}
}

View File

@ -10,7 +10,7 @@ content-type: application/json
{
"_id" : "_graphs/social",
"_key" : "social",
"_rev" : "1401382338",
"_rev" : "1401759907",
"edgeDefinitions" : [
{
"collection" : "relation",
@ -29,7 +29,7 @@ content-type: application/json
{
"_id" : "_graphs/routeplanner",
"_key" : "routeplanner",
"_rev" : "1405707714",
"_rev" : "1406085283",
"orphanCollections" : [ ],
"edgeDefinitions" : [
{

View File

@ -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: 1483105730
etag: 1483417763
{
"error" : false,
"code" : 202,
"vertex" : {
"_id" : "female/alice",
"_rev" : "1483105730",
"_oldRev" : "1480615362",
"_rev" : "1483417763",
"_oldRev" : "1480927395",
"_key" : "alice"
}
}

View File

@ -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: 1505584578
etag: 1505765539
{
"error" : false,
"code" : 202,
"edge" : {
"_id" : "relation/aliceAndBob",
"_rev" : "1505584578",
"_oldRev" : "1504142786",
"_rev" : "1505765539",
"_oldRev" : "1504323747",
"_key" : "aliceAndBob"
}
}

View File

@ -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: 1501128130
etag: 1501309091
{
"error" : false,
"code" : 202,
"edge" : {
"_id" : "relation/aliceAndBob",
"_rev" : "1501128130",
"_oldRev" : "1499817410",
"_rev" : "1501309091",
"_oldRev" : "1499998371",
"_key" : "aliceAndBob"
}
}

View File

@ -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: 1442735554
etag: 1443113123
{
"error" : false,
@ -24,6 +24,6 @@ etag: 1442735554
],
"orphanCollections" : [ ],
"_id" : "_graphs/social",
"_rev" : "1442735554"
"_rev" : "1443113123"
}
}

View File

@ -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: 1458202050
etag: 1458514083
{
"error" : false,
@ -39,6 +39,6 @@ etag: 1458202050
],
"orphanCollections" : [ ],
"_id" : "_graphs/social",
"_rev" : "1458202050"
"_rev" : "1458514083"
}
}

View File

@ -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: 1478583746
etag: 1478895779
{
"error" : false,
"code" : 202,
"vertex" : {
"_id" : "female/alice",
"_rev" : "1478583746",
"_oldRev" : "1476093378",
"_rev" : "1478895779",
"_oldRev" : "1476405411",
"_key" : "alice"
}
}

View File

@ -4,21 +4,21 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"time" : 1424433558.230608,
"time" : 1424684829.707911,
"system" : {
"minorPageFaults" : 60796,
"majorPageFaults" : 2901,
"userTime" : 7.476747,
"systemTime" : 4.612864,
"minorPageFaults" : 57279,
"majorPageFaults" : 2910,
"userTime" : 7.274074,
"systemTime" : 4.557473,
"numberOfThreads" : 28,
"residentSize" : 155746304,
"residentSizePercent" : 0.03626251220703125,
"virtualSize" : 5118246912
"residentSize" : 162291712,
"residentSizePercent" : 0.03778648376464844,
"virtualSize" : 5116907520
},
"client" : {
"httpConnections" : 1,
"connectionTime" : {
"sum" : 0.0010190010070800781,
"sum" : 0.0015668869018554688,
"count" : 1,
"counts" : [
1,
@ -28,37 +28,37 @@ content-type: application/json; charset=utf-8
]
},
"totalTime" : {
"sum" : 25.539113998413086,
"sum" : 25.4695987701416,
"count" : 10674,
"counts" : [
10202,
386,
40,
40,
5,
10184,
413,
34,
38,
4,
0,
1
]
},
"requestTime" : {
"sum" : 23.83417558670044,
"sum" : 23.66250491142273,
"count" : 10674,
"counts" : [
10209,
381,
39,
40,
10197,
401,
34,
37,
4,
0,
1
]
},
"queueTime" : {
"sum" : 0.2660229206085205,
"sum" : 0.32120800018310547,
"count" : 10674,
"counts" : [
10674,
0,
10672,
2,
0,
0,
0,
@ -67,20 +67,20 @@ content-type: application/json; charset=utf-8
]
},
"ioTime" : {
"sum" : 1.438915491104126,
"sum" : 1.4858858585357666,
"count" : 10674,
"counts" : [
10673,
0,
0,
10671,
2,
0,
1,
0,
0,
0
]
},
"bytesSent" : {
"sum" : 3939805,
"sum" : 3939808,
"count" : 10674,
"counts" : [
2796,
@ -117,7 +117,7 @@ content-type: application/json; charset=utf-8
"requestsOther" : 0
},
"server" : {
"uptime" : 35.453200817108154,
"uptime" : 35.26790189743042,
"physicalMemory" : 4294967296
},
"error" : false,

View File

@ -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-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--"
"--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: 43\r\n\r\n{\"server\":\"arango\",\"version\":\"2.5.0-beta1\"}\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\":\"1510418595\",\"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\":\"1510418595\",\"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\":\"1510418595\",\"error\":false,\"code\":200}\r\n--SomeBoundaryValue--"

View File

@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/testCollectionBasics
{
"id" : "1373136322",
"id" : "1373513891",
"name" : "testCollectionBasics",
"waitForSync" : false,
"isVolatile" : false,
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/testCollectionEdges
{
"id" : "1373267394",
"id" : "1373644963",
"name" : "testCollectionEdges",
"waitForSync" : false,
"isVolatile" : false,

View File

@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/testCollectionUsers
{
"id" : "1373529538",
"id" : "1373907107",
"name" : "testCollectionUsers",
"waitForSync" : false,
"isVolatile" : false,

View File

@ -1,10 +1,10 @@
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1399481794
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/collection/1399859363
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1399481794",
"id" : "1399859363",
"error" : false,
"code" : 200
}

View File

@ -4,7 +4,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1399678402",
"id" : "1400055971",
"error" : false,
"code" : 200
}

View File

@ -6,482 +6,482 @@ content-type: application/json; charset=utf-8
{
"collections" : [
{
"id" : "4548034",
"name" : "_aqlfunctions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "2319810",
"name" : "_modules",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "6317506",
"name" : "_jobs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1001547202",
"name" : "Company",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "7169474",
"name" : "_apps",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1181181378",
"name" : "edges2",
"isSystem" : false,
"status" : 3,
"type" : 3
},
{
"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" : "1179805122",
"name" : "vertices1",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "17327554",
"name" : "_system_sessions_sessions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "419266",
"name" : "_users",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1087727042",
"name" : "internationalHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
{
"id" : "2188738",
"name" : "_graphs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "6186434",
"name" : "_queues",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1001416130",
"name" : "friend_of",
"isSystem" : false,
"status" : 3,
"type" : 3
},
{
"id" : "2581954",
"name" : "_cluster_kickstarter_plans",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"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" : "4679106",
"name" : "_statisticsRaw",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "2450882",
"name" : "_routing",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "759326146",
"name" : "better-example",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1001678274",
"name" : "Groceries",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1092838850",
"name" : "animals",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "5072322",
"name" : "_statistics",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1091921346",
"name" : "demo",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "157122",
"name" : "_configuration",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1087464898",
"id" : "1086662819",
"name" : "frenchCity",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "5465538",
"id" : "4663459",
"name" : "_statisticsRaw",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "2435235",
"name" : "_routing",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "5056675",
"name" : "_statistics",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1063004323",
"name" : "male",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "141475",
"name" : "_configuration",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "5449891",
"name" : "_statistics15",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1063871938",
"name" : "relation",
"isSystem" : false,
"status" : 3,
"type" : 3
}
],
"names" : {
"_aqlfunctions" : {
"id" : "4548034",
"name" : "_aqlfunctions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_modules" : {
"id" : "2319810",
"name" : "_modules",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_jobs" : {
"id" : "6317506",
"name" : "_jobs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"Company" : {
"id" : "1001547202",
"id" : "1001597091",
"name" : "Company",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"_apps" : {
"id" : "7169474",
"name" : "_apps",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"edges2" : {
"id" : "1181181378",
"name" : "edges2",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"germanHighway" : {
"id" : "1087333826",
{
"id" : "1086531747",
"name" : "germanHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"has_bought" : {
"id" : "1001940418",
{
"id" : "4532387",
"name" : "_aqlfunctions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "2304163",
"name" : "_modules",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "6301859",
"name" : "_jobs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1001990307",
"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" : "17327554",
"name" : "_system_sessions_sessions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_users" : {
"id" : "419266",
"name" : "_users",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"internationalHighway" : {
"id" : "1087727042",
{
"id" : "1086924963",
"name" : "internationalHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"_graphs" : {
"id" : "2188738",
"name" : "_graphs",
{
"id" : "7153827",
"name" : "_apps",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_queues" : {
"id" : "6186434",
"name" : "_queues",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"friend_of" : {
"id" : "1001416130",
"name" : "friend_of",
{
"id" : "1181624483",
"name" : "edges2",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"_cluster_kickstarter_plans" : {
"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",
{
"id" : "1062873251",
"name" : "female",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"frenchHighway" : {
"id" : "1087595970",
{
"id" : "805382307",
"name" : "geo",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1001466019",
"name" : "friend_of",
"isSystem" : false,
"status" : 3,
"type" : 3
},
{
"id" : "1086400675",
"name" : "germanCity",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "17311907",
"name" : "_system_sessions_sessions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "403619",
"name" : "_users",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "2173091",
"name" : "_graphs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "6170787",
"name" : "_queues",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1001859235",
"name" : "Electronics",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1086793891",
"name" : "frenchHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"Customer" : {
"id" : "1001285058",
{
"id" : "1180182691",
"name" : "vertices1",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "2566307",
"name" : "_cluster_kickstarter_plans",
"isSystem" : true,
"status" : 3,
"type" : 2
},
{
"id" : "1001334947",
"name" : "Customer",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1063135395",
"name" : "relation",
"isSystem" : false,
"status" : 3,
"type" : 3
},
{
"id" : "1092036771",
"name" : "animals",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1091119267",
"name" : "demo",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "758917283",
"name" : "better-example",
"isSystem" : false,
"status" : 3,
"type" : 2
},
{
"id" : "1001728163",
"name" : "Groceries",
"isSystem" : false,
"status" : 3,
"type" : 2
}
],
"names" : {
"frenchCity" : {
"id" : "1086662819",
"name" : "frenchCity",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"_statisticsRaw" : {
"id" : "4679106",
"id" : "4663459",
"name" : "_statisticsRaw",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_routing" : {
"id" : "2450882",
"id" : "2435235",
"name" : "_routing",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_statistics" : {
"id" : "5056675",
"name" : "_statistics",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"male" : {
"id" : "1063004323",
"name" : "male",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"_configuration" : {
"id" : "141475",
"name" : "_configuration",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_statistics15" : {
"id" : "5449891",
"name" : "_statistics15",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"Company" : {
"id" : "1001597091",
"name" : "Company",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"germanHighway" : {
"id" : "1086531747",
"name" : "germanHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"_aqlfunctions" : {
"id" : "4532387",
"name" : "_aqlfunctions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_modules" : {
"id" : "2304163",
"name" : "_modules",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_jobs" : {
"id" : "6301859",
"name" : "_jobs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"has_bought" : {
"id" : "1001990307",
"name" : "has_bought",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"internationalHighway" : {
"id" : "1086924963",
"name" : "internationalHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"_apps" : {
"id" : "7153827",
"name" : "_apps",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"edges2" : {
"id" : "1181624483",
"name" : "edges2",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"female" : {
"id" : "1062873251",
"name" : "female",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"geo" : {
"id" : "805382307",
"name" : "geo",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"friend_of" : {
"id" : "1001466019",
"name" : "friend_of",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"germanCity" : {
"id" : "1086400675",
"name" : "germanCity",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"_system_sessions_sessions" : {
"id" : "17311907",
"name" : "_system_sessions_sessions",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_users" : {
"id" : "403619",
"name" : "_users",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_graphs" : {
"id" : "2173091",
"name" : "_graphs",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"_queues" : {
"id" : "6170787",
"name" : "_queues",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"Electronics" : {
"id" : "1001859235",
"name" : "Electronics",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"frenchHighway" : {
"id" : "1086793891",
"name" : "frenchHighway",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"vertices1" : {
"id" : "1180182691",
"name" : "vertices1",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"_cluster_kickstarter_plans" : {
"id" : "2566307",
"name" : "_cluster_kickstarter_plans",
"isSystem" : true,
"status" : 3,
"type" : 2
},
"Customer" : {
"id" : "1001334947",
"name" : "Customer",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"relation" : {
"id" : "1063135395",
"name" : "relation",
"isSystem" : false,
"status" : 3,
"type" : 3
},
"animals" : {
"id" : "1092036771",
"name" : "animals",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"demo" : {
"id" : "1091119267",
"name" : "demo",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"better-example" : {
"id" : "759326146",
"id" : "758917283",
"name" : "better-example",
"isSystem" : false,
"status" : 3,
"type" : 2
},
"Groceries" : {
"id" : "1001678274",
"id" : "1001728163",
"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" : "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,

View File

@ -4,13 +4,13 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1396008386",
"id" : "1396451491",
"name" : "products",
"isSystem" : false,
"status" : 3,
"type" : 2,
"checksum" : 4057224205,
"revision" : "1396336066",
"checksum" : 1092316760,
"revision" : "1396779171",
"error" : false,
"code" : 200
}

View File

@ -4,13 +4,13 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1396598210",
"id" : "1397041315",
"name" : "products",
"isSystem" : false,
"status" : 3,
"type" : 2,
"checksum" : 3565212977,
"revision" : "1396925890",
"checksum" : 602639546,
"revision" : "1397368995",
"error" : false,
"code" : 200
}

View File

@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/products/count
{
"id" : "1374119362",
"id" : "1374496931",
"name" : "products",
"isSystem" : false,
"doCompact" : true,

View File

@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/products/figures
{
"id" : "1394304450",
"id" : "1395206307",
"name" : "products",
"isSystem" : false,
"doCompact" : true,
@ -55,7 +55,7 @@ location: /_db/_system/_api/collection/products/figures
"count" : 1,
"size" : 2008
},
"lastTick" : "1394697666",
"lastTick" : "1395599523",
"uncollectedLogfileEntries" : 0
},
"status" : 3,

View File

@ -1,11 +1,11 @@
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1373726146/properties
shell> curl --data-binary @- --dump - http://localhost:8529/_api/collection/1374103715/properties
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/products/properties
{
"id" : "1373726146",
"id" : "1374103715",
"name" : "products",
"isSystem" : false,
"doCompact" : true,

View File

@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
location: /_db/_system/_api/collection/products/properties
{
"id" : "1373922754",
"id" : "1374300323",
"name" : "products",
"isSystem" : false,
"doCompact" : true,

View File

@ -4,7 +4,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1395746242",
"id" : "1396123811",
"name" : "products",
"isSystem" : false,
"status" : 3,

View File

@ -4,7 +4,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1397253570",
"id" : "1397631139",
"name" : "products",
"isSystem" : false,
"count" : 0,

View File

@ -7,7 +7,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1397974466",
"id" : "1398352035",
"name" : "products",
"isSystem" : false,
"doCompact" : true,

View File

@ -7,7 +7,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1398236610",
"id" : "1398614179",
"name" : "newname",
"isSystem" : false,
"status" : 3,

View File

@ -4,7 +4,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1397712322",
"id" : "1398089891",
"name" : "products",
"isSystem" : false,
"status" : 3,

View File

@ -4,7 +4,7 @@ HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "1397515714",
"id" : "1397893283",
"name" : "products",
"isSystem" : false,
"status" : 4,

View File

@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1095919042",
"_key" : "1095919042",
"_rev" : "1095919042",
"hello1" : "world1"
"_id" : "products/1096100003",
"_key" : "1096100003",
"_rev" : "1096100003",
"hello4" : "world1"
},
{
"_id" : "products/1096246722",
"_key" : "1096246722",
"_rev" : "1096246722",
"_id" : "products/1095444643",
"_key" : "1095444643",
"_rev" : "1095444643",
"hello2" : "world1"
}
],
"hasMore" : true,
"id" : "1097426370",
"id" : "1096624291",
"count" : 5,
"extra" : {
"stats" : {

View File

@ -7,15 +7,15 @@ content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1095001538",
"_key" : "1095001538",
"_rev" : "1095001538",
"_id" : "products/1094199459",
"_key" : "1094199459",
"_rev" : "1094199459",
"hello1" : "world1"
},
{
"_id" : "products/1095329218",
"_key" : "1095329218",
"_rev" : "1095329218",
"_id" : "products/1094527139",
"_key" : "1094527139",
"_rev" : "1094527139",
"hello2" : "world1"
}
],

View File

@ -7,20 +7,20 @@ content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1103128002",
"_key" : "1103128002",
"_rev" : "1103128002",
"hello3" : "world1"
"_id" : "products/1101801635",
"_key" : "1101801635",
"_rev" : "1101801635",
"hello1" : "world1"
},
{
"_id" : "products/1102472642",
"_key" : "1102472642",
"_rev" : "1102472642",
"hello1" : "world1"
"_id" : "products/1102129315",
"_key" : "1102129315",
"_rev" : "1102129315",
"hello2" : "world1"
}
],
"hasMore" : true,
"id" : "1103979970",
"id" : "1103308963",
"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/1103979970
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/cursor/1103308963

View File

@ -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/1102013890
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/1101342883
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/1100834242",
"_key" : "1100834242",
"_rev" : "1100834242",
"hello2" : "world1"
"_id" : "products/1099835555",
"_key" : "1099835555",
"_rev" : "1099835555",
"hello1" : "world1"
},
{
"_id" : "products/1100506562",
"_key" : "1100506562",
"_rev" : "1100506562",
"hello1" : "world1"
"_id" : "products/1100490915",
"_key" : "1100490915",
"_rev" : "1100490915",
"hello3" : "world1"
}
],
"hasMore" : true,
"id" : "1102013890",
"id" : "1101342883",
"count" : 5,
"extra" : {
"stats" : {

View File

@ -6,8 +6,8 @@ content-type: application/json; charset=utf-8
{
"result" : {
"name" : "_system",
"id" : "91586",
"path" : "/tmp/vocdir.62209/databases/database-91586",
"id" : "75939",
"path" : "/tmp/vocdir.86910/databases/database-75939",
"isSystem" : true
},
"error" : false,

View File

@ -1,11 +1,11 @@
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1526293954
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1526474915
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"error" : false,
"_id" : "products/1526293954",
"_rev" : "1526293954",
"_key" : "1526293954"
"_id" : "products/1526474915",
"_rev" : "1526474915",
"_key" : "1526474915"
}

View File

@ -1,15 +1,15 @@
shell> curl -X DELETE --header 'If-Match: "1528194498"' --dump - http://localhost:8529/_api/document/products/1527866818
shell> curl -X DELETE --header 'If-Match: "1528375459"' --dump - http://localhost:8529/_api/document/products/1528047779
HTTP/1.1 412 Precondition Failed
content-type: application/json; charset=utf-8
etag: "1527866818"
etag: "1528047779"
{
"error" : true,
"code" : 412,
"errorNum" : 1200,
"errorMessage" : "precondition failed",
"_id" : "products/1527866818",
"_rev" : "1527866818",
"_key" : "1527866818"
"_id" : "products/1528047779",
"_rev" : "1528047779",
"_key" : "1528047779"
}

View File

@ -1,11 +1,11 @@
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1527014850
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/document/products/1527195811
HTTP/1.1 404 Not Found
content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "document /_api/document/products/1527014850 not found",
"errorMessage" : "document /_api/document/products/1527195811 not found",
"code" : 404,
"errorNum" : 1202
}

View File

@ -1,20 +1,20 @@
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522673827
{
"hello" : "world"
}
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: "1522820546"
location: /_db/_system/_api/document/products/1522492866
etag: "1523001507"
location: /_db/_system/_api/document/products/1522673827
{
"error" : false,
"_id" : "products/1522492866",
"_rev" : "1522820546",
"_key" : "1522492866"
"_id" : "products/1522673827",
"_rev" : "1523001507",
"_key" : "1522673827"
}
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522673827
{
"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: "1523410370"
location: /_db/_system/_api/document/products/1522492866
etag: "1523591331"
location: /_db/_system/_api/document/products/1522673827
{
"error" : false,
"_id" : "products/1522492866",
"_rev" : "1523410370",
"_key" : "1522492866"
"_id" : "products/1522673827",
"_rev" : "1523591331",
"_key" : "1522673827"
}
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1522673827
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1523410370"
etag: "1523591331"
{
"one" : "world",
@ -50,11 +50,11 @@ etag: "1523410370"
"two" : 2,
"three" : 3
},
"_id" : "products/1522492866",
"_rev" : "1523410370",
"_key" : "1522492866"
"_id" : "products/1522673827",
"_rev" : "1523591331",
"_key" : "1522673827"
}
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866?keepNull=false
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1522673827?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: "1523869122"
location: /_db/_system/_api/document/products/1522492866
etag: "1524050083"
location: /_db/_system/_api/document/products/1522673827
{
"error" : false,
"_id" : "products/1522492866",
"_rev" : "1523869122",
"_key" : "1522492866"
"_id" : "products/1522673827",
"_rev" : "1524050083",
"_key" : "1522673827"
}
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1522492866
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1522673827
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1523869122"
etag: "1524050083"
{
"one" : "world",
@ -88,7 +88,7 @@ etag: "1523869122"
"three" : 3,
"four" : 4
},
"_id" : "products/1522492866",
"_rev" : "1523869122",
"_key" : "1522492866"
"_id" : "products/1522673827",
"_rev" : "1524050083",
"_key" : "1522673827"
}

View File

@ -1,8 +1,8 @@
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524902051
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1524721090"
etag: "1524902051"
{
"inhabitants" : {
@ -10,11 +10,11 @@ etag: "1524721090"
"india" : 1263590000,
"usa" : 319220000
},
"_id" : "products/1524721090",
"_rev" : "1524721090",
"_key" : "1524721090"
"_id" : "products/1524902051",
"_rev" : "1524902051",
"_key" : "1524902051"
}
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090?mergeObjects=true
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524902051?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/1524721090
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524902051
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1525245378"
etag: "1525426339"
{
"inhabitants" : {
@ -36,11 +36,11 @@ etag: "1525245378"
"indonesia" : 252164800,
"brazil" : 203553000
},
"_id" : "products/1524721090",
"_rev" : "1525245378",
"_key" : "1524721090"
"_id" : "products/1524902051",
"_rev" : "1525426339",
"_key" : "1524902051"
}
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090?mergeObjects=false
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/1524902051?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: "1525704130"
location: /_db/_system/_api/document/products/1524721090
etag: "1525885091"
location: /_db/_system/_api/document/products/1524902051
{
"error" : false,
"_id" : "products/1524721090",
"_rev" : "1525704130",
"_key" : "1524721090"
"_id" : "products/1524902051",
"_rev" : "1525885091",
"_key" : "1524902051"
}
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524721090
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1524902051
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1525704130"
etag: "1525885091"
{
"inhabitants" : {
"pakistan" : 188346000
},
"_id" : "products/1524721090",
"_rev" : "1525704130",
"_key" : "1524721090"
"_id" : "products/1524902051",
"_rev" : "1525885091",
"_key" : "1524902051"
}

View File

@ -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: "1511417282"
location: /_db/_system/_api/document/products/1511417282
etag: "1511598243"
location: /_db/_system/_api/document/products/1511598243
{
"error" : false,
"_id" : "products/1511417282",
"_rev" : "1511417282",
"_key" : "1511417282"
"_id" : "products/1511598243",
"_rev" : "1511598243",
"_key" : "1511598243"
}

View File

@ -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: "1510892994"
location: /_db/_system/_api/document/products/1510892994
etag: "1511073955"
location: /_db/_system/_api/document/products/1511073955
{
"error" : false,
"_id" : "products/1510892994",
"_rev" : "1510892994",
"_key" : "1510892994"
"_id" : "products/1511073955",
"_rev" : "1511073955",
"_key" : "1511073955"
}

View File

@ -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: "1512531394"
location: /_db/_system/_api/document/products/1512531394
etag: "1512646819"
location: /_db/_system/_api/document/products/1512646819
{
"error" : false,
"_id" : "products/1512531394",
"_rev" : "1512531394",
"_key" : "1512531394"
"_id" : "products/1512646819",
"_rev" : "1512646819",
"_key" : "1512646819"
}

View File

@ -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: "1512007106"
location: /_db/_system/_api/document/products/1512007106
etag: "1512122531"
location: /_db/_system/_api/document/products/1512122531
{
"error" : false,
"_id" : "products/1512007106",
"_rev" : "1512007106",
"_key" : "1512007106"
"_id" : "products/1512122531",
"_rev" : "1512122531",
"_key" : "1512122531"
}

View File

@ -1,12 +1,12 @@
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1513055682
shell> curl --data-binary @- --dump - http://localhost:8529/_api/document/products/1513171107
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1513055682"
etag: "1513171107"
{
"hello" : "world",
"_id" : "products/1513055682",
"_rev" : "1513055682",
"_key" : "1513055682"
"_id" : "products/1513171107",
"_rev" : "1513171107",
"_key" : "1513171107"
}

View File

@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
{
"documents" : [
"1515873730",
"1516201410",
"1515546050"
"1516316835",
"1515661475",
"1515989155"
]
}

View File

@ -5,8 +5,8 @@ content-type: application/json; charset=utf-8
{
"documents" : [
"/_api/document/products/1514300866",
"/_api/document/products/1514628546",
"/_api/document/products/1514956226"
"/_api/document/products/1515071651",
"/_api/document/products/1514416291",
"/_api/document/products/1514743971"
]
}

View File

@ -1,2 +1,2 @@
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1516791234
shell> curl -X HEAD --data-binary @- --dump - http://localhost:8529/_api/document/products/1516906659

View File

@ -1,2 +1,2 @@
shell> curl --header 'If-None-Match: "1513645506"' --dump - http://localhost:8529/_api/document/products/1513645506
shell> curl --header 'If-None-Match: "1513760931"' --dump - http://localhost:8529/_api/document/products/1513760931

View File

@ -1,14 +1,14 @@
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1517381058
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1517496483
{"Hello": "you"}
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: "1517708738"
location: /_db/_system/_api/document/products/1517381058
etag: "1517824163"
location: /_db/_system/_api/document/products/1517496483
{
"error" : false,
"_id" : "products/1517381058",
"_rev" : "1517708738",
"_key" : "1517381058"
"_id" : "products/1517496483",
"_rev" : "1517824163",
"_key" : "1517496483"
}

View File

@ -1,16 +1,16 @@
shell> curl -X PUT --header 'If-Match: "1519478210"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1519150530
shell> curl -X PUT --header 'If-Match: "1519593635"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1519265955
{"other":"content"}
HTTP/1.1 412 Precondition Failed
content-type: application/json; charset=utf-8
etag: "1519150530"
etag: "1519265955"
{
"error" : true,
"code" : 412,
"errorNum" : 1200,
"errorMessage" : "precondition failed",
"_id" : "products/1519150530",
"_rev" : "1519150530",
"_key" : "1519150530"
"_id" : "products/1519265955",
"_rev" : "1519265955",
"_key" : "1519265955"
}

View File

@ -1,14 +1,14 @@
shell> curl -X PUT --header 'If-Match: "1520592322"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1520264642?policy=last
shell> curl -X PUT --header 'If-Match: "1520707747"' --data-binary @- --dump - http://localhost:8529/_api/document/products/1520380067?policy=last
{}
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: "1520854466"
location: /_db/_system/_api/document/products/1520264642
etag: "1520969891"
location: /_db/_system/_api/document/products/1520380067
{
"error" : false,
"_id" : "products/1520264642",
"_rev" : "1520854466",
"_key" : "1520264642"
"_id" : "products/1520380067",
"_rev" : "1520969891",
"_key" : "1520380067"
}

View File

@ -1,16 +1,16 @@
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1521378754?rev=1521706434
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1521494179?rev=1521821859
{"other":"content"}
HTTP/1.1 412 Precondition Failed
content-type: application/json; charset=utf-8
etag: "1521378754"
etag: "1521494179"
{
"error" : true,
"code" : 412,
"errorNum" : 1200,
"errorMessage" : "precondition failed",
"_id" : "products/1521378754",
"_rev" : "1521378754",
"_key" : "1521378754"
"_id" : "products/1521494179",
"_rev" : "1521494179",
"_key" : "1521494179"
}

View File

@ -1,4 +1,4 @@
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1518233026
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/1518348451
{}
HTTP/1.1 404 Not Found
@ -6,7 +6,7 @@ content-type: application/json; charset=utf-8
{
"error" : true,
"errorMessage" : "document /_api/document/products/1518233026 not found",
"errorMessage" : "document /_api/document/products/1518348451 not found",
"code" : 404,
"errorNum" : 1202
}

View File

@ -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: "1530488258"
location: /_db/_system/_api/document/edges/1530488258
etag: "1530669219"
location: /_db/_system/_api/document/edges/1530669219
{
"error" : false,
"_id" : "edges/1530488258",
"_rev" : "1530488258",
"_key" : "1530488258"
"_id" : "edges/1530669219",
"_rev" : "1530669219",
"_key" : "1530669219"
}
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1530488258
shell> curl --data-binary @- --dump - http://localhost:8529/_api/edge/edges/1530669219
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: "1530488258"
etag: "1530669219"
{
"name" : "Emil",
"_id" : "edges/1530488258",
"_rev" : "1530488258",
"_key" : "1530488258",
"_id" : "edges/1530669219",
"_rev" : "1530669219",
"_key" : "1530669219",
"_from" : "vertices/1",
"_to" : "vertices/2"
}

View File

@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "edges/6",
"_key" : "6",
"_rev" : "1157457346",
"_rev" : "1157834915",
"_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" : "1157981634",
"_rev" : "1158359203",
"_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" : "1156933058",
"_rev" : "1157310627",
"_from" : "vertices/1",
"_to" : "vertices/3",
"$label" : "v1 -> v3"

View File

@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "edges/6",
"_key" : "6",
"_rev" : "1162175938",
"_rev" : "1162619043",
"_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" : "1162700226",
"_rev" : "1163143331",
"_from" : "vertices/4",
"_to" : "vertices/1",
"$label" : "v4 -> v1"

View File

@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "edges/5",
"_key" : "5",
"_rev" : "1166370242",
"_rev" : "1166813347",
"_from" : "vertices/1",
"_to" : "vertices/3",
"$label" : "v1 -> v3"

View File

@ -5,7 +5,7 @@ content-type: application/json; charset=utf-8
[
{
"endpoint" : "tcp://127.0.0.1:32209",
"endpoint" : "tcp://127.0.0.1:36910",
"databases" : [ ]
},
{

View File

@ -53,7 +53,7 @@ content-type: application/json; charset=utf-8
],
"index" : {
"type" : "hash",
"id" : "1175807426",
"id" : "1176250531",
"unique" : false,
"sparse" : false,
"selectivityEstimate" : 1,

View File

@ -33,7 +33,7 @@ content-type: application/json; charset=utf-8
],
"index" : {
"type" : "skiplist",
"id" : "1170695618",
"id" : "1171138723",
"unique" : false,
"sparse" : false,
"fields" : [

View File

@ -34,7 +34,7 @@ content-type: application/json; charset=utf-8
],
"index" : {
"type" : "skiplist",
"id" : "1173251522",
"id" : "1173694627",
"unique" : false,
"sparse" : false,
"fields" : [

View File

@ -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: 1223517634
etag: 1223960739
{
"edge" : {
"_id" : "edges/edge1",
"_key" : "edge1",
"_rev" : "1223517634",
"_rev" : "1223960739",
"_from" : "vertices/vert1",
"_to" : "vertices/vert2",
"$label" : null,

View File

@ -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: 1192388034
etag: 1192831139
{
"vertex" : {
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1192388034",
"_rev" : "1192831139",
"optional1" : "val2"
},
"error" : false,

View File

@ -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: 1227056578
etag: 1227499683
{
"edge" : {
"_id" : "edges/edge1",
"_key" : "edge1",
"_rev" : "1227056578",
"_rev" : "1227499683",
"_from" : "vertices/vert1",
"_to" : "vertices/vert2",
"$label" : null,

View File

@ -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: 1194747330
etag: 1195190435
{
"vertex" : {
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1194747330",
"_rev" : "1195190435",
"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: 1195271618
etag: 1195714723
{
"vertex" : {
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1195271618",
"_rev" : "1195714723",
"optional1" : null
},
"error" : false,

View File

@ -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: 1213556162
etag: 1213999267
{
"edge" : {
"_id" : "edges/edge1",
"_key" : "edge1",
"_rev" : "1213556162",
"_rev" : "1213999267",
"_from" : "vertices/vert2",
"_to" : "vertices/vert1",
"$label" : null,

View File

@ -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: 1185768898
etag: 1186212003
{
"vertex" : {
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1185768898",
"_rev" : "1186212003",
"optional1" : "val1"
},
"error" : false,

View File

@ -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: 1216505282
etag: 1216882851
{
"edge" : {
"_id" : "edges/edge1",
"_key" : "edge1",
"_rev" : "1216505282",
"_rev" : "1216882851",
"_from" : "vertices/vert1",
"_to" : "vertices/vert2",
"$label" : null,

View File

@ -11,7 +11,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "edges/edge2",
"_key" : "edge2",
"_rev" : "1231709634",
"_rev" : "1232152739",
"_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" : "1232233922",
"_rev" : "1232677027",
"_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" : "1231185346",
"_rev" : "1231628451",
"_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" : "1232758210",
"_rev" : "1233201315",
"_from" : "vertices/v1",
"_to" : "vertices/v5",
"$label" : null,

View File

@ -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: 1178625474
etag: 1179068579
{
"graph" : {
"_id" : "_graphs/graph",
"_key" : "graph",
"_rev" : "1178625474",
"_rev" : "1179068579",
"edgeDefinitions" : [
{
"collection" : "edges",

View File

@ -8,7 +8,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "_graphs/graph2",
"_key" : "graph2",
"_rev" : "1181377986",
"_rev" : "1181821091",
"edgeDefinitions" : [
{
"collection" : "edges2",
@ -24,7 +24,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "_graphs/graph1",
"_key" : "graph1",
"_rev" : "1180394946",
"_rev" : "1180772515",
"edgeDefinitions" : [
{
"collection" : "edges1",

View File

@ -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: 1187603906
etag: 1188047011
{
"vertex" : {
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1187603906",
"_rev" : "1188047011",
"optional1" : "val1"
},
"error" : false,

View File

@ -9,7 +9,7 @@ content-type: application/json; charset=utf-8
{
"_id" : "edges/edge1",
"_key" : "edge1",
"_rev" : "1237083586",
"_rev" : "1237526691",
"_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" : "1238132162",
"_rev" : "1238575267",
"_from" : "vertices/v2",
"_to" : "vertices/v4",
"$label" : null,

View File

@ -9,13 +9,13 @@ content-type: application/json; charset=utf-8
{
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1200711106",
"_rev" : "1201154211",
"optional1" : "val1"
},
{
"_id" : "vertices/v4",
"_key" : "v4",
"_rev" : "1201890754",
"_rev" : "1202333859",
"optional1" : "val1"
}
],

View File

@ -9,13 +9,13 @@ content-type: application/json; charset=utf-8
{
"_id" : "vertices/v4",
"_key" : "v4",
"_rev" : "1207788994",
"_rev" : "1208232099",
"optional1" : "val2"
},
{
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1206609346",
"_rev" : "1207052451",
"optional1" : "val1"
}
],

View File

@ -11,31 +11,31 @@ content-type: application/json; charset=utf-8
{
"_id" : "vertices/v3",
"_key" : "v3",
"_rev" : "1197893058",
"_rev" : "1198336163",
"optional1" : "val1"
},
{
"_id" : "vertices/v2",
"_key" : "v2",
"_rev" : "1197499842",
"_rev" : "1197942947",
"optional1" : "val1"
},
{
"_id" : "vertices/v5",
"_key" : "v5",
"_rev" : "1198679490",
"_rev" : "1199122595",
"optional1" : "val1"
},
{
"_id" : "vertices/v4",
"_key" : "v4",
"_rev" : "1198286274",
"_rev" : "1198729379",
"optional1" : "val1"
},
{
"_id" : "vertices/v1",
"_key" : "v1",
"_rev" : "1197106626",
"_rev" : "1197549731",
"optional1" : "val1"
}
],

View File

@ -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: 1177314754
etag: 1177757859
{
"graph" : {
"_id" : "_graphs/graph",
"_key" : "graph",
"_rev" : "1177314754",
"_rev" : "1177757859",
"edgeDefinitions" : [
{
"collection" : "edges",

View File

@ -16,7 +16,7 @@ content-type: application/json; charset=utf-8
]
},
{
"id" : "products/1239770562",
"id" : "products/1240213667",
"type" : "hash",
"unique" : false,
"sparse" : false,
@ -26,7 +26,7 @@ content-type: application/json; charset=utf-8
]
},
{
"id" : "products/1240032706",
"id" : "products/1240475811",
"type" : "skiplist",
"unique" : false,
"sparse" : true,
@ -46,8 +46,8 @@ content-type: application/json; charset=utf-8
"_key"
]
},
"products/1239770562" : {
"id" : "products/1239770562",
"products/1240213667" : {
"id" : "products/1240213667",
"type" : "hash",
"unique" : false,
"sparse" : false,
@ -56,8 +56,8 @@ content-type: application/json; charset=utf-8
"name"
]
},
"products/1240032706" : {
"id" : "products/1240032706",
"products/1240475811" : {
"id" : "products/1240475811",
"type" : "skiplist",
"unique" : false,
"sparse" : true,

View File

@ -11,7 +11,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1241802178",
"id" : "products/1242245283",
"type" : "geo2",
"unique" : false,
"sparse" : true,

View File

@ -10,7 +10,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1241277890",
"id" : "products/1241720995",
"type" : "geo1",
"unique" : false,
"sparse" : true,

View File

@ -5,7 +5,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1240753602",
"id" : "products/1241196707",
"type" : "cap",
"unique" : false,
"size" : 10,

View File

@ -10,7 +10,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1244751298",
"id" : "products/1245194403",
"type" : "fulltext",
"unique" : false,
"sparse" : true,

View File

@ -12,7 +12,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1242850754",
"id" : "products/1243293859",
"type" : "hash",
"unique" : false,
"sparse" : false,

View File

@ -12,7 +12,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1243833794",
"id" : "products/1244276899",
"type" : "skiplist",
"unique" : false,
"sparse" : false,

View File

@ -12,7 +12,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1242326466",
"id" : "products/1242769571",
"type" : "hash",
"unique" : true,
"sparse" : false,

View File

@ -12,7 +12,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1243309506",
"id" : "products/1243752611",
"type" : "hash",
"unique" : false,
"sparse" : true,

View File

@ -12,7 +12,7 @@ HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"id" : "products/1244292546",
"id" : "products/1244735651",
"type" : "skiplist",
"unique" : false,
"sparse" : true,

View File

@ -1,10 +1,10 @@
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1245275586
shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/index/products/1245718691
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"id" : "products/1245275586",
"id" : "products/1245718691",
"error" : false,
"code" : 200
}

View File

@ -10,7 +10,7 @@ content-type: application/json; charset=utf-8
"lastProcessedContinuousTick" : null,
"lastAvailableContinuousTick" : null,
"progress" : {
"time" : "2015-02-20T11:58:42Z",
"time" : "2015-02-23T09:46:34Z",
"message" : "applier created",
"failedConnects" : 0
},
@ -21,11 +21,11 @@ content-type: application/json; charset=utf-8
"lastError" : {
"errorNum" : 0
},
"time" : "2015-02-20T11:59:32Z"
"time" : "2015-02-23T09:47:24Z"
},
"server" : {
"version" : "2.5.0-alpha8",
"serverId" : "42066900187190"
"version" : "2.5.0-beta1",
"serverId" : "238013579765399"
},
"endpoint" : "tcp://127.0.0.1:8529",
"database" : "_system"

View File

@ -10,8 +10,8 @@ content-type: application/json; charset=utf-8
"lastProcessedContinuousTick" : null,
"lastAvailableContinuousTick" : null,
"progress" : {
"time" : "2015-02-20T11:59:32Z",
"message" : "applier shut down",
"time" : "2015-02-23T09:47:24Z",
"message" : "fetching master state information",
"failedConnects" : 1
},
"totalRequests" : 2,
@ -19,15 +19,15 @@ content-type: application/json; charset=utf-8
"totalEvents" : 0,
"totalOperationsExcluded" : 0,
"lastError" : {
"time" : "2015-02-20T11:59:32Z",
"time" : "2015-02-23T09:47:24Z",
"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-20T11:59:32Z"
"time" : "2015-02-23T09:47:24Z"
},
"server" : {
"version" : "2.5.0-alpha8",
"serverId" : "42066900187190"
"version" : "2.5.0-beta1",
"serverId" : "238013579765399"
},
"endpoint" : "tcp://127.0.0.1:8529",
"database" : "_system"

View File

@ -10,22 +10,22 @@ content-type: application/json; charset=utf-8
"lastProcessedContinuousTick" : null,
"lastAvailableContinuousTick" : null,
"progress" : {
"time" : "2015-02-20T11:59:32Z",
"time" : "2015-02-23T09:47:24Z",
"message" : "fetching master state information",
"failedConnects" : 0
"failedConnects" : 1
},
"totalRequests" : 2,
"totalFailedConnects" : 2,
"totalRequests" : 3,
"totalFailedConnects" : 3,
"totalEvents" : 0,
"totalOperationsExcluded" : 0,
"lastError" : {
"errorNum" : 0
},
"time" : "2015-02-20T11:59:32Z"
"time" : "2015-02-23T09:47:24Z"
},
"server" : {
"version" : "2.5.0-alpha8",
"serverId" : "42066900187190"
"version" : "2.5.0-beta1",
"serverId" : "238013579765399"
},
"endpoint" : "tcp://127.0.0.1:8529",
"database" : "_system"

View File

@ -10,8 +10,8 @@ content-type: application/json; charset=utf-8
"lastProcessedContinuousTick" : null,
"lastAvailableContinuousTick" : null,
"progress" : {
"time" : "2015-02-20T11:59:32Z",
"message" : "applier shut down",
"time" : "2015-02-23T09:47:24Z",
"message" : "fetching master state information",
"failedConnects" : 1
},
"totalRequests" : 2,
@ -19,15 +19,15 @@ content-type: application/json; charset=utf-8
"totalEvents" : 0,
"totalOperationsExcluded" : 0,
"lastError" : {
"time" : "2015-02-20T11:59:32Z",
"time" : "2015-02-23T09:47:24Z",
"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-20T11:59:32Z"
"time" : "2015-02-23T09:47:24Z"
},
"server" : {
"version" : "2.5.0-alpha8",
"serverId" : "42066900187190"
"version" : "2.5.0-beta1",
"serverId" : "238013579765399"
},
"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