diff --git a/CHANGELOG b/CHANGELOG index 3dd5907aad..cf8bc264e8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +v3.3.rc4 (2017-11-28) +--------------------- + +* minor bug-fixes + + v3.3.rc3 (2017-11-24) --------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index a992f89919..a710949237 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ endif () set(ARANGODB_VERSION_MAJOR "3") set(ARANGODB_VERSION_MINOR "3") -set(ARANGODB_VERSION_REVISION "rc3") +set(ARANGODB_VERSION_REVISION "rc4") set(ARANGODB_PACKAGE_REVISION "1") # version for the windows rc file needs to be numeric: if (ARANGODB_VERSION_REVISION GREATER -1) diff --git a/Documentation/Examples/001_collectionAll.generated b/Documentation/Examples/001_collectionAll.generated index 248701b4af..e2aaa1fba7 100644 --- a/Documentation/Examples/001_collectionAll.generated +++ b/Documentation/Examples/001_collectionAll.generated @@ -2,62 +2,62 @@ arangosh> db.five.save({ name : "_id" : "five/105", "_key" : "105", - "_rev" : "_V82NUAy--_" + "_rev" : "_W-M-A46--_" } arangosh> db.five.save({ name : "two" }); { "_id" : "five/109", "_key" : "109", - "_rev" : "_V82NUA2--_" + "_rev" : "_W-M-A5G--_" } arangosh> db.five.save({ name : "three" }); { "_id" : "five/112", "_key" : "112", - "_rev" : "_V82NUA6--_" + "_rev" : "_W-M-A5G--B" } arangosh> db.five.save({ name : "four" }); { "_id" : "five/115", "_key" : "115", - "_rev" : "_V82NUA6--B" + "_rev" : "_W-M-A5K--_" } arangosh> db.five.save({ name : "five" }); { "_id" : "five/118", "_key" : "118", - "_rev" : "_V82NUA6--D" + "_rev" : "_W-M-A5O--_" } arangosh> db.five.all().toArray(); [ { "_key" : "109", "_id" : "five/109", - "_rev" : "_V82NUA2--_", + "_rev" : "_W-M-A5G--_", "name" : "two" }, { "_key" : "112", "_id" : "five/112", - "_rev" : "_V82NUA6--_", + "_rev" : "_W-M-A5G--B", "name" : "three" }, { "_key" : "105", "_id" : "five/105", - "_rev" : "_V82NUAy--_", + "_rev" : "_W-M-A46--_", "name" : "one" }, { "_key" : "115", "_id" : "five/115", - "_rev" : "_V82NUA6--B", + "_rev" : "_W-M-A5K--_", "name" : "four" }, { "_key" : "118", "_id" : "five/118", - "_rev" : "_V82NUA6--D", + "_rev" : "_W-M-A5O--_", "name" : "five" } ] diff --git a/Documentation/Examples/002_collectionAllNext.generated b/Documentation/Examples/002_collectionAllNext.generated index 8e10480d7a..6995607f99 100644 --- a/Documentation/Examples/002_collectionAllNext.generated +++ b/Documentation/Examples/002_collectionAllNext.generated @@ -2,44 +2,44 @@ arangosh> db.five.save({ name : "_id" : "five/130", "_key" : "130", - "_rev" : "_V82NUDS--_" + "_rev" : "_W-M-A72--_" } arangosh> db.five.save({ name : "two" }); { "_id" : "five/134", "_key" : "134", - "_rev" : "_V82NUDS--B" + "_rev" : "_W-M-A72--B" } arangosh> db.five.save({ name : "three" }); { "_id" : "five/137", "_key" : "137", - "_rev" : "_V82NUDS--D" + "_rev" : "_W-M-A72--D" } arangosh> db.five.save({ name : "four" }); { "_id" : "five/140", "_key" : "140", - "_rev" : "_V82NUDS--F" + "_rev" : "_W-M-A76--_" } arangosh> db.five.save({ name : "five" }); { "_id" : "five/143", "_key" : "143", - "_rev" : "_V82NUDW--_" + "_rev" : "_W-M-A76--B" } arangosh> db.five.all().limit(2).toArray(); [ { "_key" : "134", "_id" : "five/134", - "_rev" : "_V82NUDS--B", + "_rev" : "_W-M-A72--B", "name" : "two" }, { "_key" : "143", "_id" : "five/143", - "_rev" : "_V82NUDW--_", + "_rev" : "_W-M-A76--B", "name" : "five" } ] diff --git a/Documentation/Examples/003_collectionByExample.generated b/Documentation/Examples/003_collectionByExample.generated index 617091cfc2..8e23388f3b 100644 --- a/Documentation/Examples/003_collectionByExample.generated +++ b/Documentation/Examples/003_collectionByExample.generated @@ -2,38 +2,38 @@ arangosh> db.users.save({ name: "_id" : "users/154", "_key" : "154", - "_rev" : "_V82NUF---_" + "_rev" : "_W-M-A9i--_" } arangosh> db.users.save({ name: "Helmut" }); { "_id" : "users/158", "_key" : "158", - "_rev" : "_V82NUF---B" + "_rev" : "_W-M-A9i--B" } arangosh> db.users.save({ name: "Angela" }); { "_id" : "users/161", "_key" : "161", - "_rev" : "_V82NUF---D" + "_rev" : "_W-M-A9i--D" } arangosh> db.users.all().toArray(); [ { "_key" : "158", "_id" : "users/158", - "_rev" : "_V82NUF---B", + "_rev" : "_W-M-A9i--B", "name" : "Helmut" }, { "_key" : "161", "_id" : "users/161", - "_rev" : "_V82NUF---D", + "_rev" : "_W-M-A9i--D", "name" : "Angela" }, { "_key" : "154", "_id" : "users/154", - "_rev" : "_V82NUF---_", + "_rev" : "_W-M-A9i--_", "name" : "Gerhard" } ] @@ -44,7 +44,7 @@ arangosh> db.users.byExample({ "name" : "_key" : "154", "_id" : "users/154", - "_rev" : "_V82NUF---_", + "_rev" : "_W-M-A9i--_", "name" : "Gerhard" } ] diff --git a/Documentation/Examples/004_collectionByExampleNext.generated b/Documentation/Examples/004_collectionByExampleNext.generated index 07461bca17..7a588c2dd4 100644 --- a/Documentation/Examples/004_collectionByExampleNext.generated +++ b/Documentation/Examples/004_collectionByExampleNext.generated @@ -2,25 +2,25 @@ arangosh> db.users.save({ name: "_id" : "users/178", "_key" : "178", - "_rev" : "_V82NUG6--_" + "_rev" : "_W-M-B_m--_" } arangosh> db.users.save({ name: "Helmut" }); { "_id" : "users/182", "_key" : "182", - "_rev" : "_V82NUG6--B" + "_rev" : "_W-M-B_m--B" } arangosh> db.users.save({ name: "Angela" }); { "_id" : "users/185", "_key" : "185", - "_rev" : "_V82NUG6--D" + "_rev" : "_W-M-B_m--D" } arangosh> var a = db.users.byExample( {"name" : "Angela" } ); arangosh> while (a.hasNext()) print(a.next()); { "_key" : "185", "_id" : "users/185", - "_rev" : "_V82NUG6--D", + "_rev" : "_W-M-B_m--D", "name" : "Angela" } diff --git a/Documentation/Examples/005_collectionRange.generated b/Documentation/Examples/005_collectionRange.generated index cf404d9e50..c84057bc62 100644 --- a/Documentation/Examples/005_collectionRange.generated +++ b/Documentation/Examples/005_collectionRange.generated @@ -15,32 +15,32 @@ arangosh> db.old.save({ age: "_id" : "old/200", "_key" : "200", - "_rev" : "_V82NUKO--_" + "_rev" : "_W-M-BDm--_" } arangosh> db.old.save({ age: 25 }); { "_id" : "old/204", "_key" : "204", - "_rev" : "_V82NUKO--B" + "_rev" : "_W-M-BDq--_" } arangosh> db.old.save({ age: 30 }); { "_id" : "old/207", "_key" : "207", - "_rev" : "_V82NUKS--_" + "_rev" : "_W-M-BDq--B" } arangosh> db.old.range("age", 10, 30).toArray(); [ { "_key" : "200", "_id" : "old/200", - "_rev" : "_V82NUKO--_", + "_rev" : "_W-M-BDm--_", "age" : 15 }, { "_key" : "204", "_id" : "old/204", - "_rev" : "_V82NUKO--B", + "_rev" : "_W-M-BDq--_", "age" : 25 } ] diff --git a/Documentation/Examples/006_collectionClosedRange.generated b/Documentation/Examples/006_collectionClosedRange.generated index d59f53898a..62350688e5 100644 --- a/Documentation/Examples/006_collectionClosedRange.generated +++ b/Documentation/Examples/006_collectionClosedRange.generated @@ -15,38 +15,38 @@ arangosh> db.old.save({ age: "_id" : "old/222", "_key" : "222", - "_rev" : "_V82NUOK--_" + "_rev" : "_W-M-BGu--_" } arangosh> db.old.save({ age: 25 }); { "_id" : "old/226", "_key" : "226", - "_rev" : "_V82NUOK--B" + "_rev" : "_W-M-BGu--B" } arangosh> db.old.save({ age: 30 }); { "_id" : "old/229", "_key" : "229", - "_rev" : "_V82NUOO--_" + "_rev" : "_W-M-BGu--D" } arangosh> db.old.closedRange("age", 10, 30).toArray(); [ { "_key" : "222", "_id" : "old/222", - "_rev" : "_V82NUOK--_", + "_rev" : "_W-M-BGu--_", "age" : 15 }, { "_key" : "226", "_id" : "old/226", - "_rev" : "_V82NUOK--B", + "_rev" : "_W-M-BGu--B", "age" : 25 }, { "_key" : "229", "_id" : "old/229", - "_rev" : "_V82NUOO--_", + "_rev" : "_W-M-BGu--D", "age" : 30 } ] diff --git a/Documentation/Examples/007_collectionNear.generated b/Documentation/Examples/007_collectionNear.generated index a6bf517c8c..593635a497 100644 --- a/Documentation/Examples/007_collectionNear.generated +++ b/Documentation/Examples/007_collectionNear.generated @@ -24,7 +24,7 @@ arangosh> db.geo.near(0, "_key" : "1298", "_id" : "geo/1298", - "_rev" : "_V82NUUm--J", + "_rev" : "_W-M-BO6--H", "name" : "Name/0/0", "loc" : [ 0, @@ -34,7 +34,7 @@ arangosh> db.geo.near(0, "_key" : "1187", "_id" : "geo/1187", - "_rev" : "_V82NUUS--L", + "_rev" : "_W-M-BOm--N", "name" : "Name/-10/0", "loc" : [ -10, diff --git a/Documentation/Examples/008_collectionNearDistance.generated b/Documentation/Examples/008_collectionNearDistance.generated index 711d902c82..fb5877819f 100644 --- a/Documentation/Examples/008_collectionNearDistance.generated +++ b/Documentation/Examples/008_collectionNearDistance.generated @@ -25,7 +25,7 @@ arangosh> db.geo.near(0, "distance" : 0, "_id" : "geo/3422", "_key" : "3422", - "_rev" : "_V82NUfu--D", + "_rev" : "_W-M-BbS--B", "loc" : [ 0, 0 @@ -36,7 +36,7 @@ arangosh> db.geo.near(0, "distance" : 1111949.2664455874, "_id" : "geo/3311", "_key" : "3311", - "_rev" : "_V82NUfS--F", + "_rev" : "_W-M-Ba6--H", "loc" : [ -10, 0 diff --git a/Documentation/Examples/009_collectionWithin.generated b/Documentation/Examples/009_collectionWithin.generated index 26ce84e87d..2cb28502c6 100644 --- a/Documentation/Examples/009_collectionWithin.generated +++ b/Documentation/Examples/009_collectionWithin.generated @@ -7,7 +7,7 @@ arangosh> db.geo.within(0, "distance" : 0, "_id" : "geo/5546", "_key" : "5546", - "_rev" : "_V82NUrS--F", + "_rev" : "_W-M-BnG--F", "loc" : [ 0, 0 @@ -18,7 +18,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5543", "_key" : "5543", - "_rev" : "_V82NUrS--D", + "_rev" : "_W-M-BnG--D", "loc" : [ 0, -10 @@ -29,7 +29,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5435", "_key" : "5435", - "_rev" : "_V82NUq6--G", + "_rev" : "_W-M-Bmu--F", "loc" : [ -10, 0 @@ -40,7 +40,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5549", "_key" : "5549", - "_rev" : "_V82NUrW--_", + "_rev" : "_W-M-BnG--H", "loc" : [ 0, 10 @@ -51,7 +51,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5657", "_key" : "5657", - "_rev" : "_V82NUru--D", + "_rev" : "_W-M-Bne--B", "loc" : [ 10, 0 @@ -62,7 +62,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.5567985761, "_id" : "geo/5660", "_key" : "5660", - "_rev" : "_V82NUru--F", + "_rev" : "_W-M-Bne--D", "loc" : [ 10, 10 @@ -73,7 +73,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.5567985761, "_id" : "geo/5432", "_key" : "5432", - "_rev" : "_V82NUq6--E", + "_rev" : "_W-M-Bmu--D", "loc" : [ -10, -10 @@ -84,7 +84,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.5567985761, "_id" : "geo/5438", "_key" : "5438", - "_rev" : "_V82NUq6--I", + "_rev" : "_W-M-Bmu--H", "loc" : [ -10, 10 @@ -95,7 +95,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.5567985761, "_id" : "geo/5654", "_key" : "5654", - "_rev" : "_V82NUru--B", + "_rev" : "_W-M-Bne--_", "loc" : [ 10, -10 diff --git a/Documentation/Examples/011_documentsCollectionReplaceByExample.generated b/Documentation/Examples/011_documentsCollectionReplaceByExample.generated index 5c35a207f1..f33cbce044 100644 --- a/Documentation/Examples/011_documentsCollectionReplaceByExample.generated +++ b/Documentation/Examples/011_documentsCollectionReplaceByExample.generated @@ -2,7 +2,7 @@ arangosh> db.example.save({ Hello : "_id" : "example/6629", "_key" : "6629", - "_rev" : "_V82NUya--_" + "_rev" : "_W-M-BuG--_" } arangosh> db.example.replaceByExample({ Hello: "world" }, {Hello: "mars"}, false, 5); 1 diff --git a/Documentation/Examples/012_documentsCollectionUpdateByExample.generated b/Documentation/Examples/012_documentsCollectionUpdateByExample.generated index 93762afb08..c226c9c781 100644 --- a/Documentation/Examples/012_documentsCollectionUpdateByExample.generated +++ b/Documentation/Examples/012_documentsCollectionUpdateByExample.generated @@ -2,7 +2,7 @@ arangosh> db.example.save({ Hello : "_id" : "example/6645", "_key" : "6645", - "_rev" : "_V82NU0C--_" + "_rev" : "_W-M-Bv6--_" } arangosh> db.example.updateByExample({ Hello: "world" }, { Hello: "foo", World: "bar" }, false); 1 @@ -11,7 +11,7 @@ arangosh> db.example.byExample({ Hello: "_key" : "6645", "_id" : "example/6645", - "_rev" : "_V82NU0K--_", + "_rev" : "_W-M-Bw---_", "Hello" : "foo", "foo" : "bar", "World" : "bar" diff --git a/Documentation/Examples/01_workWithAQL_all.generated b/Documentation/Examples/01_workWithAQL_all.generated index 9dae75fa8c..d5279233ab 100644 --- a/Documentation/Examples/01_workWithAQL_all.generated +++ b/Documentation/Examples/01_workWithAQL_all.generated @@ -4,7 +4,7 @@ arangosh> db.mycollection.save({ _key: "_id" : "mycollection/testKey", "_key" : "testKey", - "_rev" : "_V82NU2i--_" + "_rev" : "_W-M-Bxi--_" } arangosh> db._query('FOR my IN mycollection RETURN my._key').toArray() [ diff --git a/Documentation/Examples/02_workWithAQL_aqlCollectionQuery.generated b/Documentation/Examples/02_workWithAQL_aqlCollectionQuery.generated index d690c76803..4a971011bf 100644 --- a/Documentation/Examples/02_workWithAQL_aqlCollectionQuery.generated +++ b/Documentation/Examples/02_workWithAQL_aqlCollectionQuery.generated @@ -5,7 +5,7 @@ arangosh> db._query(aql`FOR doc IN "_key" : "testKey", "_id" : "mycollection/testKey", - "_rev" : "_V82NU2i--_", + "_rev" : "_W-M-Bxi--_", "Hello" : "World" } ] diff --git a/Documentation/Examples/03_workWithAQL_getExtra.generated b/Documentation/Examples/03_workWithAQL_getExtra.generated index 2d21b7eaaf..5463e088c1 100644 --- a/Documentation/Examples/03_workWithAQL_getExtra.generated +++ b/Documentation/Examples/03_workWithAQL_getExtra.generated @@ -10,7 +10,7 @@ arangosh> db._query(`FOR i IN 1..100 "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0007739067077636719 + "executionTime" : 0.00047588348388671875 }, "warnings" : [ ] } diff --git a/Documentation/Examples/06_workWithAQL_statements12.generated b/Documentation/Examples/06_workWithAQL_statements12.generated index dd9008e248..bbf6b9e419 100644 --- a/Documentation/Examples/06_workWithAQL_statements12.generated +++ b/Documentation/Examples/06_workWithAQL_statements12.generated @@ -8,17 +8,17 @@ arangosh> c.getExtra(); "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00013208389282226562 + "executionTime" : 0.0001590251922607422 }, "profile" : { "initializing" : 0.0000019073486328125, - "parsing" : 0.000024080276489257812, - "optimizing ast" : 0.00000286102294921875, - "loading collections" : 0.0000021457672119140625, - "instantiating plan" : 0.000014066696166992188, - "optimizing plan" : 0.000034809112548828125, - "executing" : 0.000028133392333984375, - "finalizing" : 0.000016927719116210938 + "parsing" : 0.000030040740966796875, + "optimizing ast" : 0.0000030994415283203125, + "loading collections" : 0.0000050067901611328125, + "instantiating plan" : 0.000015974044799804688, + "optimizing plan" : 0.00004100799560546875, + "executing" : 0.000032901763916015625, + "finalizing" : 0.000019073486328125 }, "warnings" : [ ] } diff --git a/Documentation/Examples/06_workWithAQL_statementsExtra.generated b/Documentation/Examples/06_workWithAQL_statementsExtra.generated index ead2f2b68a..32a55e8aef 100644 --- a/Documentation/Examples/06_workWithAQL_statementsExtra.generated +++ b/Documentation/Examples/06_workWithAQL_statementsExtra.generated @@ -14,7 +14,7 @@ arangosh> db._query(` "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0007929801940917969 + "executionTime" : 0.0005359649658203125 }, "warnings" : [ ] } @@ -33,7 +33,7 @@ arangosh> db._query({ "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0008089542388916016 + "executionTime" : 0.0004699230194091797 }, "warnings" : [ ] } diff --git a/Documentation/Examples/COMBINING_GRAPH_01_create_graph.generated b/Documentation/Examples/COMBINING_GRAPH_01_create_graph.generated index 135ab9a42a..da8a5a45cc 100644 --- a/Documentation/Examples/COMBINING_GRAPH_01_create_graph.generated +++ b/Documentation/Examples/COMBINING_GRAPH_01_create_graph.generated @@ -10,7 +10,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_V82NVOC--B", + "_rev" : "_W-M-CIW--B", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -21,7 +21,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Hamburg", "_id" : "germanCity/Hamburg", - "_rev" : "_V82NVOG--_", + "_rev" : "_W-M-CIW--D", "population" : 1000000, "isCapital" : false, "loc" : [ diff --git a/Documentation/Examples/COMBINING_GRAPH_02_combine.generated b/Documentation/Examples/COMBINING_GRAPH_02_combine.generated index 88b50c69ca..8cc5162d4f 100644 --- a/Documentation/Examples/COMBINING_GRAPH_02_combine.generated +++ b/Documentation/Examples/COMBINING_GRAPH_02_combine.generated @@ -14,7 +14,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_V82NVOG--B", + "_rev" : "_W-M-CIa--_", "population" : 80000, "isCapital" : false, "loc" : [ @@ -28,7 +28,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_V82NVOK--_", + "_rev" : "_W-M-CIa--B", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -42,7 +42,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_V82NVOC--B", + "_rev" : "_W-M-CIW--B", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -56,7 +56,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_V82NVOK--_", + "_rev" : "_W-M-CIa--B", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -70,7 +70,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_V82NVOG--B", + "_rev" : "_W-M-CIa--_", "population" : 80000, "isCapital" : false, "loc" : [ diff --git a/Documentation/Examples/COMBINING_GRAPH_03_combine_let.generated b/Documentation/Examples/COMBINING_GRAPH_03_combine_let.generated index 38982d9d83..bbf684c1f3 100644 --- a/Documentation/Examples/COMBINING_GRAPH_03_combine_let.generated +++ b/Documentation/Examples/COMBINING_GRAPH_03_combine_let.generated @@ -15,7 +15,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_V82NVOG--B", + "_rev" : "_W-M-CIa--_", "population" : 80000, "isCapital" : false, "loc" : [ @@ -26,7 +26,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_V82NVOK--_", + "_rev" : "_W-M-CIa--B", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -42,7 +42,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_V82NVOC--B", + "_rev" : "_W-M-CIW--B", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -53,7 +53,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_V82NVOK--_", + "_rev" : "_W-M-CIa--B", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -64,7 +64,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_V82NVOG--B", + "_rev" : "_W-M-CIa--_", "population" : 80000, "isCapital" : false, "loc" : [ diff --git a/Documentation/Examples/EDGCOL_01_SaveEdgeCol.generated b/Documentation/Examples/EDGCOL_01_SaveEdgeCol.generated index 46ea403e0b..e94cac5de5 100644 --- a/Documentation/Examples/EDGCOL_01_SaveEdgeCol.generated +++ b/Documentation/Examples/EDGCOL_01_SaveEdgeCol.generated @@ -6,19 +6,19 @@ arangosh> v1 = db.vertex.insert({ name : "_id" : "vertex/7478", "_key" : "7478", - "_rev" : "_V82NVY2--_" + "_rev" : "_W-M-CVC--_" } arangosh> v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7482", "_key" : "7482", - "_rev" : "_V82NVY2--B" + "_rev" : "_W-M-CVG--_" } arangosh> e1 = db.relation.insert(v1, v2, { label : "knows" }); { "_id" : "relation/7485", "_key" : "7485", - "_rev" : "_V82NVY6--_" + "_rev" : "_W-M-CVG--B" } arangosh> db._document(e1); { @@ -26,6 +26,6 @@ arangosh> db._document(e1); "_id" : "relation/7485", "_from" : "vertex/7478", "_to" : "vertex/7482", - "_rev" : "_V82NVY6--_", + "_rev" : "_W-M-CVG--B", "label" : "knows" } diff --git a/Documentation/Examples/EDGCOL_02_Relation.generated b/Documentation/Examples/EDGCOL_02_Relation.generated index d460cfa1d2..14e9fc2ac0 100644 --- a/Documentation/Examples/EDGCOL_02_Relation.generated +++ b/Documentation/Examples/EDGCOL_02_Relation.generated @@ -7,20 +7,20 @@ arangosh> myGraph.v1 = db.vertex.insert({ name { "_id" : "vertex/7504", "_key" : "7504", - "_rev" : "_V82NVcW--_" + "_rev" : "_W-M-CZK--_" } arangosh> myGraph.v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7508", "_key" : "7508", - "_rev" : "_V82NVca--_" + "_rev" : "_W-M-CZO--_" } arangosh> myGraph.e1 = db.relation.insert(myGraph.v1, myGraph.v2, ........> { label : "knows"}); { "_id" : "relation/7511", "_key" : "7511", - "_rev" : "_V82NVca--B" + "_rev" : "_W-M-CZS--_" } arangosh> db._document(myGraph.e1); { @@ -28,7 +28,7 @@ arangosh> db._document(myGraph.e1); "_id" : "relation/7511", "_from" : "vertex/7504", "_to" : "vertex/7508", - "_rev" : "_V82NVca--B", + "_rev" : "_W-M-CZS--_", "label" : "knows" } arangosh> db.relation.edges(myGraph.e1._id); diff --git a/Documentation/Examples/EDGCOL_02_inEdges.generated b/Documentation/Examples/EDGCOL_02_inEdges.generated index eef447afab..f0549a5668 100644 --- a/Documentation/Examples/EDGCOL_02_inEdges.generated +++ b/Documentation/Examples/EDGCOL_02_inEdges.generated @@ -6,20 +6,20 @@ arangosh> myGraph.v1 = db.vertex.insert({ name { "_id" : "vertex/7531", "_key" : "7531", - "_rev" : "_V82NVfi--_" + "_rev" : "_W-M-Cci--_" } arangosh> myGraph.v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7535", "_key" : "7535", - "_rev" : "_V82NVfm--_" + "_rev" : "_W-M-Ccq--_" } arangosh> myGraph.e1 = db.relation.insert(myGraph.v1, myGraph.v2, ........> { label : "knows"}); { "_id" : "relation/7538", "_key" : "7538", - "_rev" : "_V82NVfm--B" + "_rev" : "_W-M-Ccq--B" } arangosh> db._document(myGraph.e1); { @@ -27,7 +27,7 @@ arangosh> db._document(myGraph.e1); "_id" : "relation/7538", "_from" : "vertex/7531", "_to" : "vertex/7535", - "_rev" : "_V82NVfm--B", + "_rev" : "_W-M-Ccq--B", "label" : "knows" } arangosh> db.relation.inEdges(myGraph.v1._id); @@ -39,7 +39,7 @@ arangosh> db.relation.inEdges(myGraph.v2._id); "_id" : "relation/7538", "_from" : "vertex/7531", "_to" : "vertex/7535", - "_rev" : "_V82NVfm--B", + "_rev" : "_W-M-Ccq--B", "label" : "knows" } ] diff --git a/Documentation/Examples/EDGCOL_02_outEdges.generated b/Documentation/Examples/EDGCOL_02_outEdges.generated index 9dd8b2ec3f..bbccdf01a4 100644 --- a/Documentation/Examples/EDGCOL_02_outEdges.generated +++ b/Documentation/Examples/EDGCOL_02_outEdges.generated @@ -6,20 +6,20 @@ arangosh> myGraph.v1 = db.vertex.insert({ name { "_id" : "vertex/7559", "_key" : "7559", - "_rev" : "_V82NVjW--_" + "_rev" : "_W-M-Cge--_" } arangosh> myGraph.v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7563", "_key" : "7563", - "_rev" : "_V82NVjW--B" + "_rev" : "_W-M-Cge--B" } arangosh> myGraph.e1 = db.relation.insert(myGraph.v1, myGraph.v2, ........> { label : "knows"}); { "_id" : "relation/7566", "_key" : "7566", - "_rev" : "_V82NVjW--D" + "_rev" : "_W-M-Cgi--_" } arangosh> db._document(myGraph.e1); { @@ -27,7 +27,7 @@ arangosh> db._document(myGraph.e1); "_id" : "relation/7566", "_from" : "vertex/7559", "_to" : "vertex/7563", - "_rev" : "_V82NVjW--D", + "_rev" : "_W-M-Cgi--_", "label" : "knows" } arangosh> db.relation.outEdges(myGraph.v1._id); @@ -37,7 +37,7 @@ arangosh> db.relation.outEdges(myGraph.v1._id); "_id" : "relation/7566", "_from" : "vertex/7559", "_to" : "vertex/7563", - "_rev" : "_V82NVjW--D", + "_rev" : "_W-M-Cgi--_", "label" : "knows" } ] diff --git a/Documentation/Examples/GRAPHSP_01_create_graph.generated b/Documentation/Examples/GRAPHSP_01_create_graph.generated index 7c3749930d..0fd2fc7e63 100644 --- a/Documentation/Examples/GRAPHSP_01_create_graph.generated +++ b/Documentation/Examples/GRAPHSP_01_create_graph.generated @@ -5,67 +5,67 @@ arangosh> db.circles.toArray(); { "_key" : "I", "_id" : "circles/I", - "_rev" : "_V82NVm2--H", + "_rev" : "_W-M-CkG--D", "label" : "9" }, { "_key" : "G", "_id" : "circles/G", - "_rev" : "_V82NVm2--D", + "_rev" : "_W-M-CkG--_", "label" : "7" }, { "_key" : "F", "_id" : "circles/F", - "_rev" : "_V82NVm2--B", + "_rev" : "_W-M-CkC--F", "label" : "6" }, { "_key" : "A", "_id" : "circles/A", - "_rev" : "_V82NVmu--_", + "_rev" : "_W-M-Ck---_", "label" : "1" }, { "_key" : "E", "_id" : "circles/E", - "_rev" : "_V82NVm2--_", + "_rev" : "_W-M-CkC--D", "label" : "5" }, { "_key" : "C", "_id" : "circles/C", - "_rev" : "_V82NVmy--B", + "_rev" : "_W-M-CkC--_", "label" : "3" }, { "_key" : "D", "_id" : "circles/D", - "_rev" : "_V82NVmy--D", + "_rev" : "_W-M-CkC--B", "label" : "4" }, { "_key" : "J", "_id" : "circles/J", - "_rev" : "_V82NVm6--_", + "_rev" : "_W-M-CkG--F", "label" : "10" }, { "_key" : "B", "_id" : "circles/B", - "_rev" : "_V82NVmy--_", + "_rev" : "_W-M-Ck---B", "label" : "2" }, { "_key" : "H", "_id" : "circles/H", - "_rev" : "_V82NVm2--F", + "_rev" : "_W-M-CkG--B", "label" : "8" }, { "_key" : "K", "_id" : "circles/K", - "_rev" : "_V82NVm6--B", + "_rev" : "_W-M-CkG--H", "label" : "11" } ] @@ -76,7 +76,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7623", "_from" : "circles/B", "_to" : "circles/C", - "_rev" : "_V82NVm6--F", + "_rev" : "_W-M-CkK--B", "theFalse" : false, "theTruth" : true, "label" : "left_blarg" @@ -86,7 +86,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7626", "_from" : "circles/C", "_to" : "circles/D", - "_rev" : "_V82NVn---_", + "_rev" : "_W-M-CkK--D", "theFalse" : false, "theTruth" : true, "label" : "left_blorg" @@ -96,7 +96,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7647", "_from" : "circles/J", "_to" : "circles/K", - "_rev" : "_V82NVnC--B", + "_rev" : "_W-M-CkW--A", "theFalse" : false, "theTruth" : true, "label" : "right_zup" @@ -106,7 +106,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7641", "_from" : "circles/H", "_to" : "circles/I", - "_rev" : "_V82NVn---J", + "_rev" : "_W-M-CkS--B", "theFalse" : false, "theTruth" : true, "label" : "right_blub" @@ -116,7 +116,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7644", "_from" : "circles/G", "_to" : "circles/J", - "_rev" : "_V82NVnC--_", + "_rev" : "_W-M-CkW---", "theFalse" : false, "theTruth" : true, "label" : "right_zip" @@ -126,7 +126,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7629", "_from" : "circles/B", "_to" : "circles/E", - "_rev" : "_V82NVn---B", + "_rev" : "_W-M-CkO--_", "theFalse" : false, "theTruth" : true, "label" : "left_blub" @@ -136,7 +136,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7632", "_from" : "circles/E", "_to" : "circles/F", - "_rev" : "_V82NVn---D", + "_rev" : "_W-M-CkO--B", "theFalse" : false, "theTruth" : true, "label" : "left_schubi" @@ -146,7 +146,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7619", "_from" : "circles/A", "_to" : "circles/B", - "_rev" : "_V82NVm6--D", + "_rev" : "_W-M-CkK--_", "theFalse" : false, "theTruth" : true, "label" : "left_bar" @@ -156,7 +156,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7635", "_from" : "circles/A", "_to" : "circles/G", - "_rev" : "_V82NVn---F", + "_rev" : "_W-M-CkO--D", "theFalse" : false, "theTruth" : true, "label" : "right_foo" @@ -166,7 +166,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7638", "_from" : "circles/G", "_to" : "circles/H", - "_rev" : "_V82NVn---H", + "_rev" : "_W-M-CkS--_", "theFalse" : false, "theTruth" : true, "label" : "right_blob" diff --git a/Documentation/Examples/GRAPHTRAV_01_create_graph.generated b/Documentation/Examples/GRAPHTRAV_01_create_graph.generated index 5e2ea89fd6..9a590ce879 100644 --- a/Documentation/Examples/GRAPHTRAV_01_create_graph.generated +++ b/Documentation/Examples/GRAPHTRAV_01_create_graph.generated @@ -5,67 +5,67 @@ arangosh> db.circles.toArray(); { "_key" : "I", "_id" : "circles/I", - "_rev" : "_V82NVsW--_", + "_rev" : "_W-M-CqC--H", "label" : "9" }, { "_key" : "G", "_id" : "circles/G", - "_rev" : "_V82NVsS--F", + "_rev" : "_W-M-CqC--D", "label" : "7" }, { "_key" : "F", "_id" : "circles/F", - "_rev" : "_V82NVsS--D", + "_rev" : "_W-M-CqC--B", "label" : "6" }, { "_key" : "A", "_id" : "circles/A", - "_rev" : "_V82NVsO--_", + "_rev" : "_W-M-Cq---_", "label" : "1" }, { "_key" : "E", "_id" : "circles/E", - "_rev" : "_V82NVsS--B", + "_rev" : "_W-M-CqC--_", "label" : "5" }, { "_key" : "C", "_id" : "circles/C", - "_rev" : "_V82NVsO--D", + "_rev" : "_W-M-Cq---D", "label" : "3" }, { "_key" : "D", "_id" : "circles/D", - "_rev" : "_V82NVsS--_", + "_rev" : "_W-M-Cq---F", "label" : "4" }, { "_key" : "J", "_id" : "circles/J", - "_rev" : "_V82NVsW--B", + "_rev" : "_W-M-CqC--J", "label" : "10" }, { "_key" : "B", "_id" : "circles/B", - "_rev" : "_V82NVsO--B", + "_rev" : "_W-M-Cq---B", "label" : "2" }, { "_key" : "H", "_id" : "circles/H", - "_rev" : "_V82NVsS--H", + "_rev" : "_W-M-CqC--F", "label" : "8" }, { "_key" : "K", "_id" : "circles/K", - "_rev" : "_V82NVsW--D", + "_rev" : "_W-M-CqC--L", "label" : "11" } ] @@ -76,7 +76,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7722", "_from" : "circles/B", "_to" : "circles/C", - "_rev" : "_V82NVsW--H", + "_rev" : "_W-M-CqG--_", "theFalse" : false, "theTruth" : true, "label" : "left_blarg" @@ -86,7 +86,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7718", "_from" : "circles/A", "_to" : "circles/B", - "_rev" : "_V82NVsW--F", + "_rev" : "_W-M-CqC--N", "theFalse" : false, "theTruth" : true, "label" : "left_bar" @@ -96,7 +96,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7740", "_from" : "circles/H", "_to" : "circles/I", - "_rev" : "_V82NVse--_", + "_rev" : "_W-M-CqK--_", "theFalse" : false, "theTruth" : true, "label" : "right_blub" @@ -106,7 +106,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7743", "_from" : "circles/G", "_to" : "circles/J", - "_rev" : "_V82NVse--B", + "_rev" : "_W-M-CqK--B", "theFalse" : false, "theTruth" : true, "label" : "right_zip" @@ -116,7 +116,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7737", "_from" : "circles/G", "_to" : "circles/H", - "_rev" : "_V82NVsa--H", + "_rev" : "_W-M-CqG--J", "theFalse" : false, "theTruth" : true, "label" : "right_blob" @@ -126,7 +126,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7731", "_from" : "circles/E", "_to" : "circles/F", - "_rev" : "_V82NVsa--D", + "_rev" : "_W-M-CqG--F", "theFalse" : false, "theTruth" : true, "label" : "left_schubi" @@ -136,7 +136,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7734", "_from" : "circles/A", "_to" : "circles/G", - "_rev" : "_V82NVsa--F", + "_rev" : "_W-M-CqG--H", "theFalse" : false, "theTruth" : true, "label" : "right_foo" @@ -146,7 +146,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7746", "_from" : "circles/J", "_to" : "circles/K", - "_rev" : "_V82NVse--D", + "_rev" : "_W-M-CqK--D", "theFalse" : false, "theTruth" : true, "label" : "right_zup" @@ -156,7 +156,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7728", "_from" : "circles/B", "_to" : "circles/E", - "_rev" : "_V82NVsa--B", + "_rev" : "_W-M-CqG--D", "theFalse" : false, "theTruth" : true, "label" : "left_blub" @@ -166,7 +166,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7725", "_from" : "circles/C", "_to" : "circles/D", - "_rev" : "_V82NVsa--_", + "_rev" : "_W-M-CqG--B", "theFalse" : false, "theTruth" : true, "label" : "left_blorg" diff --git a/Documentation/Examples/HTML_01_routingCreateHtml.generated b/Documentation/Examples/HTML_01_routingCreateHtml.generated index cb28e4d2e2..75c30f3823 100644 --- a/Documentation/Examples/HTML_01_routingCreateHtml.generated +++ b/Documentation/Examples/HTML_01_routingCreateHtml.generated @@ -10,5 +10,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/7798", "_key" : "7798", - "_rev" : "_V82NVyW--_" + "_rev" : "_W-M-CvW--_" } diff --git a/Documentation/Examples/HTML_04_routingCreateMultiPath.generated b/Documentation/Examples/HTML_04_routingCreateMultiPath.generated index b26615d449..8269eb26c8 100644 --- a/Documentation/Examples/HTML_04_routingCreateMultiPath.generated +++ b/Documentation/Examples/HTML_04_routingCreateMultiPath.generated @@ -4,7 +4,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/7812", "_key" : "7812", - "_rev" : "_V82NV1O--_" + "_rev" : "_W-M-CxW--_" } arangosh> db._routing.save({ ........> url: { match: "/hello/:name", constraint: { name: "/[a-z]+/" } }, @@ -12,7 +12,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/7816", "_key" : "7816", - "_rev" : "_V82NV1S--_" + "_rev" : "_W-M-CxW--B" } arangosh> db._routing.save({ ........> url: { match: "/:something/world" }, @@ -20,7 +20,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/7819", "_key" : "7819", - "_rev" : "_V82NV1S--B" + "_rev" : "_W-M-Cxa--_" } arangosh> db._routing.save({ ........> url: { match: "/hi/*" }, @@ -28,6 +28,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/7822", "_key" : "7822", - "_rev" : "_V82NV1W--_" + "_rev" : "_W-M-Cxa--B" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/HttpGharialAddEdge.generated b/Documentation/Examples/HttpGharialAddEdge.generated index 62e773f808..82d6ff29b6 100644 --- a/Documentation/Examples/HttpGharialAddEdge.generated +++ b/Documentation/Examples/HttpGharialAddEdge.generated @@ -8,7 +8,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NWAe--_ +etag: _W-M-C6G--_ x-content-type-options: nosniff { @@ -16,7 +16,7 @@ x-content-type-options: nosniff "edge" : { "_id" : "relation/7889", "_key" : "7889", - "_rev" : "_V82NWAe--_" + "_rev" : "_W-M-C6G--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialAddEdgeCol.generated b/Documentation/Examples/HttpGharialAddEdgeCol.generated index dafb04b729..736ef93f2e 100644 --- a/Documentation/Examples/HttpGharialAddEdgeCol.generated +++ b/Documentation/Examples/HttpGharialAddEdgeCol.generated @@ -13,7 +13,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NWGq--_ +etag: _W-M-D_2--_ x-content-type-options: nosniff { @@ -49,7 +49,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_V82NWGq--_" + "_rev" : "_W-M-D_2--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialAddVertex.generated b/Documentation/Examples/HttpGharialAddVertex.generated index bd1f1eb89c..711ef32be8 100644 --- a/Documentation/Examples/HttpGharialAddVertex.generated +++ b/Documentation/Examples/HttpGharialAddVertex.generated @@ -6,7 +6,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NWQy--_ +etag: _W-M-DIm--_ x-content-type-options: nosniff { @@ -14,7 +14,7 @@ x-content-type-options: nosniff "vertex" : { "_id" : "male/8068", "_key" : "8068", - "_rev" : "_V82NWQy--_" + "_rev" : "_W-M-DIm--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialAddVertexCol.generated b/Documentation/Examples/HttpGharialAddVertexCol.generated index bfc077a629..c17a4fc479 100644 --- a/Documentation/Examples/HttpGharialAddVertexCol.generated +++ b/Documentation/Examples/HttpGharialAddVertexCol.generated @@ -6,7 +6,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NWWa--_ +etag: _W-M-DNi--_ x-content-type-options: nosniff { @@ -34,7 +34,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_V82NWWa--_" + "_rev" : "_W-M-DNi--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialCreate.generated b/Documentation/Examples/HttpGharialCreate.generated index de1327fd67..baa6111880 100644 --- a/Documentation/Examples/HttpGharialCreate.generated +++ b/Documentation/Examples/HttpGharialCreate.generated @@ -17,7 +17,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NWeC--_ +etag: _W-M-DU6--_ x-content-type-options: nosniff { @@ -41,7 +41,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", - "_rev" : "_V82NWeC--_" + "_rev" : "_W-M-DU6--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialCreate2.generated b/Documentation/Examples/HttpGharialCreate2.generated index 1340f168da..a2888cdd2a 100644 --- a/Documentation/Examples/HttpGharialCreate2.generated +++ b/Documentation/Examples/HttpGharialCreate2.generated @@ -22,7 +22,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NWiS--_ +etag: _W-M-DaS--_ x-content-type-options: nosniff { @@ -46,7 +46,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", - "_rev" : "_V82NWiS--_" + "_rev" : "_W-M-DaS--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated b/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated index 1d4da7e22c..ee1aa5adeb 100644 --- a/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated +++ b/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated @@ -2,7 +2,7 @@ shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/re HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NW5y--_ +etag: _W-M-Dym--_ x-content-type-options: nosniff { @@ -19,7 +19,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_V82NW5y--_" + "_rev" : "_W-M-Dym--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialGetEdge.generated b/Documentation/Examples/HttpGharialGetEdge.generated index 984f0fc4b1..60d93c9dc6 100644 --- a/Documentation/Examples/HttpGharialGetEdge.generated +++ b/Documentation/Examples/HttpGharialGetEdge.generated @@ -1,20 +1,20 @@ -shell> curl --dump - http://localhost:8529/_api/gharial/social/edge/relation/8612 +shell> curl --dump - http://localhost:8529/_api/gharial/social/edge/relation/8618 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: _V82NX_m--F +etag: _W-M-D4i--_ x-content-type-options: nosniff { "error" : false, "edge" : { - "_key" : "8612", - "_id" : "relation/8612", - "_from" : "female/alice", - "_to" : "male/charly", - "_rev" : "_V82NX_m--F", + "_key" : "8618", + "_id" : "relation/8618", + "_from" : "male/bob", + "_to" : "female/diana", + "_rev" : "_W-M-D4i--_", "type" : "friend", - "vertex" : "alice" + "vertex" : "bob" }, "code" : 200 } diff --git a/Documentation/Examples/HttpGharialGetGraph.generated b/Documentation/Examples/HttpGharialGetGraph.generated index c3cfce632e..9462eca84e 100644 --- a/Documentation/Examples/HttpGharialGetGraph.generated +++ b/Documentation/Examples/HttpGharialGetGraph.generated @@ -2,7 +2,7 @@ shell> curl --dump - http://localhost:8529/_api/gharial/myGraph HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: _V82NXFC--_ +etag: _W-M-E-W--_ x-content-type-options: nosniff { @@ -26,7 +26,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", - "_rev" : "_V82NXFC--_" + "_rev" : "_W-M-E-W--_" }, "code" : 200 } diff --git a/Documentation/Examples/HttpGharialGetVertex.generated b/Documentation/Examples/HttpGharialGetVertex.generated index 0dbbb60978..1113c8519a 100644 --- a/Documentation/Examples/HttpGharialGetVertex.generated +++ b/Documentation/Examples/HttpGharialGetVertex.generated @@ -2,7 +2,7 @@ shell> curl --dump - http://localhost:8529/_api/gharial/social/vertex/female/ali HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: _V82NXKS--_ +etag: _W-M-EES--_ x-content-type-options: nosniff { @@ -10,7 +10,7 @@ x-content-type-options: nosniff "vertex" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82NXKS--_", + "_rev" : "_W-M-EES--_", "name" : "Alice" }, "code" : 200 diff --git a/Documentation/Examples/HttpGharialList.generated b/Documentation/Examples/HttpGharialList.generated index 1b0c076aae..ae8e23b02e 100644 --- a/Documentation/Examples/HttpGharialList.generated +++ b/Documentation/Examples/HttpGharialList.generated @@ -10,7 +10,7 @@ x-content-type-options: nosniff { "_key" : "routeplanner", "_id" : "_graphs/routeplanner", - "_rev" : "_V82NXU2--_", + "_rev" : "_W-M-EPi--_", "orphanCollections" : [ ], "edgeDefinitions" : [ { @@ -49,7 +49,7 @@ x-content-type-options: nosniff { "_key" : "social", "_id" : "_graphs/social", - "_rev" : "_V82NXQG--_", + "_rev" : "_W-M-EKa--_", "orphanCollections" : [ ], "edgeDefinitions" : [ { diff --git a/Documentation/Examples/HttpGharialModifyVertex.generated b/Documentation/Examples/HttpGharialModifyVertex.generated index 0e09b0c19c..cc59d7e3ed 100644 --- a/Documentation/Examples/HttpGharialModifyVertex.generated +++ b/Documentation/Examples/HttpGharialModifyVertex.generated @@ -6,7 +6,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NXt2--_ +etag: _W-M-ErW--_ x-content-type-options: nosniff { @@ -14,8 +14,8 @@ x-content-type-options: nosniff "vertex" : { "_id" : "female/alice", "_key" : "alice", - "_rev" : "_V82NXt2--_", - "_oldRev" : "_V82NXtm--_" + "_rev" : "_W-M-ErW--_", + "_oldRev" : "_W-M-ErG--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialPatchEdge.generated b/Documentation/Examples/HttpGharialPatchEdge.generated index f3b501d323..187ba73fc0 100644 --- a/Documentation/Examples/HttpGharialPatchEdge.generated +++ b/Documentation/Examples/HttpGharialPatchEdge.generated @@ -1,4 +1,4 @@ -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9252 <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9248 <<EOF { "since" : "01.01.2001" } @@ -6,16 +6,16 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NXzK--_ +etag: _W-M-Exm--_ x-content-type-options: nosniff { "error" : false, "edge" : { - "_id" : "relation/9252", - "_key" : "9252", - "_rev" : "_V82NXzK--_", - "_oldRev" : "_V82NXy2--_" + "_id" : "relation/9248", + "_key" : "9248", + "_rev" : "_W-M-Exm--_", + "_oldRev" : "_W-M-ExS--F" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialPutEdge.generated b/Documentation/Examples/HttpGharialPutEdge.generated index 940290aca4..305de58e32 100644 --- a/Documentation/Examples/HttpGharialPutEdge.generated +++ b/Documentation/Examples/HttpGharialPutEdge.generated @@ -1,4 +1,4 @@ -shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9328 <<EOF +shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9332 <<EOF { "type" : "divorced", "_from" : "female/alice", @@ -8,16 +8,16 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NX6O--_ +etag: _W-M-E32--_ x-content-type-options: nosniff { "error" : false, "edge" : { - "_id" : "relation/9328", - "_key" : "9328", - "_rev" : "_V82NX6O--_", - "_oldRev" : "_V82NX56--_" + "_id" : "relation/9332", + "_key" : "9332", + "_rev" : "_W-M-E32--_", + "_oldRev" : "_W-M-E3m--D" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialRemoveVertexCollection.generated b/Documentation/Examples/HttpGharialRemoveVertexCollection.generated index 0d94686d01..116e78b07b 100644 --- a/Documentation/Examples/HttpGharialRemoveVertexCollection.generated +++ b/Documentation/Examples/HttpGharialRemoveVertexCollection.generated @@ -2,7 +2,7 @@ shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/vertex/ HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NYAW--_ +etag: _W-M-F_6--_ x-content-type-options: nosniff { @@ -28,7 +28,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_V82NYAW--_" + "_rev" : "_W-M-F_6--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialReplaceEdgeCol.generated b/Documentation/Examples/HttpGharialReplaceEdgeCol.generated index 1f6398e3be..08f441d890 100644 --- a/Documentation/Examples/HttpGharialReplaceEdgeCol.generated +++ b/Documentation/Examples/HttpGharialReplaceEdgeCol.generated @@ -16,7 +16,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NYNu--_ +etag: _W-M-FNS--_ x-content-type-options: nosniff { @@ -44,7 +44,7 @@ x-content-type-options: nosniff "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_V82NYNu--_" + "_rev" : "_W-M-FNS--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialReplaceVertex.generated b/Documentation/Examples/HttpGharialReplaceVertex.generated index 17f1695f78..498062e64d 100644 --- a/Documentation/Examples/HttpGharialReplaceVertex.generated +++ b/Documentation/Examples/HttpGharialReplaceVertex.generated @@ -7,7 +7,7 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: _V82NYXe--_ +etag: _W-M-FV6--_ x-content-type-options: nosniff { @@ -15,8 +15,8 @@ x-content-type-options: nosniff "vertex" : { "_id" : "female/alice", "_key" : "alice", - "_rev" : "_V82NYXe--_", - "_oldRev" : "_V82NYW6--B" + "_rev" : "_W-M-FV6--_", + "_oldRev" : "_W-M-FVa--B" }, "code" : 202 } diff --git a/Documentation/Examples/JSF_job_cancel.generated b/Documentation/Examples/JSF_job_cancel.generated index 6c1f151e03..2ec053949c 100644 --- a/Documentation/Examples/JSF_job_cancel.generated +++ b/Documentation/Examples/JSF_job_cancel.generated @@ -6,7 +6,7 @@ EOF HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087039 +x-arango-async-id: 151188720791605 x-content-type-options: nosniff shell> curl --dump - http://localhost:8529/_api/job/pending @@ -16,9 +16,9 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff [ - "151152750087039" + "151188720791605" ] -shell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087039/cancel +shell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791605/cancel HTTP/1.1 200 OK content-type: application/json; charset=utf-8 @@ -34,5 +34,5 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff [ - "151152750087039" + "151188720791605" ] diff --git a/Documentation/Examples/JSF_job_delete_01.generated b/Documentation/Examples/JSF_job_delete_01.generated index aa53cb5351..00a8e0ea34 100644 --- a/Documentation/Examples/JSF_job_delete_01.generated +++ b/Documentation/Examples/JSF_job_delete_01.generated @@ -2,7 +2,7 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087048 +x-arango-async-id: 151188720791614 x-content-type-options: nosniff shell> curl -X DELETE --dump - http://localhost:8529/_api/job/all diff --git a/Documentation/Examples/JSF_job_delete_02.generated b/Documentation/Examples/JSF_job_delete_02.generated index 6150d5430a..e628c7ca07 100644 --- a/Documentation/Examples/JSF_job_delete_02.generated +++ b/Documentation/Examples/JSF_job_delete_02.generated @@ -2,7 +2,7 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087053 +x-arango-async-id: 151188720791619 x-content-type-options: nosniff shell> curl --dump - http://localhost:8529/_admin/time @@ -12,11 +12,11 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff { - "time" : 1511527508.537965, + "time" : 1511887216.200392, "error" : false, "code" : 200 } -shell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1511527508.537965 +shell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1511887216.200392 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 diff --git a/Documentation/Examples/JSF_job_delete_03.generated b/Documentation/Examples/JSF_job_delete_03.generated index 614e8da6ec..393d7c45c7 100644 --- a/Documentation/Examples/JSF_job_delete_03.generated +++ b/Documentation/Examples/JSF_job_delete_03.generated @@ -2,10 +2,10 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087062 +x-arango-async-id: 151188720791628 x-content-type-options: nosniff -shell> curl -X DELETE --dump - http://localhost:8529/_api/job/151152750087062 +shell> curl -X DELETE --dump - http://localhost:8529/_api/job/151188720791628 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 diff --git a/Documentation/Examples/JSF_job_fetch_result_03.generated b/Documentation/Examples/JSF_job_fetch_result_03.generated index 347fe4580b..445aa2e4d6 100644 --- a/Documentation/Examples/JSF_job_fetch_result_03.generated +++ b/Documentation/Examples/JSF_job_fetch_result_03.generated @@ -2,18 +2,18 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087076 +x-arango-async-id: 151188720791642 x-content-type-options: nosniff -shell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087076 +shell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791642 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -x-arango-async-id: 151152750087076 +x-arango-async-id: 151188720791642 x-content-type-options: nosniff { "server" : "arango", - "version" : "3.3.rc3", + "version" : "3.3.rc4", "license" : "community" } diff --git a/Documentation/Examples/JSF_job_fetch_result_04.generated b/Documentation/Examples/JSF_job_fetch_result_04.generated index 6e0fc137ce..616f627a2e 100644 --- a/Documentation/Examples/JSF_job_fetch_result_04.generated +++ b/Documentation/Examples/JSF_job_fetch_result_04.generated @@ -6,14 +6,14 @@ EOF HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087081 +x-arango-async-id: 151188720791647 x-content-type-options: nosniff -shell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087081 +shell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791647 HTTP/1.1 400 Bad Request content-type: application/json; charset=utf-8 -x-arango-async-id: 151152750087081 +x-arango-async-id: 151188720791647 x-content-type-options: nosniff { diff --git a/Documentation/Examples/JSF_job_getByType_01.generated b/Documentation/Examples/JSF_job_getByType_01.generated index 6f1c6b3e89..d491322df7 100644 --- a/Documentation/Examples/JSF_job_getByType_01.generated +++ b/Documentation/Examples/JSF_job_getByType_01.generated @@ -2,7 +2,7 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087086 +x-arango-async-id: 151188720791652 x-content-type-options: nosniff shell> curl --dump - http://localhost:8529/_api/job/done @@ -12,5 +12,5 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff [ - "151152750087086" + "151188720791652" ] diff --git a/Documentation/Examples/JSF_job_getByType_02.generated b/Documentation/Examples/JSF_job_getByType_02.generated index ac4ce49f70..145e148cff 100644 --- a/Documentation/Examples/JSF_job_getByType_02.generated +++ b/Documentation/Examples/JSF_job_getByType_02.generated @@ -2,7 +2,7 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087091 +x-arango-async-id: 151188720791657 x-content-type-options: nosniff shell> curl --dump - http://localhost:8529/_api/job/pending diff --git a/Documentation/Examples/JSF_job_getByType_03.generated b/Documentation/Examples/JSF_job_getByType_03.generated index 11d3ce38f6..089d80df3a 100644 --- a/Documentation/Examples/JSF_job_getByType_03.generated +++ b/Documentation/Examples/JSF_job_getByType_03.generated @@ -11,7 +11,7 @@ EOF HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087096 +x-arango-async-id: 151188720791662 x-content-type-options: nosniff shell> curl --dump - http://localhost:8529/_api/job/pending @@ -21,9 +21,9 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff [ - "151152750087096" + "151188720791662" ] -shell> curl -X DELETE --dump - http://localhost:8529/_api/job/151152750087096 +shell> curl -X DELETE --dump - http://localhost:8529/_api/job/151188720791662 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 diff --git a/Documentation/Examples/JSF_job_getStatusById_01.generated b/Documentation/Examples/JSF_job_getStatusById_01.generated index 1ce7fbc4cd..4533afc945 100644 --- a/Documentation/Examples/JSF_job_getStatusById_01.generated +++ b/Documentation/Examples/JSF_job_getStatusById_01.generated @@ -2,18 +2,18 @@ shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:85 HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087103 +x-arango-async-id: 151188720791669 x-content-type-options: nosniff -shell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087103 +shell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791669 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -x-arango-async-id: 151152750087103 +x-arango-async-id: 151188720791669 x-content-type-options: nosniff { "server" : "arango", - "version" : "3.3.rc3", + "version" : "3.3.rc4", "license" : "community" } diff --git a/Documentation/Examples/JSF_job_getStatusById_02.generated b/Documentation/Examples/JSF_job_getStatusById_02.generated index c8d87592f6..7d00d2d171 100644 --- a/Documentation/Examples/JSF_job_getStatusById_02.generated +++ b/Documentation/Examples/JSF_job_getStatusById_02.generated @@ -11,10 +11,10 @@ EOF HTTP/1.1 202 Accepted content-type: text/plain; charset=utf-8 -x-arango-async-id: 151152750087108 +x-arango-async-id: 151188720791674 x-content-type-options: nosniff -shell> curl --dump - http://localhost:8529/_api/job/151152750087108 +shell> curl --dump - http://localhost:8529/_api/job/151188720791674 HTTP/1.1 204 No Content content-type: text/plain; charset=utf-8 diff --git a/Documentation/Examples/JSON_01_routingCreateJsonHelloWorld.generated b/Documentation/Examples/JSON_01_routingCreateJsonHelloWorld.generated index f45cd5bdc1..fe7820b27c 100644 --- a/Documentation/Examples/JSON_01_routingCreateJsonHelloWorld.generated +++ b/Documentation/Examples/JSON_01_routingCreateJsonHelloWorld.generated @@ -6,8 +6,8 @@ arangosh> db._routing.save({ ........> } ........> }); { - "_id" : "_routing/9732", - "_key" : "9732", - "_rev" : "_V82NYkW--_" + "_id" : "_routing/9733", + "_key" : "9733", + "_rev" : "_W-M-FlS--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/JSON_05a_routingCreateContentTypeHelloWorld.generated b/Documentation/Examples/JSON_05a_routingCreateContentTypeHelloWorld.generated index d547ad915a..55e5878508 100644 --- a/Documentation/Examples/JSON_05a_routingCreateContentTypeHelloWorld.generated +++ b/Documentation/Examples/JSON_05a_routingCreateContentTypeHelloWorld.generated @@ -8,6 +8,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9747", "_key" : "9747", - "_rev" : "_V82NZGW--_" + "_rev" : "_W-M-G-S--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/JSON_06_routingCreateHelloEcho.generated b/Documentation/Examples/JSON_06_routingCreateHelloEcho.generated index 6538f43358..32102ac101 100644 --- a/Documentation/Examples/JSON_06_routingCreateHelloEcho.generated +++ b/Documentation/Examples/JSON_06_routingCreateHelloEcho.generated @@ -7,5 +7,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/9761", "_key" : "9761", - "_rev" : "_V82NZIe--_" + "_rev" : "_W-M-GAW--_" } diff --git a/Documentation/Examples/JSON_07_fetchroutingCreateHelloEcho.generated b/Documentation/Examples/JSON_07_fetchroutingCreateHelloEcho.generated index a12e4b7661..b6a530cfe8 100644 --- a/Documentation/Examples/JSON_07_fetchroutingCreateHelloEcho.generated +++ b/Documentation/Examples/JSON_07_fetchroutingCreateHelloEcho.generated @@ -8,12 +8,12 @@ arangosh> arango.GET("/hello/echo") "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, diff --git a/Documentation/Examples/JSON_09_routingCreateEchoController.generated b/Documentation/Examples/JSON_09_routingCreateEchoController.generated index b8cf4501a6..2c49e1a1e6 100644 --- a/Documentation/Examples/JSON_09_routingCreateEchoController.generated +++ b/Documentation/Examples/JSON_09_routingCreateEchoController.generated @@ -7,5 +7,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/9775", "_key" : "9775", - "_rev" : "_V82NZLO--_" + "_rev" : "_W-M-GCi--_" } diff --git a/Documentation/Examples/JSON_10_fetchroutingCreateEchoController.generated b/Documentation/Examples/JSON_10_fetchroutingCreateEchoController.generated index a12e4b7661..b6a530cfe8 100644 --- a/Documentation/Examples/JSON_10_fetchroutingCreateEchoController.generated +++ b/Documentation/Examples/JSON_10_fetchroutingCreateEchoController.generated @@ -8,12 +8,12 @@ arangosh> arango.GET("/hello/echo") "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, diff --git a/Documentation/Examples/JSON_12a_routingCreateEchoFunction.generated b/Documentation/Examples/JSON_12a_routingCreateEchoFunction.generated index 5fbaef8430..6c42938317 100644 --- a/Documentation/Examples/JSON_12a_routingCreateEchoFunction.generated +++ b/Documentation/Examples/JSON_12a_routingCreateEchoFunction.generated @@ -7,5 +7,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/9789", "_key" : "9789", - "_rev" : "_V82NZQq--_" + "_rev" : "_W-M-GEe--_" } diff --git a/Documentation/Examples/JSON_13_routingCreateEchoAction.generated b/Documentation/Examples/JSON_13_routingCreateEchoAction.generated index 1e4af747e8..00ac496ca3 100644 --- a/Documentation/Examples/JSON_13_routingCreateEchoAction.generated +++ b/Documentation/Examples/JSON_13_routingCreateEchoAction.generated @@ -7,5 +7,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/9803", "_key" : "9803", - "_rev" : "_V82NZTS--_" + "_rev" : "_W-M-GF6--_" } diff --git a/Documentation/Examples/JSON_15_routingCreateEchoRequestOptions.generated b/Documentation/Examples/JSON_15_routingCreateEchoRequestOptions.generated index 45a58fb2e6..f2aad6c9f3 100644 --- a/Documentation/Examples/JSON_15_routingCreateEchoRequestOptions.generated +++ b/Documentation/Examples/JSON_15_routingCreateEchoRequestOptions.generated @@ -10,5 +10,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/9813", "_key" : "9813", - "_rev" : "_V82NZX---_" + "_rev" : "_W-M-GHi--_" } diff --git a/Documentation/Examples/JSON_16_fetchroutingEchoRequestOptions.generated b/Documentation/Examples/JSON_16_fetchroutingEchoRequestOptions.generated index 32f38a75c2..545f5a63c8 100644 --- a/Documentation/Examples/JSON_16_fetchroutingEchoRequestOptions.generated +++ b/Documentation/Examples/JSON_16_fetchroutingEchoRequestOptions.generated @@ -8,12 +8,12 @@ arangosh> arango.GET("/echo") "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, diff --git a/Documentation/Examples/MOD_01a_routingCreateOwnTest.generated b/Documentation/Examples/MOD_01a_routingCreateOwnTest.generated index d13160a8a0..ab7326e52e 100644 --- a/Documentation/Examples/MOD_01a_routingCreateOwnTest.generated +++ b/Documentation/Examples/MOD_01a_routingCreateOwnTest.generated @@ -10,5 +10,5 @@ arangosh> db._modules.save({ { "_id" : "_modules/9827", "_key" : "9827", - "_rev" : "_V82NZaK--_" + "_rev" : "_W-M-GJO--_" } diff --git a/Documentation/Examples/MOD_01b_routingEnableOwnTest.generated b/Documentation/Examples/MOD_01b_routingEnableOwnTest.generated index 3461eec3c9..8528172f3e 100644 --- a/Documentation/Examples/MOD_01b_routingEnableOwnTest.generated +++ b/Documentation/Examples/MOD_01b_routingEnableOwnTest.generated @@ -7,6 +7,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9831", "_key" : "9831", - "_rev" : "_V82NZae--_" + "_rev" : "_W-M-GJa--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_06a_routingRedirect.generated b/Documentation/Examples/MOD_06a_routingRedirect.generated index f00d8c641f..70fb910319 100644 --- a/Documentation/Examples/MOD_06a_routingRedirect.generated +++ b/Documentation/Examples/MOD_06a_routingRedirect.generated @@ -11,6 +11,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9852", "_key" : "9852", - "_rev" : "_V82NZe---_" + "_rev" : "_W-M-GLO--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_07a_routingMulti.generated b/Documentation/Examples/MOD_07a_routingMulti.generated index 08b11eae14..e299e84124 100644 --- a/Documentation/Examples/MOD_07a_routingMulti.generated +++ b/Documentation/Examples/MOD_07a_routingMulti.generated @@ -17,6 +17,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9866", "_key" : "9866", - "_rev" : "_V82NZgi--_" + "_rev" : "_W-M-GNG--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_07c_routingMulti.generated b/Documentation/Examples/MOD_07c_routingMulti.generated index 6c73255c6c..d3ad1db794 100644 --- a/Documentation/Examples/MOD_07c_routingMulti.generated +++ b/Documentation/Examples/MOD_07c_routingMulti.generated @@ -18,6 +18,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9880", "_key" : "9880", - "_rev" : "_V82NZjm--_" + "_rev" : "_W-M-GPK--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_08a_routingCreateOwnConsoleLog.generated b/Documentation/Examples/MOD_08a_routingCreateOwnConsoleLog.generated index acf546f006..34dbc4515c 100644 --- a/Documentation/Examples/MOD_08a_routingCreateOwnConsoleLog.generated +++ b/Documentation/Examples/MOD_08a_routingCreateOwnConsoleLog.generated @@ -11,5 +11,5 @@ arangosh> db._modules.save({ { "_id" : "_modules/9894", "_key" : "9894", - "_rev" : "_V82NZnq--_" + "_rev" : "_W-M-Gtm--_" } diff --git a/Documentation/Examples/MOD_08b_routingCreateRouteToOwnConsoleLog.generated b/Documentation/Examples/MOD_08b_routingCreateRouteToOwnConsoleLog.generated index 51cdcb001e..07e23244a4 100644 --- a/Documentation/Examples/MOD_08b_routingCreateRouteToOwnConsoleLog.generated +++ b/Documentation/Examples/MOD_08b_routingCreateRouteToOwnConsoleLog.generated @@ -13,5 +13,5 @@ arangosh> db._routing.save({ { "_id" : "_routing/9898", "_key" : "9898", - "_rev" : "_V82NZoa--_" + "_rev" : "_W-M-Gt6--_" } diff --git a/Documentation/Examples/MOD_08c_routingCreateRouteToOwnConsoleLog.generated b/Documentation/Examples/MOD_08c_routingCreateRouteToOwnConsoleLog.generated index fc1cb211d6..639df75231 100644 --- a/Documentation/Examples/MOD_08c_routingCreateRouteToOwnConsoleLog.generated +++ b/Documentation/Examples/MOD_08c_routingCreateRouteToOwnConsoleLog.generated @@ -7,7 +7,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/9902", "_key" : "9902", - "_rev" : "_V82NZpO--_" + "_rev" : "_W-M-GuK--_" } arangosh> db._routing.save({ ........> url: "/subdirectory/ourtest/2", @@ -18,7 +18,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/9905", "_key" : "9905", - "_rev" : "_V82NZpO--B" + "_rev" : "_W-M-GuK--B" } arangosh> db._routing.save({ ........> url: "/subdirectory/ourtest/3", @@ -29,6 +29,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9908", "_key" : "9908", - "_rev" : "_V82NZpS--_" + "_rev" : "_W-M-GuO--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_08d_routingCurlToOwnConsoleLog.generated b/Documentation/Examples/MOD_08d_routingCurlToOwnConsoleLog.generated index 153b78ca8d..2ce5d5e898 100644 --- a/Documentation/Examples/MOD_08d_routingCurlToOwnConsoleLog.generated +++ b/Documentation/Examples/MOD_08d_routingCurlToOwnConsoleLog.generated @@ -13,12 +13,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, @@ -55,12 +55,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, @@ -97,12 +97,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, diff --git a/Documentation/Examples/MOD_09a_routingSpecifyMethods.generated b/Documentation/Examples/MOD_09a_routingSpecifyMethods.generated index 365a0c5b2c..5064ebd756 100644 --- a/Documentation/Examples/MOD_09a_routingSpecifyMethods.generated +++ b/Documentation/Examples/MOD_09a_routingSpecifyMethods.generated @@ -10,6 +10,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9943", "_key" : "9943", - "_rev" : "_V82NZtq--_" + "_rev" : "_W-M-Gwy--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_09b_routingCurlSpecifyMethods.generated b/Documentation/Examples/MOD_09b_routingCurlSpecifyMethods.generated index 761476801a..a46cfccff4 100644 --- a/Documentation/Examples/MOD_09b_routingCurlSpecifyMethods.generated +++ b/Documentation/Examples/MOD_09b_routingCurlSpecifyMethods.generated @@ -13,12 +13,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, @@ -57,12 +57,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, @@ -103,12 +103,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 31737 + "port" : 6026 }, "client" : { "address" : "127.0.0.1", - "port" : 51408, - "id" : "151152750084374" + "port" : 55450, + "id" : "151188720789006" }, "internals" : { }, diff --git a/Documentation/Examples/QUERY_02_listQueries.generated b/Documentation/Examples/QUERY_02_listQueries.generated index 796f6cb3c2..f336dee4b2 100644 --- a/Documentation/Examples/QUERY_02_listQueries.generated +++ b/Documentation/Examples/QUERY_02_listQueries.generated @@ -8,7 +8,7 @@ arangosh> tasks.register({ { "id" : "mytask-1", "name" : "this is a sample task to spawn a slow aql query", - "created" : 1511527509.814154, + "created" : 1511887217.496343, "type" : "timed", "offset" : 0, "command" : "(function (params) { require('@arangodb').db._query('FOR sleepLoooong IN 1..5 LET sleepLoooonger = SLEEP(1000) RETURN sleepLoooong'); } )(params);", @@ -22,8 +22,8 @@ arangosh> queries.current(); "query" : "FOR sleepLoooong IN 1..5 LET sleepLoooonger = SLEEP(1000) RETURN sleepLoooong", "bindVars" : { }, - "started" : "2017-11-24T12:45:10Z", - "runTime" : 0.3027811050415039, + "started" : "2017-11-28T16:40:17Z", + "runTime" : 1.0356640815734863, "state" : "executing" } ] diff --git a/Documentation/Examples/RestAdminStatistics1.generated b/Documentation/Examples/RestAdminStatistics1.generated index 23d15219bb..d513a3b5a5 100644 --- a/Documentation/Examples/RestAdminStatistics1.generated +++ b/Documentation/Examples/RestAdminStatistics1.generated @@ -5,17 +5,17 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff { - "time" : 1511527510.913887, + "time" : 1511887218.551719, "enabled" : true, "system" : { - "minorPageFaults" : 76685, - "majorPageFaults" : 6231, - "userTime" : 3.732865, - "systemTime" : 1.48494, - "numberOfThreads" : 28, - "residentSize" : 288120832, - "residentSizePercent" : 0.01677083969116211, - "virtualSize" : 5642502144 + "minorPageFaults" : 66450, + "majorPageFaults" : 6201, + "userTime" : 2.735669, + "systemTime" : 1.639122, + "numberOfThreads" : 27, + "residentSize" : 273309696, + "residentSizePercent" : 0.01590871810913086, + "virtualSize" : 5093076992 }, "client" : { "httpConnections" : 1, @@ -30,23 +30,23 @@ x-content-type-options: nosniff ] }, "totalTime" : { - "sum" : 4.588557481765747, - "count" : 4041, + "sum" : 4.855077266693115, + "count" : 4035, "counts" : [ - 3851, - 187, + 3832, + 200, + 1, + 0, 2, 0, - 0, - 1, 0 ] }, "requestTime" : { - "sum" : 0.034815073013305664, - "count" : 4041, + "sum" : 0.03473496437072754, + "count" : 4035, "counts" : [ - 4040, + 4034, 1, 0, 0, @@ -56,7 +56,7 @@ x-content-type-options: nosniff ] }, "queueTime" : { - "sum" : 0.0003211498260498047, + "sum" : 0.000278472900390625, "count" : 9, "counts" : [ 9, @@ -69,35 +69,35 @@ x-content-type-options: nosniff ] }, "ioTime" : { - "sum" : 4.553421258926392, - "count" : 4041, + "sum" : 4.820063829421997, + "count" : 4035, "counts" : [ - 3852, - 186, + 3833, + 199, + 1, + 0, 2, 0, - 0, - 1, 0 ] }, "bytesSent" : { - "sum" : 1786672, - "count" : 4041, + "sum" : 1782302, + "count" : 4035, "counts" : [ - 307, - 3394, - 324, + 305, + 3392, + 322, 16, 0, 0 ] }, "bytesReceived" : { - "sum" : 872237, - "count" : 4041, + "sum" : 871147, + "count" : 4035, "counts" : [ - 3734, + 3728, 307, 0, 0, @@ -107,29 +107,29 @@ x-content-type-options: nosniff } }, "http" : { - "requestsTotal" : 4041, + "requestsTotal" : 4035, "requestsAsync" : 9, - "requestsGet" : 1025, + "requestsGet" : 1020, "requestsHead" : 0, "requestsPost" : 2794, "requestsPut" : 70, "requestsPatch" : 3, - "requestsDelete" : 149, + "requestsDelete" : 148, "requestsOptions" : 0, "requestsOther" : 0 }, "server" : { - "uptime" : 9.92887806892395, + "uptime" : 10.536988973617554, "physicalMemory" : 17179869184, "v8Context" : { - "available" : 5, + "available" : 4, "busy" : 4, "dirty" : 0, - "free" : 1, + "free" : 0, "max" : 16 }, "threads" : { - "running" : 6, + "running" : 5, "working" : 4, "blocked" : 0, "queued" : 2 diff --git a/Documentation/Examples/RestBatchMultipartHeader.generated b/Documentation/Examples/RestBatchMultipartHeader.generated index 721dee5140..ff34ff67f2 100644 --- a/Documentation/Examples/RestBatchMultipartHeader.generated +++ b/Documentation/Examples/RestBatchMultipartHeader.generated @@ -39,4 +39,4 @@ content-type: multipart/form-data; boundary=SomeBoundaryValue x-arango-errors: 1 x-content-type-options: nosniff -"--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 61\r\n\r\n{\"server\":\"arango\",\"version\":\"3.3.rc3\",\"license\":\"community\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId2\r\n\r\nHTTP/1.1 404 Not Found\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 79\r\n\r\n{\"error\":true,\"errorMessage\":\"collection not found\",\"code\":404,\"errorNum\":1203}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: someId\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 310\r\n\r\n{\"code\":200,\"error\":false,\"type\":2,\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"status\":3,\"name\":\"products\",\"id\":\"9984\",\"journalSize\":33554432,\"isVolatile\":false,\"waitForSync\":false,\"indexBuckets\":8,\"doCompact\":true,\"isSystem\":false,\"statusString\":\"loaded\",\"globallyUniqueId\":\"9984\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: nextId\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nLocation: /_api/collection/products/figures\r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 817\r\n\r\n{\"code\":200,\"error\":false,\"type\":2,\"statusString\":\"loaded\",\"name\":\"products\",\"status\":3,\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"id\":\"9984\",\"journalSize\":33554432,\"isVolatile\":false,\"waitForSync\":false,\"indexBuckets\":8,\"globallyUniqueId\":\"9984\",\"figures\":{\"indexes\":{\"count\":1,\"size\":32128},\"documentReferences\":0,\"waitingFor\":\"-\",\"alive\":{\"count\":0,\"size\":0},\"dead\":{\"count\":0,\"size\":0,\"deletion\":0},\"compactionStatus\":{\"message\":\"compaction not yet started\",\"time\":\"2017-11-24T12:45:11Z\",\"count\":0,\"filesCombined\":0,\"bytesRead\":0,\"bytesWritten\":0},\"datafiles\":{\"count\":0,\"fileSize\":0},\"journals\":{\"count\":0,\"fileSize\":0},\"compactors\":{\"count\":0,\"fileSize\":0},\"revisions\":{\"count\":0,\"size\":48192},\"lastTick\":0,\"uncollectedLogfileEntries\":0},\"isSystem\":false,\"doCompact\":true,\"count\":0}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: otherId\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 38\r\n\r\n{\"code\":200,\"error\":false,\"id\":\"9984\"}\r\n--SomeBoundaryValue--" +"--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 61\r\n\r\n{\"server\":\"arango\",\"version\":\"3.3.rc4\",\"license\":\"community\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId2\r\n\r\nHTTP/1.1 404 Not Found\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 79\r\n\r\n{\"error\":true,\"errorMessage\":\"collection not found\",\"code\":404,\"errorNum\":1203}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: someId\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 310\r\n\r\n{\"code\":200,\"error\":false,\"type\":2,\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"status\":3,\"name\":\"products\",\"id\":\"9984\",\"journalSize\":33554432,\"isVolatile\":false,\"waitForSync\":false,\"indexBuckets\":8,\"doCompact\":true,\"isSystem\":false,\"statusString\":\"loaded\",\"globallyUniqueId\":\"9984\"}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: nextId\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nLocation: /_api/collection/products/figures\r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 817\r\n\r\n{\"code\":200,\"error\":false,\"type\":2,\"statusString\":\"loaded\",\"name\":\"products\",\"status\":3,\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"id\":\"9984\",\"journalSize\":33554432,\"isVolatile\":false,\"waitForSync\":false,\"indexBuckets\":8,\"globallyUniqueId\":\"9984\",\"figures\":{\"indexes\":{\"count\":1,\"size\":32128},\"documentReferences\":0,\"waitingFor\":\"-\",\"alive\":{\"count\":0,\"size\":0},\"dead\":{\"count\":0,\"size\":0,\"deletion\":0},\"compactionStatus\":{\"message\":\"compaction not yet started\",\"time\":\"2017-11-28T16:40:18Z\",\"count\":0,\"filesCombined\":0,\"bytesRead\":0,\"bytesWritten\":0},\"datafiles\":{\"count\":0,\"fileSize\":0},\"journals\":{\"count\":0,\"fileSize\":0},\"compactors\":{\"count\":0,\"fileSize\":0},\"revisions\":{\"count\":0,\"size\":48192},\"lastTick\":0,\"uncollectedLogfileEntries\":0},\"isSystem\":false,\"doCompact\":true,\"count\":0}\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: otherId\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 38\r\n\r\n{\"code\":200,\"error\":false,\"id\":\"9984\"}\r\n--SomeBoundaryValue--" diff --git a/Documentation/Examples/RestCollectionGetCollectionChecksum.generated b/Documentation/Examples/RestCollectionGetCollectionChecksum.generated index b59c5719d6..05fcdfab43 100644 --- a/Documentation/Examples/RestCollectionGetCollectionChecksum.generated +++ b/Documentation/Examples/RestCollectionGetCollectionChecksum.generated @@ -15,5 +15,5 @@ location: /_api/collection/products/checksum "name" : "products", "checksum" : "6288930192632571077", "id" : "10035", - "revision" : "_V82NbXm--_" + "revision" : "_W-M-IHK--_" } diff --git a/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated b/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated index 99bb7fc797..9ee5517c47 100644 --- a/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated +++ b/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated @@ -15,5 +15,5 @@ location: /_api/collection/products/checksum "name" : "products", "checksum" : "15823549496814069354", "id" : "10047", - "revision" : "_V82NbZi--_" + "revision" : "_W-M-IJa--_" } diff --git a/Documentation/Examples/RestCollectionGetCollectionCount.generated b/Documentation/Examples/RestCollectionGetCollectionCount.generated index 8f35ff0d54..b63e087885 100644 --- a/Documentation/Examples/RestCollectionGetCollectionCount.generated +++ b/Documentation/Examples/RestCollectionGetCollectionCount.generated @@ -13,7 +13,7 @@ location: /_api/collection/products/count "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, - "lastValue" : 10361 + "lastValue" : 10367 }, "status" : 3, "name" : "products", diff --git a/Documentation/Examples/RestCollectionGetCollectionFigures.generated b/Documentation/Examples/RestCollectionGetCollectionFigures.generated index a13251f3ac..3cc8ccdd21 100644 --- a/Documentation/Examples/RestCollectionGetCollectionFigures.generated +++ b/Documentation/Examples/RestCollectionGetCollectionFigures.generated @@ -15,24 +15,24 @@ location: /_api/collection/products/figures "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, - "lastValue" : 10373 + "lastValue" : 10380 }, - "id" : "10369", + "id" : "10376", "journalSize" : 33554432, "isVolatile" : false, "waitForSync" : false, "indexBuckets" : 8, - "globallyUniqueId" : "10369", + "globallyUniqueId" : "10376", "figures" : { "indexes" : { "count" : 1, "size" : 32128 }, - "documentReferences" : 1, - "waitingFor" : "document-reference", + "documentReferences" : 0, + "waitingFor" : "-", "alive" : { - "count" : 0, - "size" : 0 + "count" : 1, + "size" : 72 }, "dead" : { "count" : 0, @@ -41,7 +41,7 @@ location: /_api/collection/products/figures }, "compactionStatus" : { "message" : "skipped compaction because collection has no datafiles", - "time" : "2017-11-24T12:45:13Z", + "time" : "2017-11-28T16:40:20Z", "count" : 0, "filesCombined" : 0, "bytesRead" : 0, @@ -63,8 +63,8 @@ location: /_api/collection/products/figures "count" : 1, "size" : 48192 }, - "lastTick" : 10375, - "uncollectedLogfileEntries" : 1 + "lastTick" : 10382, + "uncollectedLogfileEntries" : 0 }, "isSystem" : false, "doCompact" : true, diff --git a/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated b/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated index e226e2d930..c98d3c15f5 100644 --- a/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated +++ b/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated @@ -1,9 +1,9 @@ -shell> curl --dump - http://localhost:8529/_api/collection/10398/properties +shell> curl --dump - http://localhost:8529/_api/collection/10402/properties HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff -location: /_api/collection/10398/properties +location: /_api/collection/10402/properties { "code" : 200, @@ -16,7 +16,7 @@ location: /_api/collection/"status" : 3, "name" : "products", - "id" : "10398", + "id" : "10402", "journalSize" : 33554432, "isVolatile" : false, "waitForSync" : true, @@ -24,5 +24,5 @@ location: /_api/collection/"doCompact" : true, "isSystem" : false, "statusString" : "loaded", - "globallyUniqueId" : "10398" + "globallyUniqueId" : "10402" } diff --git a/Documentation/Examples/RestCollectionGetCollectionName.generated b/Documentation/Examples/RestCollectionGetCollectionName.generated index 57ddbe8fea..4b41869673 100644 --- a/Documentation/Examples/RestCollectionGetCollectionName.generated +++ b/Documentation/Examples/RestCollectionGetCollectionName.generated @@ -16,7 +16,7 @@ location: /_api/collection/products/properties }, "status" : 3, "name" : "products", - "id" : "10406", + "id" : "10410", "journalSize" : 33554432, "isVolatile" : false, "waitForSync" : true, @@ -24,5 +24,5 @@ location: /_api/collection/products/properties "doCompact" : true, "isSystem" : false, "statusString" : "loaded", - "globallyUniqueId" : "10406" + "globallyUniqueId" : "10410" } diff --git a/Documentation/Examples/RestCollectionGetCollectionRevision.generated b/Documentation/Examples/RestCollectionGetCollectionRevision.generated index 4c5a2408d7..96c74094a6 100644 --- a/Documentation/Examples/RestCollectionGetCollectionRevision.generated +++ b/Documentation/Examples/RestCollectionGetCollectionRevision.generated @@ -9,12 +9,12 @@ location: /_api/collection/products/revision "code" : 200, "error" : false, "statusString" : "loaded", - "id" : "10414", + "id" : "10418", "journalSize" : 33554432, "isVolatile" : false, "waitForSync" : false, "indexBuckets" : 8, - "globallyUniqueId" : "10414", + "globallyUniqueId" : "10418", "isSystem" : false, "doCompact" : true, "keyOptions" : { diff --git a/Documentation/Examples/RestCollectionIdentifierLoad.generated b/Documentation/Examples/RestCollectionIdentifierLoad.generated index 40cc4dc141..d556cf4497 100644 --- a/Documentation/Examples/RestCollectionIdentifierLoad.generated +++ b/Documentation/Examples/RestCollectionIdentifierLoad.generated @@ -12,7 +12,7 @@ location: /_api/collection/products/load "status" : 3, "count" : 0, "isSystem" : false, - "id" : "10423", - "globallyUniqueId" : "10423", + "id" : "10427", + "globallyUniqueId" : "10427", "name" : "products" } diff --git a/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated b/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated index 857f57ee94..de53086ca1 100644 --- a/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated +++ b/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated @@ -20,7 +20,7 @@ location: /_api/collection/products/properties }, "status" : 3, "name" : "products", - "id" : "10440", + "id" : "10444", "journalSize" : 33554432, "isVolatile" : false, "waitForSync" : true, @@ -28,5 +28,5 @@ location: /_api/collection/products/properties "doCompact" : true, "isSystem" : false, "statusString" : "loaded", - "globallyUniqueId" : "10440" + "globallyUniqueId" : "10444" } diff --git a/Documentation/Examples/RestCollectionIdentifierRename.generated b/Documentation/Examples/RestCollectionIdentifierRename.generated index ce2e98b3ec..338acde1a5 100644 --- a/Documentation/Examples/RestCollectionIdentifierRename.generated +++ b/Documentation/Examples/RestCollectionIdentifierRename.generated @@ -16,6 +16,6 @@ location: /_api/collection/products1/rename "status" : 3, "name" : "newname", "isSystem" : false, - "id" : "10450", - "globallyUniqueId" : "10450" + "id" : "10454", + "globallyUniqueId" : "10454" } diff --git a/Documentation/Examples/RestCollectionIdentifierTruncate.generated b/Documentation/Examples/RestCollectionIdentifierTruncate.generated index 7a0d8b7d29..6dcaff7302 100644 --- a/Documentation/Examples/RestCollectionIdentifierTruncate.generated +++ b/Documentation/Examples/RestCollectionIdentifierTruncate.generated @@ -12,6 +12,6 @@ location: /_api/collection/products/truncate "status" : 3, "name" : "products", "isSystem" : false, - "id" : "10459", - "globallyUniqueId" : "10459" + "id" : "10463", + "globallyUniqueId" : "10463" } diff --git a/Documentation/Examples/RestCollectionIdentifierUnload.generated b/Documentation/Examples/RestCollectionIdentifierUnload.generated index 614a2d5e25..5a795396f8 100644 --- a/Documentation/Examples/RestCollectionIdentifierUnload.generated +++ b/Documentation/Examples/RestCollectionIdentifierUnload.generated @@ -12,6 +12,6 @@ location: /_api/collection/products/unload "status" : 4, "name" : "products", "isSystem" : false, - "id" : "10467", - "globallyUniqueId" : "10467" + "id" : "10471", + "globallyUniqueId" : "10471" } diff --git a/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated b/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated index 5cb4a4648d..7cadcc74e4 100644 --- a/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated +++ b/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated @@ -15,20 +15,20 @@ x-content-type-options: nosniff "code" : 201, "result" : [ { - "_key" : "10514", - "_id" : "products/10514", - "_rev" : "_V82Nede--_", - "hello2" : "world1" + "_key" : "10526", + "_id" : "products/10526", + "_rev" : "_W-M-K5---F", + "hello5" : "world1" }, { - "_key" : "10510", - "_id" : "products/10510", - "_rev" : "_V82Neda--_", - "hello1" : "world1" + "_key" : "10520", + "_id" : "products/10520", + "_rev" : "_W-M-K5---B", + "hello3" : "world1" } ], "hasMore" : true, - "id" : "10526", + "id" : "10529", "count" : 5, "extra" : { "stats" : { @@ -38,7 +38,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.000225067138671875 + "executionTime" : 0.00014495849609375 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated b/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated index b2d575a237..4dc1c058ca 100644 --- a/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated +++ b/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated @@ -13,16 +13,16 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "10535", - "_id" : "products/10535", - "_rev" : "_V82Nefa--_", - "hello1" : "world1" + "_key" : "10542", + "_id" : "products/10542", + "_rev" : "_W-M-K6y--B", + "hello2" : "world1" }, { - "_key" : "10539", - "_id" : "products/10539", - "_rev" : "_V82Nefa--B", - "hello2" : "world1" + "_key" : "10538", + "_id" : "products/10538", + "_rev" : "_W-M-K6y--_", + "hello1" : "world1" } ], "hasMore" : false, @@ -36,7 +36,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00018906593322753906 + "executionTime" : 0.00014591217041015625 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorCreateCursorOption.generated b/Documentation/Examples/RestCursorCreateCursorOption.generated index cee39edcb8..8d12dbce46 100644 --- a/Documentation/Examples/RestCursorCreateCursorOption.generated +++ b/Documentation/Examples/RestCursorCreateCursorOption.generated @@ -37,7 +37,7 @@ x-content-type-options: nosniff "filtered" : 500, "httpRequests" : 0, "fullCount" : 500, - "executionTime" : 0.00040984153747558594 + "executionTime" : 0.0004360675811767578 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorDelete.generated b/Documentation/Examples/RestCursorDelete.generated index 66475f9f0c..99fe2c057e 100644 --- a/Documentation/Examples/RestCursorDelete.generated +++ b/Documentation/Examples/RestCursorDelete.generated @@ -17,18 +17,18 @@ x-content-type-options: nosniff { "_key" : "10564", "_id" : "products/10564", - "_rev" : "_V82Neh6--H", - "hello5" : "world1" + "_rev" : "_W-M-L-C--_", + "hello4" : "world1" }, { - "_key" : "10555", - "_id" : "products/10555", - "_rev" : "_V82Neh6--B", - "hello2" : "world1" + "_key" : "10554", + "_id" : "products/10554", + "_rev" : "_W-M-L----_", + "hello1" : "world1" } ], "hasMore" : true, - "id" : "10567", + "id" : "10570", "count" : 5, "extra" : { "stats" : { @@ -38,11 +38,11 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00012302398681640625 + "executionTime" : 0.00013113021850585938 }, "warnings" : [ ] }, "cached" : false } -shell> curl -X DELETE --dump - http://localhost:8529/_api/cursor/10567 +shell> curl -X DELETE --dump - http://localhost:8529/_api/cursor/10570 diff --git a/Documentation/Examples/RestCursorDeleteIgnore.generated b/Documentation/Examples/RestCursorDeleteIgnore.generated index a748504725..632a3bcf94 100644 --- a/Documentation/Examples/RestCursorDeleteIgnore.generated +++ b/Documentation/Examples/RestCursorDeleteIgnore.generated @@ -20,7 +20,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0001919269561767578 + "executionTime" : 0.00012493133544921875 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorDeleteQuery.generated b/Documentation/Examples/RestCursorDeleteQuery.generated index 1a9c3c8f45..64b6c9033e 100644 --- a/Documentation/Examples/RestCursorDeleteQuery.generated +++ b/Documentation/Examples/RestCursorDeleteQuery.generated @@ -20,7 +20,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00023508071899414062 + "executionTime" : 0.0001900196075439453 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorForLimitReturnCont.generated b/Documentation/Examples/RestCursorForLimitReturnCont.generated index 41aeba771f..d2a7dab424 100644 --- a/Documentation/Examples/RestCursorForLimitReturnCont.generated +++ b/Documentation/Examples/RestCursorForLimitReturnCont.generated @@ -6,7 +6,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor } EOF -shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/10634 +shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/10637 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 @@ -17,20 +17,20 @@ x-content-type-options: nosniff "code" : 200, "result" : [ { - "_key" : "10628", - "_id" : "products/10628", - "_rev" : "_V82Nepm--_", - "hello4" : "world1" + "_key" : "10621", + "_id" : "products/10621", + "_rev" : "_W-M-LE6--_", + "hello1" : "world1" }, { - "_key" : "10631", - "_id" : "products/10631", - "_rev" : "_V82Nepm--B", - "hello5" : "world1" + "_key" : "10628", + "_id" : "products/10628", + "_rev" : "_W-M-LF---_", + "hello3" : "world1" } ], "hasMore" : true, - "id" : "10634", + "id" : "10637", "count" : 5, "extra" : { "stats" : { @@ -40,7 +40,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0001289844512939453 + "executionTime" : 0.00019502639770507812 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorOptimizerRules.generated b/Documentation/Examples/RestCursorOptimizerRules.generated index 081b133252..c405b2e903 100644 --- a/Documentation/Examples/RestCursorOptimizerRules.generated +++ b/Documentation/Examples/RestCursorOptimizerRules.generated @@ -42,7 +42,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00021600723266601562 + "executionTime" : 0.0001780986785888672 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestDatabaseGetInfo.generated b/Documentation/Examples/RestDatabaseGetInfo.generated index 3079594e06..7294bb2fdc 100644 --- a/Documentation/Examples/RestDatabaseGetInfo.generated +++ b/Documentation/Examples/RestDatabaseGetInfo.generated @@ -10,7 +10,7 @@ x-content-type-options: nosniff "result" : { "name" : "_system", "id" : "1", - "path" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/databases/database-1", + "path" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/databases/database-1", "isSystem" : true } } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocument.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocument.generated index e237d4cc86..d3e5a009bc 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocument.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocument.generated @@ -1,13 +1,13 @@ -shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10786 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10789 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfGa--_" +etag: "_W-M-Lje--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10786 +location: /_db/_system/_api/document/products/10789 { - "_id" : "products/10786", - "_key" : "10786", - "_rev" : "_V82NfGa--_" + "_id" : "products/10789", + "_key" : "10789", + "_rev" : "_W-M-Lje--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated index 01f7e2556e..0dff4811b2 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated @@ -1,8 +1,8 @@ -shell> curl -X DELETE --header 'If-Match: "_V82NfJW--B"' --dump - http://localhost:8529/_api/document/products/10803 +shell> curl -X DELETE --header 'If-Match: "_W-M-Lmm--B"' --dump - http://localhost:8529/_api/document/products/10806 HTTP/1.1 412 Precondition Failed content-type: application/json; charset=utf-8 -etag: "_V82NfJW--_" +etag: "_W-M-Lmm--_" x-content-type-options: nosniff { @@ -10,7 +10,7 @@ x-content-type-options: nosniff "code" : 412, "errorNum" : 1200, "errorMessage" : "precondition failed", - "_id" : "products/10803", - "_key" : "10803", - "_rev" : "_V82NfJW--_" + "_id" : "products/10806", + "_key" : "10806", + "_rev" : "_W-M-Lmm--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated index 49f691a6a2..1f2b98c250 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated @@ -1,8 +1,8 @@ -shell> curl -X DELETE --header 'If-Match: "_V82NfK6--_"' --dump - http://localhost:8529/_api/document/products/10822 +shell> curl -X DELETE --header 'If-Match: "_W-M-Loa--_"' --dump - http://localhost:8529/_api/document/products/10825 HTTP/1.1 412 Precondition Failed content-type: application/json; charset=utf-8 -etag: "_V82NfK2--_" +etag: "_W-M-LoW--_" x-content-type-options: nosniff { @@ -10,7 +10,7 @@ x-content-type-options: nosniff "code" : 412, "errorNum" : 1200, "errorMessage" : "precondition failed", - "_id" : "products/10822", - "_key" : "10822", - "_rev" : "_V82NfK2--_" + "_id" : "products/10825", + "_key" : "10825", + "_rev" : "_W-M-LoW--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentMulti.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentMulti.generated index 7965125420..895e08fd4e 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentMulti.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentMulti.generated @@ -1,13 +1,13 @@ -shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10841 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10844 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfMa--_" +etag: "_W-M-LqC--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10841 +location: /_db/_system/_api/document/products/10844 { - "_id" : "products/10841", - "_key" : "10841", - "_rev" : "_V82NfMa--_" + "_id" : "products/10844", + "_key" : "10844", + "_rev" : "_W-M-LqC--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandle.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandle.generated index 4f9ddabe54..f456447d45 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandle.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandle.generated @@ -1,4 +1,4 @@ -shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10858 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10861 HTTP/1.1 404 Not Found content-type: application/json; charset=utf-8 diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandleMulti.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandleMulti.generated index e8b928ee78..5c9f88fc45 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandleMulti.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandleMulti.generated @@ -1,4 +1,4 @@ -shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10876 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10879 HTTP/1.1 404 Not Found content-type: application/json; charset=utf-8 diff --git a/Documentation/Examples/RestDocumentHandlerPatchDocument.generated b/Documentation/Examples/RestDocumentHandlerPatchDocument.generated index dbcdf6990d..3199e84985 100644 --- a/Documentation/Examples/RestDocumentHandlerPatchDocument.generated +++ b/Documentation/Examples/RestDocumentHandlerPatchDocument.generated @@ -1,4 +1,4 @@ -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10894 <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10897 <<EOF { "hello" : "world" } @@ -6,17 +6,17 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82NfVu--B" +etag: "_W-M-Lze--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10894 +location: /_db/_system/_api/document/products/10897 { - "_id" : "products/10894", - "_key" : "10894", - "_rev" : "_V82NfVu--B", - "_oldRev" : "_V82NfVu--_" + "_id" : "products/10897", + "_key" : "10897", + "_rev" : "_W-M-Lze--_", + "_oldRev" : "_W-M-Lza--_" } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10894 <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10897 <<EOF { "numbers" : { "one" : 1, @@ -29,27 +29,27 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82NfVy--_" +etag: "_W-M-Lzi--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10894 +location: /_db/_system/_api/document/products/10897 { - "_id" : "products/10894", - "_key" : "10894", - "_rev" : "_V82NfVy--_", - "_oldRev" : "_V82NfVu--B" + "_id" : "products/10897", + "_key" : "10897", + "_rev" : "_W-M-Lzi--_", + "_oldRev" : "_W-M-Lze--_" } -shell> curl --dump - http://localhost:8529/_api/document/products/10894 +shell> curl --dump - http://localhost:8529/_api/document/products/10897 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfVy--_" +etag: "_W-M-Lzi--_" x-content-type-options: nosniff { - "_key" : "10894", - "_id" : "products/10894", - "_rev" : "_V82NfVy--_", + "_key" : "10897", + "_id" : "products/10897", + "_rev" : "_W-M-Lzi--_", "one" : "world", "hello" : "world", "numbers" : { @@ -59,7 +59,7 @@ x-content-type-options: nosniff "empty" : null } } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10894?keepNull=false <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10897?keepNull=false <<EOF { "hello" : null, "numbers" : { @@ -70,27 +70,27 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82NfV6--_" +etag: "_W-M-Lzq--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10894 +location: /_db/_system/_api/document/products/10897 { - "_id" : "products/10894", - "_key" : "10894", - "_rev" : "_V82NfV6--_", - "_oldRev" : "_V82NfVy--_" + "_id" : "products/10897", + "_key" : "10897", + "_rev" : "_W-M-Lzq--_", + "_oldRev" : "_W-M-Lzi--_" } -shell> curl --dump - http://localhost:8529/_api/document/products/10894 +shell> curl --dump - http://localhost:8529/_api/document/products/10897 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfV6--_" +etag: "_W-M-Lzq--_" x-content-type-options: nosniff { - "_key" : "10894", - "_id" : "products/10894", - "_rev" : "_V82NfV6--_", + "_key" : "10897", + "_id" : "products/10897", + "_rev" : "_W-M-Lzq--_", "one" : "world", "numbers" : { "empty" : null, diff --git a/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated b/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated index f84998771b..28b9a0ae32 100644 --- a/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated +++ b/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated @@ -1,21 +1,21 @@ -shell> curl --dump - http://localhost:8529/_api/document/products/10917 +shell> curl --dump - http://localhost:8529/_api/document/products/10920 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfXi--_" +etag: "_W-M-L1O--_" x-content-type-options: nosniff { - "_key" : "10917", - "_id" : "products/10917", - "_rev" : "_V82NfXi--_", + "_key" : "10920", + "_id" : "products/10920", + "_rev" : "_W-M-L1O--_", "inhabitants" : { "china" : 1366980000, "india" : 1263590000, "usa" : 319220000 } } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10917?mergeObjects=true <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10920?mergeObjects=true <<EOF { "inhabitants" : { "indonesia" : 252164800, @@ -24,17 +24,17 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/docume } EOF -shell> curl --dump - http://localhost:8529/_api/document/products/10917 +shell> curl --dump - http://localhost:8529/_api/document/products/10920 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfXq--_" +etag: "_W-M-L1S--_" x-content-type-options: nosniff { - "_key" : "10917", - "_id" : "products/10917", - "_rev" : "_V82NfXq--_", + "_key" : "10920", + "_id" : "products/10920", + "_rev" : "_W-M-L1S--_", "inhabitants" : { "china" : 1366980000, "india" : 1263590000, @@ -43,7 +43,7 @@ x-content-type-options: nosniff "brazil" : 203553000 } } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10917?mergeObjects=false <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10920?mergeObjects=false <<EOF { "inhabitants" : { "pakistan" : 188346000 @@ -53,27 +53,27 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82NfXy--_" +etag: "_W-M-L1m--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10917 +location: /_db/_system/_api/document/products/10920 { - "_id" : "products/10917", - "_key" : "10917", - "_rev" : "_V82NfXy--_", - "_oldRev" : "_V82NfXq--_" + "_id" : "products/10920", + "_key" : "10920", + "_rev" : "_W-M-L1m--_", + "_oldRev" : "_W-M-L1S--_" } -shell> curl --dump - http://localhost:8529/_api/document/products/10917 +shell> curl --dump - http://localhost:8529/_api/document/products/10920 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfXy--_" +etag: "_W-M-L1m--_" x-content-type-options: nosniff { - "_key" : "10917", - "_id" : "products/10917", - "_rev" : "_V82NfXy--_", + "_key" : "10920", + "_id" : "products/10920", + "_rev" : "_W-M-L1m--_", "inhabitants" : { "pakistan" : 188346000 } diff --git a/Documentation/Examples/RestDocumentHandlerPostAccept1.generated b/Documentation/Examples/RestDocumentHandlerPostAccept1.generated index 11f809b376..32d9df6ce3 100644 --- a/Documentation/Examples/RestDocumentHandlerPostAccept1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostAccept1.generated @@ -4,12 +4,12 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82NfZa--_" +etag: "_W-M-L3G--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10939 +location: /_db/_system/_api/document/products/10942 { - "_id" : "products/10939", - "_key" : "10939", - "_rev" : "_V82NfZa--_" + "_id" : "products/10942", + "_key" : "10942", + "_rev" : "_W-M-L3G--_" } diff --git a/Documentation/Examples/RestDocumentHandlerPostCreate1.generated b/Documentation/Examples/RestDocumentHandlerPostCreate1.generated index 19b628b044..9e87478454 100644 --- a/Documentation/Examples/RestDocumentHandlerPostCreate1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostCreate1.generated @@ -4,12 +4,12 @@ EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 -etag: "_V82Nfce--_" +etag: "_W-M-L6W--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/10965 +location: /_db/_system/_api/document/products/10968 { - "_id" : "products/10965", - "_key" : "10965", - "_rev" : "_V82Nfce--_" + "_id" : "products/10968", + "_key" : "10968", + "_rev" : "_W-M-L6W--_" } diff --git a/Documentation/Examples/RestDocumentHandlerPostMulti1.generated b/Documentation/Examples/RestDocumentHandlerPostMulti1.generated index d5721759d3..e1e2883632 100644 --- a/Documentation/Examples/RestDocumentHandlerPostMulti1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostMulti1.generated @@ -8,18 +8,18 @@ x-content-type-options: nosniff [ { - "_id" : "products/10980", - "_key" : "10980", - "_rev" : "_V82Nfeq--_" + "_id" : "products/10983", + "_key" : "10983", + "_rev" : "_W-M-L8m--_" }, { - "_id" : "products/10984", - "_key" : "10984", - "_rev" : "_V82Nfeq--B" + "_id" : "products/10987", + "_key" : "10987", + "_rev" : "_W-M-L8m--B" }, { - "_id" : "products/10986", - "_key" : "10986", - "_rev" : "_V82Nfeq--D" + "_id" : "products/10989", + "_key" : "10989", + "_rev" : "_W-M-L8m--D" } ] diff --git a/Documentation/Examples/RestDocumentHandlerPostMulti2.generated b/Documentation/Examples/RestDocumentHandlerPostMulti2.generated index f7f318d2a6..e0667438f6 100644 --- a/Documentation/Examples/RestDocumentHandlerPostMulti2.generated +++ b/Documentation/Examples/RestDocumentHandlerPostMulti2.generated @@ -4,18 +4,18 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82NfgC--_" +etag: "_W-M-M-C--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/11001 +location: /_db/_system/_api/document/products/11004 { - "_id" : "products/11001", - "_key" : "11001", - "_rev" : "_V82NfgC--_", + "_id" : "products/11004", + "_key" : "11004", + "_rev" : "_W-M-M-C--_", "new" : { - "_key" : "11001", - "_id" : "products/11001", - "_rev" : "_V82NfgC--_", + "_key" : "11004", + "_id" : "products/11004", + "_rev" : "_W-M-M-C--_", "Hello" : "World" } } diff --git a/Documentation/Examples/RestDocumentHandlerPostWait1.generated b/Documentation/Examples/RestDocumentHandlerPostWait1.generated index 94c5d4a593..112c01aad9 100644 --- a/Documentation/Examples/RestDocumentHandlerPostWait1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostWait1.generated @@ -4,12 +4,12 @@ EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 -etag: "_V82Nfhy--_" +etag: "_W-M-M_u--_" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/11016 +location: /_db/_system/_api/document/products/11019 { - "_id" : "products/11016", - "_key" : "11016", - "_rev" : "_V82Nfhy--_" + "_id" : "products/11019", + "_key" : "11019", + "_rev" : "_W-M-M_u--_" } diff --git a/Documentation/Examples/RestDocumentHandlerReadDocument.generated b/Documentation/Examples/RestDocumentHandlerReadDocument.generated index e5246664a5..d8fc050dfb 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocument.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocument.generated @@ -1,13 +1,13 @@ -shell> curl --dump - http://localhost:8529/_api/document/products/11031 +shell> curl --dump - http://localhost:8529/_api/document/products/11034 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 -etag: "_V82NfkC--_" +etag: "_W-M-MC---_" x-content-type-options: nosniff { - "_key" : "11031", - "_id" : "products/11031", - "_rev" : "_V82NfkC--_", + "_key" : "11034", + "_id" : "products/11034", + "_rev" : "_W-M-MC---_", "hello" : "world" } diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated index b11b989331..d3def81929 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated @@ -11,9 +11,9 @@ x-content-type-options: nosniff { "result" : [ - "products/11047", + "products/11050", "products/11054", - "products/11051" + "products/11057" ], "hasMore" : false, "cached" : false, @@ -25,7 +25,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00020003318786621094 + "executionTime" : 0.00014090538024902344 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentAllPath.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentAllPath.generated index 66f3de573f..2088e08a2b 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocumentAllPath.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocumentAllPath.generated @@ -10,9 +10,9 @@ x-content-type-options: nosniff { "result" : [ - "/_db/_system/_api/document/products/11069", - "/_db/_system/_api/document/products/11073", - "/_db/_system/_api/document/products/11076" + "/_db/_system/_api/document/products/11076", + "/_db/_system/_api/document/products/11072", + "/_db/_system/_api/document/products/11079" ], "hasMore" : false, "cached" : false, @@ -24,7 +24,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0001819133758544922 + "executionTime" : 0.00015878677368164062 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentHead.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentHead.generated index 1e94e7d4a9..2a518a26c8 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocumentHead.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocumentHead.generated @@ -1,2 +1,2 @@ -shell> curl -X HEAD --dump - http://localhost:8529/_api/document/products/11091 +shell> curl -X HEAD --dump - http://localhost:8529/_api/document/products/11094 diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated index f06dbb1393..1d375bf05d 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated @@ -1,2 +1,2 @@ -shell> curl --header 'If-None-Match: "_V82Nfqe--_"' --dump - http://localhost:8529/_api/document/products/11107 +shell> curl --header 'If-None-Match: "_W-M-MJG--_"' --dump - http://localhost:8529/_api/document/products/11110 diff --git a/Documentation/Examples/RestDocumentHandlerUpdateDocument.generated b/Documentation/Examples/RestDocumentHandlerUpdateDocument.generated index b26aa2ebd8..dc5194f4c7 100644 --- a/Documentation/Examples/RestDocumentHandlerUpdateDocument.generated +++ b/Documentation/Examples/RestDocumentHandlerUpdateDocument.generated @@ -1,16 +1,16 @@ -shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11123 <<EOF +shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11126 <<EOF {"Hello": "you"} EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 -etag: "_V82Nfse--B" +etag: "_W-M-MKi--B" x-content-type-options: nosniff -location: /_db/_system/_api/document/products/11123 +location: /_db/_system/_api/document/products/11126 { - "_id" : "products/11123", - "_key" : "11123", - "_rev" : "_V82Nfse--B", - "_oldRev" : "_V82Nfse--_" + "_id" : "products/11126", + "_key" : "11126", + "_rev" : "_W-M-MKi--B", + "_oldRev" : "_W-M-MKi--_" } diff --git a/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated b/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated index 7ba761bccd..bec8bbe41c 100644 --- a/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated +++ b/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated @@ -1,10 +1,10 @@ -shell> curl -X PUT --header 'If-Match: "_V82NfuC--B"' --data-binary @- --dump - http://localhost:8529/_api/document/products/11140 <<EOF +shell> curl -X PUT --header 'If-Match: "_W-M-MM---B"' --data-binary @- --dump - http://localhost:8529/_api/document/products/11143 <<EOF {"other":"content"} EOF HTTP/1.1 412 Precondition Failed content-type: application/json; charset=utf-8 -etag: "_V82NfuC--_" +etag: "_W-M-MM---_" x-content-type-options: nosniff { @@ -12,7 +12,7 @@ x-content-type-options: nosniff "code" : 412, "errorNum" : 1200, "errorMessage" : "precondition failed", - "_id" : "products/11140", - "_key" : "11140", - "_rev" : "_V82NfuC--_" + "_id" : "products/11143", + "_key" : "11143", + "_rev" : "_W-M-MM---_" } diff --git a/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated b/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated index 12212927ab..510bd77e3f 100644 --- a/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated +++ b/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated @@ -1,4 +1,4 @@ -shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11159 <<EOF +shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11162 <<EOF {} EOF diff --git a/Documentation/Examples/RestEdgesReadEdgesAny.generated b/Documentation/Examples/RestEdgesReadEdgesAny.generated index bd45e0bb60..21d8ffe44e 100644 --- a/Documentation/Examples/RestEdgesReadEdgesAny.generated +++ b/Documentation/Examples/RestEdgesReadEdgesAny.generated @@ -11,7 +11,7 @@ x-content-type-options: nosniff "_id" : "edges/6", "_from" : "vertices/2", "_to" : "vertices/1", - "_rev" : "_V82NfyW--_", + "_rev" : "_W-M-MQa--H", "$label" : "v2 -> v1" }, { @@ -19,7 +19,7 @@ x-content-type-options: nosniff "_id" : "edges/7", "_from" : "vertices/4", "_to" : "vertices/1", - "_rev" : "_V82NfyW--B", + "_rev" : "_W-M-MQe--_", "$label" : "v4 -> v1" }, { @@ -27,7 +27,7 @@ x-content-type-options: nosniff "_id" : "edges/5", "_from" : "vertices/1", "_to" : "vertices/3", - "_rev" : "_V82NfyS--H", + "_rev" : "_W-M-MQa--F", "$label" : "v1 -> v3" } ], diff --git a/Documentation/Examples/RestEdgesReadEdgesIn.generated b/Documentation/Examples/RestEdgesReadEdgesIn.generated index ea8997e37a..1dd306f42b 100644 --- a/Documentation/Examples/RestEdgesReadEdgesIn.generated +++ b/Documentation/Examples/RestEdgesReadEdgesIn.generated @@ -11,7 +11,7 @@ x-content-type-options: nosniff "_id" : "edges/6", "_from" : "vertices/2", "_to" : "vertices/1", - "_rev" : "_V82Nf1i--F", + "_rev" : "_W-M-MTO--H", "$label" : "v2 -> v1" }, { @@ -19,7 +19,7 @@ x-content-type-options: nosniff "_id" : "edges/7", "_from" : "vertices/4", "_to" : "vertices/1", - "_rev" : "_V82Nf1i--H", + "_rev" : "_W-M-MTS--_", "$label" : "v4 -> v1" } ], diff --git a/Documentation/Examples/RestEdgesReadEdgesOut.generated b/Documentation/Examples/RestEdgesReadEdgesOut.generated index 99f1b0d6dc..6eab0ea2b9 100644 --- a/Documentation/Examples/RestEdgesReadEdgesOut.generated +++ b/Documentation/Examples/RestEdgesReadEdgesOut.generated @@ -11,7 +11,7 @@ x-content-type-options: nosniff "_id" : "edges/5", "_from" : "vertices/1", "_to" : "vertices/3", - "_rev" : "_V82Nf5W--D", + "_rev" : "_W-M-MWO--H", "$label" : "v1 -> v3" } ], diff --git a/Documentation/Examples/RestEndpointGet.generated b/Documentation/Examples/RestEndpointGet.generated index a90cf9fd57..0f567af200 100644 --- a/Documentation/Examples/RestEndpointGet.generated +++ b/Documentation/Examples/RestEndpointGet.generated @@ -6,6 +6,6 @@ x-content-type-options: nosniff [ { - "endpoint" : "http://127.0.0.1:31737" + "endpoint" : "http://127.0.0.1:6026" } ] diff --git a/Documentation/Examples/RestExplainAllPlans.generated b/Documentation/Examples/RestExplainAllPlans.generated index fcc5880c7d..fd845d84a8 100644 --- a/Documentation/Examples/RestExplainAllPlans.generated +++ b/Documentation/Examples/RestExplainAllPlans.generated @@ -39,7 +39,7 @@ x-content-type-options: nosniff }, "indexes" : [ { - "id" : "11294", + "id" : "11297", "type" : "hash", "fields" : [ "id" diff --git a/Documentation/Examples/RestExplainOptimizerRules.generated b/Documentation/Examples/RestExplainOptimizerRules.generated index 58d8bc9346..fa5ebbc2a8 100644 --- a/Documentation/Examples/RestExplainOptimizerRules.generated +++ b/Documentation/Examples/RestExplainOptimizerRules.generated @@ -35,7 +35,7 @@ x-content-type-options: nosniff }, "indexes" : [ { - "id" : "11332", + "id" : "11335", "type" : "skiplist", "fields" : [ "id" diff --git a/Documentation/Examples/RestExplainOptions.generated b/Documentation/Examples/RestExplainOptions.generated index 58c6b286e7..74e49df978 100644 --- a/Documentation/Examples/RestExplainOptions.generated +++ b/Documentation/Examples/RestExplainOptions.generated @@ -47,7 +47,7 @@ x-content-type-options: nosniff }, "indexes" : [ { - "id" : "11378", + "id" : "11381", "type" : "skiplist", "fields" : [ "id" diff --git a/Documentation/Examples/RestIndexAllIndexes.generated b/Documentation/Examples/RestIndexAllIndexes.generated index 4c7fcf6303..a975979968 100644 --- a/Documentation/Examples/RestIndexAllIndexes.generated +++ b/Documentation/Examples/RestIndexAllIndexes.generated @@ -23,7 +23,7 @@ x-content-type-options: nosniff "fields" : [ "name" ], - "id" : "products/11769", + "id" : "products/11772", "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", @@ -34,7 +34,7 @@ x-content-type-options: nosniff "fields" : [ "price" ], - "id" : "products/11772", + "id" : "products/11775", "sparse" : true, "type" : "skiplist", "unique" : false @@ -51,23 +51,23 @@ x-content-type-options: nosniff "type" : "primary", "unique" : true }, - "products/11769" : { + "products/11772" : { "deduplicate" : true, "fields" : [ "name" ], - "id" : "products/11769", + "id" : "products/11772", "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false }, - "products/11772" : { + "products/11775" : { "deduplicate" : true, "fields" : [ "price" ], - "id" : "products/11772", + "id" : "products/11775", "sparse" : true, "type" : "skiplist", "unique" : false diff --git a/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated b/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated index ae729da9e9..7b498011e5 100644 --- a/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated +++ b/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "e", "f" ], - "id" : "products/11787", + "id" : "products/11790", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateGeoLocation.generated b/Documentation/Examples/RestIndexCreateGeoLocation.generated index 87de414398..9aa97bacbf 100644 --- a/Documentation/Examples/RestIndexCreateGeoLocation.generated +++ b/Documentation/Examples/RestIndexCreateGeoLocation.generated @@ -17,7 +17,7 @@ x-content-type-options: nosniff "b" ], "geoJson" : false, - "id" : "products/11801", + "id" : "products/11804", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateNewFulltext.generated b/Documentation/Examples/RestIndexCreateNewFulltext.generated index 6c2d69c7fa..c46273efd7 100644 --- a/Documentation/Examples/RestIndexCreateNewFulltext.generated +++ b/Documentation/Examples/RestIndexCreateNewFulltext.generated @@ -15,7 +15,7 @@ x-content-type-options: nosniff "fields" : [ "text" ], - "id" : "products/11815", + "id" : "products/11818", "isNewlyCreated" : true, "minLength" : 2, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateNewHashIndex.generated b/Documentation/Examples/RestIndexCreateNewHashIndex.generated index 5b6aeb15fc..83ae075de6 100644 --- a/Documentation/Examples/RestIndexCreateNewHashIndex.generated +++ b/Documentation/Examples/RestIndexCreateNewHashIndex.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11829", + "id" : "products/11832", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/RestIndexCreateNewPersistent.generated b/Documentation/Examples/RestIndexCreateNewPersistent.generated index 44cc24762a..20cb1aab9e 100644 --- a/Documentation/Examples/RestIndexCreateNewPersistent.generated +++ b/Documentation/Examples/RestIndexCreateNewPersistent.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11843", + "id" : "products/11846", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", diff --git a/Documentation/Examples/RestIndexCreateNewSkiplist.generated b/Documentation/Examples/RestIndexCreateNewSkiplist.generated index 30945ce43a..6a70bc3941 100644 --- a/Documentation/Examples/RestIndexCreateNewSkiplist.generated +++ b/Documentation/Examples/RestIndexCreateNewSkiplist.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11857", + "id" : "products/11860", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", diff --git a/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated b/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated index e1b0fa560c..5505219207 100644 --- a/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated +++ b/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11871", + "id" : "products/11874", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/RestIndexCreateSparseHashIndex.generated b/Documentation/Examples/RestIndexCreateSparseHashIndex.generated index ff2a1607dc..31de6c76e5 100644 --- a/Documentation/Examples/RestIndexCreateSparseHashIndex.generated +++ b/Documentation/Examples/RestIndexCreateSparseHashIndex.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "fields" : [ "a" ], - "id" : "products/11885", + "id" : "products/11888", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateSparsePersistent.generated b/Documentation/Examples/RestIndexCreateSparsePersistent.generated index b87d6d99c2..1cf8dab8fd 100644 --- a/Documentation/Examples/RestIndexCreateSparsePersistent.generated +++ b/Documentation/Examples/RestIndexCreateSparsePersistent.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "fields" : [ "a" ], - "id" : "products/11899", + "id" : "products/11902", "isNewlyCreated" : true, "sparse" : true, "type" : "persistent", diff --git a/Documentation/Examples/RestIndexCreateSparseSkiplist.generated b/Documentation/Examples/RestIndexCreateSparseSkiplist.generated index f2a8ef3bf1..14102d272c 100644 --- a/Documentation/Examples/RestIndexCreateSparseSkiplist.generated +++ b/Documentation/Examples/RestIndexCreateSparseSkiplist.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "fields" : [ "a" ], - "id" : "products/11913", + "id" : "products/11916", "isNewlyCreated" : true, "sparse" : true, "type" : "skiplist", diff --git a/Documentation/Examples/RestIndexDeleteUniqueSkiplist.generated b/Documentation/Examples/RestIndexDeleteUniqueSkiplist.generated index 0da8e2bb5d..edf11e7eba 100644 --- a/Documentation/Examples/RestIndexDeleteUniqueSkiplist.generated +++ b/Documentation/Examples/RestIndexDeleteUniqueSkiplist.generated @@ -1,11 +1,11 @@ -shell> curl -X DELETE --dump - http://localhost:8529/_api/index/products/11927 +shell> curl -X DELETE --dump - http://localhost:8529/_api/index/products/11930 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { - "id" : "products/11927", + "id" : "products/11930", "error" : false, "code" : 200 } diff --git a/Documentation/Examples/RestReplicationApplierStart.generated b/Documentation/Examples/RestReplicationApplierStart.generated index 69f4a04b34..6b75a4c497 100644 --- a/Documentation/Examples/RestReplicationApplierStart.generated +++ b/Documentation/Examples/RestReplicationApplierStart.generated @@ -12,7 +12,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2017-11-24T12:45:01Z", + "time" : "2017-11-28T16:40:08Z", "message" : "applier initially created for database '_system'", "failedConnects" : 0 }, @@ -23,11 +23,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2017-11-24T12:45:17Z" + "time" : "2017-11-28T16:40:24Z" }, "server" : { - "version" : "3.3.rc3", - "serverId" : "256529663509064" + "version" : "3.3.rc4", + "serverId" : "188527940778709" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationApplierStateNotRunning.generated b/Documentation/Examples/RestReplicationApplierStateNotRunning.generated index 08f5bb2cab..5f6ee0ce38 100644 --- a/Documentation/Examples/RestReplicationApplierStateNotRunning.generated +++ b/Documentation/Examples/RestReplicationApplierStateNotRunning.generated @@ -12,7 +12,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2017-11-24T12:45:18Z", + "time" : "2017-11-28T16:40:25Z", "message" : "applier shut down", "failedConnects" : 1 }, @@ -23,11 +23,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2017-11-24T12:45:18Z" + "time" : "2017-11-28T16:40:25Z" }, "server" : { - "version" : "3.3.rc3", - "serverId" : "256529663509064" + "version" : "3.3.rc4", + "serverId" : "188527940778709" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationApplierStateRunning.generated b/Documentation/Examples/RestReplicationApplierStateRunning.generated index 0ad2ca1f54..d2692d4dc0 100644 --- a/Documentation/Examples/RestReplicationApplierStateRunning.generated +++ b/Documentation/Examples/RestReplicationApplierStateRunning.generated @@ -12,7 +12,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2017-11-24T12:45:18Z", + "time" : "2017-11-28T16:40:25Z", "message" : "fetching master state information", "failedConnects" : 0 }, @@ -23,11 +23,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2017-11-24T12:45:18Z" + "time" : "2017-11-28T16:40:25Z" }, "server" : { - "version" : "3.3.rc3", - "serverId" : "256529663509064" + "version" : "3.3.rc4", + "serverId" : "188527940778709" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationApplierStop.generated b/Documentation/Examples/RestReplicationApplierStop.generated index f7cb218195..7dba3474a2 100644 --- a/Documentation/Examples/RestReplicationApplierStop.generated +++ b/Documentation/Examples/RestReplicationApplierStop.generated @@ -12,7 +12,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2017-11-24T12:45:19Z", + "time" : "2017-11-28T16:40:26Z", "message" : "applier shut down", "failedConnects" : 1 }, @@ -23,11 +23,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2017-11-24T12:45:19Z" + "time" : "2017-11-28T16:40:26Z" }, "server" : { - "version" : "3.3.rc3", - "serverId" : "256529663509064" + "version" : "3.3.rc4", + "serverId" : "188527940778709" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationDump.generated b/Documentation/Examples/RestReplicationDump.generated index ad8366b205..2fe190fac0 100644 --- a/Documentation/Examples/RestReplicationDump.generated +++ b/Documentation/Examples/RestReplicationDump.generated @@ -3,7 +3,7 @@ shell> curl --dump - http://localhost:8529/_api/replication/dump?collection=test HTTP/1.1 200 OK content-type: application/x-arango-dump; charset=utf-8 x-arango-replication-checkmore: false -x-arango-replication-lastincluded: 11975 +x-arango-replication-lastincluded: 11978 x-content-type-options: nosniff -"{\"tick\":\"11969\",\"type\":2300,\"data\":{\"_id\":\"testCollection/123456\",\"_key\":\"123456\",\"_rev\":\"_V82NjFW--D\",\"b\":1,\"c\":false,\"d\":\"additional value\"}}\n{\"tick\":\"11973\",\"type\":2302,\"data\":{\"_key\":\"foobar\",\"_rev\":\"_V82NjFa--B\"}}\n{\"tick\":\"11975\",\"type\":2302,\"data\":{\"_key\":\"abcdef\",\"_rev\":\"_V82NjFa--D\"}}\n" +"{\"tick\":\"11972\",\"type\":2300,\"data\":{\"_id\":\"testCollection/123456\",\"_key\":\"123456\",\"_rev\":\"_W-M-Pam--B\",\"b\":1,\"c\":false,\"d\":\"additional value\"}}\n{\"tick\":\"11976\",\"type\":2302,\"data\":{\"_key\":\"foobar\",\"_rev\":\"_W-M-Paq--B\"}}\n{\"tick\":\"11978\",\"type\":2302,\"data\":{\"_key\":\"abcdef\",\"_rev\":\"_W-M-Paq--D\"}}\n" diff --git a/Documentation/Examples/RestReplicationInventory.generated b/Documentation/Examples/RestReplicationInventory.generated index 6f88efe214..c38c15ef14 100644 --- a/Documentation/Examples/RestReplicationInventory.generated +++ b/Documentation/Examples/RestReplicationInventory.generated @@ -341,7 +341,7 @@ x-content-type-options: nosniff "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, - "lastValue" : 11952 + "lastValue" : 11955 }, "name" : "_users", "numberOfShards" : 1, @@ -455,10 +455,10 @@ x-content-type-options: nosniff ], "state" : { "running" : true, - "lastLogTick" : "11993", - "lastUncommittedLogTick" : "12003", + "lastLogTick" : "11996", + "lastUncommittedLogTick" : "12006", "totalEvents" : 4130, - "time" : "2017-11-24T12:45:20Z" + "time" : "2017-11-28T16:40:28Z" }, - "tick" : "12003" + "tick" : "12006" } diff --git a/Documentation/Examples/RestReplicationInventoryIndexes.generated b/Documentation/Examples/RestReplicationInventoryIndexes.generated index 86ac709db7..7aaaa2efe0 100644 --- a/Documentation/Examples/RestReplicationInventoryIndexes.generated +++ b/Documentation/Examples/RestReplicationInventoryIndexes.generated @@ -9,7 +9,7 @@ x-content-type-options: nosniff { "indexes" : [ { - "id" : "12008", + "id" : "12011", "type" : "hash", "fields" : [ "name" @@ -20,7 +20,7 @@ x-content-type-options: nosniff "deduplicate" : true }, { - "id" : "12011", + "id" : "12014", "type" : "skiplist", "fields" : [ "a", @@ -33,12 +33,12 @@ x-content-type-options: nosniff ], "parameters" : { "allowUserKeys" : true, - "cid" : "12004", + "cid" : "12007", "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "12004", - "id" : "12004", + "globallyUniqueId" : "12007", + "id" : "12007", "indexBuckets" : 8, "indexes" : [ { @@ -52,7 +52,7 @@ x-content-type-options: nosniff "sparse" : false }, { - "id" : "12008", + "id" : "12011", "type" : "hash", "fields" : [ "name" @@ -63,7 +63,7 @@ x-content-type-options: nosniff "deduplicate" : true }, { - "id" : "12011", + "id" : "12014", "type" : "skiplist", "fields" : [ "a", @@ -85,7 +85,7 @@ x-content-type-options: nosniff }, "name" : "IndexedCollection1", "numberOfShards" : 1, - "planId" : "12004", + "planId" : "12007", "replicationFactor" : 1, "shardKeys" : [ "_key" @@ -101,7 +101,7 @@ x-content-type-options: nosniff { "indexes" : [ { - "id" : "12017", + "id" : "12020", "type" : "fulltext", "fields" : [ "text" @@ -111,7 +111,7 @@ x-content-type-options: nosniff "minLength" : 10 }, { - "id" : "12020", + "id" : "12023", "type" : "skiplist", "fields" : [ "a" @@ -123,12 +123,12 @@ x-content-type-options: nosniff ], "parameters" : { "allowUserKeys" : true, - "cid" : "12013", + "cid" : "12016", "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "12013", - "id" : "12013", + "globallyUniqueId" : "12016", + "id" : "12016", "indexBuckets" : 8, "indexes" : [ { @@ -142,7 +142,7 @@ x-content-type-options: nosniff "sparse" : false }, { - "id" : "12017", + "id" : "12020", "type" : "fulltext", "fields" : [ "text" @@ -152,7 +152,7 @@ x-content-type-options: nosniff "minLength" : 10 }, { - "id" : "12020", + "id" : "12023", "type" : "skiplist", "fields" : [ "a" @@ -173,7 +173,7 @@ x-content-type-options: nosniff }, "name" : "IndexedCollection2", "numberOfShards" : 1, - "planId" : "12013", + "planId" : "12016", "replicationFactor" : 1, "shardKeys" : [ "_key" @@ -521,7 +521,7 @@ x-content-type-options: nosniff "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, - "lastValue" : 11952 + "lastValue" : 11955 }, "name" : "_users", "numberOfShards" : 1, @@ -635,10 +635,10 @@ x-content-type-options: nosniff ], "state" : { "running" : true, - "lastLogTick" : "12009", - "lastUncommittedLogTick" : "12021", + "lastLogTick" : "12012", + "lastUncommittedLogTick" : "12024", "totalEvents" : 4136, - "time" : "2017-11-24T12:45:20Z" + "time" : "2017-11-28T16:40:28Z" }, - "tick" : "12021" + "tick" : "12024" } diff --git a/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated b/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated index 83387a5d89..072b7b5f9d 100644 --- a/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated +++ b/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated @@ -1,12 +1,12 @@ -shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12037&chunkSize=400 +shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12040&chunkSize=400 HTTP/1.1 200 OK -x-arango-replication-lastincluded: 12039 +x-arango-replication-lastincluded: 12042 content-type: application/x-arango-dump; charset=utf-8 -x-arango-replication-lasttick: 12057 +x-arango-replication-lasttick: 12060 x-arango-replication-checkmore: true x-arango-replication-frompresent: true x-content-type-options: nosniff x-arango-replication-active: true -"{\"tick\":\"12039\",\"type\":2000,\"database\":\"1\",\"cid\":\"12038\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"12038\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"12038\",\"id\":\"12038\",\"indexBuckets\":8,\"indexes\":[{\"fields\":[\"_key\"],\"id\":\"0\",\"selectivityEstimate\":1,\"sparse\":false,\"type\":\"primary\",\"unique\":true}],\"isSmart\":false,\"isSystem\":false,\"isVolatile\":false,\"journalSize\":33554432,\"keyOptions\":{\"allowUserKeys\":true,\"lastValue\":0,\"type\":\"traditional\"},\"name\":\"products\",\"numberOfShards\":1,\"planId\":\"12038\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n" +"{\"tick\":\"12042\",\"type\":2000,\"database\":\"1\",\"cid\":\"12041\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"12041\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"12041\",\"id\":\"12041\",\"indexBuckets\":8,\"indexes\":[{\"fields\":[\"_key\"],\"id\":\"0\",\"selectivityEstimate\":1,\"sparse\":false,\"type\":\"primary\",\"unique\":true}],\"isSmart\":false,\"isSystem\":false,\"isVolatile\":false,\"journalSize\":33554432,\"keyOptions\":{\"allowUserKeys\":true,\"lastValue\":0,\"type\":\"traditional\"},\"name\":\"products\",\"numberOfShards\":1,\"planId\":\"12041\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n" diff --git a/Documentation/Examples/RestReplicationLoggerFollowEmpty.generated b/Documentation/Examples/RestReplicationLoggerFollowEmpty.generated index dd514fe66c..e945762370 100644 --- a/Documentation/Examples/RestReplicationLoggerFollowEmpty.generated +++ b/Documentation/Examples/RestReplicationLoggerFollowEmpty.generated @@ -1,9 +1,9 @@ -shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12057 +shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12060 HTTP/1.1 204 No Content x-arango-replication-lastincluded: 0 content-type: application/x-arango-dump; charset=utf-8 -x-arango-replication-lasttick: 12057 +x-arango-replication-lasttick: 12060 x-arango-replication-checkmore: false x-arango-replication-frompresent: true x-content-type-options: nosniff diff --git a/Documentation/Examples/RestReplicationLoggerFollowSome.generated b/Documentation/Examples/RestReplicationLoggerFollowSome.generated index ed3d970b6b..25036788b5 100644 --- a/Documentation/Examples/RestReplicationLoggerFollowSome.generated +++ b/Documentation/Examples/RestReplicationLoggerFollowSome.generated @@ -1,12 +1,12 @@ -shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12057 +shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12060 HTTP/1.1 200 OK -x-arango-replication-lastincluded: 12077 +x-arango-replication-lastincluded: 12080 content-type: application/x-arango-dump; charset=utf-8 -x-arango-replication-lasttick: 12077 -x-arango-replication-checkmore: false +x-arango-replication-lasttick: 12089 +x-arango-replication-checkmore: true x-arango-replication-frompresent: true x-content-type-options: nosniff x-arango-replication-active: true -"{\"tick\":\"12059\",\"type\":2000,\"database\":\"1\",\"cid\":\"12058\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"12058\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"12058\",\"id\":\"12058\",\"indexBuckets\":8,\"indexes\":[{\"fields\":[\"_key\"],\"id\":\"0\",\"selectivityEstimate\":1,\"sparse\":false,\"type\":\"primary\",\"unique\":true}],\"isSmart\":false,\"isSystem\":false,\"isVolatile\":false,\"journalSize\":33554432,\"keyOptions\":{\"allowUserKeys\":true,\"lastValue\":0,\"type\":\"traditional\"},\"name\":\"products\",\"numberOfShards\":1,\"planId\":\"12058\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n{\"tick\":\"12063\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12058\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p1\",\"_key\":\"p1\",\"_rev\":\"_V82Nlqm--_\",\"name\":\"flux compensator\"}}\n{\"tick\":\"12065\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12058\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_V82Nlqm--B\",\"hp\":5100,\"name\":\"hybrid hovercraft\"}}\n{\"tick\":\"12067\",\"type\":2302,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12058\",\"cname\":\"products\",\"data\":{\"_key\":\"p1\",\"_rev\":\"_V82Nlqm--D\"}}\n{\"tick\":\"12069\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12058\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_V82Nlqq--_\",\"hp\":5100,\"name\":\"broken hovercraft\"}}\n{\"tick\":\"12070\",\"type\":2001,\"database\":\"1\",\"cid\":\"12058\",\"cname\":\"products\",\"data\":{\"cuid\":\"12058\",\"id\":\"12058\",\"name\":\"products\"}}\n{\"tick\":\"12073\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"6\",\"cname\":\"_users\",\"data\":{\"_id\":\"_users/10681\",\"_key\":\"10681\",\"_rev\":\"_V82Nlra--_\",\"authData\":{\"active\":true,\"simple\":{\"hash\":\"8d5914963e996e1074211043bf52d378fe2a757d16dbe8e26a325b411dccc4c7\",\"method\":\"sha256\",\"salt\":\"c6d778e1\"}},\"databases\":{\"mydb\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}}},\"source\":\"COLLECTION\",\"user\":\"admin\",\"userData\":{}}}\n{\"tick\":\"12075\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"6\",\"cname\":\"_users\",\"data\":{\"_id\":\"_users/10693\",\"_key\":\"10693\",\"_rev\":\"_V82Nlra--B\",\"authData\":{\"active\":false,\"simple\":{\"hash\":\"58eaf9b07a41aba0a200eae2aba6b024a4d34418197bbb65bfc0db3288a99870\",\"method\":\"sha256\",\"salt\":\"b3b79497\"}},\"databases\":{\"mydb\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}}},\"source\":\"COLLECTION\",\"user\":\"tester\",\"userData\":{}}}\n{\"tick\":\"12077\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"6\",\"cname\":\"_users\",\"data\":{\"_id\":\"_users/89\",\"_key\":\"89\",\"_rev\":\"_V82Nlra--D\",\"authData\":{\"active\":true,\"simple\":{\"hash\":\"797f5ad6cd53832a4029e8816e550243f1bd8ebc3879ada35c04089862ddf441\",\"method\":\"sha256\",\"salt\":\"46e077a8\"}},\"databases\":{\"*\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}},\"_system\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}}},\"source\":\"COLLECTION\",\"user\":\"root\"}}\n" +"{\"tick\":\"12062\",\"type\":2000,\"database\":\"1\",\"cid\":\"12061\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"12061\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"12061\",\"id\":\"12061\",\"indexBuckets\":8,\"indexes\":[{\"fields\":[\"_key\"],\"id\":\"0\",\"selectivityEstimate\":1,\"sparse\":false,\"type\":\"primary\",\"unique\":true}],\"isSmart\":false,\"isSystem\":false,\"isVolatile\":false,\"journalSize\":33554432,\"keyOptions\":{\"allowUserKeys\":true,\"lastValue\":0,\"type\":\"traditional\"},\"name\":\"products\",\"numberOfShards\":1,\"planId\":\"12061\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n{\"tick\":\"12066\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12061\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p1\",\"_key\":\"p1\",\"_rev\":\"_W-M-SsS--_\",\"name\":\"flux compensator\"}}\n{\"tick\":\"12068\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12061\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_W-M-SsS--B\",\"hp\":5100,\"name\":\"hybrid hovercraft\"}}\n{\"tick\":\"12070\",\"type\":2302,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12061\",\"cname\":\"products\",\"data\":{\"_key\":\"p1\",\"_rev\":\"_W-M-SsS--D\"}}\n{\"tick\":\"12072\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"12061\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_W-M-SsS--F\",\"hp\":5100,\"name\":\"broken hovercraft\"}}\n{\"tick\":\"12073\",\"type\":2001,\"database\":\"1\",\"cid\":\"12061\",\"cname\":\"products\",\"data\":{\"cuid\":\"12061\",\"id\":\"12061\",\"name\":\"products\"}}\n{\"tick\":\"12076\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"6\",\"cname\":\"_users\",\"data\":{\"_id\":\"_users/10684\",\"_key\":\"10684\",\"_rev\":\"_W-M-StC--_\",\"authData\":{\"active\":true,\"simple\":{\"hash\":\"a6d64e50dd9465f8fa6595e9d22a7ac99f064ea5f34a1e8edc019f24a6ecfe09\",\"method\":\"sha256\",\"salt\":\"82b332a5\"}},\"databases\":{\"mydb\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}}},\"source\":\"COLLECTION\",\"user\":\"admin\",\"userData\":{}}}\n{\"tick\":\"12078\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"6\",\"cname\":\"_users\",\"data\":{\"_id\":\"_users/10696\",\"_key\":\"10696\",\"_rev\":\"_W-M-StC--B\",\"authData\":{\"active\":false,\"simple\":{\"hash\":\"8aa3fc7649910fd2994941765191474e30c2e697b8dc6330e25cf34fa9a6b564\",\"method\":\"sha256\",\"salt\":\"5a118f30\"}},\"databases\":{\"mydb\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}}},\"source\":\"COLLECTION\",\"user\":\"tester\",\"userData\":{}}}\n{\"tick\":\"12080\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"6\",\"cname\":\"_users\",\"data\":{\"_id\":\"_users/89\",\"_key\":\"89\",\"_rev\":\"_W-M-StC--D\",\"authData\":{\"active\":true,\"simple\":{\"hash\":\"15a4e3304538bc2ccc11ae653a9f428db8272aa63cdfaca82114cf8da65ba60c\",\"method\":\"sha256\",\"salt\":\"c66b3a68\"}},\"databases\":{\"*\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}},\"_system\":{\"collections\":{\"*\":{\"permissions\":{\"read\":true,\"write\":true}}},\"permissions\":{\"read\":true,\"write\":true}}},\"source\":\"COLLECTION\",\"user\":\"root\"}}\n" diff --git a/Documentation/Examples/RestReplicationLoggerStateActive.generated b/Documentation/Examples/RestReplicationLoggerStateActive.generated index 872eef759d..3d244e400b 100644 --- a/Documentation/Examples/RestReplicationLoggerStateActive.generated +++ b/Documentation/Examples/RestReplicationLoggerStateActive.generated @@ -7,14 +7,14 @@ x-content-type-options: nosniff { "state" : { "running" : true, - "lastLogTick" : "12086", - "lastUncommittedLogTick" : "12086", + "lastLogTick" : "12089", + "lastUncommittedLogTick" : "12089", "totalEvents" : 4164, - "time" : "2017-11-24T12:45:23Z" + "time" : "2017-11-28T16:40:30Z" }, "server" : { - "version" : "3.3.rc3", - "serverId" : "256529663509064" + "version" : "3.3.rc4", + "serverId" : "188527940778709" }, "clients" : [ ] } diff --git a/Documentation/Examples/RestReplicationLoggerTickRanges.generated b/Documentation/Examples/RestReplicationLoggerTickRanges.generated index e9a965d9fe..5cad285acf 100644 --- a/Documentation/Examples/RestReplicationLoggerTickRanges.generated +++ b/Documentation/Examples/RestReplicationLoggerTickRanges.generated @@ -6,33 +6,33 @@ x-content-type-options: nosniff [ { - "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-2.db", + "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-2.db", "status" : "collected", "tickMin" : "5", - "tickMax" : "10375" + "tickMax" : "10382" }, { - "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-85.db", + "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-85.db", "status" : "collected", - "tickMin" : "10383", - "tickMax" : "10480" + "tickMin" : "10398", + "tickMax" : "10484" }, { - "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-86.db", + "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-86.db", "status" : "collected", - "tickMin" : "10488", - "tickMax" : "11975" + "tickMin" : "10491", + "tickMax" : "11978" }, { - "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-10378.db", + "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-10385.db", "status" : "collected", - "tickMin" : "11981", - "tickMax" : "11990" + "tickMin" : "11984", + "tickMax" : "11993" }, { - "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-10483.db", + "datafile" : "/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-10487.db", "status" : "open", - "tickMin" : "11996", - "tickMax" : "12086" + "tickMin" : "11998", + "tickMax" : "12089" } ] diff --git a/Documentation/Examples/RestReplicationServerId.generated b/Documentation/Examples/RestReplicationServerId.generated index c34d45faa5..63908f000f 100644 --- a/Documentation/Examples/RestReplicationServerId.generated +++ b/Documentation/Examples/RestReplicationServerId.generated @@ -5,5 +5,5 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff { - "serverId" : "256529663509064" + "serverId" : "188527940778709" } diff --git a/Documentation/Examples/RestSimpleAllBatch.generated b/Documentation/Examples/RestSimpleAllBatch.generated index d31cb0da7a..49cb71bf98 100644 --- a/Documentation/Examples/RestSimpleAllBatch.generated +++ b/Documentation/Examples/RestSimpleAllBatch.generated @@ -10,27 +10,27 @@ x-content-type-options: nosniff "error" : false, "code" : 201, "result" : [ + { + "_key" : "12113", + "_id" : "products/12113", + "_rev" : "_W-M-Twy--_", + "Hello1" : "World1" + }, { "_key" : "12120", "_id" : "products/12120", - "_rev" : "_V82Nmz6--B", - "Hello4" : "World4" + "_rev" : "_W-M-Twy--D", + "Hello3" : "World3" }, { "_key" : "12123", "_id" : "products/12123", - "_rev" : "_V82Nm0K--_", - "Hello5" : "World5" - }, - { - "_key" : "12117", - "_id" : "products/12117", - "_rev" : "_V82Nmz6--_", - "Hello3" : "World3" + "_rev" : "_W-M-Tw2--_", + "Hello4" : "World4" } ], "hasMore" : true, - "id" : "12126", + "id" : "12129", "count" : 5, "extra" : { "stats" : { @@ -40,7 +40,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00020003318786621094 + "executionTime" : 0.0001468658447265625 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleAllSkipLimit.generated b/Documentation/Examples/RestSimpleAllSkipLimit.generated index 5d69b15d59..6ea908b36f 100644 --- a/Documentation/Examples/RestSimpleAllSkipLimit.generated +++ b/Documentation/Examples/RestSimpleAllSkipLimit.generated @@ -9,16 +9,16 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12139", - "_id" : "products/12139", - "_rev" : "_V82Nm2---_", + "_key" : "12142", + "_id" : "products/12142", + "_rev" : "_W-M-Tyy--_", "Hello1" : "World1" }, { - "_key" : "12143", - "_id" : "products/12143", - "_rev" : "_V82Nm2---B", - "Hello2" : "World2" + "_key" : "12155", + "_id" : "products/12155", + "_rev" : "_W-M-Ty2--_", + "Hello5" : "World5" } ], "hasMore" : false, @@ -32,7 +32,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0001380443572998047 + "executionTime" : 0.0001201629638671875 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleAny.generated b/Documentation/Examples/RestSimpleAny.generated index e658c37536..af2768af61 100644 --- a/Documentation/Examples/RestSimpleAny.generated +++ b/Documentation/Examples/RestSimpleAny.generated @@ -10,10 +10,10 @@ x-content-type-options: nosniff { "document" : { - "_key" : "12171", - "_id" : "products/12171", - "_rev" : "_V82Nm4C--_", - "Hello2" : "World2" + "_key" : "12183", + "_id" : "products/12183", + "_rev" : "_W-M-T0W--_", + "Hello5" : "World5" }, "error" : false, "code" : 200 diff --git a/Documentation/Examples/RestSimpleByExample.generated b/Documentation/Examples/RestSimpleByExample.generated index 2a1ad83da4..63c4eb1205 100644 --- a/Documentation/Examples/RestSimpleByExample.generated +++ b/Documentation/Examples/RestSimpleByExample.generated @@ -14,38 +14,38 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12202", - "_id" : "products/12202", - "_rev" : "_V82Nm56--B", + "_key" : "12208", + "_id" : "products/12208", + "_rev" : "_W-M-T2W--_", + "a" : { + "k" : 2, + "j" : 2 + }, "i" : 1 }, { - "_key" : "12195", - "_id" : "products/12195", - "_rev" : "_V82Nm52--_", + "_key" : "12202", + "_id" : "products/12202", + "_rev" : "_W-M-T2S--B", + "a" : { + "j" : 1 + }, + "i" : 1 + }, + { + "_key" : "12198", + "_id" : "products/12198", + "_rev" : "_W-M-T2S--_", "a" : { "k" : 1, "j" : 1 }, "i" : 1 }, - { - "_key" : "12199", - "_id" : "products/12199", - "_rev" : "_V82Nm56--_", - "a" : { - "j" : 1 - }, - "i" : 1 - }, { "_key" : "12205", "_id" : "products/12205", - "_rev" : "_V82Nm56--D", - "a" : { - "k" : 2, - "j" : 2 - }, + "_rev" : "_W-M-T2S--D", "i" : 1 } ], diff --git a/Documentation/Examples/RestSimpleByExample2.generated b/Documentation/Examples/RestSimpleByExample2.generated index c9bc71c0be..dae26be524 100644 --- a/Documentation/Examples/RestSimpleByExample2.generated +++ b/Documentation/Examples/RestSimpleByExample2.generated @@ -14,18 +14,18 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12225", - "_id" : "products/12225", - "_rev" : "_V82Nm7q--B", + "_key" : "12228", + "_id" : "products/12228", + "_rev" : "_W-M-T4W--B", "a" : { "j" : 1 }, "i" : 1 }, { - "_key" : "12221", - "_id" : "products/12221", - "_rev" : "_V82Nm7q--_", + "_key" : "12224", + "_id" : "products/12224", + "_rev" : "_W-M-T4W--_", "a" : { "k" : 1, "j" : 1 diff --git a/Documentation/Examples/RestSimpleByExample3.generated b/Documentation/Examples/RestSimpleByExample3.generated index b6761f14e1..636e5bf0d0 100644 --- a/Documentation/Examples/RestSimpleByExample3.generated +++ b/Documentation/Examples/RestSimpleByExample3.generated @@ -16,9 +16,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12251", - "_id" : "products/12251", - "_rev" : "_V82Nm9S--B", + "_key" : "12254", + "_id" : "products/12254", + "_rev" : "_W-M-T6S--B", "a" : { "j" : 1 }, diff --git a/Documentation/Examples/RestSimpleFirstExample.generated b/Documentation/Examples/RestSimpleFirstExample.generated index 1cf72e8ef3..117c15f8cc 100644 --- a/Documentation/Examples/RestSimpleFirstExample.generated +++ b/Documentation/Examples/RestSimpleFirstExample.generated @@ -13,11 +13,12 @@ x-content-type-options: nosniff { "document" : { - "_key" : "12277", - "_id" : "products/12277", - "_rev" : "_V82Nn_u--B", + "_key" : "12286", + "_id" : "products/12286", + "_rev" : "_W-M-T8W--D", "a" : { - "j" : 1 + "k" : 2, + "j" : 2 }, "i" : 1 }, diff --git a/Documentation/Examples/RestSimpleFulltext.generated b/Documentation/Examples/RestSimpleFulltext.generated index 0ecd88c707..e5bcdc19ec 100644 --- a/Documentation/Examples/RestSimpleFulltext.generated +++ b/Documentation/Examples/RestSimpleFulltext.generated @@ -13,15 +13,15 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12323", - "_id" : "products/12323", - "_rev" : "_V82NnDa--_", + "_key" : "12326", + "_id" : "products/12326", + "_rev" : "_W-M-U_2--_", "text" : "this text contains word" }, { - "_key" : "12327", - "_id" : "products/12327", - "_rev" : "_V82NnDe--_", + "_key" : "12330", + "_id" : "products/12330", + "_rev" : "_W-M-U_2--B", "text" : "this text also has a word" } ], diff --git a/Documentation/Examples/RestSimpleLookup.generated b/Documentation/Examples/RestSimpleLookup.generated index 08fec11b21..7aae4d0b29 100644 --- a/Documentation/Examples/RestSimpleLookup.generated +++ b/Documentation/Examples/RestSimpleLookup.generated @@ -25,61 +25,61 @@ x-content-type-options: nosniff { "_key" : "test0", "_id" : "test/test0", - "_rev" : "_V82NnHS--_", + "_rev" : "_W-M-UC6--_", "value" : 0 }, { "_key" : "test1", "_id" : "test/test1", - "_rev" : "_V82NnHS--B", + "_rev" : "_W-M-UC6--B", "value" : 1 }, { "_key" : "test2", "_id" : "test/test2", - "_rev" : "_V82NnHW--_", + "_rev" : "_W-M-UC6--D", "value" : 2 }, { "_key" : "test3", "_id" : "test/test3", - "_rev" : "_V82NnHW--B", + "_rev" : "_W-M-UC6--F", "value" : 3 }, { "_key" : "test4", "_id" : "test/test4", - "_rev" : "_V82NnHW--D", + "_rev" : "_W-M-UD---_", "value" : 4 }, { "_key" : "test5", "_id" : "test/test5", - "_rev" : "_V82NnHW--F", + "_rev" : "_W-M-UD---B", "value" : 5 }, { "_key" : "test6", "_id" : "test/test6", - "_rev" : "_V82NnHW--H", + "_rev" : "_W-M-UD---D", "value" : 6 }, { "_key" : "test7", "_id" : "test/test7", - "_rev" : "_V82NnHW--J", + "_rev" : "_W-M-UD---F", "value" : 7 }, { "_key" : "test8", "_id" : "test/test8", - "_rev" : "_V82NnHW--L", + "_rev" : "_W-M-UDC--_", "value" : 8 }, { "_key" : "test9", "_id" : "test/test9", - "_rev" : "_V82NnHa--_", + "_rev" : "_W-M-UDC--B", "value" : 9 } ], diff --git a/Documentation/Examples/RestSimpleNear.generated b/Documentation/Examples/RestSimpleNear.generated index 3345966396..09e5bb36e0 100644 --- a/Documentation/Examples/RestSimpleNear.generated +++ b/Documentation/Examples/RestSimpleNear.generated @@ -15,9 +15,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12439", - "_id" : "products/12439", - "_rev" : "_V82NnN6--D", + "_key" : "12441", + "_id" : "products/12441", + "_rev" : "_W-M-UHy--D", "name" : "Name/0.002/", "loc" : [ 0.002, @@ -25,9 +25,9 @@ x-content-type-options: nosniff ] }, { - "_key" : "12433", - "_id" : "products/12433", - "_rev" : "_V82NnN6--_", + "_key" : "12435", + "_id" : "products/12435", + "_rev" : "_W-M-UHy--_", "name" : "Name/-0.002/", "loc" : [ -0.002, diff --git a/Documentation/Examples/RestSimpleNearDistance.generated b/Documentation/Examples/RestSimpleNearDistance.generated index 37f07f9e5b..ec2d9f7503 100644 --- a/Documentation/Examples/RestSimpleNearDistance.generated +++ b/Documentation/Examples/RestSimpleNearDistance.generated @@ -17,9 +17,9 @@ x-content-type-options: nosniff "result" : [ { "distance" : 222.38985328911744, - "_id" : "products/12484", - "_key" : "12484", - "_rev" : "_V82NnQ6--_", + "_id" : "products/12486", + "_key" : "12486", + "_rev" : "_W-M-UL---B", "loc" : [ -0.002, 0 @@ -28,9 +28,9 @@ x-content-type-options: nosniff }, { "distance" : 222.38985328911744, - "_id" : "products/12490", - "_key" : "12490", - "_rev" : "_V82NnQ6--D", + "_id" : "products/12492", + "_key" : "12492", + "_rev" : "_W-M-UL---F", "loc" : [ 0.002, 0 @@ -39,9 +39,9 @@ x-content-type-options: nosniff }, { "distance" : 444.779706578235, - "_id" : "products/12481", - "_key" : "12481", - "_rev" : "_V82NnQ2--D", + "_id" : "products/12483", + "_key" : "12483", + "_rev" : "_W-M-UL---_", "loc" : [ -0.004, 0 diff --git a/Documentation/Examples/RestSimpleRange.generated b/Documentation/Examples/RestSimpleRange.generated index 200c0bb668..d32ec87352 100644 --- a/Documentation/Examples/RestSimpleRange.generated +++ b/Documentation/Examples/RestSimpleRange.generated @@ -14,15 +14,15 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12526", - "_id" : "products/12526", - "_rev" : "_V82NnUC--B", + "_key" : "12529", + "_id" : "products/12529", + "_rev" : "_W-M-UOy--B", "i" : 2 }, { - "_key" : "12529", - "_id" : "products/12529", - "_rev" : "_V82NnUC--D", + "_key" : "12532", + "_id" : "products/12532", + "_rev" : "_W-M-UOy--D", "i" : 3 } ], diff --git a/Documentation/Examples/RestSimpleWithin.generated b/Documentation/Examples/RestSimpleWithin.generated index bb1997368c..7a50d4f355 100644 --- a/Documentation/Examples/RestSimpleWithin.generated +++ b/Documentation/Examples/RestSimpleWithin.generated @@ -16,9 +16,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12852", - "_id" : "products/12852", - "_rev" : "_V82Nnoa--F", + "_key" : "12856", + "_id" : "products/12856", + "_rev" : "_W-M-Uny--B", "name" : "Name/0.002/", "loc" : [ 0.002, @@ -26,9 +26,9 @@ x-content-type-options: nosniff ] }, { - "_key" : "12846", - "_id" : "products/12846", - "_rev" : "_V82Nnoa--B", + "_key" : "12850", + "_id" : "products/12850", + "_rev" : "_W-M-Unu--D", "name" : "Name/-0.002/", "loc" : [ -0.002, diff --git a/Documentation/Examples/RestSimpleWithinDistance.generated b/Documentation/Examples/RestSimpleWithinDistance.generated index 80606b9444..7d8ea6333f 100644 --- a/Documentation/Examples/RestSimpleWithinDistance.generated +++ b/Documentation/Examples/RestSimpleWithinDistance.generated @@ -18,9 +18,9 @@ x-content-type-options: nosniff "result" : [ { "distance" : 222.38985328911744, - "_id" : "products/12898", - "_key" : "12898", - "_rev" : "_V82Nnrq--_", + "_id" : "products/12901", + "_key" : "12901", + "_rev" : "_W-M-Ura--D", "loc" : [ -0.002, 0 @@ -29,9 +29,9 @@ x-content-type-options: nosniff }, { "distance" : 222.38985328911744, - "_id" : "products/12904", - "_key" : "12904", - "_rev" : "_V82Nnrq--D", + "_id" : "products/12907", + "_key" : "12907", + "_rev" : "_W-M-Ure--_", "loc" : [ 0.002, 0 @@ -40,9 +40,9 @@ x-content-type-options: nosniff }, { "distance" : 444.779706578235, - "_id" : "products/12895", - "_key" : "12895", - "_rev" : "_V82Nnrm--F", + "_id" : "products/12898", + "_key" : "12898", + "_rev" : "_W-M-Ura--B", "loc" : [ -0.004, 0 diff --git a/Documentation/Examples/RestSimpleWithinRectangle.generated b/Documentation/Examples/RestSimpleWithinRectangle.generated index afa44be891..c3e1235938 100644 --- a/Documentation/Examples/RestSimpleWithinRectangle.generated +++ b/Documentation/Examples/RestSimpleWithinRectangle.generated @@ -17,9 +17,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12964", - "_id" : "products/12964", - "_rev" : "_V82NnvC--H", + "_key" : "12967", + "_id" : "products/12967", + "_rev" : "_W-M-Uui--B", "name" : "Name/0.008/", "loc" : [ 0.008, @@ -27,9 +27,9 @@ x-content-type-options: nosniff ] }, { - "_key" : "12961", - "_id" : "products/12961", - "_rev" : "_V82NnvC--F", + "_key" : "12964", + "_id" : "products/12964", + "_rev" : "_W-M-Uui--_", "name" : "Name/0.006/", "loc" : [ 0.006, diff --git a/Documentation/Examples/RestTasksCreate.generated b/Documentation/Examples/RestTasksCreate.generated index ee10ae699b..5a0fc01c97 100644 --- a/Documentation/Examples/RestTasksCreate.generated +++ b/Documentation/Examples/RestTasksCreate.generated @@ -15,9 +15,9 @@ content-type: application/json; charset=utf-8 x-content-type-options: nosniff { - "id" : "12982", + "id" : "12985", "name" : "SampleTask", - "created" : 1511527524.133228, + "created" : 1511887231.77295, "type" : "periodic", "period" : 2, "offset" : 0, @@ -26,5 +26,5 @@ x-content-type-options: nosniff "error" : false, "code" : 200 } -shell> curl -X DELETE --dump - http://localhost:8529/_api/tasks/12982 +shell> curl -X DELETE --dump - http://localhost:8529/_api/tasks/12985 diff --git a/Documentation/Examples/RestTasksListAll.generated b/Documentation/Examples/RestTasksListAll.generated index 99bf9c93c2..35639c7d32 100644 --- a/Documentation/Examples/RestTasksListAll.generated +++ b/Documentation/Examples/RestTasksListAll.generated @@ -8,17 +8,17 @@ x-content-type-options: nosniff { "id" : "statistics-gc", "name" : "statistics-gc", - "created" : 1511527511.92422, + "created" : 1511887218.926579, "type" : "periodic", "period" : 450, - "offset" : 281.371975, + "offset" : 161.256485, "command" : "(function (params) { require('@arangodb/statistics').garbageCollector(); } )(params);", "database" : "_system" }, { "id" : "statistics-average-collector", "name" : "statistics-average-collector", - "created" : 1511527511.924135, + "created" : 1511887218.92649, "type" : "periodic", "period" : 900, "offset" : 20, @@ -28,7 +28,7 @@ x-content-type-options: nosniff { "id" : "statistics-collector", "name" : "statistics-collector", - "created" : 1511527511.924018, + "created" : 1511887218.926385, "type" : "periodic", "period" : 10, "offset" : 1, @@ -38,7 +38,7 @@ x-content-type-options: nosniff { "id" : "84", "name" : "user-defined task", - "created" : 1511527501.97088, + "created" : 1511887208.970007, "type" : "periodic", "period" : 1, "offset" : 0.000001, diff --git a/Documentation/Examples/RestTasksListOne.generated b/Documentation/Examples/RestTasksListOne.generated index 8af5be3f7a..8f66be437e 100644 --- a/Documentation/Examples/RestTasksListOne.generated +++ b/Documentation/Examples/RestTasksListOne.generated @@ -7,7 +7,7 @@ x-content-type-options: nosniff { "id" : "statistics-average-collector", "name" : "statistics-average-collector", - "created" : 1511527511.924135, + "created" : 1511887218.92649, "type" : "periodic", "period" : 900, "offset" : 20, diff --git a/Documentation/Examples/RestTasksPutWithId.generated b/Documentation/Examples/RestTasksPutWithId.generated index de99752967..c141e809a6 100644 --- a/Documentation/Examples/RestTasksPutWithId.generated +++ b/Documentation/Examples/RestTasksPutWithId.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff { "id" : "sampleTask", "name" : "SampleTask", - "created" : 1511527524.152967, + "created" : 1511887231.8003, "type" : "periodic", "period" : 2, "offset" : 0, diff --git a/Documentation/Examples/RestTraversalAny.generated b/Documentation/Examples/RestTraversalAny.generated index 3fa7aee425..dbb4d31edc 100644 --- a/Documentation/Examples/RestTraversalAny.generated +++ b/Documentation/Examples/RestTraversalAny.generated @@ -21,37 +21,37 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nn7e--B", + "_rev" : "_W-M-U96--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nn7e--D", + "_rev" : "_W-M-U96--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nn7e--F", + "_rev" : "_W-M-U96--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nn7i--_", + "_rev" : "_W-M-V----_", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" } ], @@ -62,7 +62,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" } ] @@ -70,11 +70,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13098", - "_id" : "knows/13098", + "_key" : "13101", + "_id" : "knows/13101", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nn7i--B", + "_rev" : "_W-M-V----B", "vertex" : "alice" } ], @@ -82,13 +82,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nn7e--B", + "_rev" : "_W-M-U96--B", "name" : "Bob" } ] @@ -96,19 +96,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13098", - "_id" : "knows/13098", + "_key" : "13101", + "_id" : "knows/13101", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nn7i--B", + "_rev" : "_W-M-V----B", "vertex" : "alice" }, { - "_key" : "13102", - "_id" : "knows/13102", + "_key" : "13105", + "_id" : "knows/13105", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82Nn7i--D", + "_rev" : "_W-M-V----D", "vertex" : "bob" } ], @@ -116,19 +116,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nn7e--B", + "_rev" : "_W-M-U96--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nn7e--D", + "_rev" : "_W-M-U96--D", "name" : "Charlie" } ] @@ -136,19 +136,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13098", - "_id" : "knows/13098", + "_key" : "13101", + "_id" : "knows/13101", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nn7i--B", + "_rev" : "_W-M-V----B", "vertex" : "alice" }, { - "_key" : "13105", - "_id" : "knows/13105", + "_key" : "13108", + "_id" : "knows/13108", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82Nn7i--F", + "_rev" : "_W-M-V----F", "vertex" : "bob" } ], @@ -156,19 +156,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nn7e--B", + "_rev" : "_W-M-U96--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nn7e--F", + "_rev" : "_W-M-U96--F", "name" : "Dave" } ] @@ -176,19 +176,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13098", - "_id" : "knows/13098", + "_key" : "13101", + "_id" : "knows/13101", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nn7i--B", + "_rev" : "_W-M-V----B", "vertex" : "alice" }, { - "_key" : "13111", - "_id" : "knows/13111", + "_key" : "13114", + "_id" : "knows/13114", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82Nn7m--B", + "_rev" : "_W-M-V-C--A", "vertex" : "eve" } ], @@ -196,19 +196,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nn7e--B", + "_rev" : "_W-M-U96--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nn7i--_", + "_rev" : "_W-M-V----_", "name" : "Eve" } ] @@ -216,27 +216,27 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13098", - "_id" : "knows/13098", + "_key" : "13101", + "_id" : "knows/13101", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nn7i--B", + "_rev" : "_W-M-V----B", "vertex" : "alice" }, + { + "_key" : "13114", + "_id" : "knows/13114", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-V-C--A", + "vertex" : "eve" + }, { "_key" : "13111", "_id" : "knows/13111", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82Nn7m--B", - "vertex" : "eve" - }, - { - "_key" : "13108", - "_id" : "knows/13108", - "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82Nn7m--_", + "_rev" : "_W-M-V-C---", "vertex" : "eve" } ], @@ -244,25 +244,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nn7e--B", + "_rev" : "_W-M-U96--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nn7i--_", + "_rev" : "_W-M-V----_", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nn7e--_", + "_rev" : "_W-M-U96--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalBackwardItemOrder.generated b/Documentation/Examples/RestTraversalBackwardItemOrder.generated index 8a96886ea4..71544945dc 100644 --- a/Documentation/Examples/RestTraversalBackwardItemOrder.generated +++ b/Documentation/Examples/RestTraversalBackwardItemOrder.generated @@ -18,67 +18,67 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82No_e--B", + "_rev" : "_W-M-VCq--_", "name" : "Dave" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82No_e--_", + "_rev" : "_W-M-VCm--D", "name" : "Charlie" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82No_e--B", + "_rev" : "_W-M-VCq--_", "name" : "Dave" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82No_e--_", + "_rev" : "_W-M-VCm--D", "name" : "Charlie" } ], @@ -89,7 +89,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" } ] @@ -97,11 +97,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13202", - "_id" : "knows/13202", + "_key" : "13205", + "_id" : "knows/13205", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82No_i--D", + "_rev" : "_W-M-VCu--D", "vertex" : "eve" } ], @@ -109,33 +109,33 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" } ] }, { "edges" : [ - { - "_key" : "13202", - "_id" : "knows/13202", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82No_i--D", - "vertex" : "eve" - }, { "_key" : "13205", "_id" : "knows/13205", "_from" : "persons/eve", + "_to" : "persons/alice", + "_rev" : "_W-M-VCu--D", + "vertex" : "eve" + }, + { + "_key" : "13208", + "_id" : "knows/13208", + "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82No_i--F", + "_rev" : "_W-M-VCu--F", "vertex" : "eve" } ], @@ -143,47 +143,47 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" } ] }, { "edges" : [ - { - "_key" : "13202", - "_id" : "knows/13202", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82No_i--D", - "vertex" : "eve" - }, { "_key" : "13205", "_id" : "knows/13205", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82No_i--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VCu--D", "vertex" : "eve" }, { - "_key" : "13192", - "_id" : "knows/13192", + "_key" : "13208", + "_id" : "knows/13208", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VCu--F", + "vertex" : "eve" + }, + { + "_key" : "13195", + "_id" : "knows/13195", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82No_e--F", + "_rev" : "_W-M-VCq--D", "vertex" : "alice" } ], @@ -191,53 +191,53 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" } ] }, { "edges" : [ - { - "_key" : "13202", - "_id" : "knows/13202", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82No_i--D", - "vertex" : "eve" - }, { "_key" : "13205", "_id" : "knows/13205", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82No_i--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VCu--D", "vertex" : "eve" }, { - "_key" : "13199", - "_id" : "knows/13199", + "_key" : "13208", + "_id" : "knows/13208", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VCu--F", + "vertex" : "eve" + }, + { + "_key" : "13202", + "_id" : "knows/13202", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82No_i--B", + "_rev" : "_W-M-VCu--B", "vertex" : "bob" } ], @@ -245,53 +245,53 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82No_e--B", + "_rev" : "_W-M-VCq--_", "name" : "Dave" } ] }, { "edges" : [ - { - "_key" : "13202", - "_id" : "knows/13202", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82No_i--D", - "vertex" : "eve" - }, { "_key" : "13205", "_id" : "knows/13205", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82No_i--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VCu--D", "vertex" : "eve" }, { - "_key" : "13196", - "_id" : "knows/13196", + "_key" : "13208", + "_id" : "knows/13208", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VCu--F", + "vertex" : "eve" + }, + { + "_key" : "13199", + "_id" : "knows/13199", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82No_i--_", + "_rev" : "_W-M-VCu--_", "vertex" : "bob" } ], @@ -299,25 +299,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82No_e--_", + "_rev" : "_W-M-VCm--D", "name" : "Charlie" } ] @@ -325,11 +325,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13192", - "_id" : "knows/13192", + "_key" : "13195", + "_id" : "knows/13195", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82No_e--F", + "_rev" : "_W-M-VCq--D", "vertex" : "alice" } ], @@ -337,13 +337,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" } ] @@ -351,19 +351,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13192", - "_id" : "knows/13192", + "_key" : "13195", + "_id" : "knows/13195", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82No_e--F", + "_rev" : "_W-M-VCq--D", "vertex" : "alice" }, { - "_key" : "13205", - "_id" : "knows/13205", + "_key" : "13208", + "_id" : "knows/13208", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82No_i--F", + "_rev" : "_W-M-VCu--F", "vertex" : "eve" } ], @@ -371,19 +371,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No_e--D", + "_rev" : "_W-M-VCq--B", "name" : "Eve" } ] @@ -391,73 +391,73 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13192", - "_id" : "knows/13192", + "_key" : "13195", + "_id" : "knows/13195", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82No_e--F", + "_rev" : "_W-M-VCq--D", "vertex" : "alice" }, + { + "_key" : "13208", + "_id" : "knows/13208", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VCu--F", + "vertex" : "eve" + }, { "_key" : "13205", "_id" : "knows/13205", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82No_i--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VCu--D", "vertex" : "eve" + } + ], + "vertices" : [ + { + "_key" : "alice", + "_id" : "persons/alice", + "_rev" : "_W-M-VCm--_", + "name" : "Alice" + }, + { + "_key" : "bob", + "_id" : "persons/bob", + "_rev" : "_W-M-VCm--B", + "name" : "Bob" + }, + { + "_key" : "eve", + "_id" : "persons/eve", + "_rev" : "_W-M-VCq--B", + "name" : "Eve" + }, + { + "_key" : "alice", + "_id" : "persons/alice", + "_rev" : "_W-M-VCm--_", + "name" : "Alice" + } + ] + }, + { + "edges" : [ + { + "_key" : "13195", + "_id" : "knows/13195", + "_from" : "persons/alice", + "_to" : "persons/bob", + "_rev" : "_W-M-VCq--D", + "vertex" : "alice" }, { "_key" : "13202", "_id" : "knows/13202", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82No_i--D", - "vertex" : "eve" - } - ], - "vertices" : [ - { - "_key" : "alice", - "_id" : "persons/alice", - "_rev" : "_V82No_a--B", - "name" : "Alice" - }, - { - "_key" : "bob", - "_id" : "persons/bob", - "_rev" : "_V82No_a--D", - "name" : "Bob" - }, - { - "_key" : "eve", - "_id" : "persons/eve", - "_rev" : "_V82No_e--D", - "name" : "Eve" - }, - { - "_key" : "alice", - "_id" : "persons/alice", - "_rev" : "_V82No_a--B", - "name" : "Alice" - } - ] - }, - { - "edges" : [ - { - "_key" : "13192", - "_id" : "knows/13192", - "_from" : "persons/alice", - "_to" : "persons/bob", - "_rev" : "_V82No_e--F", - "vertex" : "alice" - }, - { - "_key" : "13199", - "_id" : "knows/13199", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82No_i--B", + "_rev" : "_W-M-VCu--B", "vertex" : "bob" } ], @@ -465,19 +465,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82No_e--B", + "_rev" : "_W-M-VCq--_", "name" : "Dave" } ] @@ -485,19 +485,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13192", - "_id" : "knows/13192", + "_key" : "13195", + "_id" : "knows/13195", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82No_e--F", + "_rev" : "_W-M-VCq--D", "vertex" : "alice" }, { - "_key" : "13196", - "_id" : "knows/13196", + "_key" : "13199", + "_id" : "knows/13199", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82No_i--_", + "_rev" : "_W-M-VCu--_", "vertex" : "bob" } ], @@ -505,19 +505,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No_a--B", + "_rev" : "_W-M-VCm--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No_a--D", + "_rev" : "_W-M-VCm--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82No_e--_", + "_rev" : "_W-M-VCm--D", "name" : "Charlie" } ] diff --git a/Documentation/Examples/RestTraversalDepthFirst.generated b/Documentation/Examples/RestTraversalDepthFirst.generated index 657f24782e..65e2af7166 100644 --- a/Documentation/Examples/RestTraversalDepthFirst.generated +++ b/Documentation/Examples/RestTraversalDepthFirst.generated @@ -18,67 +18,67 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NoEy--F", + "_rev" : "_W-M-VHu--B", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoE2--_", + "_rev" : "_W-M-VHu--D", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NoEy--F", + "_rev" : "_W-M-VHu--B", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoE2--_", + "_rev" : "_W-M-VHu--D", "name" : "Dave" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" } ], @@ -89,7 +89,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" } ] @@ -97,11 +97,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13301", - "_id" : "knows/13301", + "_key" : "13304", + "_id" : "knows/13304", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoE2--D", + "_rev" : "_W-M-VHy--B", "vertex" : "alice" } ], @@ -109,13 +109,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" } ] @@ -123,19 +123,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13301", - "_id" : "knows/13301", + "_key" : "13304", + "_id" : "knows/13304", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoE2--D", + "_rev" : "_W-M-VHy--B", "vertex" : "alice" }, { - "_key" : "13305", - "_id" : "knows/13305", + "_key" : "13308", + "_id" : "knows/13308", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82NoE6--_", + "_rev" : "_W-M-VH2--_", "vertex" : "bob" } ], @@ -143,19 +143,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NoEy--F", + "_rev" : "_W-M-VHu--B", "name" : "Charlie" } ] @@ -163,19 +163,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13301", - "_id" : "knows/13301", + "_key" : "13304", + "_id" : "knows/13304", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoE2--D", + "_rev" : "_W-M-VHy--B", "vertex" : "alice" }, { - "_key" : "13308", - "_id" : "knows/13308", + "_key" : "13311", + "_id" : "knows/13311", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82NoE6--B", + "_rev" : "_W-M-VH2--B", "vertex" : "bob" } ], @@ -183,19 +183,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoE2--_", + "_rev" : "_W-M-VHu--D", "name" : "Dave" } ] @@ -203,19 +203,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13301", - "_id" : "knows/13301", + "_key" : "13304", + "_id" : "knows/13304", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoE2--D", + "_rev" : "_W-M-VHy--B", "vertex" : "alice" }, { - "_key" : "13314", - "_id" : "knows/13314", + "_key" : "13317", + "_id" : "knows/13317", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82NoE6--F", + "_rev" : "_W-M-VH6--B", "vertex" : "eve" } ], @@ -223,19 +223,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" } ] @@ -243,27 +243,27 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13301", - "_id" : "knows/13301", + "_key" : "13304", + "_id" : "knows/13304", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoE2--D", + "_rev" : "_W-M-VHy--B", "vertex" : "alice" }, { - "_key" : "13314", - "_id" : "knows/13314", + "_key" : "13317", + "_id" : "knows/13317", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82NoE6--F", + "_rev" : "_W-M-VH6--B", "vertex" : "eve" }, { - "_key" : "13311", - "_id" : "knows/13311", + "_key" : "13314", + "_id" : "knows/13314", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82NoE6--D", + "_rev" : "_W-M-VH6--_", "vertex" : "eve" } ], @@ -271,71 +271,37 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" } ] }, { "edges" : [ - { - "_key" : "13311", - "_id" : "knows/13311", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82NoE6--D", - "vertex" : "eve" - } - ], - "vertices" : [ - { - "_key" : "alice", - "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", - "name" : "Alice" - }, - { - "_key" : "eve", - "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", - "name" : "Eve" - } - ] - }, - { - "edges" : [ - { - "_key" : "13311", - "_id" : "knows/13311", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82NoE6--D", - "vertex" : "eve" - }, { "_key" : "13314", "_id" : "knows/13314", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82NoE6--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VH6--_", "vertex" : "eve" } ], @@ -343,47 +309,81 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", + "name" : "Eve" + } + ] + }, + { + "edges" : [ + { + "_key" : "13314", + "_id" : "knows/13314", + "_from" : "persons/eve", + "_to" : "persons/alice", + "_rev" : "_W-M-VH6--_", + "vertex" : "eve" + }, + { + "_key" : "13317", + "_id" : "knows/13317", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VH6--B", + "vertex" : "eve" + } + ], + "vertices" : [ + { + "_key" : "alice", + "_id" : "persons/alice", + "_rev" : "_W-M-VHq--_", + "name" : "Alice" + }, + { + "_key" : "eve", + "_id" : "persons/eve", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" } ] }, { "edges" : [ - { - "_key" : "13311", - "_id" : "knows/13311", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82NoE6--D", - "vertex" : "eve" - }, { "_key" : "13314", "_id" : "knows/13314", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82NoE6--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VH6--_", "vertex" : "eve" }, { - "_key" : "13305", - "_id" : "knows/13305", + "_key" : "13317", + "_id" : "knows/13317", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VH6--B", + "vertex" : "eve" + }, + { + "_key" : "13308", + "_id" : "knows/13308", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82NoE6--_", + "_rev" : "_W-M-VH2--_", "vertex" : "bob" } ], @@ -391,53 +391,53 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NoEy--F", + "_rev" : "_W-M-VHu--B", "name" : "Charlie" } ] }, { "edges" : [ - { - "_key" : "13311", - "_id" : "knows/13311", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82NoE6--D", - "vertex" : "eve" - }, { "_key" : "13314", "_id" : "knows/13314", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82NoE6--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VH6--_", "vertex" : "eve" }, { - "_key" : "13308", - "_id" : "knows/13308", + "_key" : "13317", + "_id" : "knows/13317", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VH6--B", + "vertex" : "eve" + }, + { + "_key" : "13311", + "_id" : "knows/13311", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82NoE6--B", + "_rev" : "_W-M-VH2--B", "vertex" : "bob" } ], @@ -445,53 +445,53 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoE2--_", + "_rev" : "_W-M-VHu--D", "name" : "Dave" } ] }, { "edges" : [ - { - "_key" : "13311", - "_id" : "knows/13311", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82NoE6--D", - "vertex" : "eve" - }, { "_key" : "13314", "_id" : "knows/13314", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82NoE6--F", + "_to" : "persons/alice", + "_rev" : "_W-M-VH6--_", "vertex" : "eve" }, { - "_key" : "13301", - "_id" : "knows/13301", + "_key" : "13317", + "_id" : "knows/13317", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VH6--B", + "vertex" : "eve" + }, + { + "_key" : "13304", + "_id" : "knows/13304", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoE2--D", + "_rev" : "_W-M-VHy--B", "vertex" : "alice" } ], @@ -499,25 +499,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoE2--B", + "_rev" : "_W-M-VHy--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoEy--D", + "_rev" : "_W-M-VHu--_", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoEy--B", + "_rev" : "_W-M-VHq--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalEdgeUniqueness.generated b/Documentation/Examples/RestTraversalEdgeUniqueness.generated index f8277bac6f..7fc0914d8d 100644 --- a/Documentation/Examples/RestTraversalEdgeUniqueness.generated +++ b/Documentation/Examples/RestTraversalEdgeUniqueness.generated @@ -21,37 +21,37 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoJ6--D", + "_rev" : "_W-M-VMq--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NoJ6--F", + "_rev" : "_W-M-VMq--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoK---_", + "_rev" : "_W-M-VMq--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoK---B", + "_rev" : "_W-M-VMq--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" } ], @@ -62,7 +62,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" } ] @@ -70,11 +70,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13410", - "_id" : "knows/13410", + "_key" : "13413", + "_id" : "knows/13413", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoK---D", + "_rev" : "_W-M-VMu--_", "vertex" : "alice" } ], @@ -82,13 +82,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoJ6--D", + "_rev" : "_W-M-VMq--B", "name" : "Bob" } ] @@ -96,19 +96,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13410", - "_id" : "knows/13410", + "_key" : "13413", + "_id" : "knows/13413", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoK---D", + "_rev" : "_W-M-VMu--_", "vertex" : "alice" }, { - "_key" : "13414", - "_id" : "knows/13414", + "_key" : "13417", + "_id" : "knows/13417", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82NoKC--_", + "_rev" : "_W-M-VMu--B", "vertex" : "bob" } ], @@ -116,19 +116,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoJ6--D", + "_rev" : "_W-M-VMq--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NoJ6--F", + "_rev" : "_W-M-VMq--D", "name" : "Charlie" } ] @@ -136,19 +136,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13410", - "_id" : "knows/13410", + "_key" : "13413", + "_id" : "knows/13413", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoK---D", + "_rev" : "_W-M-VMu--_", "vertex" : "alice" }, { - "_key" : "13417", - "_id" : "knows/13417", + "_key" : "13420", + "_id" : "knows/13420", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82NoKC--B", + "_rev" : "_W-M-VMu--D", "vertex" : "bob" } ], @@ -156,19 +156,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoJ6--D", + "_rev" : "_W-M-VMq--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoK---_", + "_rev" : "_W-M-VMq--F", "name" : "Dave" } ] @@ -176,19 +176,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13410", - "_id" : "knows/13410", + "_key" : "13413", + "_id" : "knows/13413", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoK---D", + "_rev" : "_W-M-VMu--_", "vertex" : "alice" }, { - "_key" : "13423", - "_id" : "knows/13423", + "_key" : "13426", + "_id" : "knows/13426", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82NoKG--B", + "_rev" : "_W-M-VMu--H", "vertex" : "eve" } ], @@ -196,19 +196,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoJ6--D", + "_rev" : "_W-M-VMq--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoK---B", + "_rev" : "_W-M-VMq--H", "name" : "Eve" } ] @@ -216,27 +216,27 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13410", - "_id" : "knows/13410", + "_key" : "13413", + "_id" : "knows/13413", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoK---D", + "_rev" : "_W-M-VMu--_", "vertex" : "alice" }, + { + "_key" : "13426", + "_id" : "knows/13426", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-VMu--H", + "vertex" : "eve" + }, { "_key" : "13423", "_id" : "knows/13423", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82NoKG--B", - "vertex" : "eve" - }, - { - "_key" : "13420", - "_id" : "knows/13420", - "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82NoKG--_", + "_rev" : "_W-M-VMu--F", "vertex" : "eve" } ], @@ -244,25 +244,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoJ6--D", + "_rev" : "_W-M-VMq--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoK---B", + "_rev" : "_W-M-VMq--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoJ6--B", + "_rev" : "_W-M-VMq--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalFilterExclude.generated b/Documentation/Examples/RestTraversalFilterExclude.generated index 5ee92dec3a..f817f1d43b 100644 --- a/Documentation/Examples/RestTraversalFilterExclude.generated +++ b/Documentation/Examples/RestTraversalFilterExclude.generated @@ -18,13 +18,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoOm--B", + "_rev" : "_W-M-VS---B", "name" : "Alice" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoOq--D", + "_rev" : "_W-M-VSC--_", "name" : "Dave" } ], @@ -35,7 +35,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoOm--B", + "_rev" : "_W-M-VS---B", "name" : "Alice" } ] @@ -43,19 +43,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13504", - "_id" : "knows/13504", + "_key" : "13507", + "_id" : "knows/13507", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoOq--H", + "_rev" : "_W-M-VSC--D", "vertex" : "alice" }, { - "_key" : "13511", - "_id" : "knows/13511", + "_key" : "13514", + "_id" : "knows/13514", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82NoOu--_", + "_rev" : "_W-M-VSC--H", "vertex" : "bob" } ], @@ -63,19 +63,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoOm--B", + "_rev" : "_W-M-VS---B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoOq--_", + "_rev" : "_W-M-VS---D", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NoOq--D", + "_rev" : "_W-M-VSC--_", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalFilterPrune.generated b/Documentation/Examples/RestTraversalFilterPrune.generated index 33c6ae3b5a..58603bb876 100644 --- a/Documentation/Examples/RestTraversalFilterPrune.generated +++ b/Documentation/Examples/RestTraversalFilterPrune.generated @@ -18,13 +18,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoSG--_", + "_rev" : "_W-M-VWS--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoSG--B", + "_rev" : "_W-M-VWW--_", "name" : "Bob" } ], @@ -35,7 +35,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoSG--_", + "_rev" : "_W-M-VWS--_", "name" : "Alice" } ] @@ -43,11 +43,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13587", - "_id" : "knows/13587", + "_key" : "13590", + "_id" : "knows/13590", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoSK--D", + "_rev" : "_W-M-VWe--_", "vertex" : "alice" } ], @@ -55,13 +55,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoSG--_", + "_rev" : "_W-M-VWS--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoSG--B", + "_rev" : "_W-M-VWW--_", "name" : "Bob" } ] diff --git a/Documentation/Examples/RestTraversalInbound.generated b/Documentation/Examples/RestTraversalInbound.generated index fad1445983..20e0fe785d 100644 --- a/Documentation/Examples/RestTraversalInbound.generated +++ b/Documentation/Examples/RestTraversalInbound.generated @@ -17,13 +17,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoVq--_", + "_rev" : "_W-M-Vaa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoVq--H", + "_rev" : "_W-M-Vae--B", "name" : "Eve" } ], @@ -34,7 +34,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoVq--_", + "_rev" : "_W-M-Vaa--_", "name" : "Alice" } ] @@ -42,11 +42,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13675", - "_id" : "knows/13675", + "_key" : "13678", + "_id" : "knows/13678", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82NoVu--F", + "_rev" : "_W-M-Vae--J", "vertex" : "eve" } ], @@ -54,13 +54,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoVq--_", + "_rev" : "_W-M-Vaa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82NoVq--H", + "_rev" : "_W-M-Vae--B", "name" : "Eve" } ] diff --git a/Documentation/Examples/RestTraversalMaxDepth.generated b/Documentation/Examples/RestTraversalMaxDepth.generated index baced387a8..cf6fa50798 100644 --- a/Documentation/Examples/RestTraversalMaxDepth.generated +++ b/Documentation/Examples/RestTraversalMaxDepth.generated @@ -18,13 +18,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoZC--_", + "_rev" : "_W-M-Vf---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoZC--B", + "_rev" : "_W-M-Vf---B", "name" : "Bob" } ], @@ -35,7 +35,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoZC--_", + "_rev" : "_W-M-Vf---_", "name" : "Alice" } ] @@ -43,11 +43,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13744", - "_id" : "knows/13744", + "_key" : "13747", + "_id" : "knows/13747", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82NoZC--J", + "_rev" : "_W-M-VfC--_", "vertex" : "alice" } ], @@ -55,13 +55,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NoZC--_", + "_rev" : "_W-M-Vf---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NoZC--B", + "_rev" : "_W-M-Vf---B", "name" : "Bob" } ] diff --git a/Documentation/Examples/RestTraversalMinDepth.generated b/Documentation/Examples/RestTraversalMinDepth.generated index 5c6b937dad..cb72530875 100644 --- a/Documentation/Examples/RestTraversalMinDepth.generated +++ b/Documentation/Examples/RestTraversalMinDepth.generated @@ -18,13 +18,13 @@ x-content-type-options: nosniff { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nohy--B", + "_rev" : "_W-M-VoW--F", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nohy--D", + "_rev" : "_W-M-Voa--_", "name" : "Dave" } ], @@ -32,19 +32,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13933", - "_id" : "knows/13933", + "_key" : "13936", + "_id" : "knows/13936", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Noh2--_", + "_rev" : "_W-M-Voa--D", "vertex" : "alice" }, { - "_key" : "13937", - "_id" : "knows/13937", + "_key" : "13940", + "_id" : "knows/13940", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82Noh2--B", + "_rev" : "_W-M-Voa--F", "vertex" : "bob" } ], @@ -52,19 +52,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nohu--B", + "_rev" : "_W-M-VoW--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nohy--_", + "_rev" : "_W-M-VoW--D", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nohy--B", + "_rev" : "_W-M-VoW--F", "name" : "Charlie" } ] @@ -72,19 +72,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "13933", - "_id" : "knows/13933", + "_key" : "13936", + "_id" : "knows/13936", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Noh2--_", + "_rev" : "_W-M-Voa--D", "vertex" : "alice" }, { - "_key" : "13940", - "_id" : "knows/13940", + "_key" : "13943", + "_id" : "knows/13943", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82Noh6--_", + "_rev" : "_W-M-Voa--H", "vertex" : "bob" } ], @@ -92,19 +92,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nohu--B", + "_rev" : "_W-M-VoW--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nohy--_", + "_rev" : "_W-M-VoW--D", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nohy--D", + "_rev" : "_W-M-Voa--_", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalOutbound.generated b/Documentation/Examples/RestTraversalOutbound.generated index 17a9af7f30..26e6fff238 100644 --- a/Documentation/Examples/RestTraversalOutbound.generated +++ b/Documentation/Examples/RestTraversalOutbound.generated @@ -17,25 +17,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nomu--B", + "_rev" : "_W-M-VtK--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nomu--D", + "_rev" : "_W-M-VtK--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nomy--_", + "_rev" : "_W-M-VtK--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nomy--B", + "_rev" : "_W-M-VtK--F", "name" : "Dave" } ], @@ -46,7 +46,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nomu--B", + "_rev" : "_W-M-VtK--_", "name" : "Alice" } ] @@ -54,11 +54,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14016", - "_id" : "knows/14016", + "_key" : "14019", + "_id" : "knows/14019", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nomy--F", + "_rev" : "_W-M-VtO--B", "vertex" : "alice" } ], @@ -66,13 +66,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nomu--B", + "_rev" : "_W-M-VtK--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nomu--D", + "_rev" : "_W-M-VtK--B", "name" : "Bob" } ] @@ -80,19 +80,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14016", - "_id" : "knows/14016", + "_key" : "14019", + "_id" : "knows/14019", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nomy--F", + "_rev" : "_W-M-VtO--B", "vertex" : "alice" }, { - "_key" : "14020", - "_id" : "knows/14020", + "_key" : "14023", + "_id" : "knows/14023", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82Nom2--_", + "_rev" : "_W-M-VtO--D", "vertex" : "bob" } ], @@ -100,19 +100,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nomu--B", + "_rev" : "_W-M-VtK--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nomu--D", + "_rev" : "_W-M-VtK--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nomy--_", + "_rev" : "_W-M-VtK--D", "name" : "Charlie" } ] @@ -120,19 +120,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14016", - "_id" : "knows/14016", + "_key" : "14019", + "_id" : "knows/14019", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nomy--F", + "_rev" : "_W-M-VtO--B", "vertex" : "alice" }, { - "_key" : "14023", - "_id" : "knows/14023", + "_key" : "14026", + "_id" : "knows/14026", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82Nom2--B", + "_rev" : "_W-M-VtO--F", "vertex" : "bob" } ], @@ -140,19 +140,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82Nomu--B", + "_rev" : "_W-M-VtK--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82Nomu--D", + "_rev" : "_W-M-VtK--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nomy--B", + "_rev" : "_W-M-VtK--F", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalPostorder.generated b/Documentation/Examples/RestTraversalPostorder.generated index 7c13142abf..f2ec90edc3 100644 --- a/Documentation/Examples/RestTraversalPostorder.generated +++ b/Documentation/Examples/RestTraversalPostorder.generated @@ -18,67 +18,67 @@ x-content-type-options: nosniff { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nora--_", + "_rev" : "_W-M-Vxa--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nore--_", + "_rev" : "_W-M-Vxa--F", "name" : "Dave" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nora--_", + "_rev" : "_W-M-Vxa--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nore--_", + "_rev" : "_W-M-Vxa--F", "name" : "Dave" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" } ], @@ -86,19 +86,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14099", - "_id" : "knows/14099", + "_key" : "14102", + "_id" : "knows/14102", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nori--B", + "_rev" : "_W-M-Vxe--_", "vertex" : "alice" }, { - "_key" : "14103", - "_id" : "knows/14103", + "_key" : "14106", + "_id" : "knows/14106", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82Nori--D", + "_rev" : "_W-M-Vxe--B", "vertex" : "bob" } ], @@ -106,19 +106,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nora--_", + "_rev" : "_W-M-Vxa--D", "name" : "Charlie" } ] @@ -126,19 +126,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14099", - "_id" : "knows/14099", + "_key" : "14102", + "_id" : "knows/14102", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nori--B", + "_rev" : "_W-M-Vxe--_", "vertex" : "alice" }, { - "_key" : "14106", - "_id" : "knows/14106", + "_key" : "14109", + "_id" : "knows/14109", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82Norm---", + "_rev" : "_W-M-Vxe--D", "vertex" : "bob" } ], @@ -146,19 +146,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nore--_", + "_rev" : "_W-M-Vxa--F", "name" : "Dave" } ] @@ -166,27 +166,27 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14099", - "_id" : "knows/14099", + "_key" : "14102", + "_id" : "knows/14102", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nori--B", + "_rev" : "_W-M-Vxe--_", "vertex" : "alice" }, + { + "_key" : "14115", + "_id" : "knows/14115", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-Vxe--H", + "vertex" : "eve" + }, { "_key" : "14112", "_id" : "knows/14112", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82Norm--C", - "vertex" : "eve" - }, - { - "_key" : "14109", - "_id" : "knows/14109", - "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82Norm--A", + "_rev" : "_W-M-Vxe--F", "vertex" : "eve" } ], @@ -194,25 +194,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" } ] @@ -220,19 +220,19 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14099", - "_id" : "knows/14099", + "_key" : "14102", + "_id" : "knows/14102", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nori--B", + "_rev" : "_W-M-Vxe--_", "vertex" : "alice" }, { - "_key" : "14112", - "_id" : "knows/14112", + "_key" : "14115", + "_id" : "knows/14115", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82Norm--C", + "_rev" : "_W-M-Vxe--H", "vertex" : "eve" } ], @@ -240,19 +240,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" } ] @@ -260,11 +260,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14099", - "_id" : "knows/14099", + "_key" : "14102", + "_id" : "knows/14102", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nori--B", + "_rev" : "_W-M-Vxe--_", "vertex" : "alice" } ], @@ -272,41 +272,41 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" } ] }, { "edges" : [ - { - "_key" : "14109", - "_id" : "knows/14109", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82Norm--A", - "vertex" : "eve" - }, { "_key" : "14112", "_id" : "knows/14112", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82Norm--C", + "_to" : "persons/alice", + "_rev" : "_W-M-Vxe--F", "vertex" : "eve" }, { - "_key" : "14103", - "_id" : "knows/14103", + "_key" : "14115", + "_id" : "knows/14115", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-Vxe--H", + "vertex" : "eve" + }, + { + "_key" : "14106", + "_id" : "knows/14106", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_V82Nori--D", + "_rev" : "_W-M-Vxe--B", "vertex" : "bob" } ], @@ -314,53 +314,53 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82Nora--_", + "_rev" : "_W-M-Vxa--D", "name" : "Charlie" } ] }, { "edges" : [ - { - "_key" : "14109", - "_id" : "knows/14109", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82Norm--A", - "vertex" : "eve" - }, { "_key" : "14112", "_id" : "knows/14112", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82Norm--C", + "_to" : "persons/alice", + "_rev" : "_W-M-Vxe--F", "vertex" : "eve" }, { - "_key" : "14106", - "_id" : "knows/14106", + "_key" : "14115", + "_id" : "knows/14115", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-Vxe--H", + "vertex" : "eve" + }, + { + "_key" : "14109", + "_id" : "knows/14109", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82Norm---", + "_rev" : "_W-M-Vxe--D", "vertex" : "bob" } ], @@ -368,53 +368,53 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82Nore--_", + "_rev" : "_W-M-Vxa--F", "name" : "Dave" } ] }, { "edges" : [ - { - "_key" : "14109", - "_id" : "knows/14109", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82Norm--A", - "vertex" : "eve" - }, { "_key" : "14112", "_id" : "knows/14112", "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82Norm--C", + "_to" : "persons/alice", + "_rev" : "_W-M-Vxe--F", "vertex" : "eve" }, { - "_key" : "14099", - "_id" : "knows/14099", + "_key" : "14115", + "_id" : "knows/14115", + "_from" : "persons/eve", + "_to" : "persons/bob", + "_rev" : "_W-M-Vxe--H", + "vertex" : "eve" + }, + { + "_key" : "14102", + "_id" : "knows/14102", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82Nori--B", + "_rev" : "_W-M-Vxe--_", "vertex" : "alice" } ], @@ -422,45 +422,45 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" } ] }, { "edges" : [ - { - "_key" : "14109", - "_id" : "knows/14109", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82Norm--A", - "vertex" : "eve" - }, { "_key" : "14112", "_id" : "knows/14112", "_from" : "persons/eve", + "_to" : "persons/alice", + "_rev" : "_W-M-Vxe--F", + "vertex" : "eve" + }, + { + "_key" : "14115", + "_id" : "knows/14115", + "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82Norm--C", + "_rev" : "_W-M-Vxe--H", "vertex" : "eve" } ], @@ -468,19 +468,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NorW--B", + "_rev" : "_W-M-Vxa--B", "name" : "Bob" } ] @@ -488,11 +488,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14109", - "_id" : "knows/14109", + "_key" : "14112", + "_id" : "knows/14112", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82Norm--A", + "_rev" : "_W-M-Vxe--F", "vertex" : "eve" } ], @@ -500,13 +500,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82Nori--_", + "_rev" : "_W-M-Vxa--H", "name" : "Eve" } ] @@ -517,7 +517,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NorW--_", + "_rev" : "_W-M-Vxa--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalVisitorCountAndList.generated b/Documentation/Examples/RestTraversalVisitorCountAndList.generated index 1eabd34b59..3cbffb1333 100644 --- a/Documentation/Examples/RestTraversalVisitorCountAndList.generated +++ b/Documentation/Examples/RestTraversalVisitorCountAndList.generated @@ -19,25 +19,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82NowK--B", + "_rev" : "_W-M-V2O--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82NowK--D", + "_rev" : "_W-M-V2O--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82NowO--_", + "_rev" : "_W-M-V2O--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82NowO--B", + "_rev" : "_W-M-V2O--F", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalVisitorExpander.generated b/Documentation/Examples/RestTraversalVisitorExpander.generated index 33ff6baa39..9f10bb4334 100644 --- a/Documentation/Examples/RestTraversalVisitorExpander.generated +++ b/Documentation/Examples/RestTraversalVisitorExpander.generated @@ -17,19 +17,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No0G--B", + "_rev" : "_W-M-V66--B", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No0K--F", + "_rev" : "_W-M-V7---F", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No0K--_", + "_rev" : "_W-M-V7---_", "name" : "Bob" } ], @@ -40,7 +40,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No0G--B", + "_rev" : "_W-M-V66--B", "name" : "Alice" } ] @@ -48,11 +48,11 @@ x-content-type-options: nosniff { "edges" : [ { - "_key" : "14301", - "_id" : "knows/14301", + "_key" : "14304", + "_id" : "knows/14304", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_V82No0O--B", + "_rev" : "_W-M-V7C--D", "vertex" : "eve" } ], @@ -60,33 +60,33 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No0G--B", + "_rev" : "_W-M-V66--B", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No0K--F", + "_rev" : "_W-M-V7---F", "name" : "Eve" } ] }, { "edges" : [ - { - "_key" : "14301", - "_id" : "knows/14301", - "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82No0O--B", - "vertex" : "eve" - }, { "_key" : "14304", "_id" : "knows/14304", "_from" : "persons/eve", + "_to" : "persons/alice", + "_rev" : "_W-M-V7C--D", + "vertex" : "eve" + }, + { + "_key" : "14307", + "_id" : "knows/14307", + "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_V82No0O--D", + "_rev" : "_W-M-V7C--F", "vertex" : "eve" } ], @@ -94,19 +94,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82No0G--B", + "_rev" : "_W-M-V66--B", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82No0K--F", + "_rev" : "_W-M-V7---F", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82No0K--_", + "_rev" : "_W-M-V7---_", "name" : "Bob" } ] diff --git a/Documentation/Examples/RestVersion.generated b/Documentation/Examples/RestVersion.generated index 0800bd522c..a00e7ed00a 100644 --- a/Documentation/Examples/RestVersion.generated +++ b/Documentation/Examples/RestVersion.generated @@ -6,6 +6,6 @@ x-content-type-options: nosniff { "server" : "arango", - "version" : "3.3.rc3", + "version" : "3.3.rc4", "license" : "community" } diff --git a/Documentation/Examples/RestVersionDetails.generated b/Documentation/Examples/RestVersionDetails.generated index fb113d21d4..12f4b898fa 100644 --- a/Documentation/Examples/RestVersionDetails.generated +++ b/Documentation/Examples/RestVersionDetails.generated @@ -6,7 +6,7 @@ x-content-type-options: nosniff { "server" : "arango", - "version" : "3.3.rc3", + "version" : "3.3.rc4", "license" : "community", "details" : { "architecture" : "64bit", @@ -15,8 +15,8 @@ x-content-type-options: nosniff "asm-crc32" : "true", "assertions" : "true", "boost-version" : "1.62.0", - "build-date" : "2017-11-24 12:37:02", - "build-repository" : "heads/3.3-0-g6e37b767dd-dirty", + "build-date" : "2017-11-28 15:42:45", + "build-repository" : "heads/3.3-0-g75a494dc74-dirty", "compiler" : "clang [4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)]", "cplusplus" : "201103", "debug" : "false", @@ -24,7 +24,7 @@ x-content-type-options: nosniff "failure-tests" : "false", "fd-client-event-handler" : "poll", "fd-setsize" : "1024", - "full-version-string" : "ArangoDB 3.3.rc3 [darwin] 64bit maintainer mode, using jemalloc, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.0.2m 2 Nov 2017", + "full-version-string" : "ArangoDB 3.3.rc4 [darwin] 64bit maintainer mode, using jemalloc, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.0.2m 2 Nov 2017", "icu-version" : "58.1", "jemalloc" : "true", "maintainer-mode" : "true", @@ -32,7 +32,7 @@ x-content-type-options: nosniff "platform" : "darwin", "reactor-type" : "kqueue", "rocksdb-version" : "5.6.0", - "server-version" : "3.3.rc3", + "server-version" : "3.3.rc4", "sizeof int" : "4", "sizeof void*" : "8", "sse42" : "false", diff --git a/Documentation/Examples/USER_06_AllUsers.generated b/Documentation/Examples/USER_06_AllUsers.generated index d3328d4efd..74f7842e45 100644 --- a/Documentation/Examples/USER_06_AllUsers.generated +++ b/Documentation/Examples/USER_06_AllUsers.generated @@ -6,6 +6,12 @@ arangosh> require("extra" : { } }, + { + "user" : "my-user", + "active" : true, + "extra" : { + } + }, { "user" : "root", "active" : true, @@ -17,11 +23,5 @@ arangosh> require("active" : false, "extra" : { } - }, - { - "user" : "my-user", - "active" : true, - "extra" : { - } } ] diff --git a/Documentation/Examples/accessViaGeoIndex.generated b/Documentation/Examples/accessViaGeoIndex.generated index ffb4d48c20..2a8c41a95b 100644 --- a/Documentation/Examples/accessViaGeoIndex.generated +++ b/Documentation/Examples/accessViaGeoIndex.generated @@ -13,7 +13,7 @@ arangosh> db.example.ensureIndex({ type: "home" ], "geoJson" : false, - "id" : "example/16571", + "id" : "example/16574", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -25,5 +25,5 @@ arangosh> items = db.example.getIndexes().map(1]); [ "example/0", - "example/16571" + "example/16574" ] diff --git a/Documentation/Examples/col_dropIndex.generated b/Documentation/Examples/col_dropIndex.generated index 5d277af5a1..f36b27ad71 100644 --- a/Documentation/Examples/col_dropIndex.generated +++ b/Documentation/Examples/col_dropIndex.generated @@ -5,7 +5,7 @@ arangosh> db.example.ensureSkiplist("a", "a", "b" ], - "id" : "example/16588", + "id" : "example/16590", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -31,7 +31,7 @@ arangosh> indexInfo; "a", "b" ], - "id" : "example/16588", + "id" : "example/16590", "sparse" : false, "type" : "skiplist", "unique" : false diff --git a/Documentation/Examples/collectionDatabaseCollectionName.generated b/Documentation/Examples/collectionDatabaseCollectionName.generated index 0dfe94f26a..4650b38fbd 100644 --- a/Documentation/Examples/collectionDatabaseCollectionName.generated +++ b/Documentation/Examples/collectionDatabaseCollectionName.generated @@ -1,2 +1,2 @@ arangosh> db.example; -[ArangoCollection 16616, "example" (type document, status loaded)] +[ArangoCollection 16618, "example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionDatabaseCreate.generated b/Documentation/Examples/collectionDatabaseCreate.generated index 19c086e6c7..4bb3aaeb6c 100644 --- a/Documentation/Examples/collectionDatabaseCreate.generated +++ b/Documentation/Examples/collectionDatabaseCreate.generated @@ -1,5 +1,5 @@ arangosh> c = db._create("users"); -[ArangoCollection 16627, "users" (type document, status loaded)] +[ArangoCollection 16633, "users" (type document, status loaded)] arangosh> c.properties(); { "doCompact" : true, diff --git a/Documentation/Examples/collectionDatabaseCreateKey.generated b/Documentation/Examples/collectionDatabaseCreateKey.generated index 1ba00279b3..d95e78cf10 100644 --- a/Documentation/Examples/collectionDatabaseCreateKey.generated +++ b/Documentation/Examples/collectionDatabaseCreateKey.generated @@ -1,21 +1,21 @@ arangosh> db._create("users", ........> { keyOptions: { type: "autoincrement", offset: 10, increment: 5 } }); -[ArangoCollection 16639, "users" (type document, status loaded)] +[ArangoCollection 16646, "users" (type document, status loaded)] arangosh> db.users.save({ name: "user 1" }); { "_id" : "users/10", "_key" : "10", - "_rev" : "_V82NpYK--_" + "_rev" : "_W-M-Wja--_" } arangosh> db.users.save({ name: "user 2" }); { "_id" : "users/15", "_key" : "15", - "_rev" : "_V82NpYO--_" + "_rev" : "_W-M-Wja--B" } arangosh> db.users.save({ name: "user 3" }); { "_id" : "users/20", "_key" : "20", - "_rev" : "_V82NpYO--B" + "_rev" : "_W-M-Wja--D" } diff --git a/Documentation/Examples/collectionDatabaseCreateProperties.generated b/Documentation/Examples/collectionDatabaseCreateProperties.generated index f312fd6212..d3d0b488bc 100644 --- a/Documentation/Examples/collectionDatabaseCreateProperties.generated +++ b/Documentation/Examples/collectionDatabaseCreateProperties.generated @@ -1,6 +1,6 @@ arangosh> c = db._create("users", { waitForSync : true, ........> journalSize : 1024 * 1204}); -[ArangoCollection 16657, "users" (type document, status loaded)] +[ArangoCollection 16664, "users" (type document, status loaded)] arangosh> c.properties(); { "doCompact" : true, diff --git a/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated b/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated index ad2feef8e0..db8e8964ab 100644 --- a/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated +++ b/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated @@ -1,16 +1,16 @@ arangosh> db._create("users", { keyOptions: { allowUserKeys: false } }); -[ArangoCollection 16674, "users" (type document, status loaded)] +[ArangoCollection 16676, "users" (type document, status loaded)] arangosh> db.users.save({ name: "user 1" }); { - "_id" : "users/16678", - "_key" : "16678", - "_rev" : "_V82Npd6--_" + "_id" : "users/16680", + "_key" : "16680", + "_rev" : "_W-M-WoC--_" } arangosh> db.users.save({ name: "user 2", _key: "myuser" }); [ArangoError 1222: unexpected document key] arangosh> db.users.save({ name: "user 3" }); { - "_id" : "users/16683", - "_key" : "16683", - "_rev" : "_V82Npe---_" + "_id" : "users/16685", + "_key" : "16685", + "_rev" : "_W-M-WoG--_" } diff --git a/Documentation/Examples/collectionDatabaseCreateSuccess.generated b/Documentation/Examples/collectionDatabaseCreateSuccess.generated index 616c404708..1858ef06ac 100644 --- a/Documentation/Examples/collectionDatabaseCreateSuccess.generated +++ b/Documentation/Examples/collectionDatabaseCreateSuccess.generated @@ -1,5 +1,5 @@ arangosh> c = db._create("users"); -[ArangoCollection 16693, "users" (type document, status loaded)] +[ArangoCollection 16695, "users" (type document, status loaded)] arangosh> c.properties(); { "doCompact" : true, diff --git a/Documentation/Examples/collectionDatabaseDrop.generated b/Documentation/Examples/collectionDatabaseDrop.generated index e06f4a4116..7233ed2ab6 100644 --- a/Documentation/Examples/collectionDatabaseDrop.generated +++ b/Documentation/Examples/collectionDatabaseDrop.generated @@ -1,5 +1,5 @@ arangosh> col = db.example; -[ArangoCollection 16705, "example" (type document, status loaded)] +[ArangoCollection 16707, "example" (type document, status loaded)] arangosh> db._drop(col); arangosh> col; -[ArangoCollection 16705, "example" (type document, status loaded)] +[ArangoCollection 16707, "example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionDatabaseDropByObject.generated b/Documentation/Examples/collectionDatabaseDropByObject.generated index 10df2ee809..9c0ec4b1ba 100644 --- a/Documentation/Examples/collectionDatabaseDropByObject.generated +++ b/Documentation/Examples/collectionDatabaseDropByObject.generated @@ -1,5 +1,5 @@ arangosh> col = db.example; -[ArangoCollection 16716, "example" (type document, status loaded)] +[ArangoCollection 16718, "example" (type document, status loaded)] arangosh> db._drop(col); arangosh> col; -[ArangoCollection 16716, "example" (type document, status loaded)] +[ArangoCollection 16718, "example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionDatabaseDropName.generated b/Documentation/Examples/collectionDatabaseDropName.generated index 142cc08837..f6f5e9a1e6 100644 --- a/Documentation/Examples/collectionDatabaseDropName.generated +++ b/Documentation/Examples/collectionDatabaseDropName.generated @@ -1,5 +1,5 @@ arangosh> col = db.example; -[ArangoCollection 16727, "example" (type document, status loaded)] +[ArangoCollection 16729, "example" (type document, status loaded)] arangosh> db._drop("example"); arangosh> col; -[ArangoCollection 16727, "example" (type document, status deleted)] +[ArangoCollection 16729, "example" (type document, status deleted)] diff --git a/Documentation/Examples/collectionDatabaseDropSystem.generated b/Documentation/Examples/collectionDatabaseDropSystem.generated index 4afc791520..b25a75673b 100644 --- a/Documentation/Examples/collectionDatabaseDropSystem.generated +++ b/Documentation/Examples/collectionDatabaseDropSystem.generated @@ -1,5 +1,5 @@ arangosh> col = db._example; -[ArangoCollection 16738, "_example" (type document, status loaded)] +[ArangoCollection 16740, "_example" (type document, status loaded)] arangosh> db._drop("_example", { isSystem: true }); arangosh> col; -[ArangoCollection 16738, "_example" (type document, status deleted)] +[ArangoCollection 16740, "_example" (type document, status deleted)] diff --git a/Documentation/Examples/collectionDatabaseTruncate.generated b/Documentation/Examples/collectionDatabaseTruncate.generated index 16336eff34..83f6161cab 100644 --- a/Documentation/Examples/collectionDatabaseTruncate.generated +++ b/Documentation/Examples/collectionDatabaseTruncate.generated @@ -1,10 +1,10 @@ arangosh> col = db.example; -[ArangoCollection 16749, "example" (type document, status loaded)] +[ArangoCollection 16751, "example" (type document, status loaded)] arangosh> col.save({ "Hello" : "World" }); { - "_id" : "example/16753", - "_key" : "16753", - "_rev" : "_V82Npnm--_" + "_id" : "example/16755", + "_key" : "16755", + "_rev" : "_W-M-Wyy--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionDatabaseTruncateByObject.generated b/Documentation/Examples/collectionDatabaseTruncateByObject.generated index e7da8111b7..e6d9413358 100644 --- a/Documentation/Examples/collectionDatabaseTruncateByObject.generated +++ b/Documentation/Examples/collectionDatabaseTruncateByObject.generated @@ -1,10 +1,10 @@ arangosh> col = db.example; -[ArangoCollection 16773, "example" (type document, status loaded)] +[ArangoCollection 16775, "example" (type document, status loaded)] arangosh> col.save({ "Hello" : "World" }); { - "_id" : "example/16777", - "_key" : "16777", - "_rev" : "_V82NppC--_" + "_id" : "example/16779", + "_key" : "16779", + "_rev" : "_W-M-W1m--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionDatabaseTruncateName.generated b/Documentation/Examples/collectionDatabaseTruncateName.generated index 1529fca152..bff3c3a17f 100644 --- a/Documentation/Examples/collectionDatabaseTruncateName.generated +++ b/Documentation/Examples/collectionDatabaseTruncateName.generated @@ -1,10 +1,10 @@ arangosh> col = db.example; -[ArangoCollection 16797, "example" (type document, status loaded)] +[ArangoCollection 16799, "example" (type document, status loaded)] arangosh> col.save({ "Hello" : "World" }); { - "_id" : "example/16801", - "_key" : "16801", - "_rev" : "_V82NpqO--_" + "_id" : "example/16803", + "_key" : "16803", + "_rev" : "_W-M-W3q--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionDrop.generated b/Documentation/Examples/collectionDrop.generated index d6266d9c91..e0b699c3c2 100644 --- a/Documentation/Examples/collectionDrop.generated +++ b/Documentation/Examples/collectionDrop.generated @@ -1,5 +1,5 @@ arangosh> col = db.example; -[ArangoCollection 16821, "example" (type document, status loaded)] +[ArangoCollection 16823, "example" (type document, status loaded)] arangosh> col.drop(); arangosh> col; -[ArangoCollection 16821, "example" (type document, status deleted)] +[ArangoCollection 16823, "example" (type document, status deleted)] diff --git a/Documentation/Examples/collectionDropSystem.generated b/Documentation/Examples/collectionDropSystem.generated index 320cd83cf4..a5f9dd0a21 100644 --- a/Documentation/Examples/collectionDropSystem.generated +++ b/Documentation/Examples/collectionDropSystem.generated @@ -1,5 +1,5 @@ arangosh> col = db._example; -[ArangoCollection 16832, "_example" (type document, status loaded)] +[ArangoCollection 16834, "_example" (type document, status loaded)] arangosh> col.drop({ isSystem: true }); arangosh> col; -[ArangoCollection 16832, "_example" (type document, status deleted)] +[ArangoCollection 16834, "_example" (type document, status deleted)] diff --git a/Documentation/Examples/collectionEnsureIndex.generated b/Documentation/Examples/collectionEnsureIndex.generated index 265ec0b0f1..2dc9d0f913 100644 --- a/Documentation/Examples/collectionEnsureIndex.generated +++ b/Documentation/Examples/collectionEnsureIndex.generated @@ -4,7 +4,7 @@ arangosh> db.test.ensureIndex({ type: "fields" : [ "a" ], - "id" : "test/16847", + "id" : "test/16849", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : true, @@ -19,7 +19,7 @@ arangosh> db.test.ensureIndex({ type: "a", "b" ], - "id" : "test/16850", + "id" : "test/16852", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/collectionFigures.generated b/Documentation/Examples/collectionFigures.generated index 13783bcf42..fa21ee99c4 100644 --- a/Documentation/Examples/collectionFigures.generated +++ b/Documentation/Examples/collectionFigures.generated @@ -17,7 +17,7 @@ arangosh> db.demo.figures() }, "compactionStatus" : { "message" : "skipped compaction because collection has no datafiles", - "time" : "2017-11-24T12:45:24Z", + "time" : "2017-11-28T16:40:32Z", "count" : 0, "filesCombined" : 0, "bytesRead" : 0, diff --git a/Documentation/Examples/collectionFirstExample.generated b/Documentation/Examples/collectionFirstExample.generated index 20bd69b4d2..88b4bc752e 100644 --- a/Documentation/Examples/collectionFirstExample.generated +++ b/Documentation/Examples/collectionFirstExample.generated @@ -1,7 +1,7 @@ arangosh> db.users.firstExample("name", "Angela"); { - "_key" : "16878", - "_id" : "users/16878", - "_rev" : "_V82Nqe6--_", + "_key" : "16879", + "_id" : "users/16879", + "_rev" : "_W-M-XiG--_", "name" : "Angela" } diff --git a/Documentation/Examples/collectionFulltext.generated b/Documentation/Examples/collectionFulltext.generated index 6df69e88b9..be87fd0574 100644 --- a/Documentation/Examples/collectionFulltext.generated +++ b/Documentation/Examples/collectionFulltext.generated @@ -3,7 +3,7 @@ arangosh> db.emails.ensureFulltextIndex("content""fields" : [ "content" ], - "id" : "emails/16893", + "id" : "emails/16894", "isNewlyCreated" : true, "minLength" : 2, "sparse" : true, @@ -14,35 +14,35 @@ arangosh> db.emails.ensureFulltextIndex("content"content: ........> "Hello Alice, how are you doing? Regards, Bob"}); { - "_id" : "emails/16896", - "_key" : "16896", - "_rev" : "_V82NqiW--_" + "_id" : "emails/16897", + "_key" : "16897", + "_rev" : "_W-M-Xla--_" } arangosh> db.emails.save({ content: ........> "Hello Charlie, do Alice and Bob know about it?"}); { - "_id" : "emails/16900", - "_key" : "16900", - "_rev" : "_V82Nqia--_" + "_id" : "emails/16901", + "_key" : "16901", + "_rev" : "_W-M-Xla--B" } arangosh> db.emails.save({ content: "I think they don't know. Regards, Eve" }); { - "_id" : "emails/16903", - "_key" : "16903", - "_rev" : "_V82Nqia--B" + "_id" : "emails/16904", + "_key" : "16904", + "_rev" : "_W-M-Xle---" } arangosh> db.emails.fulltext("content", "charlie,|eve").toArray(); [ { - "_key" : "16900", - "_id" : "emails/16900", - "_rev" : "_V82Nqia--_", + "_key" : "16901", + "_id" : "emails/16901", + "_rev" : "_W-M-Xla--B", "content" : "Hello Charlie, do Alice and Bob know about it?" }, { - "_key" : "16903", - "_id" : "emails/16903", - "_rev" : "_V82Nqia--B", + "_key" : "16904", + "_id" : "emails/16904", + "_rev" : "_W-M-Xle---", "content" : "I think they don't know. Regards, Eve" } ] diff --git a/Documentation/Examples/collectionGetIndexes.generated b/Documentation/Examples/collectionGetIndexes.generated index 213ba35969..f5ae9d9887 100644 --- a/Documentation/Examples/collectionGetIndexes.generated +++ b/Documentation/Examples/collectionGetIndexes.generated @@ -6,7 +6,7 @@ arangosh> db.test.ensureHashIndex("hashListAttribut "hashListAttribute", "hashListSecondAttribute.subAttribute" ], - "id" : "test/16926", + "id" : "test/16927", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, @@ -31,7 +31,7 @@ arangosh> db.test.getIndexes(); "fields" : [ "skiplistAttribute" ], - "id" : "test/16920", + "id" : "test/16921", "sparse" : false, "type" : "skiplist", "unique" : true @@ -41,7 +41,7 @@ arangosh> db.test.getIndexes(); "fields" : [ "skiplistUniqueAttribute" ], - "id" : "test/16923", + "id" : "test/16924", "sparse" : false, "type" : "skiplist", "unique" : true @@ -52,7 +52,7 @@ arangosh> db.test.getIndexes(); "hashListAttribute", "hashListSecondAttribute.subAttribute" ], - "id" : "test/16926", + "id" : "test/16927", "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", diff --git a/Documentation/Examples/collectionLoad.generated b/Documentation/Examples/collectionLoad.generated index 37080b0886..c41e36ef0c 100644 --- a/Documentation/Examples/collectionLoad.generated +++ b/Documentation/Examples/collectionLoad.generated @@ -1,5 +1,5 @@ arangosh> col = db.example; -[ArangoCollection 16937, "example" (type document, status loaded)] +[ArangoCollection 16938, "example" (type document, status loaded)] arangosh> col.load(); arangosh> col; -[ArangoCollection 16937, "example" (type document, status loaded)] +[ArangoCollection 16938, "example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionLookupByKeys.generated b/Documentation/Examples/collectionLookupByKeys.generated index b900f90674..5ea8adfd3d 100644 --- a/Documentation/Examples/collectionLookupByKeys.generated +++ b/Documentation/Examples/collectionLookupByKeys.generated @@ -10,61 +10,61 @@ arangosh> db.example.documents(keys); { "_key" : "test0", "_id" : "example/test0", - "_rev" : "_V82Nqr2--_", + "_rev" : "_W-M-XwS--_", "value" : 0 }, { "_key" : "test1", "_id" : "example/test1", - "_rev" : "_V82Nqr2--B", + "_rev" : "_W-M-XwS--B", "value" : 1 }, { "_key" : "test2", "_id" : "example/test2", - "_rev" : "_V82Nqr6--_", + "_rev" : "_W-M-XwS--D", "value" : 2 }, { "_key" : "test3", "_id" : "example/test3", - "_rev" : "_V82Nqr6--B", + "_rev" : "_W-M-XwW--_", "value" : 3 }, { "_key" : "test4", "_id" : "example/test4", - "_rev" : "_V82Nqr6--D", + "_rev" : "_W-M-XwW--B", "value" : 4 }, { "_key" : "test5", "_id" : "example/test5", - "_rev" : "_V82Nqr6--F", + "_rev" : "_W-M-XwW--D", "value" : 5 }, { "_key" : "test6", "_id" : "example/test6", - "_rev" : "_V82Nqr6--H", + "_rev" : "_W-M-XwW--F", "value" : 6 }, { "_key" : "test7", "_id" : "example/test7", - "_rev" : "_V82Nqr6--J", + "_rev" : "_W-M-XwW--H", "value" : 7 }, { "_key" : "test8", "_id" : "example/test8", - "_rev" : "_V82Nqs---_", + "_rev" : "_W-M-XwW--J", "value" : 8 }, { "_key" : "test9", "_id" : "example/test9", - "_rev" : "_V82Nqs---B", + "_rev" : "_W-M-Xwa--_", "value" : 9 } ] diff --git a/Documentation/Examples/collectionRename.generated b/Documentation/Examples/collectionRename.generated index 40f921f9e8..77be08d591 100644 --- a/Documentation/Examples/collectionRename.generated +++ b/Documentation/Examples/collectionRename.generated @@ -1,5 +1,5 @@ arangosh> c = db.example; -[ArangoCollection 17055, "example" (type document, status loaded)] +[ArangoCollection 17056, "example" (type document, status loaded)] arangosh> c.rename("better-example"); arangosh> c; -[ArangoCollection 17055, "better-example" (type document, status loaded)] +[ArangoCollection 17056, "better-example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionTruncate.generated b/Documentation/Examples/collectionTruncate.generated index 45871450c4..3faa12b023 100644 --- a/Documentation/Examples/collectionTruncate.generated +++ b/Documentation/Examples/collectionTruncate.generated @@ -1,10 +1,10 @@ arangosh> col = db.example; -[ArangoCollection 17068, "example" (type document, status loaded)] +[ArangoCollection 17069, "example" (type document, status loaded)] arangosh> col.save({ "Hello" : "World" }); { - "_id" : "example/17072", - "_key" : "17072", - "_rev" : "_V82Nq1y--_" + "_id" : "example/17073", + "_key" : "17073", + "_rev" : "_W-M-X8O--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionsDatabaseName.generated b/Documentation/Examples/collectionsDatabaseName.generated index fd68778c55..8047e94ba0 100644 --- a/Documentation/Examples/collectionsDatabaseName.generated +++ b/Documentation/Examples/collectionsDatabaseName.generated @@ -15,5 +15,5 @@ arangosh> db._collections(); [ArangoCollection 6, "_users" (type document, status loaded)], [ArangoCollection 98, "animals" (type document, status loaded)], [ArangoCollection 92, "demo" (type document, status loaded)], - [ArangoCollection 17092, "example" (type document, status loaded)] + [ArangoCollection 17093, "example" (type document, status loaded)] ] diff --git a/Documentation/Examples/cursorHasNext.generated b/Documentation/Examples/cursorHasNext.generated index 99da01be14..4fbcac5b63 100644 --- a/Documentation/Examples/cursorHasNext.generated +++ b/Documentation/Examples/cursorHasNext.generated @@ -1,32 +1,32 @@ arangosh> var a = db.five.all(); arangosh> while (a.hasNext()) print(a.next()); { - "_key" : "17195", - "_id" : "five/17195", - "_rev" : "_V82Nr_---_", - "name" : "two" -} -{ - "_key" : "17191", - "_id" : "five/17191", - "_rev" : "_V82Nr-6--_", - "name" : "one" -} -{ - "_key" : "17204", - "_id" : "five/17204", - "_rev" : "_V82Nr_---F", + "_key" : "17205", + "_id" : "five/17205", + "_rev" : "_W-M-YFC--F", "name" : "five" } { - "_key" : "17198", - "_id" : "five/17198", - "_rev" : "_V82Nr_---B", + "_key" : "17196", + "_id" : "five/17196", + "_rev" : "_W-M-YFC--_", + "name" : "two" +} +{ + "_key" : "17199", + "_id" : "five/17199", + "_rev" : "_W-M-YFC--B", "name" : "three" } { - "_key" : "17201", - "_id" : "five/17201", - "_rev" : "_V82Nr_---D", + "_key" : "17192", + "_id" : "five/17192", + "_rev" : "_W-M-YF---_", + "name" : "one" +} +{ + "_key" : "17202", + "_id" : "five/17202", + "_rev" : "_W-M-YFC--D", "name" : "four" } diff --git a/Documentation/Examples/cursorNext.generated b/Documentation/Examples/cursorNext.generated index b310b5fe3a..2574dcf282 100644 --- a/Documentation/Examples/cursorNext.generated +++ b/Documentation/Examples/cursorNext.generated @@ -1,7 +1,7 @@ arangosh> db.five.all().next(); { - "_key" : "17226", - "_id" : "five/17226", - "_rev" : "_V82NrAe--B", - "name" : "three" + "_key" : "17224", + "_id" : "five/17224", + "_rev" : "_W-M-YGm--B", + "name" : "two" } diff --git a/Documentation/Examples/dbPath.generated b/Documentation/Examples/dbPath.generated index dda51a6ed5..1c6d0e169f 100644 --- a/Documentation/Examples/dbPath.generated +++ b/Documentation/Examples/dbPath.generated @@ -1,2 +1,2 @@ arangosh> require("@arangodb").db._path(); -/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/databases/database-1 +/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/databases/database-1 diff --git a/Documentation/Examples/dbVersion.generated b/Documentation/Examples/dbVersion.generated index 7f2508bf49..a196e9d555 100644 --- a/Documentation/Examples/dbVersion.generated +++ b/Documentation/Examples/dbVersion.generated @@ -1,2 +1,2 @@ arangosh> require("@arangodb").db._version(); -3.3.rc3 +3.3.rc4 diff --git a/Documentation/Examples/documentDocumentRemove.generated b/Documentation/Examples/documentDocumentRemove.generated index eb6a9564a9..b27e11bebf 100644 --- a/Documentation/Examples/documentDocumentRemove.generated +++ b/Documentation/Examples/documentDocumentRemove.generated @@ -1,21 +1,21 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17247", - "_key" : "17247", - "_rev" : "_V82NrCm--_" + "_id" : "example/17248", + "_key" : "17248", + "_rev" : "_W-M-YJi--_" } arangosh> db.example.document(a1); { - "_key" : "17247", - "_id" : "example/17247", - "_rev" : "_V82NrCm--_", + "_key" : "17248", + "_id" : "example/17248", + "_rev" : "_W-M-YJi--_", "a" : 1 } arangosh> db.example.remove(a1); { - "_id" : "example/17247", - "_key" : "17247", - "_rev" : "_V82NrCm--_" + "_id" : "example/17248", + "_key" : "17248", + "_rev" : "_W-M-YJi--_" } arangosh> db.example.document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentDocumentRemoveConflict.generated b/Documentation/Examples/documentDocumentRemoveConflict.generated index 4e23386edc..a5e56333ed 100644 --- a/Documentation/Examples/documentDocumentRemoveConflict.generated +++ b/Documentation/Examples/documentDocumentRemoveConflict.generated @@ -1,23 +1,23 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17266", - "_key" : "17266", - "_rev" : "_V82NrEK--_" + "_id" : "example/17267", + "_key" : "17267", + "_rev" : "_W-M-YLu--_" } arangosh> a2 = db.example.replace(a1, { a : 2 }); { - "_id" : "example/17266", - "_key" : "17266", - "_rev" : "_V82NrEO--_", - "_oldRev" : "_V82NrEK--_" + "_id" : "example/17267", + "_key" : "17267", + "_rev" : "_W-M-YLy--_", + "_oldRev" : "_W-M-YLu--_" } arangosh> db.example.remove(a1); [ArangoError 1200: precondition failed] arangosh> db.example.remove(a1, true); { - "_id" : "example/17266", - "_key" : "17266", - "_rev" : "_V82NrEO--_" + "_id" : "example/17267", + "_key" : "17267", + "_rev" : "_W-M-YLy--_" } arangosh> db.example.document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentDocumentRemoveSimple.generated b/Documentation/Examples/documentDocumentRemoveSimple.generated index ce423bea4e..33f3e4bf57 100644 --- a/Documentation/Examples/documentDocumentRemoveSimple.generated +++ b/Documentation/Examples/documentDocumentRemoveSimple.generated @@ -1,21 +1,21 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17287", - "_key" : "17287", - "_rev" : "_V82NrF6--_" + "_id" : "example/17288", + "_key" : "17288", + "_rev" : "_W-M-YNW--_" } arangosh> db.example.document(a1); { - "_key" : "17287", - "_id" : "example/17287", - "_rev" : "_V82NrF6--_", + "_key" : "17288", + "_id" : "example/17288", + "_rev" : "_W-M-YNW--_", "a" : 1 } arangosh> db.example.remove(a1); { - "_id" : "example/17287", - "_key" : "17287", - "_rev" : "_V82NrF6--_" + "_id" : "example/17288", + "_key" : "17288", + "_rev" : "_W-M-YNW--_" } arangosh> db.example.document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentDocumentUpdate.generated b/Documentation/Examples/documentDocumentUpdate.generated index 83841652cf..58f1f537cd 100644 --- a/Documentation/Examples/documentDocumentUpdate.generated +++ b/Documentation/Examples/documentDocumentUpdate.generated @@ -1,15 +1,15 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17306", - "_key" : "17306", - "_rev" : "_V82NrHa--_" + "_id" : "example/17307", + "_key" : "17307", + "_rev" : "_W-M-YPC--_" } arangosh> a2 = db._update(a1, { b : 2 }); { - "_id" : "example/17306", - "_key" : "17306", - "_rev" : "_V82NrHa--B", - "_oldRev" : "_V82NrHa--_" + "_id" : "example/17307", + "_key" : "17307", + "_rev" : "_W-M-YPG--_", + "_oldRev" : "_W-M-YPC--_" } arangosh> a3 = db._update(a1, { c : 3 }); [ArangoError 1200: precondition failed] diff --git a/Documentation/Examples/documentsCollectionInsert.generated b/Documentation/Examples/documentsCollectionInsert.generated index ed799bb95a..3724acc2bb 100644 --- a/Documentation/Examples/documentsCollectionInsert.generated +++ b/Documentation/Examples/documentsCollectionInsert.generated @@ -1,12 +1,12 @@ arangosh> db.example.insert({ Hello : "World" }); { - "_id" : "example/17324", - "_key" : "17324", - "_rev" : "_V82NrJ---_" + "_id" : "example/17325", + "_key" : "17325", + "_rev" : "_W-M-YRa--_" } arangosh> db.example.insert({ Hello : "World" }, true); { - "_id" : "example/17328", - "_key" : "17328", - "_rev" : "_V82NrJC--_" + "_id" : "example/17329", + "_key" : "17329", + "_rev" : "_W-M-YRa--B" } diff --git a/Documentation/Examples/documentsCollectionInsertMulti.generated b/Documentation/Examples/documentsCollectionInsertMulti.generated index 8f4b9698b7..95d5f613f5 100644 --- a/Documentation/Examples/documentsCollectionInsertMulti.generated +++ b/Documentation/Examples/documentsCollectionInsertMulti.generated @@ -1,26 +1,26 @@ arangosh> db.example.insert([{ Hello : "World" }, {Hello: "there"}]) [ { - "_id" : "example/17342", - "_key" : "17342", - "_rev" : "_V82NrKO--_" + "_id" : "example/17343", + "_key" : "17343", + "_rev" : "_W-M-YSy--_" }, { - "_id" : "example/17346", - "_key" : "17346", - "_rev" : "_V82NrKO--B" + "_id" : "example/17347", + "_key" : "17347", + "_rev" : "_W-M-YSy--B" } ] arangosh> db.example.insert([{ Hello : "World" }, {}], {waitForSync: true}); [ { - "_id" : "example/17350", - "_key" : "17350", - "_rev" : "_V82NrKS--_" + "_id" : "example/17351", + "_key" : "17351", + "_rev" : "_W-M-YS2--_" }, { - "_id" : "example/17354", - "_key" : "17354", - "_rev" : "_V82NrKS--B" + "_id" : "example/17355", + "_key" : "17355", + "_rev" : "_W-M-YS2--B" } ] diff --git a/Documentation/Examples/documentsCollectionInsertSingle.generated b/Documentation/Examples/documentsCollectionInsertSingle.generated index 04cab2084a..8e568978d3 100644 --- a/Documentation/Examples/documentsCollectionInsertSingle.generated +++ b/Documentation/Examples/documentsCollectionInsertSingle.generated @@ -1,12 +1,12 @@ arangosh> db.example.insert({ Hello : "World" }); { - "_id" : "example/17369", - "_key" : "17369", - "_rev" : "_V82NrMe--_" + "_id" : "example/17370", + "_key" : "17370", + "_rev" : "_W-M-YUy--_" } arangosh> db.example.insert({ Hello : "World" }, {waitForSync: true}); { - "_id" : "example/17373", - "_key" : "17373", - "_rev" : "_V82NrMe--B" + "_id" : "example/17374", + "_key" : "17374", + "_rev" : "_W-M-YU2--_" } diff --git a/Documentation/Examples/documentsCollectionName.generated b/Documentation/Examples/documentsCollectionName.generated index 90d0d5d02b..47bfca20c5 100644 --- a/Documentation/Examples/documentsCollectionName.generated +++ b/Documentation/Examples/documentsCollectionName.generated @@ -2,5 +2,5 @@ arangosh> db.example.document("example/2873916""_key" : "2873916", "_id" : "example/2873916", - "_rev" : "_V82NrOe--_" + "_rev" : "_W-M-YXO--_" } diff --git a/Documentation/Examples/documentsCollectionNameValidByKey.generated b/Documentation/Examples/documentsCollectionNameValidByKey.generated index f5911a7b22..e174ef240d 100644 --- a/Documentation/Examples/documentsCollectionNameValidByKey.generated +++ b/Documentation/Examples/documentsCollectionNameValidByKey.generated @@ -2,5 +2,5 @@ arangosh> db.example.document("2873916"); { "_key" : "2873916", "_id" : "example/2873916", - "_rev" : "_V82NrSe--_" + "_rev" : "_W-M-YcS--_" } diff --git a/Documentation/Examples/documentsCollectionNameValidByObject.generated b/Documentation/Examples/documentsCollectionNameValidByObject.generated index e7dafaaa40..18cb44bb94 100644 --- a/Documentation/Examples/documentsCollectionNameValidByObject.generated +++ b/Documentation/Examples/documentsCollectionNameValidByObject.generated @@ -2,5 +2,5 @@ arangosh> db.example.document({_id: "_key" : "2873916", "_id" : "example/2873916", - "_rev" : "_V82NrT6--_" + "_rev" : "_W-M-YeC--_" } diff --git a/Documentation/Examples/documentsCollectionNameValidMulti.generated b/Documentation/Examples/documentsCollectionNameValidMulti.generated index fdc2a73de5..17322360b0 100644 --- a/Documentation/Examples/documentsCollectionNameValidMulti.generated +++ b/Documentation/Examples/documentsCollectionNameValidMulti.generated @@ -3,11 +3,11 @@ arangosh> db.example.document(["2873916","_key" : "2873916", "_id" : "example/2873916", - "_rev" : "_V82NrVq--_" + "_rev" : "_W-M-Yfi--_" }, { "_key" : "2873917", "_id" : "example/2873917", - "_rev" : "_V82NrVq--B" + "_rev" : "_W-M-Yfi--B" } ] diff --git a/Documentation/Examples/documentsCollectionNameValidPlain.generated b/Documentation/Examples/documentsCollectionNameValidPlain.generated index bb68421667..55b21786ef 100644 --- a/Documentation/Examples/documentsCollectionNameValidPlain.generated +++ b/Documentation/Examples/documentsCollectionNameValidPlain.generated @@ -2,5 +2,5 @@ arangosh> db.example.document("example/2873916""_key" : "2873916", "_id" : "example/2873916", - "_rev" : "_V82NrXC--_" + "_rev" : "_W-M-YhS--_" } diff --git a/Documentation/Examples/documentsCollectionRemoveConflict.generated b/Documentation/Examples/documentsCollectionRemoveConflict.generated index 72f4408700..7afcb8f53f 100644 --- a/Documentation/Examples/documentsCollectionRemoveConflict.generated +++ b/Documentation/Examples/documentsCollectionRemoveConflict.generated @@ -1,23 +1,23 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17490", - "_key" : "17490", - "_rev" : "_V82NrYi--_" + "_id" : "example/17491", + "_key" : "17491", + "_rev" : "_W-M-YjG--_" } arangosh> a2 = db._replace(a1, { a : 2 }); { - "_id" : "example/17490", - "_key" : "17490", - "_rev" : "_V82NrYm--_", - "_oldRev" : "_V82NrYi--_" + "_id" : "example/17491", + "_key" : "17491", + "_rev" : "_W-M-YjG--B", + "_oldRev" : "_W-M-YjG--_" } arangosh> db._remove(a1); [ArangoError 1200: precondition failed] arangosh> db._remove(a1, {overwrite: true} ); { - "_id" : "example/17490", - "_key" : "17490", - "_rev" : "_V82NrYm--_" + "_id" : "example/17491", + "_key" : "17491", + "_rev" : "_W-M-YjG--B" } arangosh> db._document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentsCollectionRemoveSignature.generated b/Documentation/Examples/documentsCollectionRemoveSignature.generated index 2c313f06f8..4b07ebe19f 100644 --- a/Documentation/Examples/documentsCollectionRemoveSignature.generated +++ b/Documentation/Examples/documentsCollectionRemoveSignature.generated @@ -2,12 +2,12 @@ arangosh> db.example.insert({ _key: "_id" : "example/11265325374", "_key" : "11265325374", - "_rev" : "_V82Nra---_" + "_rev" : "_W-M-Yla--_" } arangosh> db.example.remove("example/11265325374", ........> { overwrite: true, waitForSync: false}) { "_id" : "example/11265325374", "_key" : "11265325374", - "_rev" : "_V82Nra---_" + "_rev" : "_W-M-Yla--_" } diff --git a/Documentation/Examples/documentsCollectionRemoveSuccess.generated b/Documentation/Examples/documentsCollectionRemoveSuccess.generated index 8c29b0d80e..6beadc3320 100644 --- a/Documentation/Examples/documentsCollectionRemoveSuccess.generated +++ b/Documentation/Examples/documentsCollectionRemoveSuccess.generated @@ -1,14 +1,14 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17527", - "_key" : "17527", - "_rev" : "_V82Nrcu--_" + "_id" : "example/17528", + "_key" : "17528", + "_rev" : "_W-M-YnG--_" } arangosh> db._remove(a1); { - "_id" : "example/17527", - "_key" : "17527", - "_rev" : "_V82Nrcu--_" + "_id" : "example/17528", + "_key" : "17528", + "_rev" : "_W-M-YnG--_" } arangosh> db._remove(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentsCollectionReplace.generated b/Documentation/Examples/documentsCollectionReplace.generated index 544792b958..7df7c465ae 100644 --- a/Documentation/Examples/documentsCollectionReplace.generated +++ b/Documentation/Examples/documentsCollectionReplace.generated @@ -1,15 +1,15 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17546", - "_key" : "17546", - "_rev" : "_V82NreC--_" + "_id" : "example/17547", + "_key" : "17547", + "_rev" : "_W-M-Yo6--_" } arangosh> a2 = db.example.replace(a1, { a : 2 }); { - "_id" : "example/17546", - "_key" : "17546", - "_rev" : "_V82NreG--_", - "_oldRev" : "_V82NreC--_" + "_id" : "example/17547", + "_key" : "17547", + "_rev" : "_W-M-Yo6--B", + "_oldRev" : "_W-M-Yo6--_" } arangosh> a3 = db.example.replace(a1, { a : 3 }); [ArangoError 1200: precondition failed] diff --git a/Documentation/Examples/documentsCollectionReplace1.generated b/Documentation/Examples/documentsCollectionReplace1.generated index b00980c8f0..650642506f 100644 --- a/Documentation/Examples/documentsCollectionReplace1.generated +++ b/Documentation/Examples/documentsCollectionReplace1.generated @@ -1,15 +1,15 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17564", - "_key" : "17564", - "_rev" : "_V82Nrfu--_" + "_id" : "example/17565", + "_key" : "17565", + "_rev" : "_W-M-Yr---_" } arangosh> a2 = db.example.replace(a1, { a : 2 }); { - "_id" : "example/17564", - "_key" : "17564", - "_rev" : "_V82Nrfu--B", - "_oldRev" : "_V82Nrfu--_" + "_id" : "example/17565", + "_key" : "17565", + "_rev" : "_W-M-Yr---B", + "_oldRev" : "_W-M-Yr---_" } arangosh> a3 = db.example.replace(a1, { a : 3 }); [ArangoError 1200: precondition failed] diff --git a/Documentation/Examples/documentsCollectionReplaceHandle.generated b/Documentation/Examples/documentsCollectionReplaceHandle.generated index 657e8f1978..50ccf8dec7 100644 --- a/Documentation/Examples/documentsCollectionReplaceHandle.generated +++ b/Documentation/Examples/documentsCollectionReplaceHandle.generated @@ -2,12 +2,12 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/3903045", "_key" : "3903045", - "_rev" : "_V82Nrhe--B" + "_rev" : "_W-M-Ysm--B" } arangosh> a2 = db.example.replace("example/3903044", { a : 2 }); { "_id" : "example/3903044", "_key" : "3903044", - "_rev" : "_V82Nrhi--_", - "_oldRev" : "_V82Nrhe--_" + "_rev" : "_W-M-Ysq--_", + "_oldRev" : "_W-M-Ysm--_" } diff --git a/Documentation/Examples/documentsCollectionUpdate.generated b/Documentation/Examples/documentsCollectionUpdate.generated index 5b813d7178..cae6f16cbd 100644 --- a/Documentation/Examples/documentsCollectionUpdate.generated +++ b/Documentation/Examples/documentsCollectionUpdate.generated @@ -1,30 +1,30 @@ arangosh> a1 = db.example.insert({"a" : 1}); { - "_id" : "example/17601", - "_key" : "17601", - "_rev" : "_V82NrjS--_" + "_id" : "example/17602", + "_key" : "17602", + "_rev" : "_W-M-Yua--_" } arangosh> a2 = db.example.update(a1, {"b" : 2, "c" : 3}); { - "_id" : "example/17601", - "_key" : "17601", - "_rev" : "_V82NrjW--_", - "_oldRev" : "_V82NrjS--_" + "_id" : "example/17602", + "_key" : "17602", + "_rev" : "_W-M-Yue--_", + "_oldRev" : "_W-M-Yua--_" } arangosh> a3 = db.example.update(a1, {"d" : 4}); [ArangoError 1200: precondition failed] arangosh> a4 = db.example.update(a2, {"e" : 5, "f" : 6 }); { - "_id" : "example/17601", - "_key" : "17601", - "_rev" : "_V82NrjW--C", - "_oldRev" : "_V82NrjW--_" + "_id" : "example/17602", + "_key" : "17602", + "_rev" : "_W-M-Yue--C", + "_oldRev" : "_W-M-Yue--_" } arangosh> db.example.document(a4); { - "_key" : "17601", - "_id" : "example/17601", - "_rev" : "_V82NrjW--C", + "_key" : "17602", + "_id" : "example/17602", + "_rev" : "_W-M-Yue--C", "a" : 1, "c" : 3, "b" : 2, @@ -33,16 +33,16 @@ arangosh> db.example.document(a4); } arangosh> a5 = db.example.update(a4, {"a" : 1, c : 9, e : 42 }); { - "_id" : "example/17601", - "_key" : "17601", - "_rev" : "_V82Nrja--_", - "_oldRev" : "_V82NrjW--C" + "_id" : "example/17602", + "_key" : "17602", + "_rev" : "_W-M-Yui--_", + "_oldRev" : "_W-M-Yue--C" } arangosh> db.example.document(a5); { - "_key" : "17601", - "_id" : "example/17601", - "_rev" : "_V82Nrja--_", + "_key" : "17602", + "_id" : "example/17602", + "_rev" : "_W-M-Yui--_", "a" : 1, "c" : 9, "b" : 2, diff --git a/Documentation/Examples/documentsCollectionUpdateHandle.generated b/Documentation/Examples/documentsCollectionUpdateHandle.generated index 332e7e7a9b..ef19004bc2 100644 --- a/Documentation/Examples/documentsCollectionUpdateHandle.generated +++ b/Documentation/Examples/documentsCollectionUpdateHandle.generated @@ -2,12 +2,12 @@ arangosh> a1 = db.example.insert({"a" : "_id" : "example/18612116", "_key" : "18612116", - "_rev" : "_V82Nrl---B" + "_rev" : "_W-M-Yv6--B" } arangosh> a2 = db.example.update("example/18612115", { "x" : 1, "y" : 2 }); { "_id" : "example/18612115", "_key" : "18612115", - "_rev" : "_V82NrlC--_", - "_oldRev" : "_V82Nrl---_" + "_rev" : "_W-M-Yw---_", + "_oldRev" : "_W-M-Yv6--_" } diff --git a/Documentation/Examples/documentsCollectionUpdateHandleArray.generated b/Documentation/Examples/documentsCollectionUpdateHandleArray.generated index c806b3566f..2689225b5c 100644 --- a/Documentation/Examples/documentsCollectionUpdateHandleArray.generated +++ b/Documentation/Examples/documentsCollectionUpdateHandleArray.generated @@ -3,21 +3,21 @@ arangosh> db.example.insert({"a" : { "_id" : "example/20774804", "_key" : "20774804", - "_rev" : "_V82Nrma--_" + "_rev" : "_W-M-Yxe--B" } arangosh> db.example.update("example/20774803", {"a" : { "four" : 4 }, ........> "b" : { "b1" : 1 }}); { "_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_V82Nrma--B", - "_oldRev" : "_V82NrmW--_" + "_rev" : "_W-M-Yxi--_", + "_oldRev" : "_W-M-Yxe--_" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_V82Nrma--B", + "_rev" : "_W-M-Yxi--_", "b" : { "b1" : 1 }, @@ -31,14 +31,14 @@ arangosh> db.example.update("example/20774803""_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_V82Nrme--_", - "_oldRev" : "_V82Nrma--B" + "_rev" : "_W-M-Yxm--_", + "_oldRev" : "_W-M-Yxi--_" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_V82Nrme--_", + "_rev" : "_W-M-Yxm--_", "a" : { "four" : 4 } diff --git a/Documentation/Examples/documentsCollectionUpdateHandleKeepNull.generated b/Documentation/Examples/documentsCollectionUpdateHandleKeepNull.generated index e903c92dc9..c2f4147906 100644 --- a/Documentation/Examples/documentsCollectionUpdateHandleKeepNull.generated +++ b/Documentation/Examples/documentsCollectionUpdateHandleKeepNull.generated @@ -2,21 +2,21 @@ arangosh> db.example.insert({"a" : "_id" : "example/19988372", "_key" : "19988372", - "_rev" : "_V82Nrn2--B" + "_rev" : "_W-M-Yze--B" } arangosh> db.example.update("example/19988371", ........> { "b" : null, "c" : null, "d" : 3 }); { "_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_V82Nrn6--_", - "_oldRev" : "_V82Nrn2--_" + "_rev" : "_W-M-Yzi--_", + "_oldRev" : "_W-M-Yze--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_V82Nrn6--_", + "_rev" : "_W-M-Yzi--_", "d" : 3, "c" : null, "b" : null @@ -25,14 +25,14 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_V82NroC---", - "_oldRev" : "_V82Nrn6--_" + "_rev" : "_W-M-Yzi--B", + "_oldRev" : "_W-M-Yzi--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_V82NroC---", + "_rev" : "_W-M-Yzi--B", "d" : 3, "c" : null, "b" : null @@ -42,12 +42,12 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_V82NroC--A", - "_oldRev" : "_V82NroC---" + "_rev" : "_W-M-Yzm--_", + "_oldRev" : "_W-M-Yzi--B" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_V82NroC--A" + "_rev" : "_W-M-Yzm--_" } diff --git a/Documentation/Examples/documentsCollection_UpdateDocument.generated b/Documentation/Examples/documentsCollection_UpdateDocument.generated index ee08fee727..da28bf0061 100644 --- a/Documentation/Examples/documentsCollection_UpdateDocument.generated +++ b/Documentation/Examples/documentsCollection_UpdateDocument.generated @@ -1,30 +1,30 @@ arangosh> a1 = db.example.insert({"a" : 1}); { - "_id" : "example/17693", - "_key" : "17693", - "_rev" : "_V82Nrqm--_" + "_id" : "example/17694", + "_key" : "17694", + "_rev" : "_W-M-Y1---_" } arangosh> a2 = db.example.update(a1, {"b" : 2, "c" : 3}); { - "_id" : "example/17693", - "_key" : "17693", - "_rev" : "_V82Nrqm--B", - "_oldRev" : "_V82Nrqm--_" + "_id" : "example/17694", + "_key" : "17694", + "_rev" : "_W-M-Y1C--_", + "_oldRev" : "_W-M-Y1---_" } arangosh> a3 = db.example.update(a1, {"d" : 4}); [ArangoError 1200: precondition failed] arangosh> a4 = db.example.update(a2, {"e" : 5, "f" : 6 }); { - "_id" : "example/17693", - "_key" : "17693", - "_rev" : "_V82Nrqm--E", - "_oldRev" : "_V82Nrqm--B" + "_id" : "example/17694", + "_key" : "17694", + "_rev" : "_W-M-Y1C--C", + "_oldRev" : "_W-M-Y1C--_" } arangosh> db.example.document(a4); { - "_key" : "17693", - "_id" : "example/17693", - "_rev" : "_V82Nrqm--E", + "_key" : "17694", + "_id" : "example/17694", + "_rev" : "_W-M-Y1C--C", "a" : 1, "c" : 3, "b" : 2, @@ -33,16 +33,16 @@ arangosh> db.example.document(a4); } arangosh> a5 = db.example.update(a4, {"a" : 1, c : 9, e : 42 }); { - "_id" : "example/17693", - "_key" : "17693", - "_rev" : "_V82Nrqq--_", - "_oldRev" : "_V82Nrqm--E" + "_id" : "example/17694", + "_key" : "17694", + "_rev" : "_W-M-Y1G--_", + "_oldRev" : "_W-M-Y1C--C" } arangosh> db.example.document(a5); { - "_key" : "17693", - "_id" : "example/17693", - "_rev" : "_V82Nrqq--_", + "_key" : "17694", + "_id" : "example/17694", + "_rev" : "_W-M-Y1G--_", "a" : 1, "c" : 9, "b" : 2, diff --git a/Documentation/Examples/documentsCollection_UpdateHandleArray.generated b/Documentation/Examples/documentsCollection_UpdateHandleArray.generated index 9f2e111151..9c23923a25 100644 --- a/Documentation/Examples/documentsCollection_UpdateHandleArray.generated +++ b/Documentation/Examples/documentsCollection_UpdateHandleArray.generated @@ -3,21 +3,21 @@ arangosh> db.example.insert({"a" : { "_id" : "example/20774804", "_key" : "20774804", - "_rev" : "_V82NrsS--B" + "_rev" : "_W-M-Y22--_" } arangosh> db.example.update("example/20774803", {"a" : { "four" : 4 }, ........> "b" : { "b1" : 1 }}); { "_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_V82NrsS--D", - "_oldRev" : "_V82NrsS--_" + "_rev" : "_W-M-Y22--B", + "_oldRev" : "_W-M-Y2y--_" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_V82NrsS--D", + "_rev" : "_W-M-Y22--B", "b" : { "b1" : 1 }, @@ -31,14 +31,14 @@ arangosh> db.example.update("example/20774803""_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_V82NrsW--_", - "_oldRev" : "_V82NrsS--D" + "_rev" : "_W-M-Y22--D", + "_oldRev" : "_W-M-Y22--B" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_V82NrsW--_", + "_rev" : "_W-M-Y22--D", "a" : { "four" : 4 } diff --git a/Documentation/Examples/documentsCollection_UpdateHandleKeepNull.generated b/Documentation/Examples/documentsCollection_UpdateHandleKeepNull.generated index b5ec93bcc0..a319200aa3 100644 --- a/Documentation/Examples/documentsCollection_UpdateHandleKeepNull.generated +++ b/Documentation/Examples/documentsCollection_UpdateHandleKeepNull.generated @@ -2,21 +2,21 @@ arangosh> db.example.insert({"a" : "_id" : "example/19988372", "_key" : "19988372", - "_rev" : "_V82Nrtq--B" + "_rev" : "_W-M-Y4i--B" } arangosh> db.example.update("example/19988371", ........> { "b" : null, "c" : null, "d" : 3 }); { "_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_V82Nrtu--_", - "_oldRev" : "_V82Nrtq--_" + "_rev" : "_W-M-Y4i--D", + "_oldRev" : "_W-M-Y4i--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_V82Nrtu--_", + "_rev" : "_W-M-Y4i--D", "d" : 3, "c" : null, "b" : null @@ -25,14 +25,14 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_V82Nrtu--B", - "_oldRev" : "_V82Nrtu--_" + "_rev" : "_W-M-Y4m--_", + "_oldRev" : "_W-M-Y4i--D" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_V82Nrtu--B", + "_rev" : "_W-M-Y4m--_", "d" : 3, "c" : null, "b" : null @@ -42,12 +42,12 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_V82Nrty--_", - "_oldRev" : "_V82Nrtu--B" + "_rev" : "_W-M-Y4m--B", + "_oldRev" : "_W-M-Y4m--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_V82Nrty--_" + "_rev" : "_W-M-Y4m--B" } diff --git a/Documentation/Examples/documentsCollection_UpdateHandleSingle.generated b/Documentation/Examples/documentsCollection_UpdateHandleSingle.generated index 804aed7acd..9dcde5d900 100644 --- a/Documentation/Examples/documentsCollection_UpdateHandleSingle.generated +++ b/Documentation/Examples/documentsCollection_UpdateHandleSingle.generated @@ -2,12 +2,12 @@ arangosh> a1 = db.example.insert({"a" : "_id" : "example/18612116", "_key" : "18612116", - "_rev" : "_V82NrvO--_" + "_rev" : "_W-M-Y6y--B" } arangosh> a2 = db.example.update("example/18612115", { "x" : 1, "y" : 2 }); { "_id" : "example/18612115", "_key" : "18612115", - "_rev" : "_V82NrvO--B", - "_oldRev" : "_V82NrvK--_" + "_rev" : "_W-M-Y6y--D", + "_oldRev" : "_W-M-Y6y--_" } diff --git a/Documentation/Examples/documentsDocumentName.generated b/Documentation/Examples/documentsDocumentName.generated index 33bcb5070d..0d8cff5e42 100644 --- a/Documentation/Examples/documentsDocumentName.generated +++ b/Documentation/Examples/documentsDocumentName.generated @@ -2,5 +2,5 @@ arangosh> db._document("example/12345"); { "_key" : "12345", "_id" : "example/12345", - "_rev" : "_V82Nrwe--_" + "_rev" : "_W-M-Y8C--_" } diff --git a/Documentation/Examples/documentsDocumentReplace.generated b/Documentation/Examples/documentsDocumentReplace.generated index 168bdf1df7..d1afce6e7a 100644 --- a/Documentation/Examples/documentsDocumentReplace.generated +++ b/Documentation/Examples/documentsDocumentReplace.generated @@ -1,15 +1,15 @@ arangosh> a1 = db.example.insert({ a : 1 }); { - "_id" : "example/17800", - "_key" : "17800", - "_rev" : "_V82NryO--_" + "_id" : "example/17801", + "_key" : "17801", + "_rev" : "_W-M-Y9W--_" } arangosh> a2 = db._replace(a1, { a : 2 }); { - "_id" : "example/17800", - "_key" : "17800", - "_rev" : "_V82NryS--_", - "_oldRev" : "_V82NryO--_" + "_id" : "example/17801", + "_key" : "17801", + "_rev" : "_W-M-Y9W--B", + "_oldRev" : "_W-M-Y9W--_" } arangosh> a3 = db._replace(a1, { a : 3 }); [ArangoError 1200: precondition failed] diff --git a/Documentation/Examples/dropIndex.generated b/Documentation/Examples/dropIndex.generated index 2472ceb5e3..5d38e35359 100644 --- a/Documentation/Examples/dropIndex.generated +++ b/Documentation/Examples/dropIndex.generated @@ -5,7 +5,7 @@ arangosh> db.example.ensureIndex({ type: "a", "b" ], - "id" : "example/17818", + "id" : "example/17819", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -31,7 +31,7 @@ arangosh> indexInfo; "a", "b" ], - "id" : "example/17818", + "id" : "example/17819", "sparse" : false, "type" : "skiplist", "unique" : false diff --git a/Documentation/Examples/ensureFulltextIndex.generated b/Documentation/Examples/ensureFulltextIndex.generated index 1c0f2fa313..fd56039efd 100644 --- a/Documentation/Examples/ensureFulltextIndex.generated +++ b/Documentation/Examples/ensureFulltextIndex.generated @@ -3,7 +3,7 @@ arangosh> db.example.ensureIndex({ type: "fields" : [ "text" ], - "id" : "example/17837", + "id" : "example/17838", "isNewlyCreated" : true, "minLength" : 3, "sparse" : true, @@ -13,79 +13,79 @@ arangosh> db.example.ensureIndex({ type: text : "the quick brown", b : { c : 1 } }); { - "_id" : "example/17840", - "_key" : "17840", - "_rev" : "_V82Nr5---_" + "_id" : "example/17841", + "_key" : "17841", + "_rev" : "_W-M-ZEa--_" } arangosh> db.example.save({ text : "quick brown fox", b : { c : 2 } }); { - "_id" : "example/17844", - "_key" : "17844", - "_rev" : "_V82Nr5---B" + "_id" : "example/17845", + "_key" : "17845", + "_rev" : "_W-M-ZEa--B" } arangosh> db.example.save({ text : "brown fox jums", b : { c : 3 } }); { - "_id" : "example/17847", - "_key" : "17847", - "_rev" : "_V82Nr5C--_" + "_id" : "example/17848", + "_key" : "17848", + "_rev" : "_W-M-ZEa--D" } arangosh> db.example.save({ text : "fox jumps over", b : { c : 4 } }); { - "_id" : "example/17850", - "_key" : "17850", - "_rev" : "_V82Nr5C--B" + "_id" : "example/17851", + "_key" : "17851", + "_rev" : "_W-M-ZEe--_" } arangosh> db.example.save({ text : "jumps over the", b : { c : 5 } }); { - "_id" : "example/17853", - "_key" : "17853", - "_rev" : "_V82Nr5C--D" + "_id" : "example/17854", + "_key" : "17854", + "_rev" : "_W-M-ZEe--B" } arangosh> db.example.save({ text : "over the lazy", b : { c : 6 } }); { - "_id" : "example/17856", - "_key" : "17856", - "_rev" : "_V82Nr5G--_" + "_id" : "example/17857", + "_key" : "17857", + "_rev" : "_W-M-ZEe--D" } arangosh> db.example.save({ text : "the lazy dog", b : { c : 7 } }); { - "_id" : "example/17859", - "_key" : "17859", - "_rev" : "_V82Nr5G--B" + "_id" : "example/17860", + "_key" : "17860", + "_rev" : "_W-M-ZEe--F" } arangosh> db._query("FOR document IN FULLTEXT(example, 'text', 'the') RETURN document"); [ { - "_key" : "17840", - "_id" : "example/17840", - "_rev" : "_V82Nr5---_", + "_key" : "17841", + "_id" : "example/17841", + "_rev" : "_W-M-ZEa--_", "text" : "the quick brown", "b" : { "c" : 1 } }, { - "_key" : "17853", - "_id" : "example/17853", - "_rev" : "_V82Nr5C--D", + "_key" : "17854", + "_id" : "example/17854", + "_rev" : "_W-M-ZEe--B", "text" : "jumps over the", "b" : { "c" : 5 } }, { - "_key" : "17856", - "_id" : "example/17856", - "_rev" : "_V82Nr5G--_", + "_key" : "17857", + "_id" : "example/17857", + "_rev" : "_W-M-ZEe--D", "text" : "over the lazy", "b" : { "c" : 6 } }, { - "_key" : "17859", - "_id" : "example/17859", - "_rev" : "_V82Nr5G--B", + "_key" : "17860", + "_id" : "example/17860", + "_rev" : "_W-M-ZEe--F", "text" : "the lazy dog", "b" : { "c" : 7 diff --git a/Documentation/Examples/ensureHashIndex.generated b/Documentation/Examples/ensureHashIndex.generated index 13a738e350..1448b88af5 100644 --- a/Documentation/Examples/ensureHashIndex.generated +++ b/Documentation/Examples/ensureHashIndex.generated @@ -4,7 +4,7 @@ arangosh> db.test.ensureIndex({ type: "fields" : [ "a" ], - "id" : "test/17874", + "id" : "test/17875", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, @@ -14,19 +14,19 @@ arangosh> db.test.ensureIndex({ type: a : 1 }); { - "_id" : "test/17877", - "_key" : "17877", - "_rev" : "_V82Nr8O--_" + "_id" : "test/17878", + "_key" : "17878", + "_rev" : "_W-M-ZHS--_" } arangosh> db.test.save({ a : 1 }); { - "_id" : "test/17881", - "_key" : "17881", - "_rev" : "_V82Nr8S---" + "_id" : "test/17882", + "_key" : "17882", + "_rev" : "_W-M-ZHW--_" } arangosh> db.test.save({ a : null }); { - "_id" : "test/17884", - "_key" : "17884", - "_rev" : "_V82Nr8S--A" + "_id" : "test/17885", + "_key" : "17885", + "_rev" : "_W-M-ZHW--B" } diff --git a/Documentation/Examples/ensureHashIndexArray.generated b/Documentation/Examples/ensureHashIndexArray.generated index 9d233cb829..d36ae40d0b 100644 --- a/Documentation/Examples/ensureHashIndexArray.generated +++ b/Documentation/Examples/ensureHashIndexArray.generated @@ -4,7 +4,7 @@ arangosh> db.test.ensureIndex({ type: "fields" : [ "a[*]" ], - "id" : "test/17898", + "id" : "test/17899", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, @@ -14,19 +14,19 @@ arangosh> db.test.ensureIndex({ type: a : [ 1, 2 ] }); { - "_id" : "test/17901", - "_key" : "17901", - "_rev" : "_V82Ns_W--_" + "_id" : "test/17902", + "_key" : "17902", + "_rev" : "_W-M-ZK6--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { - "_id" : "test/17905", - "_key" : "17905", - "_rev" : "_V82Ns_W--B" + "_id" : "test/17906", + "_key" : "17906", + "_rev" : "_W-M-ZK6--B" } arangosh> db.test.save({ a : null }); { - "_id" : "test/17908", - "_key" : "17908", - "_rev" : "_V82Ns_a--_" + "_id" : "test/17909", + "_key" : "17909", + "_rev" : "_W-M-ZK6--D" } diff --git a/Documentation/Examples/ensurePersistent.generated b/Documentation/Examples/ensurePersistent.generated index 5d80fb21e9..959fa8c81a 100644 --- a/Documentation/Examples/ensurePersistent.generated +++ b/Documentation/Examples/ensurePersistent.generated @@ -4,7 +4,7 @@ arangosh> db.names.ensureIndex({ type: "fields" : [ "first" ], - "id" : "names/17922", + "id" : "names/17923", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", @@ -13,31 +13,31 @@ arangosh> db.names.ensureIndex({ type: "first" : "Tim" }); { - "_id" : "names/17925", - "_key" : "17925", - "_rev" : "_V82NsCu--_" + "_id" : "names/17926", + "_key" : "17926", + "_rev" : "_W-M-ZNm--_" } arangosh> db.names.save({ "first" : "Tom" }); { - "_id" : "names/17929", - "_key" : "17929", - "_rev" : "_V82NsCy--_" + "_id" : "names/17930", + "_key" : "17930", + "_rev" : "_W-M-ZNq--_" } arangosh> db.names.save({ "first" : "John" }); { - "_id" : "names/17932", - "_key" : "17932", - "_rev" : "_V82NsCy--B" + "_id" : "names/17933", + "_key" : "17933", + "_rev" : "_W-M-ZNq--B" } arangosh> db.names.save({ "first" : "Tim" }); { - "_id" : "names/17935", - "_key" : "17935", - "_rev" : "_V82NsCy--D" + "_id" : "names/17936", + "_key" : "17936", + "_rev" : "_W-M-ZNu--_" } arangosh> db.names.save({ "first" : "Tom" }); { - "_id" : "names/17938", - "_key" : "17938", - "_rev" : "_V82NsC2--_" + "_id" : "names/17939", + "_key" : "17939", + "_rev" : "_W-M-ZNu--B" } diff --git a/Documentation/Examples/ensureSkiplist.generated b/Documentation/Examples/ensureSkiplist.generated index 6703fd6820..43b86dab5a 100644 --- a/Documentation/Examples/ensureSkiplist.generated +++ b/Documentation/Examples/ensureSkiplist.generated @@ -4,7 +4,7 @@ arangosh> db.names.ensureIndex({ type: "fields" : [ "first" ], - "id" : "names/17952", + "id" : "names/17953", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,31 +13,31 @@ arangosh> db.names.ensureIndex({ type: "first" : "Tim" }); { - "_id" : "names/17955", - "_key" : "17955", - "_rev" : "_V82NsGa--_" + "_id" : "names/17956", + "_key" : "17956", + "_rev" : "_W-M-ZRO--_" } arangosh> db.names.save({ "first" : "Tom" }); { - "_id" : "names/17959", - "_key" : "17959", - "_rev" : "_V82NsGa--B" + "_id" : "names/17960", + "_key" : "17960", + "_rev" : "_W-M-ZRO--B" } arangosh> db.names.save({ "first" : "John" }); { - "_id" : "names/17962", - "_key" : "17962", - "_rev" : "_V82NsGe--_" + "_id" : "names/17963", + "_key" : "17963", + "_rev" : "_W-M-ZRO--D" } arangosh> db.names.save({ "first" : "Tim" }); { - "_id" : "names/17965", - "_key" : "17965", - "_rev" : "_V82NsGi--_" + "_id" : "names/17966", + "_key" : "17966", + "_rev" : "_W-M-ZRS--_" } arangosh> db.names.save({ "first" : "Tom" }); { - "_id" : "names/17968", - "_key" : "17968", - "_rev" : "_V82NsGi--B" + "_id" : "names/17969", + "_key" : "17969", + "_rev" : "_W-M-ZRS--B" } diff --git a/Documentation/Examples/ensureSkiplistArray.generated b/Documentation/Examples/ensureSkiplistArray.generated index f056ea2d41..e36246e57e 100644 --- a/Documentation/Examples/ensureSkiplistArray.generated +++ b/Documentation/Examples/ensureSkiplistArray.generated @@ -4,7 +4,7 @@ arangosh> db.test.ensureIndex({ type: "fields" : [ "a[*]" ], - "id" : "test/17982", + "id" : "test/17983", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,19 +13,19 @@ arangosh> db.test.ensureIndex({ type: a : [ 1, 2 ] }); { - "_id" : "test/17985", - "_key" : "17985", - "_rev" : "_V82NsKG--_" + "_id" : "test/17986", + "_key" : "17986", + "_rev" : "_W-M-ZT6--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { - "_id" : "test/17989", - "_key" : "17989", - "_rev" : "_V82NsKK--_" + "_id" : "test/17990", + "_key" : "17990", + "_rev" : "_W-M-ZU---_" } arangosh> db.test.save({ a : null }); { - "_id" : "test/17992", - "_key" : "17992", - "_rev" : "_V82NsKK--B" + "_id" : "test/17993", + "_key" : "17993", + "_rev" : "_W-M-ZU---B" } diff --git a/Documentation/Examples/ensureUniqueConstraint.generated b/Documentation/Examples/ensureUniqueConstraint.generated index a4a90270ac..e1c4cd464e 100644 --- a/Documentation/Examples/ensureUniqueConstraint.generated +++ b/Documentation/Examples/ensureUniqueConstraint.generated @@ -5,7 +5,7 @@ arangosh> db.test.ensureIndex({ type: "a", "b.c" ], - "id" : "test/18006", + "id" : "test/18007", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, @@ -15,17 +15,17 @@ arangosh> db.test.ensureIndex({ type: a : 1, b : { c : 1 } }); { - "_id" : "test/18009", - "_key" : "18009", - "_rev" : "_V82NsNO--_" + "_id" : "test/18010", + "_key" : "18010", + "_rev" : "_W-M-ZXe--_" } arangosh> db.test.save({ a : 1, b : { c : 1 } }); -[ArangoError 1210: unique constraint violated - in index 18006 of type hash over ["a","b.c"]; conflicting key: 18009] +[ArangoError 1210: unique constraint violated - in index 18007 of type hash over ["a","b.c"]; conflicting key: 18010] arangosh> db.test.save({ a : 1, b : { c : null } }); { - "_id" : "test/18015", - "_key" : "18015", - "_rev" : "_V82NsNW--_" + "_id" : "test/18016", + "_key" : "18016", + "_rev" : "_W-M-ZXm--_" } arangosh> db.test.save({ a : 1 }); -[ArangoError 1210: unique constraint violated - in index 18006 of type hash over ["a","b.c"]; conflicting key: 18015] +[ArangoError 1210: unique constraint violated - in index 18007 of type hash over ["a","b.c"]; conflicting key: 18016] diff --git a/Documentation/Examples/ensureUniquePersistentMultiColmun.generated b/Documentation/Examples/ensureUniquePersistentMultiColmun.generated index e913f82d5e..a37967e9da 100644 --- a/Documentation/Examples/ensureUniquePersistentMultiColmun.generated +++ b/Documentation/Examples/ensureUniquePersistentMultiColmun.generated @@ -5,7 +5,7 @@ arangosh> db.ids.ensureIndex({ type: "name.first", "name.last" ], - "id" : "ids/18031", + "id" : "ids/18032", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", @@ -14,21 +14,21 @@ arangosh> db.ids.ensureIndex({ type: "name" : { "first" : "hans", "last": "hansen" }}); { - "_id" : "ids/18034", - "_key" : "18034", - "_rev" : "_V82NsQq--_" + "_id" : "ids/18035", + "_key" : "18035", + "_rev" : "_W-M-Zb---_" } arangosh> db.ids.save({ "name" : { "first" : "jens", "last": "jensen" }}); { - "_id" : "ids/18038", - "_key" : "18038", - "_rev" : "_V82NsQq--B" + "_id" : "ids/18039", + "_key" : "18039", + "_rev" : "_W-M-ZbC--_" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "jensen" }}); { - "_id" : "ids/18041", - "_key" : "18041", - "_rev" : "_V82NsQq--D" + "_id" : "ids/18042", + "_key" : "18042", + "_rev" : "_W-M-ZbG--_" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "hansen" }}); -[ArangoError 1210: unique constraint violated - in index 18031 of type persistent over ["name.first","name.last"]; conflicting key: 18034] +[ArangoError 1210: unique constraint violated - in index 18032 of type persistent over ["name.first","name.last"]; conflicting key: 18035] diff --git a/Documentation/Examples/ensureUniquePersistentSingle.generated b/Documentation/Examples/ensureUniquePersistentSingle.generated index 82975e7d2f..97c5900745 100644 --- a/Documentation/Examples/ensureUniquePersistentSingle.generated +++ b/Documentation/Examples/ensureUniquePersistentSingle.generated @@ -4,7 +4,7 @@ arangosh> db.ids.ensureIndex({ type: "fields" : [ "myId" ], - "id" : "ids/18057", + "id" : "ids/18058", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", @@ -13,21 +13,21 @@ arangosh> db.ids.ensureIndex({ type: "myId": 123 }); { - "_id" : "ids/18060", - "_key" : "18060", - "_rev" : "_V82NsTW--_" + "_id" : "ids/18061", + "_key" : "18061", + "_rev" : "_W-M-Zf6--_" } arangosh> db.ids.save({ "myId": 456 }); { - "_id" : "ids/18064", - "_key" : "18064", - "_rev" : "_V82NsTa--_" + "_id" : "ids/18065", + "_key" : "18065", + "_rev" : "_W-M-Zg---_" } arangosh> db.ids.save({ "myId": 789 }); { - "_id" : "ids/18067", - "_key" : "18067", - "_rev" : "_V82NsTa--B" + "_id" : "ids/18068", + "_key" : "18068", + "_rev" : "_W-M-ZgC--_" } arangosh> db.ids.save({ "myId": 123 }); -[ArangoError 1210: unique constraint violated - in index 18057 of type persistent over ["myId"]; conflicting key: 18060] +[ArangoError 1210: unique constraint violated - in index 18058 of type persistent over ["myId"]; conflicting key: 18061] diff --git a/Documentation/Examples/ensureUniqueSkiplist.generated b/Documentation/Examples/ensureUniqueSkiplist.generated index a618c56c04..0043225551 100644 --- a/Documentation/Examples/ensureUniqueSkiplist.generated +++ b/Documentation/Examples/ensureUniqueSkiplist.generated @@ -4,7 +4,7 @@ arangosh> db.ids.ensureIndex({ type: "fields" : [ "myId" ], - "id" : "ids/18083", + "id" : "ids/18084", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,21 +13,21 @@ arangosh> db.ids.ensureIndex({ type: "myId": 123 }); { - "_id" : "ids/18086", - "_key" : "18086", - "_rev" : "_V82NsWW--_" + "_id" : "ids/18087", + "_key" : "18087", + "_rev" : "_W-M-Zk---_" } arangosh> db.ids.save({ "myId": 456 }); { - "_id" : "ids/18090", - "_key" : "18090", - "_rev" : "_V82NsWa--_" + "_id" : "ids/18091", + "_key" : "18091", + "_rev" : "_W-M-ZkC--_" } arangosh> db.ids.save({ "myId": 789 }); { - "_id" : "ids/18093", - "_key" : "18093", - "_rev" : "_V82NsWa--B" + "_id" : "ids/18094", + "_key" : "18094", + "_rev" : "_W-M-ZkC--B" } arangosh> db.ids.save({ "myId": 123 }); -[ArangoError 1210: unique constraint violated - in index 18083 of type skiplist over ["myId"]; conflicting key: 18086] +[ArangoError 1210: unique constraint violated - in index 18084 of type skiplist over ["myId"]; conflicting key: 18087] diff --git a/Documentation/Examples/ensureUniqueSkiplistMultiColmun.generated b/Documentation/Examples/ensureUniqueSkiplistMultiColmun.generated index 0017c51654..46179d7932 100644 --- a/Documentation/Examples/ensureUniqueSkiplistMultiColmun.generated +++ b/Documentation/Examples/ensureUniqueSkiplistMultiColmun.generated @@ -5,7 +5,7 @@ arangosh> db.ids.ensureIndex({ type: "name.first", "name.last" ], - "id" : "ids/18109", + "id" : "ids/18110", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -14,20 +14,20 @@ arangosh> db.ids.ensureIndex({ type: "name" : { "first" : "hans", "last": "hansen" }}); { - "_id" : "ids/18112", - "_key" : "18112", - "_rev" : "_V82NsZm--_" + "_id" : "ids/18113", + "_key" : "18113", + "_rev" : "_W-M-Zn6--_" } arangosh> db.ids.save({ "name" : { "first" : "jens", "last": "jensen" }}); { - "_id" : "ids/18116", - "_key" : "18116", - "_rev" : "_V82NsZm--B" + "_id" : "ids/18117", + "_key" : "18117", + "_rev" : "_W-M-Zo---_" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "jensen" }}); { - "_id" : "ids/18119", - "_key" : "18119", - "_rev" : "_V82NsZm--D" + "_id" : "ids/18120", + "_key" : "18120", + "_rev" : "_W-M-Zo---B" } -[ArangoError 1210: unique constraint violated - in index 18109 of type skiplist over ["name.first","name.last"]; conflicting key: 18112] +[ArangoError 1210: unique constraint violated - in index 18110 of type skiplist over ["name.first","name.last"]; conflicting key: 18113] diff --git a/Documentation/Examples/ensureUniqueSkiplistMultiColumn.generated b/Documentation/Examples/ensureUniqueSkiplistMultiColumn.generated index 71c4c48bd3..334e63fb18 100644 --- a/Documentation/Examples/ensureUniqueSkiplistMultiColumn.generated +++ b/Documentation/Examples/ensureUniqueSkiplistMultiColumn.generated @@ -5,7 +5,7 @@ arangosh> db.ids.ensureIndex({ type: "name.first", "name.last" ], - "id" : "ids/18135", + "id" : "ids/18136", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -14,21 +14,21 @@ arangosh> db.ids.ensureIndex({ type: "name" : { "first" : "hans", "last": "hansen" }}); { - "_id" : "ids/18138", - "_key" : "18138", - "_rev" : "_V82NsdO--_" + "_id" : "ids/18139", + "_key" : "18139", + "_rev" : "_W-M-Zra--_" } arangosh> db.ids.save({ "name" : { "first" : "jens", "last": "jensen" }}); { - "_id" : "ids/18142", - "_key" : "18142", - "_rev" : "_V82NsdO--B" + "_id" : "ids/18143", + "_key" : "18143", + "_rev" : "_W-M-Zre--_" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "jensen" }}); { - "_id" : "ids/18145", - "_key" : "18145", - "_rev" : "_V82NsdO--D" + "_id" : "ids/18146", + "_key" : "18146", + "_rev" : "_W-M-Zre--B" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "hansen" }}); -[ArangoError 1210: unique constraint violated - in index 18135 of type skiplist over ["name.first","name.last"]; conflicting key: 18138] +[ArangoError 1210: unique constraint violated - in index 18136 of type skiplist over ["name.first","name.last"]; conflicting key: 18139] diff --git a/Documentation/Examples/ensureUniqueSkiplistSingle.generated b/Documentation/Examples/ensureUniqueSkiplistSingle.generated index a08fd641d6..63d9ad7a37 100644 --- a/Documentation/Examples/ensureUniqueSkiplistSingle.generated +++ b/Documentation/Examples/ensureUniqueSkiplistSingle.generated @@ -4,7 +4,7 @@ arangosh> db.ids.ensureIndex({ type: "fields" : [ "myId" ], - "id" : "ids/18161", + "id" : "ids/18162", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,21 +13,21 @@ arangosh> db.ids.ensureIndex({ type: "myId": 123 }); { - "_id" : "ids/18164", - "_key" : "18164", - "_rev" : "_V82Nsg---_" + "_id" : "ids/18165", + "_key" : "18165", + "_rev" : "_W-M-ZvC--_" } arangosh> db.ids.save({ "myId": 456 }); { - "_id" : "ids/18168", - "_key" : "18168", - "_rev" : "_V82Nsg---B" + "_id" : "ids/18169", + "_key" : "18169", + "_rev" : "_W-M-ZvC--B" } arangosh> db.ids.save({ "myId": 789 }); { - "_id" : "ids/18171", - "_key" : "18171", - "_rev" : "_V82Nsg---D" + "_id" : "ids/18172", + "_key" : "18172", + "_rev" : "_W-M-ZvG--_" } arangosh> db.ids.save({ "myId": 123 }); -[ArangoError 1210: unique constraint violated - in index 18161 of type skiplist over ["myId"]; conflicting key: 18164] +[ArangoError 1210: unique constraint violated - in index 18162 of type skiplist over ["myId"]; conflicting key: 18165] diff --git a/Documentation/Examples/ensureVertexCentricHashIndex.generated b/Documentation/Examples/ensureVertexCentricHashIndex.generated index 529d8c310b..cb962adcc9 100644 --- a/Documentation/Examples/ensureVertexCentricHashIndex.generated +++ b/Documentation/Examples/ensureVertexCentricHashIndex.generated @@ -5,7 +5,7 @@ arangosh> db.collection.ensureIndex({ type: "_from", "type" ], - "id" : "collection/18187", + "id" : "collection/18188", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/executeQuery.generated b/Documentation/Examples/executeQuery.generated index 0a0508d0c3..7507967c24 100644 --- a/Documentation/Examples/executeQuery.generated +++ b/Documentation/Examples/executeQuery.generated @@ -1,22 +1,22 @@ arangosh> result = db.users.all().toArray(); [ { - "_key" : "18208", - "_id" : "users/18208", - "_rev" : "_V82Nskm--B", + "_key" : "18209", + "_id" : "users/18209", + "_rev" : "_W-M-Z0y--_", "name" : "Angela" }, { - "_key" : "18205", - "_id" : "users/18205", - "_rev" : "_V82Nskm--_", - "name" : "Helmut" + "_key" : "18202", + "_id" : "users/18202", + "_rev" : "_W-M-Z0q--_", + "name" : "Gerhard" }, { - "_key" : "18201", - "_id" : "users/18201", - "_rev" : "_V82Nski--_", - "name" : "Gerhard" + "_key" : "18206", + "_id" : "users/18206", + "_rev" : "_W-M-Z0u--_", + "name" : "Helmut" } ] arangosh> q = db.users.all(); q.execute(); result = [ ]; while (q.hasNext()) { result.push(q.next()); } diff --git a/Documentation/Examples/executeQueryBatchSize.generated b/Documentation/Examples/executeQueryBatchSize.generated index 5f7e89d54e..248b8f1f5b 100644 --- a/Documentation/Examples/executeQueryBatchSize.generated +++ b/Documentation/Examples/executeQueryBatchSize.generated @@ -1,40 +1,40 @@ arangosh> q = db.users.all(); q.setBatchSize(20); q.execute(); while (q.hasNext()) { print(q.next()); } { - "_key" : "18228", - "_id" : "users/18228", - "_rev" : "_V82NsmK--_", - "name" : "Helmut" -} -{ - "_key" : "18224", - "_id" : "users/18224", - "_rev" : "_V82NsmG--_", + "_key" : "18225", + "_id" : "users/18225", + "_rev" : "_W-M-Z2a--_", "name" : "Gerhard" } { - "_key" : "18231", - "_id" : "users/18231", - "_rev" : "_V82NsmK--B", + "_key" : "18229", + "_id" : "users/18229", + "_rev" : "_W-M-Z2e--_", + "name" : "Helmut" +} +{ + "_key" : "18232", + "_id" : "users/18232", + "_rev" : "_W-M-Z2e--B", "name" : "Angela" } SimpleQueryAll(users) arangosh> q = db.users.all(); q.execute(20); while (q.hasNext()) { print(q.next()); } { - "_key" : "18228", - "_id" : "users/18228", - "_rev" : "_V82NsmK--_", - "name" : "Helmut" -} -{ - "_key" : "18224", - "_id" : "users/18224", - "_rev" : "_V82NsmG--_", + "_key" : "18225", + "_id" : "users/18225", + "_rev" : "_W-M-Z2a--_", "name" : "Gerhard" } { - "_key" : "18231", - "_id" : "users/18231", - "_rev" : "_V82NsmK--B", + "_key" : "18229", + "_id" : "users/18229", + "_rev" : "_W-M-Z2e--_", + "name" : "Helmut" +} +{ + "_key" : "18232", + "_id" : "users/18232", + "_rev" : "_W-M-Z2e--B", "name" : "Angela" } SimpleQueryAll(users) diff --git a/Documentation/Examples/executeQueryNoBatchSize.generated b/Documentation/Examples/executeQueryNoBatchSize.generated index cc427aee8d..94ab4a1da0 100644 --- a/Documentation/Examples/executeQueryNoBatchSize.generated +++ b/Documentation/Examples/executeQueryNoBatchSize.generated @@ -1,22 +1,22 @@ arangosh> result = db.users.all().toArray(); [ { - "_key" : "18251", - "_id" : "users/18251", - "_rev" : "_V82Nsnu--_", + "_key" : "18252", + "_id" : "users/18252", + "_rev" : "_W-M-Z4O--B", "name" : "Helmut" }, { - "_key" : "18247", - "_id" : "users/18247", - "_rev" : "_V82Nsnq--_", - "name" : "Gerhard" + "_key" : "18255", + "_id" : "users/18255", + "_rev" : "_W-M-Z4O--D", + "name" : "Angela" }, { - "_key" : "18254", - "_id" : "users/18254", - "_rev" : "_V82Nsnu--B", - "name" : "Angela" + "_key" : "18248", + "_id" : "users/18248", + "_rev" : "_W-M-Z4O--_", + "name" : "Gerhard" } ] arangosh> q = db.users.all(); q.execute(); result = [ ]; while (q.hasNext()) { result.push(q.next()); } diff --git a/Documentation/Examples/generalGraphCreateGraph2.generated b/Documentation/Examples/generalGraphCreateGraph2.generated index e766782ff8..78c43b0a7d 100644 --- a/Documentation/Examples/generalGraphCreateGraph2.generated +++ b/Documentation/Examples/generalGraphCreateGraph2.generated @@ -2,8 +2,8 @@ arangosh> var graph_module = "myGraph", ........> [graph_module._relation("myRelation", ["male", "female"], ["male", "female"])], ["sessions"]); {[Graph] - "myRelation" : [ArangoCollection 18278, "myRelation" (type edge, status loaded)], - "female" : [ArangoCollection 18272, "female" (type document, status loaded)], - "male" : [ArangoCollection 18268, "male" (type document, status loaded)], - "sessions" : [ArangoCollection 18282, "sessions" (type document, status loaded)] + "myRelation" : [ArangoCollection 18279, "myRelation" (type edge, status loaded)], + "female" : [ArangoCollection 18273, "female" (type document, status loaded)], + "male" : [ArangoCollection 18269, "male" (type document, status loaded)], + "sessions" : [ArangoCollection 18283, "sessions" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphCreateGraphHowTo2.generated b/Documentation/Examples/generalGraphCreateGraphHowTo2.generated index 0478a6c551..fa940f3ff6 100644 --- a/Documentation/Examples/generalGraphCreateGraphHowTo2.generated +++ b/Documentation/Examples/generalGraphCreateGraphHowTo2.generated @@ -3,7 +3,7 @@ arangosh> graph._addVertexCollection("customer""pet"); arangosh> graph; {[Graph] - "shop" : [ArangoCollection 18354, "shop" (type document, status loaded)], - "customer" : [ArangoCollection 18360, "customer" (type document, status loaded)], - "pet" : [ArangoCollection 18366, "pet" (type document, status loaded)] + "shop" : [ArangoCollection 18355, "shop" (type document, status loaded)], + "customer" : [ArangoCollection 18361, "customer" (type document, status loaded)], + "pet" : [ArangoCollection 18367, "pet" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphCreateGraphHowTo3.generated b/Documentation/Examples/generalGraphCreateGraphHowTo3.generated index 48daeecf86..f073afa7ea 100644 --- a/Documentation/Examples/generalGraphCreateGraphHowTo3.generated +++ b/Documentation/Examples/generalGraphCreateGraphHowTo3.generated @@ -2,8 +2,8 @@ arangosh> var rel = graph_module._relation( arangosh> graph._extendEdgeDefinitions(rel); arangosh> graph; {[Graph] - "isCustomer" : [ArangoCollection 18428, "isCustomer" (type edge, status loaded)], - "shop" : [ArangoCollection 18420, "shop" (type document, status loaded)], - "customer" : [ArangoCollection 18424, "customer" (type document, status loaded)], - "pet" : [ArangoCollection 18413, "pet" (type document, status loaded)] + "isCustomer" : [ArangoCollection 18429, "isCustomer" (type edge, status loaded)], + "shop" : [ArangoCollection 18421, "shop" (type document, status loaded)], + "customer" : [ArangoCollection 18425, "customer" (type document, status loaded)], + "pet" : [ArangoCollection 18414, "pet" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphCreateGraphSingle.generated b/Documentation/Examples/generalGraphCreateGraphSingle.generated index ac2b06bf43..44a395ef22 100644 --- a/Documentation/Examples/generalGraphCreateGraphSingle.generated +++ b/Documentation/Examples/generalGraphCreateGraphSingle.generated @@ -2,6 +2,6 @@ arangosh> var graph_module = var edgeDefinitions = [ { collection: "edges", "from": [ "vertices" ], "to" : [ "vertices" ] } ]; arangosh> graph = graph_module._create("myGraph", edgeDefinitions); {[Graph] - "edges" : [ArangoCollection 18499, "edges" (type edge, status loaded)], - "vertices" : [ArangoCollection 18494, "vertices" (type document, status loaded)] + "edges" : [ArangoCollection 18500, "edges" (type edge, status loaded)], + "vertices" : [ArangoCollection 18495, "vertices" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphDropGraphKeep.generated b/Documentation/Examples/generalGraphDropGraphKeep.generated index 9c596d6660..ae27a9b336 100644 --- a/Documentation/Examples/generalGraphDropGraphKeep.generated +++ b/Documentation/Examples/generalGraphDropGraphKeep.generated @@ -2,8 +2,8 @@ arangosh> var graph_module = "social"); true arangosh> db._collection("female"); -[ArangoCollection 18621, "female" (type document, status loaded)] +[ArangoCollection 18622, "female" (type document, status loaded)] arangosh> db._collection("male"); -[ArangoCollection 18624, "male" (type document, status loaded)] +[ArangoCollection 18625, "male" (type document, status loaded)] arangosh> db._collection("relation"); -[ArangoCollection 18627, "relation" (type edge, status loaded)] +[ArangoCollection 18628, "relation" (type edge, status loaded)] diff --git a/Documentation/Examples/generalGraphEdgeCollectionRemove.generated b/Documentation/Examples/generalGraphEdgeCollectionRemove.generated index 08158953c0..83f932ea5a 100644 --- a/Documentation/Examples/generalGraphEdgeCollectionRemove.generated +++ b/Documentation/Examples/generalGraphEdgeCollectionRemove.generated @@ -4,7 +4,7 @@ arangosh> graph.relation.save("female/alice" { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_V82NtNq--F" + "_rev" : "_W-M-akO--_" } arangosh> db._exists("relation/aliceAndDiana") true diff --git a/Documentation/Examples/generalGraphEdgeCollectionReplace.generated b/Documentation/Examples/generalGraphEdgeCollectionReplace.generated index 79e2ff9d7f..a8f6f3833d 100644 --- a/Documentation/Examples/generalGraphEdgeCollectionReplace.generated +++ b/Documentation/Examples/generalGraphEdgeCollectionReplace.generated @@ -4,12 +4,12 @@ arangosh> graph.relation.save("female/alice" { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_V82NtT6--D" + "_rev" : "_W-M-ar6--_" } arangosh> graph.relation.replace("relation/aliceAndDiana", {type: "knows", _from: "female/alice", _to: "female/diana"}); { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_V82NtU---_", - "_oldRev" : "_V82NtT6--D" + "_rev" : "_W-M-as---_", + "_oldRev" : "_W-M-ar6--_" } diff --git a/Documentation/Examples/generalGraphEdgeCollectionSave1.generated b/Documentation/Examples/generalGraphEdgeCollectionSave1.generated index 3f85ae6be2..bf9314ecae 100644 --- a/Documentation/Examples/generalGraphEdgeCollectionSave1.generated +++ b/Documentation/Examples/generalGraphEdgeCollectionSave1.generated @@ -4,5 +4,5 @@ arangosh> graph.relation.save("male/bob", "_id" : "relation/bobAndAlice", "_key" : "bobAndAlice", - "_rev" : "_V82NtZi--_" + "_rev" : "_W-M-ay---B" } diff --git a/Documentation/Examples/generalGraphEdgeCollectionUpdate.generated b/Documentation/Examples/generalGraphEdgeCollectionUpdate.generated index 18d179bac1..1d2bcbd59c 100644 --- a/Documentation/Examples/generalGraphEdgeCollectionUpdate.generated +++ b/Documentation/Examples/generalGraphEdgeCollectionUpdate.generated @@ -4,12 +4,12 @@ arangosh> graph.relation.save("female/alice" { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_V82NtnC--_" + "_rev" : "_W-M-b-6--B" } arangosh> graph.relation.update("relation/aliceAndDiana", {type: "quarreled", _key: "aliceAndDiana"}); { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_V82NtnC--B", - "_oldRev" : "_V82NtnC--_" + "_rev" : "_W-M-b_---_", + "_oldRev" : "_W-M-b-6--B" } diff --git a/Documentation/Examples/generalGraphGetFromVertex.generated b/Documentation/Examples/generalGraphGetFromVertex.generated index 5d5106d09d..9ae91acc9d 100644 --- a/Documentation/Examples/generalGraphGetFromVertex.generated +++ b/Documentation/Examples/generalGraphGetFromVertex.generated @@ -5,6 +5,6 @@ arangosh> graph._fromVertex("relation/" + an { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Ntsq--_", + "_rev" : "_W-M-bF2--_", "name" : "Alice" } diff --git a/Documentation/Examples/generalGraphGetToVertex.generated b/Documentation/Examples/generalGraphGetToVertex.generated index a61428f994..c9409b0c87 100644 --- a/Documentation/Examples/generalGraphGetToVertex.generated +++ b/Documentation/Examples/generalGraphGetToVertex.generated @@ -3,8 +3,8 @@ arangosh> var graph = examples.loadGraph(var any = require("@arangodb").db.relation.any(); arangosh> graph._toVertex("relation/" + any._key); { - "_key" : "bob", - "_id" : "male/bob", - "_rev" : "_V82NtyO--_", - "name" : "Bob" + "_key" : "charly", + "_id" : "male/charly", + "_rev" : "_W-M-bLe--D", + "name" : "Charly" } diff --git a/Documentation/Examples/generalGraphLoadGraph.generated b/Documentation/Examples/generalGraphLoadGraph.generated index 531c17b367..4ee7ea681f 100644 --- a/Documentation/Examples/generalGraphLoadGraph.generated +++ b/Documentation/Examples/generalGraphLoadGraph.generated @@ -1,7 +1,7 @@ arangosh> var graph_module = require("@arangodb/general-graph"); arangosh> graph = graph_module._graph("social"); {[Graph] - "relation" : [ArangoCollection 19331, "relation" (type edge, status loaded)], - "female" : [ArangoCollection 19325, "female" (type document, status loaded)], - "male" : [ArangoCollection 19328, "male" (type document, status loaded)] + "relation" : [ArangoCollection 19332, "relation" (type edge, status loaded)], + "female" : [ArangoCollection 19326, "female" (type document, status loaded)], + "male" : [ArangoCollection 19329, "male" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphModulePaths1.generated b/Documentation/Examples/generalGraphModulePaths1.generated index 8501b92d17..4195703db6 100644 --- a/Documentation/Examples/generalGraphModulePaths1.generated +++ b/Documentation/Examples/generalGraphModulePaths1.generated @@ -6,13 +6,13 @@ arangosh> g._paths(); "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" }, "edges" : [ ], @@ -20,7 +20,7 @@ arangosh> g._paths(); { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" } ] @@ -29,13 +29,13 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, "edges" : [ ], @@ -43,7 +43,7 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" } ] @@ -52,22 +52,22 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, "destination" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" }, "edges" : [ { - "_key" : "24264", - "_id" : "relation/24264", + "_key" : "24265", + "_id" : "relation/24265", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_V82Nz7C--H", + "_rev" : "_W-M-hqe--_", "type" : "married", "vertex" : "alice" } @@ -76,13 +76,13 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" } ] @@ -91,31 +91,31 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" }, "edges" : [ { - "_key" : "24264", - "_id" : "relation/24264", + "_key" : "24265", + "_id" : "relation/24265", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_V82Nz7C--H", + "_rev" : "_W-M-hqe--_", "type" : "married", "vertex" : "alice" }, { - "_key" : "24274", - "_id" : "relation/24274", + "_key" : "24275", + "_id" : "relation/24275", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_V82Nz7G--D", + "_rev" : "_W-M-hqe--F", "type" : "friend", "vertex" : "bob" } @@ -124,19 +124,19 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" } ] @@ -145,22 +145,22 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, "destination" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" }, "edges" : [ { - "_key" : "24268", - "_id" : "relation/24268", + "_key" : "24269", + "_id" : "relation/24269", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_V82Nz7G--_", + "_rev" : "_W-M-hqe--B", "type" : "friend", "vertex" : "alice" } @@ -169,13 +169,13 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" } ] @@ -184,31 +184,31 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" }, "edges" : [ { - "_key" : "24268", - "_id" : "relation/24268", + "_key" : "24269", + "_id" : "relation/24269", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_V82Nz7G--_", + "_rev" : "_W-M-hqe--B", "type" : "friend", "vertex" : "alice" }, { - "_key" : "24271", - "_id" : "relation/24271", + "_key" : "24272", + "_id" : "relation/24272", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_V82Nz7G--B", + "_rev" : "_W-M-hqe--D", "type" : "married", "vertex" : "charly" } @@ -217,19 +217,19 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82Nz7C--_", + "_rev" : "_W-M-hqa--_", "name" : "Alice" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" } ] @@ -238,13 +238,13 @@ arangosh> g._paths(); "source" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" }, "destination" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" }, "edges" : [ ], @@ -252,7 +252,7 @@ arangosh> g._paths(); { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" } ] @@ -261,22 +261,22 @@ arangosh> g._paths(); "source" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" }, "edges" : [ { - "_key" : "24274", - "_id" : "relation/24274", + "_key" : "24275", + "_id" : "relation/24275", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_V82Nz7G--D", + "_rev" : "_W-M-hqe--F", "type" : "friend", "vertex" : "bob" } @@ -285,13 +285,13 @@ arangosh> g._paths(); { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82Nz7C--B", + "_rev" : "_W-M-hqa--B", "name" : "Bob" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" } ] @@ -300,13 +300,13 @@ arangosh> g._paths(); "source" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" }, "destination" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" }, "edges" : [ ], @@ -314,7 +314,7 @@ arangosh> g._paths(); { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" } ] @@ -323,22 +323,22 @@ arangosh> g._paths(); "source" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" }, "edges" : [ { - "_key" : "24271", - "_id" : "relation/24271", + "_key" : "24272", + "_id" : "relation/24272", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_V82Nz7G--B", + "_rev" : "_W-M-hqe--D", "type" : "married", "vertex" : "charly" } @@ -347,13 +347,13 @@ arangosh> g._paths(); { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82Nz7C--D", + "_rev" : "_W-M-hqa--D", "name" : "Charly" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82Nz7C--F", + "_rev" : "_W-M-hqa--F", "name" : "Diana" } ] diff --git a/Documentation/Examples/generalGraphModulePaths2.generated b/Documentation/Examples/generalGraphModulePaths2.generated index bb15f26b09..c4c0b9c51c 100644 --- a/Documentation/Examples/generalGraphModulePaths2.generated +++ b/Documentation/Examples/generalGraphModulePaths2.generated @@ -6,22 +6,22 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, "destination" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82N0Au--D", + "_rev" : "_W-M-hwm--D", "name" : "Charly" }, "edges" : [ { - "_key" : "24359", - "_id" : "relation/24359", + "_key" : "24360", + "_id" : "relation/24360", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_V82N0Ay--D", + "_rev" : "_W-M-hwq--D", "type" : "married", "vertex" : "charly" } @@ -30,13 +30,13 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82N0Au--D", + "_rev" : "_W-M-hwm--D", "name" : "Charly" } ] @@ -45,31 +45,31 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" }, "edges" : [ { - "_key" : "24359", - "_id" : "relation/24359", + "_key" : "24360", + "_id" : "relation/24360", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_V82N0Ay--D", + "_rev" : "_W-M-hwq--D", "type" : "married", "vertex" : "charly" }, { - "_key" : "24356", - "_id" : "relation/24356", + "_key" : "24357", + "_id" : "relation/24357", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_V82N0Ay--B", + "_rev" : "_W-M-hwq--B", "type" : "friend", "vertex" : "alice" } @@ -78,19 +78,19 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82N0Au--D", + "_rev" : "_W-M-hwm--D", "name" : "Charly" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" } ] @@ -99,22 +99,22 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, "destination" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82N0Au--B", + "_rev" : "_W-M-hwm--B", "name" : "Bob" }, "edges" : [ { - "_key" : "24362", - "_id" : "relation/24362", + "_key" : "24363", + "_id" : "relation/24363", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_V82N0Ay--F", + "_rev" : "_W-M-hwq--F", "type" : "friend", "vertex" : "bob" } @@ -123,13 +123,13 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82N0Au--B", + "_rev" : "_W-M-hwm--B", "name" : "Bob" } ] @@ -138,31 +138,31 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" }, "edges" : [ { - "_key" : "24362", - "_id" : "relation/24362", + "_key" : "24363", + "_id" : "relation/24363", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_V82N0Ay--F", + "_rev" : "_W-M-hwq--F", "type" : "friend", "vertex" : "bob" }, { - "_key" : "24352", - "_id" : "relation/24352", + "_key" : "24353", + "_id" : "relation/24353", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_V82N0Ay--_", + "_rev" : "_W-M-hwq--_", "type" : "married", "vertex" : "alice" } @@ -171,19 +171,19 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N0Au--F", + "_rev" : "_W-M-hwm--F", "name" : "Diana" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82N0Au--B", + "_rev" : "_W-M-hwm--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" } ] @@ -192,22 +192,22 @@ arangosh> g._paths({direction : "source" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82N0Au--B", + "_rev" : "_W-M-hwm--B", "name" : "Bob" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" }, "edges" : [ { - "_key" : "24352", - "_id" : "relation/24352", + "_key" : "24353", + "_id" : "relation/24353", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_V82N0Ay--_", + "_rev" : "_W-M-hwq--_", "type" : "married", "vertex" : "alice" } @@ -216,13 +216,13 @@ arangosh> g._paths({direction : "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82N0Au--B", + "_rev" : "_W-M-hwm--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" } ] @@ -231,22 +231,22 @@ arangosh> g._paths({direction : "source" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82N0Au--D", + "_rev" : "_W-M-hwm--D", "name" : "Charly" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" }, "edges" : [ { - "_key" : "24356", - "_id" : "relation/24356", + "_key" : "24357", + "_id" : "relation/24357", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_V82N0Ay--B", + "_rev" : "_W-M-hwq--B", "type" : "friend", "vertex" : "alice" } @@ -255,13 +255,13 @@ arangosh> g._paths({direction : "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82N0Au--D", + "_rev" : "_W-M-hwm--D", "name" : "Charly" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N0Au--_", + "_rev" : "_W-M-hwm--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/generalGraphModuleShortestPaths1.generated b/Documentation/Examples/generalGraphModuleShortestPaths1.generated index 4b84653d53..a9c65612f8 100644 --- a/Documentation/Examples/generalGraphModuleShortestPaths1.generated +++ b/Documentation/Examples/generalGraphModuleShortestPaths1.generated @@ -10,11 +10,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25239", - "_id" : "germanHighway/25239", + "_key" : "25240", + "_id" : "germanHighway/25240", "_from" : "germanCity/Hamburg", "_to" : "germanCity/Cologne", - "_rev" : "_V82N1IG--D", + "_rev" : "_W-M-j-i--B", "distance" : 500 } ], @@ -27,11 +27,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25232", - "_id" : "germanHighway/25232", + "_key" : "25233", + "_id" : "germanHighway/25233", "_from" : "germanCity/Berlin", "_to" : "germanCity/Cologne", - "_rev" : "_V82N1IG--_", + "_rev" : "_W-M-j-e--_", "distance" : 850 } ], @@ -44,11 +44,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25259", - "_id" : "internationalHighway/25259", + "_key" : "25260", + "_id" : "internationalHighway/25260", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IK--H", + "_rev" : "_W-M-j-u--_", "distance" : 700 } ], @@ -61,11 +61,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25262", - "_id" : "internationalHighway/25262", + "_key" : "25263", + "_id" : "internationalHighway/25263", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Paris", - "_rev" : "_V82N1IK--J", + "_rev" : "_W-M-j-u--B", "distance" : 550 } ], @@ -78,11 +78,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25239", - "_id" : "germanHighway/25239", + "_key" : "25240", + "_id" : "germanHighway/25240", "_from" : "germanCity/Hamburg", "_to" : "germanCity/Cologne", - "_rev" : "_V82N1IG--D", + "_rev" : "_W-M-j-i--B", "distance" : 500 } ], @@ -95,11 +95,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25236", - "_id" : "germanHighway/25236", + "_key" : "25237", + "_id" : "germanHighway/25237", "_from" : "germanCity/Berlin", "_to" : "germanCity/Hamburg", - "_rev" : "_V82N1IG--B", + "_rev" : "_W-M-j-i--_", "distance" : 400 } ], @@ -112,11 +112,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25256", - "_id" : "internationalHighway/25256", + "_key" : "25257", + "_id" : "internationalHighway/25257", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IK--F", + "_rev" : "_W-M-j-q--B", "distance" : 1300 } ], @@ -129,11 +129,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25253", - "_id" : "internationalHighway/25253", + "_key" : "25254", + "_id" : "internationalHighway/25254", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Paris", - "_rev" : "_V82N1IK--D", + "_rev" : "_W-M-j-q--_", "distance" : 900 } ], @@ -146,11 +146,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25232", - "_id" : "germanHighway/25232", + "_key" : "25233", + "_id" : "germanHighway/25233", "_from" : "germanCity/Berlin", "_to" : "germanCity/Cologne", - "_rev" : "_V82N1IG--_", + "_rev" : "_W-M-j-e--_", "distance" : 850 } ], @@ -163,11 +163,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25236", - "_id" : "germanHighway/25236", + "_key" : "25237", + "_id" : "germanHighway/25237", "_from" : "germanCity/Berlin", "_to" : "germanCity/Hamburg", - "_rev" : "_V82N1IG--B", + "_rev" : "_W-M-j-i--_", "distance" : 400 } ], @@ -180,11 +180,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25246", - "_id" : "internationalHighway/25246", + "_key" : "25247", + "_id" : "internationalHighway/25247", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IK--_", + "_rev" : "_W-M-j-m--B", "distance" : 1100 } ], @@ -197,11 +197,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25250", - "_id" : "internationalHighway/25250", + "_key" : "25251", + "_id" : "internationalHighway/25251", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Paris", - "_rev" : "_V82N1IK--B", + "_rev" : "_W-M-j-m--D", "distance" : 1200 } ], @@ -214,11 +214,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25259", - "_id" : "internationalHighway/25259", + "_key" : "25260", + "_id" : "internationalHighway/25260", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IK--H", + "_rev" : "_W-M-j-u--_", "distance" : 700 } ], @@ -231,11 +231,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25256", - "_id" : "internationalHighway/25256", + "_key" : "25257", + "_id" : "internationalHighway/25257", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IK--F", + "_rev" : "_W-M-j-q--B", "distance" : 1300 } ], @@ -248,11 +248,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25246", - "_id" : "internationalHighway/25246", + "_key" : "25247", + "_id" : "internationalHighway/25247", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IK--_", + "_rev" : "_W-M-j-m--B", "distance" : 1100 } ], @@ -265,11 +265,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25242", - "_id" : "frenchHighway/25242", + "_key" : "25243", + "_id" : "frenchHighway/25243", "_from" : "frenchCity/Paris", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IG--F", + "_rev" : "_W-M-j-m--_", "distance" : 550 } ], @@ -282,11 +282,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25262", - "_id" : "internationalHighway/25262", + "_key" : "25263", + "_id" : "internationalHighway/25263", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Paris", - "_rev" : "_V82N1IK--J", + "_rev" : "_W-M-j-u--B", "distance" : 550 } ], @@ -299,11 +299,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25253", - "_id" : "internationalHighway/25253", + "_key" : "25254", + "_id" : "internationalHighway/25254", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Paris", - "_rev" : "_V82N1IK--D", + "_rev" : "_W-M-j-q--_", "distance" : 900 } ], @@ -316,11 +316,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25250", - "_id" : "internationalHighway/25250", + "_key" : "25251", + "_id" : "internationalHighway/25251", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Paris", - "_rev" : "_V82N1IK--B", + "_rev" : "_W-M-j-m--D", "distance" : 1200 } ], @@ -333,11 +333,11 @@ arangosh> g._shortestPath({}, {}, {weight : "edges" : [ { - "_key" : "25242", - "_id" : "frenchHighway/25242", + "_key" : "25243", + "_id" : "frenchHighway/25243", "_from" : "frenchCity/Paris", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1IG--F", + "_rev" : "_W-M-j-m--_", "distance" : 550 } ], diff --git a/Documentation/Examples/generalGraphModuleShortestPaths2.generated b/Documentation/Examples/generalGraphModuleShortestPaths2.generated index ee213ce018..58fd5475fa 100644 --- a/Documentation/Examples/generalGraphModuleShortestPaths2.generated +++ b/Documentation/Examples/generalGraphModuleShortestPaths2.generated @@ -10,11 +10,11 @@ arangosh> g._shortestPath([{_id: "edges" : [ { - "_key" : "25414", - "_id" : "internationalHighway/25414", + "_key" : "25415", + "_id" : "internationalHighway/25415", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N1Um--B", + "_rev" : "_W-M-jM---B", "distance" : 700 } ], diff --git a/Documentation/Examples/generalGraphVertexCollectionRemove.generated b/Documentation/Examples/generalGraphVertexCollectionRemove.generated index d7854f0659..031783ff1a 100644 --- a/Documentation/Examples/generalGraphVertexCollectionRemove.generated +++ b/Documentation/Examples/generalGraphVertexCollectionRemove.generated @@ -4,7 +4,7 @@ arangosh> graph.male.save({name: "_id" : "male/kermit", "_key" : "kermit", - "_rev" : "_V82N1bG--F" + "_rev" : "_W-M-jTG--F" } arangosh> db._exists("male/kermit") true diff --git a/Documentation/Examples/generalGraphVertexCollectionReplace.generated b/Documentation/Examples/generalGraphVertexCollectionReplace.generated index 2bf9a5e560..5673a8d3f9 100644 --- a/Documentation/Examples/generalGraphVertexCollectionReplace.generated +++ b/Documentation/Examples/generalGraphVertexCollectionReplace.generated @@ -4,12 +4,12 @@ arangosh> graph.male.save({neym: "_id" : "male/john", "_key" : "john", - "_rev" : "_V82N1hq--D" + "_rev" : "_W-M-jZO--F" } arangosh> graph.male.replace("male/john", {name: "John"}); { "_id" : "male/john", "_key" : "john", - "_rev" : "_V82N1hu--_", - "_oldRev" : "_V82N1hq--D" + "_rev" : "_W-M-jZS--_", + "_oldRev" : "_W-M-jZO--F" } diff --git a/Documentation/Examples/generalGraphVertexCollectionSave.generated b/Documentation/Examples/generalGraphVertexCollectionSave.generated index 8187ae01a2..93a5f07aa6 100644 --- a/Documentation/Examples/generalGraphVertexCollectionSave.generated +++ b/Documentation/Examples/generalGraphVertexCollectionSave.generated @@ -4,5 +4,5 @@ arangosh> graph.male.save({name: "_id" : "male/floyd", "_key" : "floyd", - "_rev" : "_V82N1ni--B" + "_rev" : "_W-M-jeO--_" } diff --git a/Documentation/Examples/generalGraphVertexCollectionUpdate.generated b/Documentation/Examples/generalGraphVertexCollectionUpdate.generated index b16c9f0ebe..fc2b08510d 100644 --- a/Documentation/Examples/generalGraphVertexCollectionUpdate.generated +++ b/Documentation/Examples/generalGraphVertexCollectionUpdate.generated @@ -4,12 +4,12 @@ arangosh> graph.female.save({name: "_id" : "female/linda", "_key" : "linda", - "_rev" : "_V82N1su--_" + "_rev" : "_W-M-jja--B" } arangosh> graph.female.update("female/linda", {name: "Linda", _key: "linda"}); { "_id" : "female/linda", "_key" : "linda", - "_rev" : "_V82N1su--B", - "_oldRev" : "_V82N1su--_" + "_rev" : "_W-M-jje--_", + "_oldRev" : "_W-M-jja--B" } diff --git a/Documentation/Examples/general_graph__deleteEdgeDefinitionNoDrop.generated b/Documentation/Examples/general_graph__deleteEdgeDefinitionNoDrop.generated index 542ad01186..4ad4af1144 100644 --- a/Documentation/Examples/general_graph__deleteEdgeDefinitionNoDrop.generated +++ b/Documentation/Examples/general_graph__deleteEdgeDefinitionNoDrop.generated @@ -4,4 +4,4 @@ arangosh> var ed2 = graph_module._relation( arangosh> var graph = graph_module._create("myGraph", [ed1, ed2]); arangosh> graph._deleteEdgeDefinition("myEC1"); arangosh> db._collection("myEC1"); -[ArangoCollection 25941, "myEC1" (type edge, status loaded)] +[ArangoCollection 25942, "myEC1" (type edge, status loaded)] diff --git a/Documentation/Examples/general_graph_create_graph_example1.generated b/Documentation/Examples/general_graph_create_graph_example1.generated index 48ebc1a2e1..cdf43b0f66 100644 --- a/Documentation/Examples/general_graph_create_graph_example1.generated +++ b/Documentation/Examples/general_graph_create_graph_example1.generated @@ -6,10 +6,10 @@ arangosh> graph_module._extendEdgeDefinitions( ........> "has_bought", ["Customer", "Company"], ["Groceries", "Electronics"])); arangosh> graph_module._create("myStore", edgeDefinitions); {[Graph] - "friend_of" : [ArangoCollection 26435, "friend_of" (type edge, status loaded)], - "Customer" : [ArangoCollection 26430, "Customer" (type document, status loaded)], - "has_bought" : [ArangoCollection 26452, "has_bought" (type edge, status loaded)], - "Company" : [ArangoCollection 26440, "Company" (type document, status loaded)], - "Electronics" : [ArangoCollection 26448, "Electronics" (type document, status loaded)], - "Groceries" : [ArangoCollection 26444, "Groceries" (type document, status loaded)] + "friend_of" : [ArangoCollection 26436, "friend_of" (type edge, status loaded)], + "Customer" : [ArangoCollection 26431, "Customer" (type document, status loaded)], + "has_bought" : [ArangoCollection 26453, "has_bought" (type edge, status loaded)], + "Company" : [ArangoCollection 26441, "Company" (type document, status loaded)], + "Electronics" : [ArangoCollection 26449, "Electronics" (type document, status loaded)], + "Groceries" : [ArangoCollection 26445, "Groceries" (type document, status loaded)] } diff --git a/Documentation/Examples/general_graph_create_graph_example2.generated b/Documentation/Examples/general_graph_create_graph_example2.generated index 7856ae48c5..7917813c9a 100644 --- a/Documentation/Examples/general_graph_create_graph_example2.generated +++ b/Documentation/Examples/general_graph_create_graph_example2.generated @@ -4,10 +4,10 @@ arangosh> var edgeDefinitions = graph_modu ........> "has_bought", ["Customer", "Company"], ["Groceries", "Electronics"])); arangosh> graph_module._create("myStore", edgeDefinitions); {[Graph] - "friend_of" : [ArangoCollection 26519, "friend_of" (type edge, status loaded)], - "Customer" : [ArangoCollection 26514, "Customer" (type document, status loaded)], - "has_bought" : [ArangoCollection 26536, "has_bought" (type edge, status loaded)], - "Company" : [ArangoCollection 26523, "Company" (type document, status loaded)], - "Electronics" : [ArangoCollection 26528, "Electronics" (type document, status loaded)], - "Groceries" : [ArangoCollection 26532, "Groceries" (type document, status loaded)] + "friend_of" : [ArangoCollection 26520, "friend_of" (type edge, status loaded)], + "Customer" : [ArangoCollection 26515, "Customer" (type document, status loaded)], + "has_bought" : [ArangoCollection 26537, "has_bought" (type edge, status loaded)], + "Company" : [ArangoCollection 26524, "Company" (type document, status loaded)], + "Electronics" : [ArangoCollection 26529, "Electronics" (type document, status loaded)], + "Groceries" : [ArangoCollection 26533, "Groceries" (type document, status loaded)] } diff --git a/Documentation/Examples/geoIndexCreateForArrayAttribute.generated b/Documentation/Examples/geoIndexCreateForArrayAttribute.generated index b3437cd857..3232884435 100644 --- a/Documentation/Examples/geoIndexCreateForArrayAttribute.generated +++ b/Documentation/Examples/geoIndexCreateForArrayAttribute.generated @@ -5,7 +5,7 @@ arangosh> db.geo.ensureIndex({ type: "loc" ], "geoJson" : false, - "id" : "geo/26600", + "id" : "geo/26601", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -23,9 +23,9 @@ arangosh> db.geo.count(); arangosh> db.geo.near(0, 0).limit(3).toArray(); [ { - "_key" : "27657", - "_id" : "geo/27657", - "_rev" : "_V82N3IS--D", + "_key" : "27658", + "_id" : "geo/27658", + "_rev" : "_W-M-k5q--F", "name" : "Name/0/0", "loc" : [ 0, @@ -33,9 +33,9 @@ arangosh> db.geo.near(0, "_key" : "27660", - "_id" : "geo/27660", - "_rev" : "_V82N3IS--F", + "_key" : "27661", + "_id" : "geo/27661", + "_rev" : "_W-M-k5q--H", "name" : "Name/0/10", "loc" : [ 0, @@ -43,9 +43,9 @@ arangosh> db.geo.near(0, "_key" : "27546", - "_id" : "geo/27546", - "_rev" : "_V82N3I---B", + "_key" : "27547", + "_id" : "geo/27547", + "_rev" : "_W-M-k5S--H", "name" : "Name/-10/0", "loc" : [ -10, diff --git a/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated b/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated index 716222ec59..49b2a68089 100644 --- a/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated +++ b/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated @@ -5,7 +5,7 @@ arangosh> db.geo.ensureIndex({ type: "loc" ], "geoJson" : false, - "id" : "geo/28734", + "id" : "geo/28735", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -23,9 +23,9 @@ arangosh> db.geo.count(); arangosh> db.geo.near(0, 0).limit(3).toArray(); [ { - "_key" : "29791", - "_id" : "geo/29791", - "_rev" : "_V82N3WK--B", + "_key" : "29792", + "_id" : "geo/29792", + "_rev" : "_W-M-lG---_", "name" : "Name/0/0", "loc" : [ 0, @@ -33,9 +33,9 @@ arangosh> db.geo.near(0, "_key" : "29794", - "_id" : "geo/29794", - "_rev" : "_V82N3WK--D", + "_key" : "29795", + "_id" : "geo/29795", + "_rev" : "_W-M-lG---B", "name" : "Name/0/10", "loc" : [ 0, @@ -43,9 +43,9 @@ arangosh> db.geo.near(0, "_key" : "29680", - "_id" : "geo/29680", - "_rev" : "_V82N3VW--_", + "_key" : "29681", + "_id" : "geo/29681", + "_rev" : "_W-M-lFi--_", "name" : "Name/-10/0", "loc" : [ -10, diff --git a/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated b/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated index 1408ecb6ed..5ac607fd67 100644 --- a/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated +++ b/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated @@ -5,7 +5,7 @@ arangosh> db.geo2.ensureIndex({ type: "location.latitude", "location.longitude" ], - "id" : "geo2/30868", + "id" : "geo2/30869", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -21,9 +21,9 @@ arangosh> for (i = 0, 0).limit(3).toArray(); [ { - "_key" : "31925", - "_id" : "geo2/31925", - "_rev" : "_V82N3lG--D", + "_key" : "31926", + "_id" : "geo2/31926", + "_rev" : "_W-M-lRu--H", "name" : "Name/0/0", "location" : { "latitude" : 0, @@ -31,9 +31,9 @@ arangosh> db.geo2.near(0, "_key" : "31928", - "_id" : "geo2/31928", - "_rev" : "_V82N3lG--F", + "_key" : "31929", + "_id" : "geo2/31929", + "_rev" : "_W-M-lRu--J", "name" : "Name/0/10", "location" : { "latitude" : 0, @@ -41,9 +41,9 @@ arangosh> db.geo2.near(0, "_key" : "31814", - "_id" : "geo2/31814", - "_rev" : "_V82N3km--J", + "_key" : "31815", + "_id" : "geo2/31815", + "_rev" : "_W-M-lRa--D", "name" : "Name/-10/0", "location" : { "latitude" : -10, diff --git a/Documentation/Examples/geoIndexFilterOptimization.generated b/Documentation/Examples/geoIndexFilterOptimization.generated index e026c218ac..272406a926 100644 --- a/Documentation/Examples/geoIndexFilterOptimization.generated +++ b/Documentation/Examples/geoIndexFilterOptimization.generated @@ -5,7 +5,7 @@ arangosh> db.geoFilter.ensureIndex({ type: "latitude", "longitude" ], - "id" : "geoFilter/32996", + "id" : "geoFilter/32997", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -42,9 +42,9 @@ Optimization rules applied: arangosh> db._query(query); [ { - "_key" : "34053", - "_id" : "geoFilter/34053", - "_rev" : "_V82N3xu--H", + "_key" : "34054", + "_id" : "geoFilter/34054", + "_rev" : "_W-M-ld2--_", "name" : "Name/0/0", "latitude" : 0, "longitude" : 0 diff --git a/Documentation/Examples/geoIndexSimpleQuery.generated b/Documentation/Examples/geoIndexSimpleQuery.generated index f3c68df9c5..e5f5eee163 100644 --- a/Documentation/Examples/geoIndexSimpleQuery.generated +++ b/Documentation/Examples/geoIndexSimpleQuery.generated @@ -15,7 +15,7 @@ arangosh> db.complex.ensureIndex({ type: "home" ], "geoJson" : false, - "id" : "complex/37233", + "id" : "complex/37234", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -26,9 +26,9 @@ arangosh> db.complex.ensureIndex({ type: 0, 170).limit(5).toArray(); [ { - "_key" : "36227", - "_id" : "complex/36227", - "_rev" : "_V82N4-a--_", + "_key" : "36228", + "_id" : "complex/36228", + "_rev" : "_W-M-lnS--J", "name" : "Name/0/170", "home" : [ 0, @@ -40,9 +40,9 @@ arangosh> db.complex.near(0, "_key" : "36230", - "_id" : "complex/36230", - "_rev" : "_V82N4-a--B", + "_key" : "36231", + "_id" : "complex/36231", + "_rev" : "_W-M-lnW--_", "name" : "Name/0/180", "home" : [ 0, @@ -54,9 +54,9 @@ arangosh> db.complex.near(0, "_key" : "36122", - "_id" : "complex/36122", - "_rev" : "_V82N396--D", + "_key" : "36123", + "_id" : "complex/36123", + "_rev" : "_W-M-lm6--D", "name" : "Name/0/-180", "home" : [ 0, @@ -68,9 +68,9 @@ arangosh> db.complex.near(0, "_key" : "36116", - "_id" : "complex/36116", - "_rev" : "_V82N396--_", + "_key" : "36117", + "_id" : "complex/36117", + "_rev" : "_W-M-lm6--_", "name" : "Name/-10/170", "home" : [ -10, @@ -82,9 +82,9 @@ arangosh> db.complex.near(0, "_key" : "36338", - "_id" : "complex/36338", - "_rev" : "_V82N4_---B", + "_key" : "36339", + "_id" : "complex/36339", + "_rev" : "_W-M-lnu--B", "name" : "Name/10/170", "home" : [ 10, @@ -105,7 +105,7 @@ arangosh> db.complex.ensureIndex({ type: "work" ], "geoJson" : false, - "id" : "complex/37241", + "id" : "complex/37242", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -116,9 +116,9 @@ arangosh> db.complex.ensureIndex({ type: "work").near(0, 170).limit(5).toArray(); [ { - "_key" : "36227", - "_id" : "complex/36227", - "_rev" : "_V82N4-a--_", + "_key" : "36228", + "_id" : "complex/36228", + "_rev" : "_W-M-lnS--J", "name" : "Name/0/170", "home" : [ 0, @@ -130,9 +130,9 @@ arangosh> db.complex.geo("work").near("_key" : "36230", - "_id" : "complex/36230", - "_rev" : "_V82N4-a--B", + "_key" : "36231", + "_id" : "complex/36231", + "_rev" : "_W-M-lnW--_", "name" : "Name/0/180", "home" : [ 0, @@ -144,9 +144,9 @@ arangosh> db.complex.geo("work").near("_key" : "36122", - "_id" : "complex/36122", - "_rev" : "_V82N396--D", + "_key" : "36123", + "_id" : "complex/36123", + "_rev" : "_W-M-lm6--D", "name" : "Name/0/-180", "home" : [ 0, @@ -158,9 +158,9 @@ arangosh> db.complex.geo("work").near("_key" : "36116", - "_id" : "complex/36116", - "_rev" : "_V82N396--_", + "_key" : "36117", + "_id" : "complex/36117", + "_rev" : "_W-M-lm6--_", "name" : "Name/-10/170", "home" : [ -10, @@ -172,9 +172,9 @@ arangosh> db.complex.geo("work").near("_key" : "36338", - "_id" : "complex/36338", - "_rev" : "_V82N4_---B", + "_key" : "36339", + "_id" : "complex/36339", + "_rev" : "_W-M-lnu--B", "name" : "Name/10/170", "home" : [ 10, diff --git a/Documentation/Examples/geoIndexSortOptimization.generated b/Documentation/Examples/geoIndexSortOptimization.generated index 1faf6b8d3c..23e6396be7 100644 --- a/Documentation/Examples/geoIndexSortOptimization.generated +++ b/Documentation/Examples/geoIndexSortOptimization.generated @@ -5,7 +5,7 @@ arangosh> db.geoSort.ensureIndex({ type: "latitude", "longitude" ], - "id" : "geoSort/37259", + "id" : "geoSort/37260", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, @@ -43,41 +43,41 @@ Optimization rules applied: arangosh> db._query(query); [ { - "_key" : "38316", - "_id" : "geoSort/38316", - "_rev" : "_V82N4SC--F", + "_key" : "38317", + "_id" : "geoSort/38317", + "_rev" : "_W-M-l16--B", "name" : "Name/0/0", "latitude" : 0, "longitude" : 0 }, { - "_key" : "38205", - "_id" : "geoSort/38205", - "_rev" : "_V82N4Rm--F", + "_key" : "38206", + "_id" : "geoSort/38206", + "_rev" : "_W-M-l1i--F", "name" : "Name/-10/0", "latitude" : -10, "longitude" : 0 }, { - "_key" : "38319", - "_id" : "geoSort/38319", - "_rev" : "_V82N4SC--H", + "_key" : "38320", + "_id" : "geoSort/38320", + "_rev" : "_W-M-l16--D", "name" : "Name/0/10", "latitude" : 0, "longitude" : 10 }, { - "_key" : "38427", - "_id" : "geoSort/38427", - "_rev" : "_V82N4Sq--_", + "_key" : "38428", + "_id" : "geoSort/38428", + "_rev" : "_W-M-l2O--B", "name" : "Name/10/0", "latitude" : 10, "longitude" : 0 }, { - "_key" : "38313", - "_id" : "geoSort/38313", - "_rev" : "_V82N4SC--D", + "_key" : "38314", + "_id" : "geoSort/38314", + "_rev" : "_W-M-l16--_", "name" : "Name/0/-10", "latitude" : 0, "longitude" : -10 diff --git a/Documentation/Examples/graph_create_cities_sample.generated b/Documentation/Examples/graph_create_cities_sample.generated index ebe3206a17..df570ad23a 100644 --- a/Documentation/Examples/graph_create_cities_sample.generated +++ b/Documentation/Examples/graph_create_cities_sample.generated @@ -5,7 +5,7 @@ arangosh> db.frenchCity.toArray(); { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_V82N4gO--_", + "_rev" : "_W-M-mA---D", "population" : 80000, "isCapital" : false, "loc" : [ @@ -16,7 +16,7 @@ arangosh> db.frenchCity.toArray(); { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_V82N4gO--B", + "_rev" : "_W-M-mA---F", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -30,7 +30,7 @@ arangosh> db.germanCity.toArray(); { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_V82N4gK--B", + "_rev" : "_W-M-mA---_", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -41,7 +41,7 @@ arangosh> db.germanCity.toArray(); { "_key" : "Hamburg", "_id" : "germanCity/Hamburg", - "_rev" : "_V82N4gK--D", + "_rev" : "_W-M-mA---B", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -52,7 +52,7 @@ arangosh> db.germanCity.toArray(); { "_key" : "Berlin", "_id" : "germanCity/Berlin", - "_rev" : "_V82N4gK--_", + "_rev" : "_W-M-m_6--_", "population" : 3000000, "isCapital" : true, "loc" : [ @@ -64,90 +64,90 @@ arangosh> db.germanCity.toArray(); arangosh> db.germanHighway.toArray(); [ { - "_key" : "39432", - "_id" : "germanHighway/39432", + "_key" : "39437", + "_id" : "germanHighway/39437", "_from" : "germanCity/Berlin", - "_to" : "germanCity/Cologne", - "_rev" : "_V82N4ju--_", - "distance" : 850 + "_to" : "germanCity/Hamburg", + "_rev" : "_W-M-mDm--_", + "distance" : 400 }, { - "_key" : "39439", - "_id" : "germanHighway/39439", + "_key" : "39440", + "_id" : "germanHighway/39440", "_from" : "germanCity/Hamburg", "_to" : "germanCity/Cologne", - "_rev" : "_V82N4ju--D", + "_rev" : "_W-M-mDm--B", "distance" : 500 }, { - "_key" : "39436", - "_id" : "germanHighway/39436", + "_key" : "39433", + "_id" : "germanHighway/39433", "_from" : "germanCity/Berlin", - "_to" : "germanCity/Hamburg", - "_rev" : "_V82N4ju--B", - "distance" : 400 + "_to" : "germanCity/Cologne", + "_rev" : "_W-M-mDi--_", + "distance" : 850 } ] arangosh> db.frenchHighway.toArray(); [ { - "_key" : "39442", - "_id" : "frenchHighway/39442", + "_key" : "39443", + "_id" : "frenchHighway/39443", "_from" : "frenchCity/Paris", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N4jy--_", + "_rev" : "_W-M-mDm--D", "distance" : 550 } ] arangosh> db.internationalHighway.toArray(); [ { - "_key" : "39453", - "_id" : "internationalHighway/39453", - "_from" : "germanCity/Hamburg", - "_to" : "frenchCity/Paris", - "_rev" : "_V82N4jy--F", - "distance" : 900 - }, - { - "_key" : "39462", - "_id" : "internationalHighway/39462", + "_key" : "39463", + "_id" : "internationalHighway/39463", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Paris", - "_rev" : "_V82N4j2--B", + "_rev" : "_W-M-mDq--D", "distance" : 550 }, { - "_key" : "39450", - "_id" : "internationalHighway/39450", - "_from" : "germanCity/Berlin", - "_to" : "frenchCity/Paris", - "_rev" : "_V82N4jy--D", - "distance" : 1200 - }, - { - "_key" : "39459", - "_id" : "internationalHighway/39459", - "_from" : "germanCity/Cologne", - "_to" : "frenchCity/Lyon", - "_rev" : "_V82N4j2--_", - "distance" : 700 - }, - { - "_key" : "39456", - "_id" : "internationalHighway/39456", + "_key" : "39457", + "_id" : "internationalHighway/39457", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N4jy--H", + "_rev" : "_W-M-mDq--_", "distance" : 1300 }, { - "_key" : "39446", - "_id" : "internationalHighway/39446", + "_key" : "39460", + "_id" : "internationalHighway/39460", + "_from" : "germanCity/Cologne", + "_to" : "frenchCity/Lyon", + "_rev" : "_W-M-mDq--B", + "distance" : 700 + }, + { + "_key" : "39447", + "_id" : "internationalHighway/39447", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Lyon", - "_rev" : "_V82N4jy--B", + "_rev" : "_W-M-mDm--F", "distance" : 1100 + }, + { + "_key" : "39451", + "_id" : "internationalHighway/39451", + "_from" : "germanCity/Berlin", + "_to" : "frenchCity/Paris", + "_rev" : "_W-M-mDm--H", + "distance" : 1200 + }, + { + "_key" : "39454", + "_id" : "internationalHighway/39454", + "_from" : "germanCity/Hamburg", + "_to" : "frenchCity/Paris", + "_rev" : "_W-M-mDm--J", + "distance" : 900 } ] arangosh> examples.dropGraph("routeplanner"); diff --git a/Documentation/Examples/graph_create_knows_sample.generated b/Documentation/Examples/graph_create_knows_sample.generated index 9cb16590ce..823a450687 100644 --- a/Documentation/Examples/graph_create_knows_sample.generated +++ b/Documentation/Examples/graph_create_knows_sample.generated @@ -5,75 +5,75 @@ arangosh> db.persons.toArray() { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_V82N4qO--B", + "_rev" : "_W-M-mKS--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_V82N4qO--D", + "_rev" : "_W-M-mKS--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_V82N4qO--F", + "_rev" : "_W-M-mKS--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_V82N4qO--H", + "_rev" : "_W-M-mKS--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_V82N4qO--_", + "_rev" : "_W-M-mKS--_", "name" : "Alice" } ] arangosh> db.knows.toArray(); [ { - "_key" : "39576", - "_id" : "knows/39576", + "_key" : "39580", + "_id" : "knows/39580", "_from" : "persons/eve", - "_to" : "persons/alice", - "_rev" : "_V82N4qW--B", + "_to" : "persons/bob", + "_rev" : "_W-M-mKW--H", "vertex" : "eve" }, { - "_key" : "39566", - "_id" : "knows/39566", + "_key" : "39571", + "_id" : "knows/39571", + "_from" : "persons/bob", + "_to" : "persons/charlie", + "_rev" : "_W-M-mKW--B", + "vertex" : "bob" + }, + { + "_key" : "39567", + "_id" : "knows/39567", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_V82N4qS--_", + "_rev" : "_W-M-mKW--_", "vertex" : "alice" }, { - "_key" : "39573", - "_id" : "knows/39573", + "_key" : "39577", + "_id" : "knows/39577", + "_from" : "persons/eve", + "_to" : "persons/alice", + "_rev" : "_W-M-mKW--F", + "vertex" : "eve" + }, + { + "_key" : "39574", + "_id" : "knows/39574", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_V82N4qW--_", + "_rev" : "_W-M-mKW--D", "vertex" : "bob" - }, - { - "_key" : "39570", - "_id" : "knows/39570", - "_from" : "persons/bob", - "_to" : "persons/charlie", - "_rev" : "_V82N4qS--B", - "vertex" : "bob" - }, - { - "_key" : "39579", - "_id" : "knows/39579", - "_from" : "persons/eve", - "_to" : "persons/bob", - "_rev" : "_V82N4qW--D", - "vertex" : "eve" } ] arangosh> examples.dropGraph("knows_graph"); diff --git a/Documentation/Examples/graph_create_social_sample.generated b/Documentation/Examples/graph_create_social_sample.generated index 36b9d9b3d1..090a94beee 100644 --- a/Documentation/Examples/graph_create_social_sample.generated +++ b/Documentation/Examples/graph_create_social_sample.generated @@ -5,13 +5,13 @@ arangosh> db.female.toArray() { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_V82N4ve--B", + "_rev" : "_W-M-mOm--F", "name" : "Diana" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_V82N4va--B", + "_rev" : "_W-M-mOm--_", "name" : "Alice" } ] @@ -20,53 +20,53 @@ arangosh> db.male.toArray() { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_V82N4va--D", + "_rev" : "_W-M-mOm--B", "name" : "Bob" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_V82N4ve--_", + "_rev" : "_W-M-mOm--D", "name" : "Charly" } ] arangosh> db.relation.toArray() [ { - "_key" : "39645", - "_id" : "relation/39645", - "_from" : "female/alice", - "_to" : "male/bob", - "_rev" : "_V82N4ve--D", + "_key" : "39653", + "_id" : "relation/39653", + "_from" : "male/charly", + "_to" : "female/diana", + "_rev" : "_W-M-mOq--D", "type" : "married", - "vertex" : "alice" + "vertex" : "charly" }, { - "_key" : "39649", - "_id" : "relation/39649", + "_key" : "39650", + "_id" : "relation/39650", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_V82N4ve--F", + "_rev" : "_W-M-mOq--B", "type" : "friend", "vertex" : "alice" }, { - "_key" : "39655", - "_id" : "relation/39655", + "_key" : "39656", + "_id" : "relation/39656", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_V82N4vi--_", + "_rev" : "_W-M-mOq--F", "type" : "friend", "vertex" : "bob" }, { - "_key" : "39652", - "_id" : "relation/39652", - "_from" : "male/charly", - "_to" : "female/diana", - "_rev" : "_V82N4ve--H", + "_key" : "39646", + "_id" : "relation/39646", + "_from" : "female/alice", + "_to" : "male/bob", + "_rev" : "_W-M-mOq--_", "type" : "married", - "vertex" : "charly" + "vertex" : "alice" } ] arangosh> examples.dropGraph("social"); diff --git a/Documentation/Examples/graph_create_traversal_sample.generated b/Documentation/Examples/graph_create_traversal_sample.generated index 2eb22ca0c4..0d401c8e6f 100644 --- a/Documentation/Examples/graph_create_traversal_sample.generated +++ b/Documentation/Examples/graph_create_traversal_sample.generated @@ -5,171 +5,171 @@ arangosh> db.circles.toArray(); { "_key" : "I", "_id" : "circles/I", - "_rev" : "_V82N41S--_", + "_rev" : "_W-M-mUS--B", "label" : "9" }, { "_key" : "G", "_id" : "circles/G", - "_rev" : "_V82N41O--B", + "_rev" : "_W-M-mUO--F", "label" : "7" }, { "_key" : "F", "_id" : "circles/F", - "_rev" : "_V82N41O--_", + "_rev" : "_W-M-mUO--D", "label" : "6" }, { "_key" : "A", "_id" : "circles/A", - "_rev" : "_V82N41G--B", + "_rev" : "_W-M-mUK--B", "label" : "1" }, { "_key" : "E", "_id" : "circles/E", - "_rev" : "_V82N41K--F", + "_rev" : "_W-M-mUO--B", "label" : "5" }, { "_key" : "C", "_id" : "circles/C", - "_rev" : "_V82N41K--B", + "_rev" : "_W-M-mUK--F", "label" : "3" }, { "_key" : "D", "_id" : "circles/D", - "_rev" : "_V82N41K--D", + "_rev" : "_W-M-mUO--_", "label" : "4" }, { "_key" : "J", "_id" : "circles/J", - "_rev" : "_V82N41S--B", + "_rev" : "_W-M-mUS--D", "label" : "10" }, { "_key" : "B", "_id" : "circles/B", - "_rev" : "_V82N41K--_", + "_rev" : "_W-M-mUK--D", "label" : "2" }, { "_key" : "H", "_id" : "circles/H", - "_rev" : "_V82N41O--D", + "_rev" : "_W-M-mUS--_", "label" : "8" }, { "_key" : "K", "_id" : "circles/K", - "_rev" : "_V82N41S--D", + "_rev" : "_W-M-mUS--F", "label" : "11" } ] arangosh> db.edges.toArray(); [ { - "_key" : "39766", - "_id" : "edges/39766", - "_from" : "circles/G", - "_to" : "circles/J", - "_rev" : "_V82N41e---", - "theFalse" : false, - "theTruth" : true, - "label" : "right_zip" - }, - { - "_key" : "39763", - "_id" : "edges/39763", - "_from" : "circles/H", - "_to" : "circles/I", - "_rev" : "_V82N41a--F", - "theFalse" : false, - "theTruth" : true, - "label" : "right_blub" - }, - { - "_key" : "39748", - "_id" : "edges/39748", - "_from" : "circles/C", - "_to" : "circles/D", - "_rev" : "_V82N41W--D", - "theFalse" : false, - "theTruth" : true, - "label" : "left_blorg" - }, - { - "_key" : "39769", - "_id" : "edges/39769", - "_from" : "circles/J", - "_to" : "circles/K", - "_rev" : "_V82N41e--A", - "theFalse" : false, - "theTruth" : true, - "label" : "right_zup" - }, - { - "_key" : "39754", - "_id" : "edges/39754", - "_from" : "circles/E", - "_to" : "circles/F", - "_rev" : "_V82N41a--_", - "theFalse" : false, - "theTruth" : true, - "label" : "left_schubi" - }, - { - "_key" : "39760", - "_id" : "edges/39760", - "_from" : "circles/G", - "_to" : "circles/H", - "_rev" : "_V82N41a--D", - "theFalse" : false, - "theTruth" : true, - "label" : "right_blob" - }, - { - "_key" : "39751", - "_id" : "edges/39751", - "_from" : "circles/B", - "_to" : "circles/E", - "_rev" : "_V82N41W--F", - "theFalse" : false, - "theTruth" : true, - "label" : "left_blub" - }, - { - "_key" : "39745", - "_id" : "edges/39745", - "_from" : "circles/B", - "_to" : "circles/C", - "_rev" : "_V82N41W--B", - "theFalse" : false, - "theTruth" : true, - "label" : "left_blarg" - }, - { - "_key" : "39741", - "_id" : "edges/39741", + "_key" : "39742", + "_id" : "edges/39742", "_from" : "circles/A", "_to" : "circles/B", - "_rev" : "_V82N41W--_", + "_rev" : "_W-M-mUS--H", "theFalse" : false, "theTruth" : true, "label" : "left_bar" }, { - "_key" : "39757", - "_id" : "edges/39757", + "_key" : "39755", + "_id" : "edges/39755", + "_from" : "circles/E", + "_to" : "circles/F", + "_rev" : "_W-M-mUW--F", + "theFalse" : false, + "theTruth" : true, + "label" : "left_schubi" + }, + { + "_key" : "39761", + "_id" : "edges/39761", + "_from" : "circles/G", + "_to" : "circles/H", + "_rev" : "_W-M-mUW--J", + "theFalse" : false, + "theTruth" : true, + "label" : "right_blob" + }, + { + "_key" : "39758", + "_id" : "edges/39758", "_from" : "circles/A", "_to" : "circles/G", - "_rev" : "_V82N41a--B", + "_rev" : "_W-M-mUW--H", "theFalse" : false, "theTruth" : true, "label" : "right_foo" + }, + { + "_key" : "39749", + "_id" : "edges/39749", + "_from" : "circles/C", + "_to" : "circles/D", + "_rev" : "_W-M-mUW--B", + "theFalse" : false, + "theTruth" : true, + "label" : "left_blorg" + }, + { + "_key" : "39746", + "_id" : "edges/39746", + "_from" : "circles/B", + "_to" : "circles/C", + "_rev" : "_W-M-mUW--_", + "theFalse" : false, + "theTruth" : true, + "label" : "left_blarg" + }, + { + "_key" : "39767", + "_id" : "edges/39767", + "_from" : "circles/G", + "_to" : "circles/J", + "_rev" : "_W-M-mUa--B", + "theFalse" : false, + "theTruth" : true, + "label" : "right_zip" + }, + { + "_key" : "39770", + "_id" : "edges/39770", + "_from" : "circles/J", + "_to" : "circles/K", + "_rev" : "_W-M-mUa--D", + "theFalse" : false, + "theTruth" : true, + "label" : "right_zup" + }, + { + "_key" : "39764", + "_id" : "edges/39764", + "_from" : "circles/H", + "_to" : "circles/I", + "_rev" : "_W-M-mUa--_", + "theFalse" : false, + "theTruth" : true, + "label" : "right_blub" + }, + { + "_key" : "39752", + "_id" : "edges/39752", + "_from" : "circles/B", + "_to" : "circles/E", + "_rev" : "_W-M-mUW--D", + "theFalse" : false, + "theTruth" : true, + "label" : "left_blub" } ] arangosh> examples.dropGraph("traversalGraph"); diff --git a/Documentation/Examples/graph_create_world_sample.generated b/Documentation/Examples/graph_create_world_sample.generated index 30065a3731..713823f7a5 100644 --- a/Documentation/Examples/graph_create_world_sample.generated +++ b/Documentation/Examples/graph_create_world_sample.generated @@ -5,42 +5,42 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-ottawa", "_id" : "worldVertices/capital-ottawa", - "_rev" : "_V82N47O--_", + "_rev" : "_W-M-mZW--H", "name" : "Ottawa", "type" : "capital" }, { "_key" : "capital-yaounde", "_id" : "worldVertices/capital-yaounde", - "_rev" : "_V82N47a--_", + "_rev" : "_W-M-mZe--L", "name" : "Yaounde", "type" : "capital" }, { "_key" : "capital-algiers", "_id" : "worldVertices/capital-algiers", - "_rev" : "_V82N46y--F", + "_rev" : "_W-M-mZG--H", "name" : "Algiers", "type" : "capital" }, { "_key" : "continent-south-america", "_id" : "worldVertices/continent-south-america", - "_rev" : "_V82N46O--F", + "_rev" : "_W-M-mYq--_", "name" : "South America", "type" : "continent" }, { "_key" : "capital-andorra-la-vella", "_id" : "worldVertices/capital-andorra-la-vella", - "_rev" : "_V82N46y--H", + "_rev" : "_W-M-mZG--J", "name" : "Andorra la Vella", "type" : "capital" }, { "_key" : "country-people-s-republic-of-china", "_id" : "worldVertices/country-people-s-republic-of-china", - "_rev" : "_V82N46y--D", + "_rev" : "_W-M-mZG--F", "name" : "People's Republic of China", "type" : "country", "code" : "CHN" @@ -48,14 +48,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-tirana", "_id" : "worldVertices/capital-tirana", - "_rev" : "_V82N47W--D", + "_rev" : "_W-M-mZe--F", "name" : "Tirana", "type" : "capital" }, { "_key" : "country-cote-d-ivoire", "_id" : "worldVertices/country-cote-d-ivoire", - "_rev" : "_V82N46q--D", + "_rev" : "_W-M-mZ---H", "name" : "Cote d'Ivoire", "type" : "country", "code" : "CIV" @@ -63,21 +63,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-sofia", "_id" : "worldVertices/capital-sofia", - "_rev" : "_V82N47W--_", + "_rev" : "_W-M-mZe--B", "name" : "Sofia", "type" : "capital" }, { "_key" : "capital-bridgetown", "_id" : "worldVertices/capital-bridgetown", - "_rev" : "_V82N47---B", + "_rev" : "_W-M-mZO--_", "name" : "Bridgetown", "type" : "capital" }, { "_key" : "country-chad", "_id" : "worldVertices/country-chad", - "_rev" : "_V82N46m--H", + "_rev" : "_W-M-mZ---B", "name" : "Chad", "type" : "country", "code" : "TCD" @@ -85,35 +85,35 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-thimphu", "_id" : "worldVertices/capital-thimphu", - "_rev" : "_V82N47W--B", + "_rev" : "_W-M-mZe--D", "name" : "Thimphu", "type" : "capital" }, { "_key" : "capital-santiago", "_id" : "worldVertices/capital-santiago", - "_rev" : "_V82N47S--F", + "_rev" : "_W-M-mZa--H", "name" : "Santiago", "type" : "capital" }, { "_key" : "capital-manama", "_id" : "worldVertices/capital-manama", - "_rev" : "_V82N47K--D", + "_rev" : "_W-M-mZW--B", "name" : "Manama", "type" : "capital" }, { "_key" : "capital-zagreb", "_id" : "worldVertices/capital-zagreb", - "_rev" : "_V82N47a--B", + "_rev" : "_W-M-mZi--_", "name" : "Zagreb", "type" : "capital" }, { "_key" : "country-brazil", "_id" : "worldVertices/country-brazil", - "_rev" : "_V82N46i--_", + "_rev" : "_W-M-mY2--D", "name" : "Brazil", "type" : "country", "code" : "BRA" @@ -121,7 +121,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-burundi", "_id" : "worldVertices/country-burundi", - "_rev" : "_V82N46m--_", + "_rev" : "_W-M-mY6--B", "name" : "Burundi", "type" : "country", "code" : "BDI" @@ -129,14 +129,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-la-paz", "_id" : "worldVertices/capital-la-paz", - "_rev" : "_V82N47K--_", + "_rev" : "_W-M-mZS--J", "name" : "La Paz", "type" : "capital" }, { "_key" : "country-germany", "_id" : "worldVertices/country-germany", - "_rev" : "_V82N46y--B", + "_rev" : "_W-M-mZG--D", "name" : "Germany", "type" : "country", "code" : "DEU" @@ -144,7 +144,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-botswana", "_id" : "worldVertices/country-botswana", - "_rev" : "_V82N46e--F", + "_rev" : "_W-M-mY2--B", "name" : "Botswana", "type" : "country", "code" : "BWA" @@ -152,14 +152,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-phnom-penh", "_id" : "worldVertices/capital-phnom-penh", - "_rev" : "_V82N47O--F", + "_rev" : "_W-M-mZa--_", "name" : "Phnom Penh", "type" : "capital" }, { "_key" : "country-croatia", "_id" : "worldVertices/country-croatia", - "_rev" : "_V82N46q--F", + "_rev" : "_W-M-mZC--_", "name" : "Croatia", "type" : "country", "code" : "HRV" @@ -167,7 +167,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-eritrea", "_id" : "worldVertices/country-eritrea", - "_rev" : "_V82N46u--F", + "_rev" : "_W-M-mZC--J", "name" : "Eritrea", "type" : "country", "code" : "ERI" @@ -175,7 +175,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-angola", "_id" : "worldVertices/country-angola", - "_rev" : "_V82N46S--H", + "_rev" : "_W-M-mYq--J", "name" : "Angola", "type" : "country", "code" : "AGO" @@ -183,7 +183,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bahrain", "_id" : "worldVertices/country-bahrain", - "_rev" : "_V82N46a--_", + "_rev" : "_W-M-mYu--J", "name" : "Bahrain", "type" : "country", "code" : "BHR" @@ -191,7 +191,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-argentina", "_id" : "worldVertices/country-argentina", - "_rev" : "_V82N46W--B", + "_rev" : "_W-M-mYu--B", "name" : "Argentina", "type" : "country", "code" : "ARG" @@ -199,21 +199,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-canberra", "_id" : "worldVertices/capital-canberra", - "_rev" : "_V82N47C--H", + "_rev" : "_W-M-mZO--J", "name" : "Canberra", "type" : "capital" }, { "_key" : "capital-bujumbura", "_id" : "worldVertices/capital-bujumbura", - "_rev" : "_V82N47C--D", + "_rev" : "_W-M-mZO--F", "name" : "Bujumbura", "type" : "capital" }, { "_key" : "country-bangladesh", "_id" : "worldVertices/country-bangladesh", - "_rev" : "_V82N46a--B", + "_rev" : "_W-M-mYy--_", "name" : "Bangladesh", "type" : "country", "code" : "BGD" @@ -221,7 +221,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-ecuador", "_id" : "worldVertices/country-ecuador", - "_rev" : "_V82N46u--B", + "_rev" : "_W-M-mZC--F", "name" : "Ecuador", "type" : "country", "code" : "ECU" @@ -229,14 +229,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-africa", "_id" : "worldVertices/continent-africa", - "_rev" : "_V82N46K--B", + "_rev" : "_W-M-mYi--B", "name" : "Africa", "type" : "continent" }, { "_key" : "country-cambodia", "_id" : "worldVertices/country-cambodia", - "_rev" : "_V82N46m--B", + "_rev" : "_W-M-mY6--D", "name" : "Cambodia", "type" : "country", "code" : "KHM" @@ -244,7 +244,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-chile", "_id" : "worldVertices/country-chile", - "_rev" : "_V82N46q--_", + "_rev" : "_W-M-mZ---D", "name" : "Chile", "type" : "country", "code" : "CHL" @@ -252,7 +252,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bolivia", "_id" : "worldVertices/country-bolivia", - "_rev" : "_V82N46e--B", + "_rev" : "_W-M-mYy--H", "name" : "Bolivia", "type" : "country", "code" : "BOL" @@ -260,7 +260,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-belgium", "_id" : "worldVertices/country-belgium", - "_rev" : "_V82N46a--F", + "_rev" : "_W-M-mYy--D", "name" : "Belgium", "type" : "country", "code" : "BEL" @@ -268,14 +268,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-copenhagen", "_id" : "worldVertices/capital-copenhagen", - "_rev" : "_V82N47G--_", + "_rev" : "_W-M-mZS--_", "name" : "Copenhagen", "type" : "capital" }, { "_key" : "country-cameroon", "_id" : "worldVertices/country-cameroon", - "_rev" : "_V82N46m--D", + "_rev" : "_W-M-mY6--F", "name" : "Cameroon", "type" : "country", "code" : "CMR" @@ -283,42 +283,42 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-gaborone", "_id" : "worldVertices/capital-gaborone", - "_rev" : "_V82N47G--D", + "_rev" : "_W-M-mZS--D", "name" : "Gaborone", "type" : "capital" }, { "_key" : "continent-australia", "_id" : "worldVertices/continent-australia", - "_rev" : "_V82N46O--_", + "_rev" : "_W-M-mYm--A", "name" : "Australia", "type" : "continent" }, { "_key" : "world", "_id" : "worldVertices/world", - "_rev" : "_V82N46K--_", + "_rev" : "_W-M-mYi--_", "name" : "World", "type" : "root" }, { "_key" : "capital-yamoussoukro", "_id" : "worldVertices/capital-yamoussoukro", - "_rev" : "_V82N47W--H", + "_rev" : "_W-M-mZe--J", "name" : "Yamoussoukro", "type" : "capital" }, { "_key" : "capital-brasilia", "_id" : "worldVertices/capital-brasilia", - "_rev" : "_V82N47---_", + "_rev" : "_W-M-mZK--J", "name" : "Brasilia", "type" : "capital" }, { "_key" : "country-antigua-and-barbuda", "_id" : "worldVertices/country-antigua-and-barbuda", - "_rev" : "_V82N46W--_", + "_rev" : "_W-M-mYu--_", "name" : "Antigua and Barbuda", "type" : "country", "code" : "ATG" @@ -326,28 +326,28 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-bandar-seri-begawan", "_id" : "worldVertices/capital-bandar-seri-begawan", - "_rev" : "_V82N462--B", + "_rev" : "_W-M-mZK--B", "name" : "Bandar Seri Begawan", "type" : "capital" }, { "_key" : "capital-dhaka", "_id" : "worldVertices/capital-dhaka", - "_rev" : "_V82N47G--B", + "_rev" : "_W-M-mZS--B", "name" : "Dhaka", "type" : "capital" }, { "_key" : "capital-saint-john-s", "_id" : "worldVertices/capital-saint-john-s", - "_rev" : "_V82N47S--D", + "_rev" : "_W-M-mZa--F", "name" : "Saint John's", "type" : "capital" }, { "_key" : "country-burkina-faso", "_id" : "worldVertices/country-burkina-faso", - "_rev" : "_V82N46i--F", + "_rev" : "_W-M-mY6--_", "name" : "Burkina Faso", "type" : "country", "code" : "BFA" @@ -355,14 +355,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-prague", "_id" : "worldVertices/capital-prague", - "_rev" : "_V82N47S--_", + "_rev" : "_W-M-mZa--B", "name" : "Prague", "type" : "capital" }, { "_key" : "country-czech-republic", "_id" : "worldVertices/country-czech-republic", - "_rev" : "_V82N46q--H", + "_rev" : "_W-M-mZC--B", "name" : "Czech Republic", "type" : "country", "code" : "CZE" @@ -370,7 +370,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-egypt", "_id" : "worldVertices/country-egypt", - "_rev" : "_V82N46u--D", + "_rev" : "_W-M-mZC--H", "name" : "Egypt", "type" : "country", "code" : "EGY" @@ -378,14 +378,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-helsinki", "_id" : "worldVertices/capital-helsinki", - "_rev" : "_V82N47G--F", + "_rev" : "_W-M-mZS--F", "name" : "Helsinki", "type" : "capital" }, { "_key" : "country-bhutan", "_id" : "worldVertices/country-bhutan", - "_rev" : "_V82N46e--_", + "_rev" : "_W-M-mYy--F", "name" : "Bhutan", "type" : "country", "code" : "BTN" @@ -393,7 +393,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-algeria", "_id" : "worldVertices/country-algeria", - "_rev" : "_V82N46S--D", + "_rev" : "_W-M-mYq--F", "name" : "Algeria", "type" : "country", "code" : "DZA" @@ -401,7 +401,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-afghanistan", "_id" : "worldVertices/country-afghanistan", - "_rev" : "_V82N46S--_", + "_rev" : "_W-M-mYq--B", "name" : "Afghanistan", "type" : "country", "code" : "AFG" @@ -409,14 +409,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-paris", "_id" : "worldVertices/capital-paris", - "_rev" : "_V82N47O--D", + "_rev" : "_W-M-mZW--L", "name" : "Paris", "type" : "capital" }, { "_key" : "country-finland", "_id" : "worldVertices/country-finland", - "_rev" : "_V82N46u--H", + "_rev" : "_W-M-mZG--_", "name" : "Finland", "type" : "country", "code" : "FIN" @@ -424,7 +424,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-austria", "_id" : "worldVertices/country-austria", - "_rev" : "_V82N46W--F", + "_rev" : "_W-M-mYu--F", "name" : "Austria", "type" : "country", "code" : "AUT" @@ -432,14 +432,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-brussels", "_id" : "worldVertices/capital-brussels", - "_rev" : "_V82N47C--_", + "_rev" : "_W-M-mZO--B", "name" : "Brussels", "type" : "capital" }, { "_key" : "country-denmark", "_id" : "worldVertices/country-denmark", - "_rev" : "_V82N46u--_", + "_rev" : "_W-M-mZC--D", "name" : "Denmark", "type" : "country", "code" : "DNK" @@ -447,7 +447,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-albania", "_id" : "worldVertices/country-albania", - "_rev" : "_V82N46S--B", + "_rev" : "_W-M-mYq--D", "name" : "Albania", "type" : "country", "code" : "ALB" @@ -455,28 +455,28 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-berlin", "_id" : "worldVertices/capital-berlin", - "_rev" : "_V82N466--A", + "_rev" : "_W-M-mZK--F", "name" : "Berlin", "type" : "capital" }, { "_key" : "capital-buenos-aires", "_id" : "worldVertices/capital-buenos-aires", - "_rev" : "_V82N47C--B", + "_rev" : "_W-M-mZO--D", "name" : "Buenos Aires", "type" : "capital" }, { "_key" : "capital-quito", "_id" : "worldVertices/capital-quito", - "_rev" : "_V82N47S--B", + "_rev" : "_W-M-mZa--D", "name" : "Quito", "type" : "capital" }, { "_key" : "country-france", "_id" : "worldVertices/country-france", - "_rev" : "_V82N46y--_", + "_rev" : "_W-M-mZG--B", "name" : "France", "type" : "country", "code" : "FRA" @@ -484,7 +484,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-colombia", "_id" : "worldVertices/country-colombia", - "_rev" : "_V82N46q--B", + "_rev" : "_W-M-mZ---F", "name" : "Colombia", "type" : "country", "code" : "COL" @@ -492,7 +492,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bulgaria", "_id" : "worldVertices/country-bulgaria", - "_rev" : "_V82N46i--D", + "_rev" : "_W-M-mY2--H", "name" : "Bulgaria", "type" : "country", "code" : "BGR" @@ -500,21 +500,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-north-america", "_id" : "worldVertices/continent-north-america", - "_rev" : "_V82N46O--D", + "_rev" : "_W-M-mYm--E", "name" : "North America", "type" : "continent" }, { "_key" : "capital-vienna", "_id" : "worldVertices/capital-vienna", - "_rev" : "_V82N47W--F", + "_rev" : "_W-M-mZe--H", "name" : "Vienna", "type" : "capital" }, { "_key" : "country-bahamas", "_id" : "worldVertices/country-bahamas", - "_rev" : "_V82N46W--H", + "_rev" : "_W-M-mYu--H", "name" : "Bahamas", "type" : "country", "code" : "BHS" @@ -522,14 +522,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-asia", "_id" : "worldVertices/continent-asia", - "_rev" : "_V82N46K--D", + "_rev" : "_W-M-mYm---", "name" : "Asia", "type" : "continent" }, { "_key" : "country-barbados", "_id" : "worldVertices/country-barbados", - "_rev" : "_V82N46a--D", + "_rev" : "_W-M-mYy--B", "name" : "Barbados", "type" : "country", "code" : "BRB" @@ -537,28 +537,28 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-n-djamena", "_id" : "worldVertices/capital-n-djamena", - "_rev" : "_V82N47K--H", + "_rev" : "_W-M-mZW--F", "name" : "N'Djamena", "type" : "capital" }, { "_key" : "capital-ouagadougou", "_id" : "worldVertices/capital-ouagadougou", - "_rev" : "_V82N47O--B", + "_rev" : "_W-M-mZW--J", "name" : "Ouagadougou", "type" : "capital" }, { "_key" : "capital-bogota", "_id" : "worldVertices/capital-bogota", - "_rev" : "_V82N466--C", + "_rev" : "_W-M-mZK--H", "name" : "Bogota", "type" : "capital" }, { "_key" : "country-brunei", "_id" : "worldVertices/country-brunei", - "_rev" : "_V82N46i--B", + "_rev" : "_W-M-mY2--F", "name" : "Brunei", "type" : "country", "code" : "BRN" @@ -566,42 +566,42 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-asmara", "_id" : "worldVertices/capital-asmara", - "_rev" : "_V82N462--_", + "_rev" : "_W-M-mZK--_", "name" : "Asmara", "type" : "capital" }, { "_key" : "capital-cairo", "_id" : "worldVertices/capital-cairo", - "_rev" : "_V82N47C--F", + "_rev" : "_W-M-mZO--H", "name" : "Cairo", "type" : "capital" }, { "_key" : "capital-kabul", "_id" : "worldVertices/capital-kabul", - "_rev" : "_V82N47G--H", + "_rev" : "_W-M-mZS--H", "name" : "Kabul", "type" : "capital" }, { "_key" : "capital-nassau", "_id" : "worldVertices/capital-nassau", - "_rev" : "_V82N47K--F", + "_rev" : "_W-M-mZW--D", "name" : "Nassau", "type" : "capital" }, { "_key" : "capital-beijing", "_id" : "worldVertices/capital-beijing", - "_rev" : "_V82N466---", + "_rev" : "_W-M-mZK--D", "name" : "Beijing", "type" : "capital" }, { "_key" : "country-canada", "_id" : "worldVertices/country-canada", - "_rev" : "_V82N46m--F", + "_rev" : "_W-M-mZ---_", "name" : "Canada", "type" : "country", "code" : "CAN" @@ -609,21 +609,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-europe", "_id" : "worldVertices/continent-europe", - "_rev" : "_V82N46O--B", + "_rev" : "_W-M-mYm--C", "name" : "Europe", "type" : "continent" }, { "_key" : "capital-luanda", "_id" : "worldVertices/capital-luanda", - "_rev" : "_V82N47K--B", + "_rev" : "_W-M-mZW--_", "name" : "Luanda", "type" : "capital" }, { "_key" : "country-australia", "_id" : "worldVertices/country-australia", - "_rev" : "_V82N46W--D", + "_rev" : "_W-M-mYu--D", "name" : "Australia", "type" : "country", "code" : "AUS" @@ -631,14 +631,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-sarajevo", "_id" : "worldVertices/capital-sarajevo", - "_rev" : "_V82N47S--H", + "_rev" : "_W-M-mZe--_", "name" : "Sarajevo", "type" : "capital" }, { "_key" : "country-andorra", "_id" : "worldVertices/country-andorra", - "_rev" : "_V82N46S--F", + "_rev" : "_W-M-mYq--H", "name" : "Andorra", "type" : "country", "code" : "AND" @@ -646,7 +646,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bosnia-and-herzegovina", "_id" : "worldVertices/country-bosnia-and-herzegovina", - "_rev" : "_V82N46e--D", + "_rev" : "_W-M-mY2--_", "name" : "Bosnia and Herzegovina", "type" : "country", "code" : "BIH" @@ -655,691 +655,691 @@ arangosh> db.worldVertices.toArray(); arangosh> db.worldEdges.toArray(); [ { - "_key" : "40166", - "_id" : "worldEdges/40166", - "_from" : "worldVertices/capital-bujumbura", - "_to" : "worldVertices/country-burundi", - "_rev" : "_V82N48K--F", - "type" : "is-in" - }, - { - "_key" : "40199", - "_id" : "worldEdges/40199", - "_from" : "worldVertices/capital-nassau", - "_to" : "worldVertices/country-bahamas", - "_rev" : "_V82N48W--_", - "type" : "is-in" - }, - { - "_key" : "40022", - "_id" : "worldEdges/40022", - "_from" : "worldVertices/country-andorra", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N47m--B", - "type" : "is-in" - }, - { - "_key" : "40037", - "_id" : "worldEdges/40037", - "_from" : "worldVertices/country-austria", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N47q--D", - "type" : "is-in" - }, - { - "_key" : "40232", - "_id" : "worldEdges/40232", - "_from" : "worldVertices/capital-sofia", - "_to" : "worldVertices/country-bulgaria", - "_rev" : "_V82N48i--_", - "type" : "is-in" - }, - { - "_key" : "40211", - "_id" : "worldEdges/40211", - "_from" : "worldVertices/capital-paris", - "_to" : "worldVertices/country-france", - "_rev" : "_V82N48W--H", - "type" : "is-in" - }, - { - "_key" : "40001", - "_id" : "worldEdges/40001", - "_from" : "worldVertices/continent-australia", - "_to" : "worldVertices/world", - "_rev" : "_V82N47e--D", - "type" : "is-in" - }, - { - "_key" : "40031", - "_id" : "worldEdges/40031", - "_from" : "worldVertices/country-argentina", - "_to" : "worldVertices/continent-south-america", - "_rev" : "_V82N47q--_", - "type" : "is-in" - }, - { - "_key" : "40049", - "_id" : "worldEdges/40049", - "_from" : "worldVertices/country-barbados", - "_to" : "worldVertices/continent-north-america", - "_rev" : "_V82N47u--B", - "type" : "is-in" - }, - { - "_key" : "40223", - "_id" : "worldEdges/40223", - "_from" : "worldVertices/capital-saint-john-s", - "_to" : "worldVertices/country-antigua-and-barbuda", - "_rev" : "_V82N48a--F", - "type" : "is-in" - }, - { - "_key" : "40130", - "_id" : "worldEdges/40130", - "_from" : "worldVertices/country-people-s-republic-of-china", - "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N48C--B", - "type" : "is-in" - }, - { - "_key" : "40004", - "_id" : "worldEdges/40004", - "_from" : "worldVertices/continent-europe", - "_to" : "worldVertices/world", - "_rev" : "_V82N47e--F", - "type" : "is-in" - }, - { - "_key" : "40013", - "_id" : "worldEdges/40013", - "_from" : "worldVertices/country-afghanistan", - "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N47i--D", - "type" : "is-in" - }, - { - "_key" : "40115", - "_id" : "worldEdges/40115", - "_from" : "worldVertices/country-egypt", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N48---_", - "type" : "is-in" - }, - { - "_key" : "40160", - "_id" : "worldEdges/40160", - "_from" : "worldVertices/capital-brussels", - "_to" : "worldVertices/country-belgium", - "_rev" : "_V82N48K--B", - "type" : "is-in" - }, - { - "_key" : "40163", - "_id" : "worldEdges/40163", - "_from" : "worldVertices/capital-buenos-aires", - "_to" : "worldVertices/country-argentina", - "_rev" : "_V82N48K--D", - "type" : "is-in" - }, - { - "_key" : "40235", - "_id" : "worldEdges/40235", - "_from" : "worldVertices/capital-thimphu", - "_to" : "worldVertices/country-bhutan", - "_rev" : "_V82N48i--B", - "type" : "is-in" - }, - { - "_key" : "40064", - "_id" : "worldEdges/40064", - "_from" : "worldVertices/country-botswana", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N47y--_", - "type" : "is-in" - }, - { - "_key" : "40205", - "_id" : "worldEdges/40205", - "_from" : "worldVertices/capital-ottawa", - "_to" : "worldVertices/country-canada", - "_rev" : "_V82N48W--D", - "type" : "is-in" - }, - { - "_key" : "40241", - "_id" : "worldEdges/40241", - "_from" : "worldVertices/capital-vienna", - "_to" : "worldVertices/country-austria", - "_rev" : "_V82N48i--F", - "type" : "is-in" - }, - { - "_key" : "40247", - "_id" : "worldEdges/40247", - "_from" : "worldVertices/capital-yaounde", - "_to" : "worldVertices/country-cameroon", - "_rev" : "_V82N48m--_", - "type" : "is-in" - }, - { - "_key" : "40187", - "_id" : "worldEdges/40187", - "_from" : "worldVertices/capital-kabul", - "_to" : "worldVertices/country-afghanistan", - "_rev" : "_V82N48S--_", - "type" : "is-in" - }, - { - "_key" : "40061", - "_id" : "worldEdges/40061", - "_from" : "worldVertices/country-bosnia-and-herzegovina", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N47u--J", - "type" : "is-in" - }, - { - "_key" : "40226", - "_id" : "worldEdges/40226", - "_from" : "worldVertices/capital-santiago", - "_to" : "worldVertices/country-chile", - "_rev" : "_V82N48e--_", - "type" : "is-in" - }, - { - "_key" : "39998", - "_id" : "worldEdges/39998", - "_from" : "worldVertices/continent-asia", - "_to" : "worldVertices/world", - "_rev" : "_V82N47e--B", - "type" : "is-in" - }, - { - "_key" : "40079", - "_id" : "worldEdges/40079", - "_from" : "worldVertices/country-burundi", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N472--_", - "type" : "is-in" - }, - { - "_key" : "40169", - "_id" : "worldEdges/40169", - "_from" : "worldVertices/capital-cairo", - "_to" : "worldVertices/country-egypt", - "_rev" : "_V82N48K--H", - "type" : "is-in" - }, - { - "_key" : "40106", - "_id" : "worldEdges/40106", - "_from" : "worldVertices/country-czech-republic", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N476--F", - "type" : "is-in" - }, - { - "_key" : "40100", - "_id" : "worldEdges/40100", - "_from" : "worldVertices/country-cote-d-ivoire", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N476--B", - "type" : "is-in" - }, - { - "_key" : "40010", - "_id" : "worldEdges/40010", - "_from" : "worldVertices/continent-south-america", - "_to" : "worldVertices/world", - "_rev" : "_V82N47i--B", - "type" : "is-in" - }, - { - "_key" : "40238", - "_id" : "worldEdges/40238", - "_from" : "worldVertices/capital-tirana", - "_to" : "worldVertices/country-albania", - "_rev" : "_V82N48i--D", - "type" : "is-in" - }, - { - "_key" : "40229", - "_id" : "worldEdges/40229", - "_from" : "worldVertices/capital-sarajevo", - "_to" : "worldVertices/country-bosnia-and-herzegovina", - "_rev" : "_V82N48e--B", - "type" : "is-in" - }, - { - "_key" : "40019", - "_id" : "worldEdges/40019", - "_from" : "worldVertices/country-algeria", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N47m--_", - "type" : "is-in" - }, - { - "_key" : "40007", - "_id" : "worldEdges/40007", - "_from" : "worldVertices/continent-north-america", - "_to" : "worldVertices/world", - "_rev" : "_V82N47i--_", - "type" : "is-in" - }, - { - "_key" : "40025", - "_id" : "worldEdges/40025", - "_from" : "worldVertices/country-angola", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N47m--D", - "type" : "is-in" - }, - { - "_key" : "40016", - "_id" : "worldEdges/40016", - "_from" : "worldVertices/country-albania", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N47i--F", - "type" : "is-in" - }, - { - "_key" : "40181", - "_id" : "worldEdges/40181", - "_from" : "worldVertices/capital-gaborone", - "_to" : "worldVertices/country-botswana", - "_rev" : "_V82N48O--F", - "type" : "is-in" - }, - { - "_key" : "40103", - "_id" : "worldEdges/40103", - "_from" : "worldVertices/country-croatia", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N476--D", - "type" : "is-in" - }, - { - "_key" : "40202", - "_id" : "worldEdges/40202", - "_from" : "worldVertices/capital-n-djamena", - "_to" : "worldVertices/country-chad", - "_rev" : "_V82N48W--B", - "type" : "is-in" - }, - { - "_key" : "40073", - "_id" : "worldEdges/40073", - "_from" : "worldVertices/country-bulgaria", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N47y--F", - "type" : "is-in" - }, - { - "_key" : "40244", - "_id" : "worldEdges/40244", - "_from" : "worldVertices/capital-yamoussoukro", - "_to" : "worldVertices/country-cote-d-ivoire", - "_rev" : "_V82N48i--H", - "type" : "is-in" - }, - { - "_key" : "40109", - "_id" : "worldEdges/40109", - "_from" : "worldVertices/country-denmark", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N476--H", - "type" : "is-in" - }, - { - "_key" : "40136", - "_id" : "worldEdges/40136", - "_from" : "worldVertices/capital-andorra-la-vella", - "_to" : "worldVertices/country-andorra", - "_rev" : "_V82N48C--F", - "type" : "is-in" - }, - { - "_key" : "40139", - "_id" : "worldEdges/40139", - "_from" : "worldVertices/capital-asmara", - "_to" : "worldVertices/country-eritrea", - "_rev" : "_V82N48C--H", - "type" : "is-in" - }, - { - "_key" : "40154", - "_id" : "worldEdges/40154", - "_from" : "worldVertices/capital-brasilia", - "_to" : "worldVertices/country-brazil", - "_rev" : "_V82N48G--H", - "type" : "is-in" - }, - { - "_key" : "40196", - "_id" : "worldEdges/40196", - "_from" : "worldVertices/capital-manama", - "_to" : "worldVertices/country-bahrain", - "_rev" : "_V82N48S--F", - "type" : "is-in" - }, - { - "_key" : "40145", - "_id" : "worldEdges/40145", - "_from" : "worldVertices/capital-beijing", - "_to" : "worldVertices/country-people-s-republic-of-china", - "_rev" : "_V82N48G--B", - "type" : "is-in" - }, - { - "_key" : "40082", - "_id" : "worldEdges/40082", - "_from" : "worldVertices/country-cambodia", - "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N472--B", - "type" : "is-in" - }, - { - "_key" : "40184", - "_id" : "worldEdges/40184", - "_from" : "worldVertices/capital-helsinki", - "_to" : "worldVertices/country-finland", - "_rev" : "_V82N48O--H", - "type" : "is-in" - }, - { - "_key" : "40121", - "_id" : "worldEdges/40121", - "_from" : "worldVertices/country-finland", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N48---D", - "type" : "is-in" - }, - { - "_key" : "40040", - "_id" : "worldEdges/40040", - "_from" : "worldVertices/country-bahamas", - "_to" : "worldVertices/continent-north-america", - "_rev" : "_V82N47q--F", - "type" : "is-in" - }, - { - "_key" : "40052", - "_id" : "worldEdges/40052", - "_from" : "worldVertices/country-belgium", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N47u--D", - "type" : "is-in" - }, - { - "_key" : "40094", - "_id" : "worldEdges/40094", - "_from" : "worldVertices/country-chile", - "_to" : "worldVertices/continent-south-america", - "_rev" : "_V82N472--J", - "type" : "is-in" - }, - { - "_key" : "40214", - "_id" : "worldEdges/40214", - "_from" : "worldVertices/capital-phnom-penh", - "_to" : "worldVertices/country-cambodia", - "_rev" : "_V82N48a--_", - "type" : "is-in" - }, - { - "_key" : "40127", - "_id" : "worldEdges/40127", - "_from" : "worldVertices/country-germany", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N48C--_", - "type" : "is-in" - }, - { - "_key" : "40217", - "_id" : "worldEdges/40217", - "_from" : "worldVertices/capital-prague", - "_to" : "worldVertices/country-czech-republic", - "_rev" : "_V82N48a--B", - "type" : "is-in" - }, - { - "_key" : "40250", - "_id" : "worldEdges/40250", - "_from" : "worldVertices/capital-zagreb", - "_to" : "worldVertices/country-croatia", - "_rev" : "_V82N48m--B", - "type" : "is-in" - }, - { - "_key" : "40070", - "_id" : "worldEdges/40070", - "_from" : "worldVertices/country-brunei", - "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N47y--D", - "type" : "is-in" - }, - { - "_key" : "40151", - "_id" : "worldEdges/40151", - "_from" : "worldVertices/capital-bogota", - "_to" : "worldVertices/country-colombia", - "_rev" : "_V82N48G--F", - "type" : "is-in" - }, - { - "_key" : "40178", - "_id" : "worldEdges/40178", - "_from" : "worldVertices/capital-dhaka", - "_to" : "worldVertices/country-bangladesh", - "_rev" : "_V82N48O--D", - "type" : "is-in" - }, - { - "_key" : "40091", - "_id" : "worldEdges/40091", + "_key" : "40092", + "_id" : "worldEdges/40092", "_from" : "worldVertices/country-chad", "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N472--H", + "_rev" : "_W-M-mZ6--J", "type" : "is-in" }, { - "_key" : "40190", - "_id" : "worldEdges/40190", - "_from" : "worldVertices/capital-la-paz", - "_to" : "worldVertices/country-bolivia", - "_rev" : "_V82N48S--B", + "_key" : "40005", + "_id" : "worldEdges/40005", + "_from" : "worldVertices/continent-europe", + "_to" : "worldVertices/world", + "_rev" : "_W-M-mZi--H", "type" : "is-in" }, { - "_key" : "40088", - "_id" : "worldEdges/40088", - "_from" : "worldVertices/country-canada", - "_to" : "worldVertices/continent-north-america", - "_rev" : "_V82N472--F", - "type" : "is-in" - }, - { - "_key" : "40058", - "_id" : "worldEdges/40058", - "_from" : "worldVertices/country-bolivia", - "_to" : "worldVertices/continent-south-america", - "_rev" : "_V82N47u--H", - "type" : "is-in" - }, - { - "_key" : "40148", - "_id" : "worldEdges/40148", - "_from" : "worldVertices/capital-berlin", - "_to" : "worldVertices/country-germany", - "_rev" : "_V82N48G--D", - "type" : "is-in" - }, - { - "_key" : "40172", - "_id" : "worldEdges/40172", - "_from" : "worldVertices/capital-canberra", - "_to" : "worldVertices/country-australia", - "_rev" : "_V82N48O--_", - "type" : "is-in" - }, - { - "_key" : "40046", - "_id" : "worldEdges/40046", - "_from" : "worldVertices/country-bangladesh", - "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N47u--_", - "type" : "is-in" - }, - { - "_key" : "40220", - "_id" : "worldEdges/40220", - "_from" : "worldVertices/capital-quito", - "_to" : "worldVertices/country-ecuador", - "_rev" : "_V82N48a--D", - "type" : "is-in" - }, - { - "_key" : "40076", - "_id" : "worldEdges/40076", - "_from" : "worldVertices/country-burkina-faso", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N47y--H", - "type" : "is-in" - }, - { - "_key" : "40175", - "_id" : "worldEdges/40175", - "_from" : "worldVertices/capital-copenhagen", - "_to" : "worldVertices/country-denmark", - "_rev" : "_V82N48O--B", - "type" : "is-in" - }, - { - "_key" : "40124", - "_id" : "worldEdges/40124", - "_from" : "worldVertices/country-france", - "_to" : "worldVertices/continent-europe", - "_rev" : "_V82N48---F", - "type" : "is-in" - }, - { - "_key" : "40055", - "_id" : "worldEdges/40055", - "_from" : "worldVertices/country-bhutan", - "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N47u--F", - "type" : "is-in" - }, - { - "_key" : "40118", - "_id" : "worldEdges/40118", - "_from" : "worldVertices/country-eritrea", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N48---B", - "type" : "is-in" - }, - { - "_key" : "40034", - "_id" : "worldEdges/40034", - "_from" : "worldVertices/country-australia", - "_to" : "worldVertices/continent-australia", - "_rev" : "_V82N47q--B", - "type" : "is-in" - }, - { - "_key" : "40193", - "_id" : "worldEdges/40193", - "_from" : "worldVertices/capital-luanda", - "_to" : "worldVertices/country-angola", - "_rev" : "_V82N48S--D", - "type" : "is-in" - }, - { - "_key" : "40157", - "_id" : "worldEdges/40157", - "_from" : "worldVertices/capital-bridgetown", - "_to" : "worldVertices/country-barbados", - "_rev" : "_V82N48K--_", - "type" : "is-in" - }, - { - "_key" : "40112", - "_id" : "worldEdges/40112", - "_from" : "worldVertices/country-ecuador", - "_to" : "worldVertices/continent-south-america", - "_rev" : "_V82N476--J", - "type" : "is-in" - }, - { - "_key" : "40085", - "_id" : "worldEdges/40085", - "_from" : "worldVertices/country-cameroon", - "_to" : "worldVertices/continent-africa", - "_rev" : "_V82N472--D", - "type" : "is-in" - }, - { - "_key" : "40208", - "_id" : "worldEdges/40208", - "_from" : "worldVertices/capital-ouagadougou", - "_to" : "worldVertices/country-burkina-faso", - "_rev" : "_V82N48W--F", - "type" : "is-in" - }, - { - "_key" : "40097", - "_id" : "worldEdges/40097", - "_from" : "worldVertices/country-colombia", - "_to" : "worldVertices/continent-south-america", - "_rev" : "_V82N476--_", - "type" : "is-in" - }, - { - "_key" : "40142", - "_id" : "worldEdges/40142", + "_key" : "40143", + "_id" : "worldEdges/40143", "_from" : "worldVertices/capital-bandar-seri-begawan", "_to" : "worldVertices/country-brunei", - "_rev" : "_V82N48G--_", + "_rev" : "_W-M-maG--H", "type" : "is-in" }, { - "_key" : "40067", - "_id" : "worldEdges/40067", - "_from" : "worldVertices/country-brazil", - "_to" : "worldVertices/continent-south-america", - "_rev" : "_V82N47y--B", + "_key" : "40185", + "_id" : "worldEdges/40185", + "_from" : "worldVertices/capital-helsinki", + "_to" : "worldVertices/country-finland", + "_rev" : "_W-M-maS--J", "type" : "is-in" }, { - "_key" : "40133", - "_id" : "worldEdges/40133", + "_key" : "40134", + "_id" : "worldEdges/40134", "_from" : "worldVertices/capital-algiers", "_to" : "worldVertices/country-algeria", - "_rev" : "_V82N48C--D", + "_rev" : "_W-M-maG--B", "type" : "is-in" }, { - "_key" : "40028", - "_id" : "worldEdges/40028", + "_key" : "40125", + "_id" : "worldEdges/40125", + "_from" : "worldVertices/country-france", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-maC--H", + "type" : "is-in" + }, + { + "_key" : "40077", + "_id" : "worldEdges/40077", + "_from" : "worldVertices/country-burkina-faso", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-mZ6--_", + "type" : "is-in" + }, + { + "_key" : "40095", + "_id" : "worldEdges/40095", + "_from" : "worldVertices/country-chile", + "_to" : "worldVertices/continent-south-america", + "_rev" : "_W-M-ma----", + "type" : "is-in" + }, + { + "_key" : "40173", + "_id" : "worldEdges/40173", + "_from" : "worldVertices/capital-canberra", + "_to" : "worldVertices/country-australia", + "_rev" : "_W-M-maS--B", + "type" : "is-in" + }, + { + "_key" : "40035", + "_id" : "worldEdges/40035", + "_from" : "worldVertices/country-australia", + "_to" : "worldVertices/continent-australia", + "_rev" : "_W-M-mZq--F", + "type" : "is-in" + }, + { + "_key" : "40197", + "_id" : "worldEdges/40197", + "_from" : "worldVertices/capital-manama", + "_to" : "worldVertices/country-bahrain", + "_rev" : "_W-M-maW--F", + "type" : "is-in" + }, + { + "_key" : "40047", + "_id" : "worldEdges/40047", + "_from" : "worldVertices/country-bangladesh", + "_to" : "worldVertices/continent-asia", + "_rev" : "_W-M-mZu--D", + "type" : "is-in" + }, + { + "_key" : "40029", + "_id" : "worldEdges/40029", "_from" : "worldVertices/country-antigua-and-barbuda", "_to" : "worldVertices/continent-north-america", - "_rev" : "_V82N47m--F", + "_rev" : "_W-M-mZq--B", "type" : "is-in" }, { - "_key" : "39994", - "_id" : "worldEdges/39994", - "_from" : "worldVertices/continent-africa", + "_key" : "40200", + "_id" : "worldEdges/40200", + "_from" : "worldVertices/capital-nassau", + "_to" : "worldVertices/country-bahamas", + "_rev" : "_W-M-maW--H", + "type" : "is-in" + }, + { + "_key" : "40176", + "_id" : "worldEdges/40176", + "_from" : "worldVertices/capital-copenhagen", + "_to" : "worldVertices/country-denmark", + "_rev" : "_W-M-maS--D", + "type" : "is-in" + }, + { + "_key" : "40239", + "_id" : "worldEdges/40239", + "_from" : "worldVertices/capital-tirana", + "_to" : "worldVertices/country-albania", + "_rev" : "_W-M-mai--_", + "type" : "is-in" + }, + { + "_key" : "40248", + "_id" : "worldEdges/40248", + "_from" : "worldVertices/capital-yaounde", + "_to" : "worldVertices/country-cameroon", + "_rev" : "_W-M-mai--F", + "type" : "is-in" + }, + { + "_key" : "40032", + "_id" : "worldEdges/40032", + "_from" : "worldVertices/country-argentina", + "_to" : "worldVertices/continent-south-america", + "_rev" : "_W-M-mZq--D", + "type" : "is-in" + }, + { + "_key" : "40179", + "_id" : "worldEdges/40179", + "_from" : "worldVertices/capital-dhaka", + "_to" : "worldVertices/country-bangladesh", + "_rev" : "_W-M-maS--F", + "type" : "is-in" + }, + { + "_key" : "40098", + "_id" : "worldEdges/40098", + "_from" : "worldVertices/country-colombia", + "_to" : "worldVertices/continent-south-america", + "_rev" : "_W-M-ma---A", + "type" : "is-in" + }, + { + "_key" : "40170", + "_id" : "worldEdges/40170", + "_from" : "worldVertices/capital-cairo", + "_to" : "worldVertices/country-egypt", + "_rev" : "_W-M-maS--_", + "type" : "is-in" + }, + { + "_key" : "40137", + "_id" : "worldEdges/40137", + "_from" : "worldVertices/capital-andorra-la-vella", + "_to" : "worldVertices/country-andorra", + "_rev" : "_W-M-maG--D", + "type" : "is-in" + }, + { + "_key" : "40155", + "_id" : "worldEdges/40155", + "_from" : "worldVertices/capital-brasilia", + "_to" : "worldVertices/country-brazil", + "_rev" : "_W-M-maK--F", + "type" : "is-in" + }, + { + "_key" : "40008", + "_id" : "worldEdges/40008", + "_from" : "worldVertices/continent-north-america", "_to" : "worldVertices/world", - "_rev" : "_V82N47e--_", + "_rev" : "_W-M-mZi--J", "type" : "is-in" }, { - "_key" : "40043", - "_id" : "worldEdges/40043", + "_key" : "40104", + "_id" : "worldEdges/40104", + "_from" : "worldVertices/country-croatia", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-ma---E", + "type" : "is-in" + }, + { + "_key" : "40131", + "_id" : "worldEdges/40131", + "_from" : "worldVertices/country-people-s-republic-of-china", + "_to" : "worldVertices/continent-asia", + "_rev" : "_W-M-maG--_", + "type" : "is-in" + }, + { + "_key" : "40068", + "_id" : "worldEdges/40068", + "_from" : "worldVertices/country-brazil", + "_to" : "worldVertices/continent-south-america", + "_rev" : "_W-M-mZ2--D", + "type" : "is-in" + }, + { + "_key" : "40167", + "_id" : "worldEdges/40167", + "_from" : "worldVertices/capital-bujumbura", + "_to" : "worldVertices/country-burundi", + "_rev" : "_W-M-maO--F", + "type" : "is-in" + }, + { + "_key" : "40119", + "_id" : "worldEdges/40119", + "_from" : "worldVertices/country-eritrea", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-maC--D", + "type" : "is-in" + }, + { + "_key" : "40212", + "_id" : "worldEdges/40212", + "_from" : "worldVertices/capital-paris", + "_to" : "worldVertices/country-france", + "_rev" : "_W-M-maa--D", + "type" : "is-in" + }, + { + "_key" : "40089", + "_id" : "worldEdges/40089", + "_from" : "worldVertices/country-canada", + "_to" : "worldVertices/continent-north-america", + "_rev" : "_W-M-mZ6--H", + "type" : "is-in" + }, + { + "_key" : "40215", + "_id" : "worldEdges/40215", + "_from" : "worldVertices/capital-phnom-penh", + "_to" : "worldVertices/country-cambodia", + "_rev" : "_W-M-maa--F", + "type" : "is-in" + }, + { + "_key" : "40041", + "_id" : "worldEdges/40041", + "_from" : "worldVertices/country-bahamas", + "_to" : "worldVertices/continent-north-america", + "_rev" : "_W-M-mZu--_", + "type" : "is-in" + }, + { + "_key" : "40062", + "_id" : "worldEdges/40062", + "_from" : "worldVertices/country-bosnia-and-herzegovina", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-mZ2--_", + "type" : "is-in" + }, + { + "_key" : "40209", + "_id" : "worldEdges/40209", + "_from" : "worldVertices/capital-ouagadougou", + "_to" : "worldVertices/country-burkina-faso", + "_rev" : "_W-M-maa--B", + "type" : "is-in" + }, + { + "_key" : "40194", + "_id" : "worldEdges/40194", + "_from" : "worldVertices/capital-luanda", + "_to" : "worldVertices/country-angola", + "_rev" : "_W-M-maW--D", + "type" : "is-in" + }, + { + "_key" : "40161", + "_id" : "worldEdges/40161", + "_from" : "worldVertices/capital-brussels", + "_to" : "worldVertices/country-belgium", + "_rev" : "_W-M-maO--B", + "type" : "is-in" + }, + { + "_key" : "40110", + "_id" : "worldEdges/40110", + "_from" : "worldVertices/country-denmark", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-ma---I", + "type" : "is-in" + }, + { + "_key" : "40149", + "_id" : "worldEdges/40149", + "_from" : "worldVertices/capital-berlin", + "_to" : "worldVertices/country-germany", + "_rev" : "_W-M-maK--B", + "type" : "is-in" + }, + { + "_key" : "40230", + "_id" : "worldEdges/40230", + "_from" : "worldVertices/capital-sarajevo", + "_to" : "worldVertices/country-bosnia-and-herzegovina", + "_rev" : "_W-M-mae--F", + "type" : "is-in" + }, + { + "_key" : "40146", + "_id" : "worldEdges/40146", + "_from" : "worldVertices/capital-beijing", + "_to" : "worldVertices/country-people-s-republic-of-china", + "_rev" : "_W-M-maK--_", + "type" : "is-in" + }, + { + "_key" : "40074", + "_id" : "worldEdges/40074", + "_from" : "worldVertices/country-bulgaria", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-mZ2--H", + "type" : "is-in" + }, + { + "_key" : "40038", + "_id" : "worldEdges/40038", + "_from" : "worldVertices/country-austria", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-mZq--H", + "type" : "is-in" + }, + { + "_key" : "40026", + "_id" : "worldEdges/40026", + "_from" : "worldVertices/country-angola", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-mZq--_", + "type" : "is-in" + }, + { + "_key" : "40050", + "_id" : "worldEdges/40050", + "_from" : "worldVertices/country-barbados", + "_to" : "worldVertices/continent-north-america", + "_rev" : "_W-M-mZu--F", + "type" : "is-in" + }, + { + "_key" : "40203", + "_id" : "worldEdges/40203", + "_from" : "worldVertices/capital-n-djamena", + "_to" : "worldVertices/country-chad", + "_rev" : "_W-M-maW--J", + "type" : "is-in" + }, + { + "_key" : "40116", + "_id" : "worldEdges/40116", + "_from" : "worldVertices/country-egypt", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-maC--B", + "type" : "is-in" + }, + { + "_key" : "40152", + "_id" : "worldEdges/40152", + "_from" : "worldVertices/capital-bogota", + "_to" : "worldVertices/country-colombia", + "_rev" : "_W-M-maK--D", + "type" : "is-in" + }, + { + "_key" : "40080", + "_id" : "worldEdges/40080", + "_from" : "worldVertices/country-burundi", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-mZ6--B", + "type" : "is-in" + }, + { + "_key" : "40188", + "_id" : "worldEdges/40188", + "_from" : "worldVertices/capital-kabul", + "_to" : "worldVertices/country-afghanistan", + "_rev" : "_W-M-maW--_", + "type" : "is-in" + }, + { + "_key" : "40071", + "_id" : "worldEdges/40071", + "_from" : "worldVertices/country-brunei", + "_to" : "worldVertices/continent-asia", + "_rev" : "_W-M-mZ2--F", + "type" : "is-in" + }, + { + "_key" : "40158", + "_id" : "worldEdges/40158", + "_from" : "worldVertices/capital-bridgetown", + "_to" : "worldVertices/country-barbados", + "_rev" : "_W-M-maO--_", + "type" : "is-in" + }, + { + "_key" : "40224", + "_id" : "worldEdges/40224", + "_from" : "worldVertices/capital-saint-john-s", + "_to" : "worldVertices/country-antigua-and-barbuda", + "_rev" : "_W-M-mae--B", + "type" : "is-in" + }, + { + "_key" : "40233", + "_id" : "worldEdges/40233", + "_from" : "worldVertices/capital-sofia", + "_to" : "worldVertices/country-bulgaria", + "_rev" : "_W-M-mae--H", + "type" : "is-in" + }, + { + "_key" : "40206", + "_id" : "worldEdges/40206", + "_from" : "worldVertices/capital-ottawa", + "_to" : "worldVertices/country-canada", + "_rev" : "_W-M-maa--_", + "type" : "is-in" + }, + { + "_key" : "40191", + "_id" : "worldEdges/40191", + "_from" : "worldVertices/capital-la-paz", + "_to" : "worldVertices/country-bolivia", + "_rev" : "_W-M-maW--B", + "type" : "is-in" + }, + { + "_key" : "40056", + "_id" : "worldEdges/40056", + "_from" : "worldVertices/country-bhutan", + "_to" : "worldVertices/continent-asia", + "_rev" : "_W-M-mZy--B", + "type" : "is-in" + }, + { + "_key" : "40113", + "_id" : "worldEdges/40113", + "_from" : "worldVertices/country-ecuador", + "_to" : "worldVertices/continent-south-america", + "_rev" : "_W-M-maC--_", + "type" : "is-in" + }, + { + "_key" : "40083", + "_id" : "worldEdges/40083", + "_from" : "worldVertices/country-cambodia", + "_to" : "worldVertices/continent-asia", + "_rev" : "_W-M-mZ6--D", + "type" : "is-in" + }, + { + "_key" : "40218", + "_id" : "worldEdges/40218", + "_from" : "worldVertices/capital-prague", + "_to" : "worldVertices/country-czech-republic", + "_rev" : "_W-M-maa--H", + "type" : "is-in" + }, + { + "_key" : "40164", + "_id" : "worldEdges/40164", + "_from" : "worldVertices/capital-buenos-aires", + "_to" : "worldVertices/country-argentina", + "_rev" : "_W-M-maO--D", + "type" : "is-in" + }, + { + "_key" : "40086", + "_id" : "worldEdges/40086", + "_from" : "worldVertices/country-cameroon", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-mZ6--F", + "type" : "is-in" + }, + { + "_key" : "40020", + "_id" : "worldEdges/40020", + "_from" : "worldVertices/country-algeria", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-mZm--F", + "type" : "is-in" + }, + { + "_key" : "40053", + "_id" : "worldEdges/40053", + "_from" : "worldVertices/country-belgium", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-mZy--_", + "type" : "is-in" + }, + { + "_key" : "40101", + "_id" : "worldEdges/40101", + "_from" : "worldVertices/country-cote-d-ivoire", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-ma---C", + "type" : "is-in" + }, + { + "_key" : "40128", + "_id" : "worldEdges/40128", + "_from" : "worldVertices/country-germany", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-maC--J", + "type" : "is-in" + }, + { + "_key" : "40002", + "_id" : "worldEdges/40002", + "_from" : "worldVertices/continent-australia", + "_to" : "worldVertices/world", + "_rev" : "_W-M-mZi--F", + "type" : "is-in" + }, + { + "_key" : "40065", + "_id" : "worldEdges/40065", + "_from" : "worldVertices/country-botswana", + "_to" : "worldVertices/continent-africa", + "_rev" : "_W-M-mZ2--B", + "type" : "is-in" + }, + { + "_key" : "40122", + "_id" : "worldEdges/40122", + "_from" : "worldVertices/country-finland", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-maC--F", + "type" : "is-in" + }, + { + "_key" : "40242", + "_id" : "worldEdges/40242", + "_from" : "worldVertices/capital-vienna", + "_to" : "worldVertices/country-austria", + "_rev" : "_W-M-mai--B", + "type" : "is-in" + }, + { + "_key" : "40227", + "_id" : "worldEdges/40227", + "_from" : "worldVertices/capital-santiago", + "_to" : "worldVertices/country-chile", + "_rev" : "_W-M-mae--D", + "type" : "is-in" + }, + { + "_key" : "40107", + "_id" : "worldEdges/40107", + "_from" : "worldVertices/country-czech-republic", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-ma---G", + "type" : "is-in" + }, + { + "_key" : "40221", + "_id" : "worldEdges/40221", + "_from" : "worldVertices/capital-quito", + "_to" : "worldVertices/country-ecuador", + "_rev" : "_W-M-mae--_", + "type" : "is-in" + }, + { + "_key" : "40011", + "_id" : "worldEdges/40011", + "_from" : "worldVertices/continent-south-america", + "_to" : "worldVertices/world", + "_rev" : "_W-M-mZm--_", + "type" : "is-in" + }, + { + "_key" : "40182", + "_id" : "worldEdges/40182", + "_from" : "worldVertices/capital-gaborone", + "_to" : "worldVertices/country-botswana", + "_rev" : "_W-M-maS--H", + "type" : "is-in" + }, + { + "_key" : "40044", + "_id" : "worldEdges/40044", "_from" : "worldVertices/country-bahrain", "_to" : "worldVertices/continent-asia", - "_rev" : "_V82N47q--H", + "_rev" : "_W-M-mZu--B", + "type" : "is-in" + }, + { + "_key" : "40236", + "_id" : "worldEdges/40236", + "_from" : "worldVertices/capital-thimphu", + "_to" : "worldVertices/country-bhutan", + "_rev" : "_W-M-mae--J", + "type" : "is-in" + }, + { + "_key" : "40014", + "_id" : "worldEdges/40014", + "_from" : "worldVertices/country-afghanistan", + "_to" : "worldVertices/continent-asia", + "_rev" : "_W-M-mZm--B", + "type" : "is-in" + }, + { + "_key" : "40140", + "_id" : "worldEdges/40140", + "_from" : "worldVertices/capital-asmara", + "_to" : "worldVertices/country-eritrea", + "_rev" : "_W-M-maG--F", + "type" : "is-in" + }, + { + "_key" : "39995", + "_id" : "worldEdges/39995", + "_from" : "worldVertices/continent-africa", + "_to" : "worldVertices/world", + "_rev" : "_W-M-mZi--B", + "type" : "is-in" + }, + { + "_key" : "39999", + "_id" : "worldEdges/39999", + "_from" : "worldVertices/continent-asia", + "_to" : "worldVertices/world", + "_rev" : "_W-M-mZi--D", + "type" : "is-in" + }, + { + "_key" : "40245", + "_id" : "worldEdges/40245", + "_from" : "worldVertices/capital-yamoussoukro", + "_to" : "worldVertices/country-cote-d-ivoire", + "_rev" : "_W-M-mai--D", + "type" : "is-in" + }, + { + "_key" : "40017", + "_id" : "worldEdges/40017", + "_from" : "worldVertices/country-albania", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-mZm--D", + "type" : "is-in" + }, + { + "_key" : "40059", + "_id" : "worldEdges/40059", + "_from" : "worldVertices/country-bolivia", + "_to" : "worldVertices/continent-south-america", + "_rev" : "_W-M-mZy--D", + "type" : "is-in" + }, + { + "_key" : "40251", + "_id" : "worldEdges/40251", + "_from" : "worldVertices/capital-zagreb", + "_to" : "worldVertices/country-croatia", + "_rev" : "_W-M-mai--H", + "type" : "is-in" + }, + { + "_key" : "40023", + "_id" : "worldEdges/40023", + "_from" : "worldVertices/country-andorra", + "_to" : "worldVertices/continent-europe", + "_rev" : "_W-M-mZm--H", "type" : "is-in" } ] diff --git a/Documentation/Examples/queryLimit.generated b/Documentation/Examples/queryLimit.generated index ffee6a096b..e01b716229 100644 --- a/Documentation/Examples/queryLimit.generated +++ b/Documentation/Examples/queryLimit.generated @@ -1,48 +1,48 @@ arangosh> db.five.all().toArray(); [ { - "_key" : "40756", - "_id" : "five/40756", - "_rev" : "_V82N5KK--_", - "name" : "one" - }, - { - "_key" : "40760", - "_id" : "five/40760", - "_rev" : "_V82N5KK--B", - "name" : "two" - }, - { - "_key" : "40766", - "_id" : "five/40766", - "_rev" : "_V82N5KO--B", - "name" : "four" - }, - { - "_key" : "40769", - "_id" : "five/40769", - "_rev" : "_V82N5KO--D", + "_key" : "40781", + "_id" : "five/40781", + "_rev" : "_W-M-mlO--B", "name" : "five" }, { - "_key" : "40763", - "_id" : "five/40763", - "_rev" : "_V82N5KO--_", + "_key" : "40768", + "_id" : "five/40768", + "_rev" : "_W-M-mlK--_", + "name" : "one" + }, + { + "_key" : "40775", + "_id" : "five/40775", + "_rev" : "_W-M-mlK--D", "name" : "three" + }, + { + "_key" : "40778", + "_id" : "five/40778", + "_rev" : "_W-M-mlO--_", + "name" : "four" + }, + { + "_key" : "40772", + "_id" : "five/40772", + "_rev" : "_W-M-mlK--B", + "name" : "two" } ] arangosh> db.five.all().limit(2).toArray(); [ { - "_key" : "40756", - "_id" : "five/40756", - "_rev" : "_V82N5KK--_", - "name" : "one" + "_key" : "40781", + "_id" : "five/40781", + "_rev" : "_W-M-mlO--B", + "name" : "five" }, { - "_key" : "40760", - "_id" : "five/40760", - "_rev" : "_V82N5KK--B", - "name" : "two" + "_key" : "40768", + "_id" : "five/40768", + "_rev" : "_W-M-mlK--_", + "name" : "one" } ] diff --git a/Documentation/Examples/querySkip.generated b/Documentation/Examples/querySkip.generated index b9b642a29c..209fe731eb 100644 --- a/Documentation/Examples/querySkip.generated +++ b/Documentation/Examples/querySkip.generated @@ -1,48 +1,48 @@ arangosh> db.five.all().toArray(); [ { - "_key" : "40795", - "_id" : "five/40795", - "_rev" : "_V82N5M6--D", + "_key" : "40807", + "_id" : "five/40807", + "_rev" : "_W-M-mnq--D", "name" : "four" }, { - "_key" : "40785", - "_id" : "five/40785", - "_rev" : "_V82N5MS--_", - "name" : "one" - }, - { - "_key" : "40792", - "_id" : "five/40792", - "_rev" : "_V82N5M6--B", + "_key" : "40804", + "_id" : "five/40804", + "_rev" : "_W-M-mnq--B", "name" : "three" }, { - "_key" : "40798", - "_id" : "five/40798", - "_rev" : "_V82N5N---_", + "_key" : "40810", + "_id" : "five/40810", + "_rev" : "_W-M-mnq--F", "name" : "five" }, { - "_key" : "40789", - "_id" : "five/40789", - "_rev" : "_V82N5M6--_", + "_key" : "40797", + "_id" : "five/40797", + "_rev" : "_W-M-mnm--_", + "name" : "one" + }, + { + "_key" : "40801", + "_id" : "five/40801", + "_rev" : "_W-M-mnq--_", "name" : "two" } ] arangosh> db.five.all().skip(3).toArray(); [ { - "_key" : "40798", - "_id" : "five/40798", - "_rev" : "_V82N5N---_", - "name" : "five" + "_key" : "40797", + "_id" : "five/40797", + "_rev" : "_W-M-mnm--_", + "name" : "one" }, { - "_key" : "40789", - "_id" : "five/40789", - "_rev" : "_V82N5M6--_", + "_key" : "40801", + "_id" : "five/40801", + "_rev" : "_W-M-mnq--_", "name" : "two" } ] diff --git a/Documentation/Examples/usingToArray.generated b/Documentation/Examples/usingToArray.generated index c788417311..bf27bc52af 100644 --- a/Documentation/Examples/usingToArray.generated +++ b/Documentation/Examples/usingToArray.generated @@ -1,36 +1,36 @@ arangosh> db._create("five") -[ArangoCollection 40849, "five" (type document, status loaded)] +[ArangoCollection 40861, "five" (type document, status loaded)] arangosh> for (i = 0; i < 5; i++) db.five.save({value:i}) arangosh> db.five.toArray() [ { - "_key" : "40863", - "_id" : "five/40863", - "_rev" : "_V82N5Za--F", - "value" : 3 - }, - { - "_key" : "40853", - "_id" : "five/40853", - "_rev" : "_V82N5Za--_", - "value" : 0 - }, - { - "_key" : "40857", - "_id" : "five/40857", - "_rev" : "_V82N5Za--B", + "_key" : "40869", + "_id" : "five/40869", + "_rev" : "_W-M-mxu--B", "value" : 1 }, { - "_key" : "40860", - "_id" : "five/40860", - "_rev" : "_V82N5Za--D", + "_key" : "40878", + "_id" : "five/40878", + "_rev" : "_W-M-mxy--D", + "value" : 4 + }, + { + "_key" : "40872", + "_id" : "five/40872", + "_rev" : "_W-M-mxy--_", "value" : 2 }, { - "_key" : "40866", - "_id" : "five/40866", - "_rev" : "_V82N5Za--H", - "value" : 4 + "_key" : "40865", + "_id" : "five/40865", + "_rev" : "_W-M-mxu--_", + "value" : 0 + }, + { + "_key" : "40875", + "_id" : "five/40875", + "_rev" : "_W-M-mxy--B", + "value" : 3 } ] diff --git a/Documentation/Examples/working_with_date_time.generated b/Documentation/Examples/working_with_date_time.generated index cc7e82fd8b..83897ebc59 100644 --- a/Documentation/Examples/working_with_date_time.generated +++ b/Documentation/Examples/working_with_date_time.generated @@ -1,28 +1,28 @@ arangosh> db._create("exampleTime"); -[ArangoCollection 40877, "exampleTime" (type document, status loaded)] +[ArangoCollection 40889, "exampleTime" (type document, status loaded)] arangosh> var timestamps = ["2014-05-07T14:19:09.522","2014-05-07T21:19:09.522","2014-05-08T04:19:09.522","2014-05-08T11:19:09.522","2014-05-08T18:19:09.522"]; arangosh> for (i = 0; i < 5; i++) db.exampleTime.save({value:i, ts: timestamps[i]}) arangosh> db._query("FOR d IN exampleTime FILTER d.ts > '2014-05-07T14:19:09.522' and d.ts < '2014-05-08T18:19:09.522' RETURN d").toArray() [ { - "_key" : "40888", - "_id" : "exampleTime/40888", - "_rev" : "_V82N5bm--D", + "_key" : "40903", + "_id" : "exampleTime/40903", + "_rev" : "_W-M-mzi--B", + "value" : 3, + "ts" : "2014-05-08T11:19:09.522" + }, + { + "_key" : "40900", + "_id" : "exampleTime/40900", + "_rev" : "_W-M-mzi--_", "value" : 2, "ts" : "2014-05-08T04:19:09.522" }, { - "_key" : "40885", - "_id" : "exampleTime/40885", - "_rev" : "_V82N5bm--B", + "_key" : "40897", + "_id" : "exampleTime/40897", + "_rev" : "_W-M-mze--B", "value" : 1, "ts" : "2014-05-07T21:19:09.522" - }, - { - "_key" : "40891", - "_id" : "exampleTime/40891", - "_rev" : "_V82N5bq--_", - "value" : 3, - "ts" : "2014-05-08T11:19:09.522" } ] diff --git a/Documentation/man/man1/arangobench.1 b/Documentation/man/man1/arangobench.1 index b09e2e19c2..4316d0dc69 100644 --- a/Documentation/man/man1/arangobench.1 +++ b/Documentation/man/man1/arangobench.1 @@ -1,4 +1,4 @@ -.TH arangobench 1 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangobench 1 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangobench - the ArangoDB benchmark and test tool .SH SYNOPSIS diff --git a/Documentation/man/man1/arangodump.1 b/Documentation/man/man1/arangodump.1 index 399fcd71d0..266242f0d4 100644 --- a/Documentation/man/man1/arangodump.1 +++ b/Documentation/man/man1/arangodump.1 @@ -1,4 +1,4 @@ -.TH arangodump 1 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangodump 1 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangodump - a tool to create logical dumps of an ArangoDB database .SH SYNOPSIS diff --git a/Documentation/man/man1/arangoexport.1 b/Documentation/man/man1/arangoexport.1 index bed7eaa4d6..f8be0980c9 100644 --- a/Documentation/man/man1/arangoexport.1 +++ b/Documentation/man/man1/arangoexport.1 @@ -1,4 +1,4 @@ -.TH arangoexport 1 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangoexport 1 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangoexport - a tool to export collections of an ArangoDB database .SH SYNOPSIS diff --git a/Documentation/man/man1/arangoimp.1 b/Documentation/man/man1/arangoimp.1 index 4679aa9964..042f8ec54c 100644 --- a/Documentation/man/man1/arangoimp.1 +++ b/Documentation/man/man1/arangoimp.1 @@ -1,4 +1,4 @@ -.TH arangoimp 1 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangoimp 1 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangoimp - a bulk importer for the ArangoDB database .SH SYNOPSIS diff --git a/Documentation/man/man1/arangorestore.1 b/Documentation/man/man1/arangorestore.1 index 4e57a0ef8e..aebe40c360 100644 --- a/Documentation/man/man1/arangorestore.1 +++ b/Documentation/man/man1/arangorestore.1 @@ -1,4 +1,4 @@ -.TH arangorestore 1 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangorestore 1 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangorestore - a data restore tool for the ArangoDB database .SH SYNOPSIS diff --git a/Documentation/man/man1/arangosh.1 b/Documentation/man/man1/arangosh.1 index 15238d9259..9d28a5c35f 100644 --- a/Documentation/man/man1/arangosh.1 +++ b/Documentation/man/man1/arangosh.1 @@ -1,4 +1,4 @@ -.TH arangosh 1 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangosh 1 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangosh - the ArangoDB shell .SH SYNOPSIS diff --git a/Documentation/man/man8/arango-dfdb.8 b/Documentation/man/man8/arango-dfdb.8 index fb51d5d0d2..7786f94e36 100644 --- a/Documentation/man/man8/arango-dfdb.8 +++ b/Documentation/man/man8/arango-dfdb.8 @@ -1,4 +1,4 @@ -.TH arango-dfdb 8 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arango-dfdb 8 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arango-dfdb - a datafile debugger for ArangoDB .SH SYNOPSIS diff --git a/Documentation/man/man8/arangod.8 b/Documentation/man/man8/arangod.8 index 87e2eaaa0c..49c8d5c5ab 100644 --- a/Documentation/man/man8/arangod.8 +++ b/Documentation/man/man8/arangod.8 @@ -1,4 +1,4 @@ -.TH arangod 8 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH arangod 8 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME arangod - the ArangoDB database server .SH SYNOPSIS diff --git a/Documentation/man/man8/foxx-manager.8 b/Documentation/man/man8/foxx-manager.8 index 8af4e5ae08..d1c380ce05 100644 --- a/Documentation/man/man8/foxx-manager.8 +++ b/Documentation/man/man8/foxx-manager.8 @@ -1,4 +1,4 @@ -.TH foxx-manager 8 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH foxx-manager 8 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME foxx-manager - a Foxx application manager for ArangoDB .SH SYNOPSIS diff --git a/Documentation/man/man8/rcarangod.8 b/Documentation/man/man8/rcarangod.8 index 40c00d162b..53c6bf02ec 100644 --- a/Documentation/man/man8/rcarangod.8 +++ b/Documentation/man/man8/rcarangod.8 @@ -1,4 +1,4 @@ -.TH rcarangod 8 "3.3.rc3" "ArangoDB" "ArangoDB" +.TH rcarangod 8 "3.3.rc4" "ArangoDB" "ArangoDB" .SH NAME rcarangod - control script for the ArangoDB database server .SH SYNOPSIS diff --git a/Installation/Pipeline/Jenkinsfile.groovy b/Installation/Pipeline/Jenkinsfile.groovy index 0e13045d7b..91dffd3654 100644 --- a/Installation/Pipeline/Jenkinsfile.groovy +++ b/Installation/Pipeline/Jenkinsfile.groovy @@ -130,7 +130,7 @@ credentials = '8d893d23-6714-4f35-a239-c847c798e080' // source branch for pull requests mainBranch = "unknown" -if ("rc3" == "devel") { +if ("rc4" == "devel") { mainBranch = "devel" } else { diff --git a/VERSION b/VERSION index 453b9db4c1..8ba1c64869 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.rc3 +3.3.rc4 diff --git a/js/apps/system/_admin/aardvark/APP/api-docs.json b/js/apps/system/_admin/aardvark/APP/api-docs.json index 221cda86e7..9bae67c368 100644 --- a/js/apps/system/_admin/aardvark/APP/api-docs.json +++ b/js/apps/system/_admin/aardvark/APP/api-docs.json @@ -2832,7 +2832,7 @@ }, "/_admin/statistics": { "get": { - "description": "\n\n\nReturns the statistics information. The returned object contains the\nstatistics figures grouped together according to the description returned by\n*_admin/statistics-description*. For instance, to access a figure *userTime*\nfrom the group *system*, you first select the sub-object describing the\ngroup stored in *system* and in that sub-object the value for *userTime* is\nstored in the attribute of the same name.\n\nIn case of a distribution, the returned object contains the total count in\n*count* and the distribution list in *counts*. The sum (or total) of the\nindividual values is returned in *sum*.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_admin/statistics\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"time\" : 1511527510.913887, \n  \"enabled\" : true, \n  \"system\" : { \n    \"minorPageFaults\" : 76685, \n    \"majorPageFaults\" : 6231, \n    \"userTime\" : 3.732865, \n    \"systemTime\" : 1.48494, \n    \"numberOfThreads\" : 28, \n    \"residentSize\" : 288120832, \n    \"residentSizePercent\" : 0.01677083969116211, \n    \"virtualSize\" : 5642502144 \n  }, \n  \"client\" : { \n    \"httpConnections\" : 1, \n    \"connectionTime\" : { \n      \"sum\" : 0, \n      \"count\" : 0, \n      \"counts\" : [ \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"totalTime\" : { \n      \"sum\" : 4.588557481765747, \n      \"count\" : 4041, \n      \"counts\" : [ \n        3851, \n        187, \n        2, \n        0, \n        0, \n        1, \n        0 \n      ] \n    }, \n    \"requestTime\" : { \n      \"sum\" : 0.034815073013305664, \n      \"count\" : 4041, \n      \"counts\" : [ \n        4040, \n        1, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"queueTime\" : { \n      \"sum\" : 0.0003211498260498047, \n      \"count\" : 9, \n      \"counts\" : [ \n        9, \n        0, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"ioTime\" : { \n      \"sum\" : 4.553421258926392, \n      \"count\" : 4041, \n      \"counts\" : [ \n        3852, \n        186, \n        2, \n        0, \n        0, \n        1, \n        0 \n      ] \n    }, \n    \"bytesSent\" : { \n      \"sum\" : 1786672, \n      \"count\" : 4041, \n      \"counts\" : [ \n        307, \n        3394, \n        324, \n        16, \n        0, \n        0 \n      ] \n    }, \n    \"bytesReceived\" : { \n      \"sum\" : 872237, \n      \"count\" : 4041, \n      \"counts\" : [ \n        3734, \n        307, \n        0, \n        0, \n        0, \n        0 \n      ] \n    } \n  }, \n  \"http\" : { \n    \"requestsTotal\" : 4041, \n    \"requestsAsync\" : 9, \n    \"requestsGet\" : 1025, \n    \"requestsHead\" : 0, \n    \"requestsPost\" : 2794, \n    \"requestsPut\" : 70, \n    \"requestsPatch\" : 3, \n    \"requestsDelete\" : 149, \n    \"requestsOptions\" : 0, \n    \"requestsOther\" : 0 \n  }, \n  \"server\" : { \n    \"uptime\" : 9.92887806892395, \n    \"physicalMemory\" : 17179869184, \n    \"v8Context\" : { \n      \"available\" : 5, \n      \"busy\" : 4, \n      \"dirty\" : 0, \n      \"free\" : 1, \n      \"max\" : 16 \n    }, \n    \"threads\" : { \n      \"running\" : 6, \n      \"working\" : 4, \n      \"blocked\" : 0, \n      \"queued\" : 2 \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\n\nReturns the statistics information. The returned object contains the\nstatistics figures grouped together according to the description returned by\n*_admin/statistics-description*. For instance, to access a figure *userTime*\nfrom the group *system*, you first select the sub-object describing the\ngroup stored in *system* and in that sub-object the value for *userTime* is\nstored in the attribute of the same name.\n\nIn case of a distribution, the returned object contains the total count in\n*count* and the distribution list in *counts*. The sum (or total) of the\nindividual values is returned in *sum*.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_admin/statistics\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"time\" : 1511887218.551719, \n  \"enabled\" : true, \n  \"system\" : { \n    \"minorPageFaults\" : 66450, \n    \"majorPageFaults\" : 6201, \n    \"userTime\" : 2.735669, \n    \"systemTime\" : 1.639122, \n    \"numberOfThreads\" : 27, \n    \"residentSize\" : 273309696, \n    \"residentSizePercent\" : 0.01590871810913086, \n    \"virtualSize\" : 5093076992 \n  }, \n  \"client\" : { \n    \"httpConnections\" : 1, \n    \"connectionTime\" : { \n      \"sum\" : 0, \n      \"count\" : 0, \n      \"counts\" : [ \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"totalTime\" : { \n      \"sum\" : 4.855077266693115, \n      \"count\" : 4035, \n      \"counts\" : [ \n        3832, \n        200, \n        1, \n        0, \n        2, \n        0, \n        0 \n      ] \n    }, \n    \"requestTime\" : { \n      \"sum\" : 0.03473496437072754, \n      \"count\" : 4035, \n      \"counts\" : [ \n        4034, \n        1, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"queueTime\" : { \n      \"sum\" : 0.000278472900390625, \n      \"count\" : 9, \n      \"counts\" : [ \n        9, \n        0, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"ioTime\" : { \n      \"sum\" : 4.820063829421997, \n      \"count\" : 4035, \n      \"counts\" : [ \n        3833, \n        199, \n        1, \n        0, \n        2, \n        0, \n        0 \n      ] \n    }, \n    \"bytesSent\" : { \n      \"sum\" : 1782302, \n      \"count\" : 4035, \n      \"counts\" : [ \n        305, \n        3392, \n        322, \n        16, \n        0, \n        0 \n      ] \n    }, \n    \"bytesReceived\" : { \n      \"sum\" : 871147, \n      \"count\" : 4035, \n      \"counts\" : [ \n        3728, \n        307, \n        0, \n        0, \n        0, \n        0 \n      ] \n    } \n  }, \n  \"http\" : { \n    \"requestsTotal\" : 4035, \n    \"requestsAsync\" : 9, \n    \"requestsGet\" : 1020, \n    \"requestsHead\" : 0, \n    \"requestsPost\" : 2794, \n    \"requestsPut\" : 70, \n    \"requestsPatch\" : 3, \n    \"requestsDelete\" : 148, \n    \"requestsOptions\" : 0, \n    \"requestsOther\" : 0 \n  }, \n  \"server\" : { \n    \"uptime\" : 10.536988973617554, \n    \"physicalMemory\" : 17179869184, \n    \"v8Context\" : { \n      \"available\" : 4, \n      \"busy\" : 4, \n      \"dirty\" : 0, \n      \"free\" : 0, \n      \"max\" : 16 \n    }, \n    \"threads\" : { \n      \"running\" : 5, \n      \"working\" : 4, \n      \"blocked\" : 0, \n      \"queued\" : 2 \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -3095,7 +3095,7 @@ }, "/_api/batch": { "post": { - "description": "\n\nExecutes a batch request. A batch request can contain any number of\nother requests that can be sent to ArangoDB in isolation. The benefit of\nusing batch requests is that batching requests requires less client/server\nroundtrips than when sending isolated requests.\n\nAll parts of a batch request are executed serially on the server. The\nserver will return the results of all parts in a single response when all\nparts are finished.\n\nTechnically, a batch request is a multipart HTTP request, with\ncontent-type `multipart/form-data`. A batch request consists of an\nenvelope and the individual batch part actions. Batch part actions\nare \"regular\" HTTP requests, including full header and an optional body.\nMultiple batch parts are separated by a boundary identifier. The\nboundary identifier is declared in the batch envelope. The MIME content-type\nfor each individual batch part must be `application/x-arango-batchpart`.\n\nPlease note that when constructing the individual batch parts, you must\nuse CRLF (`\\\\\\r\\\\\\n`) as the line terminator as in regular HTTP messages.\n\nThe response sent by the server will be an `HTTP 200` response, with an\noptional error summary header `x-arango-errors`. This header contains the\nnumber of batch part operations that failed with an HTTP error code of at\nleast 400. This header is only present in the response if the number of\nerrors is greater than zero.\n\nThe response sent by the server is a multipart response, too. It contains\nthe individual HTTP responses for all batch parts, including the full HTTP\nresult header (with status code and other potential headers) and an\noptional result body. The individual batch parts in the result are\nseperated using the same boundary value as specified in the request.\n\nThe order of batch parts in the response will be the same as in the\noriginal client request. Client can additionally use the `Content-Id`\nMIME header in a batch part to define an individual id for each batch part.\nThe server will return this id is the batch part responses, too.\n\n\n\n\n#Example:\n Sending a batch request with five batch parts:\n\n- GET /_api/version\n\n- DELETE /_api/collection/products\n\n- POST /_api/collection/products\n\n- GET /_api/collection/products/figures\n\n- DELETE /_api/collection/products\n\nThe boundary (`SomeBoundaryValue`) is passed to the server in the HTTP\n`Content-Type` HTTP header.\n*Please note the reply is not displayed all accurate.*\n\n
shell> curl -X POST --header 'Content-Type: multipart/form-data; boundary=SomeBoundaryValue' --data-binary @- --dump - http://localhost:8529/_api/batch <<EOF\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nGET /_api/version HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId2\r\n\r\nDELETE /_api/collection/products HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: someId\r\n\r\nPOST /_api/collection/products HTTP/1.1\r\n\r\n{\"name\": \"products\" }\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: nextId\r\n\r\nGET /_api/collection/products/figures HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: otherId\r\n\r\nDELETE /_api/collection/products HTTP/1.1\r\n--SomeBoundaryValue--\r\n\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: multipart/form-data; boundary=SomeBoundaryValue\nx-arango-errors: 1\nx-content-type-options: nosniff\n\n\"--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: myId1\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 61\\r\\n\\r\\n{\\\"server\\\":\\\"arango\\\",\\\"version\\\":\\\"3.3.rc3\\\",\\\"license\\\":\\\"community\\\"}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: myId2\\r\\n\\r\\nHTTP/1.1 404 Not Found\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 79\\r\\n\\r\\n{\\\"error\\\":true,\\\"errorMessage\\\":\\\"collection not found\\\",\\\"code\\\":404,\\\"errorNum\\\":1203}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: someId\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 310\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"type\\\":2,\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"status\\\":3,\\\"name\\\":\\\"products\\\",\\\"id\\\":\\\"9984\\\",\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false,\\\"waitForSync\\\":false,\\\"indexBuckets\\\":8,\\\"doCompact\\\":true,\\\"isSystem\\\":false,\\\"statusString\\\":\\\"loaded\\\",\\\"globallyUniqueId\\\":\\\"9984\\\"}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: nextId\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nLocation: /_api/collection/products/figures\\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 817\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"type\\\":2,\\\"statusString\\\":\\\"loaded\\\",\\\"name\\\":\\\"products\\\",\\\"status\\\":3,\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"id\\\":\\\"9984\\\",\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false,\\\"waitForSync\\\":false,\\\"indexBuckets\\\":8,\\\"globallyUniqueId\\\":\\\"9984\\\",\\\"figures\\\":{\\\"indexes\\\":{\\\"count\\\":1,\\\"size\\\":32128},\\\"documentReferences\\\":0,\\\"waitingFor\\\":\\\"-\\\",\\\"alive\\\":{\\\"count\\\":0,\\\"size\\\":0},\\\"dead\\\":{\\\"count\\\":0,\\\"size\\\":0,\\\"deletion\\\":0},\\\"compactionStatus\\\":{\\\"message\\\":\\\"compaction not yet started\\\",\\\"time\\\":\\\"2017-11-24T12:45:11Z\\\",\\\"count\\\":0,\\\"filesCombined\\\":0,\\\"bytesRead\\\":0,\\\"bytesWritten\\\":0},\\\"datafiles\\\":{\\\"count\\\":0,\\\"fileSize\\\":0},\\\"journals\\\":{\\\"count\\\":0,\\\"fileSize\\\":0},\\\"compactors\\\":{\\\"count\\\":0,\\\"fileSize\\\":0},\\\"revisions\\\":{\\\"count\\\":0,\\\"size\\\":48192},\\\"lastTick\\\":0,\\\"uncollectedLogfileEntries\\\":0},\\\"isSystem\\\":false,\\\"doCompact\\\":true,\\\"count\\\":0}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: otherId\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 38\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"id\\\":\\\"9984\\\"}\\r\\n--SomeBoundaryValue--\"\n
\n\n\n\n\n#Example:\n Sending a batch request, setting the boundary implicitly (the server will\nin this case try to find the boundary at the beginning of the request body).\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/batch <<EOF\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\n\r\nDELETE /_api/collection/notexisting1 HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\n\r\nDELETE _api/collection/notexisting2 HTTP/1.1\r\n--SomeBoundaryValue--\r\n\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: \nx-arango-errors: 2\nx-content-type-options: nosniff\n\n\"--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\n\\r\\nHTTP/1.1 404 Not Found\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 79\\r\\n\\r\\n{\\\"error\\\":true,\\\"errorMessage\\\":\\\"collection not found\\\",\\\"code\\\":404,\\\"errorNum\\\":1203}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\n\\r\\nHTTP/1.1 404 Not Found\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 101\\r\\n\\r\\n{\\\"error\\\":true,\\\"code\\\":404,\\\"errorNum\\\":404,\\\"errorMessage\\\":\\\"unknown path '_api/collection/notexisting2'\\\"}\\r\\n--SomeBoundaryValue--\"\n
\n\n\n\n\n", + "description": "\n\nExecutes a batch request. A batch request can contain any number of\nother requests that can be sent to ArangoDB in isolation. The benefit of\nusing batch requests is that batching requests requires less client/server\nroundtrips than when sending isolated requests.\n\nAll parts of a batch request are executed serially on the server. The\nserver will return the results of all parts in a single response when all\nparts are finished.\n\nTechnically, a batch request is a multipart HTTP request, with\ncontent-type `multipart/form-data`. A batch request consists of an\nenvelope and the individual batch part actions. Batch part actions\nare \"regular\" HTTP requests, including full header and an optional body.\nMultiple batch parts are separated by a boundary identifier. The\nboundary identifier is declared in the batch envelope. The MIME content-type\nfor each individual batch part must be `application/x-arango-batchpart`.\n\nPlease note that when constructing the individual batch parts, you must\nuse CRLF (`\\\\\\r\\\\\\n`) as the line terminator as in regular HTTP messages.\n\nThe response sent by the server will be an `HTTP 200` response, with an\noptional error summary header `x-arango-errors`. This header contains the\nnumber of batch part operations that failed with an HTTP error code of at\nleast 400. This header is only present in the response if the number of\nerrors is greater than zero.\n\nThe response sent by the server is a multipart response, too. It contains\nthe individual HTTP responses for all batch parts, including the full HTTP\nresult header (with status code and other potential headers) and an\noptional result body. The individual batch parts in the result are\nseperated using the same boundary value as specified in the request.\n\nThe order of batch parts in the response will be the same as in the\noriginal client request. Client can additionally use the `Content-Id`\nMIME header in a batch part to define an individual id for each batch part.\nThe server will return this id is the batch part responses, too.\n\n\n\n\n#Example:\n Sending a batch request with five batch parts:\n\n- GET /_api/version\n\n- DELETE /_api/collection/products\n\n- POST /_api/collection/products\n\n- GET /_api/collection/products/figures\n\n- DELETE /_api/collection/products\n\nThe boundary (`SomeBoundaryValue`) is passed to the server in the HTTP\n`Content-Type` HTTP header.\n*Please note the reply is not displayed all accurate.*\n\n
shell> curl -X POST --header 'Content-Type: multipart/form-data; boundary=SomeBoundaryValue' --data-binary @- --dump - http://localhost:8529/_api/batch <<EOF\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nGET /_api/version HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId2\r\n\r\nDELETE /_api/collection/products HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: someId\r\n\r\nPOST /_api/collection/products HTTP/1.1\r\n\r\n{\"name\": \"products\" }\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: nextId\r\n\r\nGET /_api/collection/products/figures HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: otherId\r\n\r\nDELETE /_api/collection/products HTTP/1.1\r\n--SomeBoundaryValue--\r\n\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: multipart/form-data; boundary=SomeBoundaryValue\nx-arango-errors: 1\nx-content-type-options: nosniff\n\n\"--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: myId1\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 61\\r\\n\\r\\n{\\\"server\\\":\\\"arango\\\",\\\"version\\\":\\\"3.3.rc4\\\",\\\"license\\\":\\\"community\\\"}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: myId2\\r\\n\\r\\nHTTP/1.1 404 Not Found\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 79\\r\\n\\r\\n{\\\"error\\\":true,\\\"errorMessage\\\":\\\"collection not found\\\",\\\"code\\\":404,\\\"errorNum\\\":1203}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: someId\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 310\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"type\\\":2,\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"status\\\":3,\\\"name\\\":\\\"products\\\",\\\"id\\\":\\\"9984\\\",\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false,\\\"waitForSync\\\":false,\\\"indexBuckets\\\":8,\\\"doCompact\\\":true,\\\"isSystem\\\":false,\\\"statusString\\\":\\\"loaded\\\",\\\"globallyUniqueId\\\":\\\"9984\\\"}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: nextId\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nLocation: /_api/collection/products/figures\\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 817\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"type\\\":2,\\\"statusString\\\":\\\"loaded\\\",\\\"name\\\":\\\"products\\\",\\\"status\\\":3,\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"id\\\":\\\"9984\\\",\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false,\\\"waitForSync\\\":false,\\\"indexBuckets\\\":8,\\\"globallyUniqueId\\\":\\\"9984\\\",\\\"figures\\\":{\\\"indexes\\\":{\\\"count\\\":1,\\\"size\\\":32128},\\\"documentReferences\\\":0,\\\"waitingFor\\\":\\\"-\\\",\\\"alive\\\":{\\\"count\\\":0,\\\"size\\\":0},\\\"dead\\\":{\\\"count\\\":0,\\\"size\\\":0,\\\"deletion\\\":0},\\\"compactionStatus\\\":{\\\"message\\\":\\\"compaction not yet started\\\",\\\"time\\\":\\\"2017-11-28T16:40:18Z\\\",\\\"count\\\":0,\\\"filesCombined\\\":0,\\\"bytesRead\\\":0,\\\"bytesWritten\\\":0},\\\"datafiles\\\":{\\\"count\\\":0,\\\"fileSize\\\":0},\\\"journals\\\":{\\\"count\\\":0,\\\"fileSize\\\":0},\\\"compactors\\\":{\\\"count\\\":0,\\\"fileSize\\\":0},\\\"revisions\\\":{\\\"count\\\":0,\\\"size\\\":48192},\\\"lastTick\\\":0,\\\"uncollectedLogfileEntries\\\":0},\\\"isSystem\\\":false,\\\"doCompact\\\":true,\\\"count\\\":0}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\nContent-Id: otherId\\r\\n\\r\\nHTTP/1.1 200 OK\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 38\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"id\\\":\\\"9984\\\"}\\r\\n--SomeBoundaryValue--\"\n
\n\n\n\n\n#Example:\n Sending a batch request, setting the boundary implicitly (the server will\nin this case try to find the boundary at the beginning of the request body).\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/batch <<EOF\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\n\r\nDELETE /_api/collection/notexisting1 HTTP/1.1\r\n\r\n--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\n\r\nDELETE _api/collection/notexisting2 HTTP/1.1\r\n--SomeBoundaryValue--\r\n\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: \nx-arango-errors: 2\nx-content-type-options: nosniff\n\n\"--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\n\\r\\nHTTP/1.1 404 Not Found\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 79\\r\\n\\r\\n{\\\"error\\\":true,\\\"errorMessage\\\":\\\"collection not found\\\",\\\"code\\\":404,\\\"errorNum\\\":1203}\\r\\n--SomeBoundaryValue\\r\\nContent-Type: application/x-arango-batchpart\\r\\n\\r\\nHTTP/1.1 404 Not Found\\r\\nServer: \\r\\nConnection: \\r\\nContent-Type: application/json; charset=utf-8\\r\\nContent-Length: 101\\r\\n\\r\\n{\\\"error\\\":true,\\\"code\\\":404,\\\"errorNum\\\":404,\\\"errorMessage\\\":\\\"unknown path '_api/collection/notexisting2'\\\"}\\r\\n--SomeBoundaryValue--\"\n
\n\n\n\n\n", "parameters": [ { "description": "The multipart batch request, consisting of the envelope and the individual\nbatch parts.\n\n", @@ -3277,7 +3277,7 @@ }, "/_api/collection/{collection-name}/checksum": { "get": { - "description": "\n\nWill calculate a checksum of the meta-data (keys and optionally revision ids) and\noptionally the document data in the collection.\n\nThe checksum can be used to compare if two collections on different ArangoDB\ninstances contain the same contents. The current revision of the collection is\nreturned too so one can make sure the checksums are calculated for the same\nstate of data.\n\nBy default, the checksum will only be calculated on the *_key* system attribute\nof the documents contained in the collection. For edge collections, the system\nattributes *_from* and *_to* will also be included in the calculation.\n\nBy setting the optional query parameter *withRevisions* to *true*, then revision\nids (*_rev* system attributes) are included in the checksumming.\n\nBy providing the optional query parameter *withData* with a value of *true*,\nthe user-defined document attributes will be included in the calculation too.\n**Note**: Including user-defined attributes will make the checksumming slower.\n\nThe response is a JSON object with the following attributes:\n\n- *checksum*: The calculated checksum as a number.\n\n- *revision*: The collection revision id as a string.\n\n**Note**: this method is not available in a cluster.\n\n\n\n\n#Example:\n Retrieving the checksum of a collection:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/checksum\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"10035\", \n  \"isSystem\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"checksum\" : \"6288930192632571077\", \n  \"id\" : \"10035\", \n  \"revision\" : \"_V82NbXm--_\" \n}\n
\n\n\n\n\n#Example:\n Retrieving the checksum of a collection including the collection data,\nbut not the revisions:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/checksum?withRevisions=false&withData=true\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"10047\", \n  \"isSystem\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"checksum\" : \"15823549496814069354\", \n  \"id\" : \"10047\", \n  \"revision\" : \"_V82NbZi--_\" \n}\n
\n\n\n\n\n", + "description": "\n\nWill calculate a checksum of the meta-data (keys and optionally revision ids) and\noptionally the document data in the collection.\n\nThe checksum can be used to compare if two collections on different ArangoDB\ninstances contain the same contents. The current revision of the collection is\nreturned too so one can make sure the checksums are calculated for the same\nstate of data.\n\nBy default, the checksum will only be calculated on the *_key* system attribute\nof the documents contained in the collection. For edge collections, the system\nattributes *_from* and *_to* will also be included in the calculation.\n\nBy setting the optional query parameter *withRevisions* to *true*, then revision\nids (*_rev* system attributes) are included in the checksumming.\n\nBy providing the optional query parameter *withData* with a value of *true*,\nthe user-defined document attributes will be included in the calculation too.\n**Note**: Including user-defined attributes will make the checksumming slower.\n\nThe response is a JSON object with the following attributes:\n\n- *checksum*: The calculated checksum as a number.\n\n- *revision*: The collection revision id as a string.\n\n**Note**: this method is not available in a cluster.\n\n\n\n\n#Example:\n Retrieving the checksum of a collection:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/checksum\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"10035\", \n  \"isSystem\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"checksum\" : \"6288930192632571077\", \n  \"id\" : \"10035\", \n  \"revision\" : \"_W-M-IHK--_\" \n}\n
\n\n\n\n\n#Example:\n Retrieving the checksum of a collection including the collection data,\nbut not the revisions:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/checksum?withRevisions=false&withData=true\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"10047\", \n  \"isSystem\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"checksum\" : \"15823549496814069354\", \n  \"id\" : \"10047\", \n  \"revision\" : \"_W-M-IJa--_\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3320,7 +3320,7 @@ }, "/_api/collection/{collection-name}/count": { "get": { - "description": "\n\nIn addition to the above, the result also contains the number of documents.\n**Note** that this will always load the collection into memory.\n\n- *count*: The number of documents inside the collection.\n\n\n\n\n#Example:\n Requesting the number of documents:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/count\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/count\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"statusString\" : \"loaded\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10361 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10059\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"10059\", \n  \"isSystem\" : false, \n  \"doCompact\" : true, \n  \"count\" : 100 \n}\n
\n\n\n\n\n", + "description": "\n\nIn addition to the above, the result also contains the number of documents.\n**Note** that this will always load the collection into memory.\n\n- *count*: The number of documents inside the collection.\n\n\n\n\n#Example:\n Requesting the number of documents:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/count\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/count\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"statusString\" : \"loaded\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10367 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10059\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"10059\", \n  \"isSystem\" : false, \n  \"doCompact\" : true, \n  \"count\" : 100 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3349,7 +3349,7 @@ }, "/_api/collection/{collection-name}/figures": { "get": { - "description": "\n\nIn addition to the above, the result also contains the number of documents\nand additional statistical information about the collection.\n**Note** : This will always load the collection into memory.\n\n**Note**: collection data that are stored in the write-ahead log only are\nnot reported in the results. When the write-ahead log is collected, documents\nmight be added to journals and datafiles of the collection, which may modify\nthe figures of the collection.\n\nAdditionally, the filesizes of collection and index parameter JSON files are\nnot reported. These files should normally have a size of a few bytes\neach. Please also note that the *fileSize* values are reported in bytes\nand reflect the logical file sizes. Some filesystems may use optimisations\n(e.g. sparse files) so that the actual physical file size is somewhat\ndifferent. Directories and sub-directories may also require space in the\nfile system, but this space is not reported in the *fileSize* results.\n\nThat means that the figures reported do not reflect the actual disk\nusage of the collection with 100% accuracy. The actual disk usage of\na collection is normally slightly higher than the sum of the reported\n*fileSize* values. Still the sum of the *fileSize* values can still be\nused as a lower bound approximation of the disk usage.\n\n**A json document with these Properties is returned:**\n\n##HTTP 200\nReturns information about the collection:\n\n- **count**: The number of documents currently present in the collection.\n- **journalSize**: The maximal size of a journal or datafile in bytes.\n- **figures**:\n - **datafiles**:\n - **count**: The number of datafiles.\n - **fileSize**: The total filesize of datafiles (in bytes).\n - **uncollectedLogfileEntries**: The number of markers in the write-ahead\n log for this collection that have not been transferred to journals or datafiles.\n - **documentReferences**: The number of references to documents in datafiles that JavaScript code \n currently holds. This information can be used for debugging compaction and \n unload issues.\n - **compactionStatus**:\n - **message**: The action that was performed when the compaction was last run for the collection. \n This information can be used for debugging compaction issues.\n - **time**: The point in time the compaction for the collection was last executed. \n This information can be used for debugging compaction issues.\n - **compactors**:\n - **count**: The number of compactor files.\n - **fileSize**: The total filesize of all compactor files (in bytes).\n - **dead**:\n - **count**: The number of dead documents. This includes document\n versions that have been deleted or replaced by a newer version. Documents\n deleted or replaced that are contained the write-ahead log only are not reported\n in this figure.\n - **deletion**: The total number of deletion markers. Deletion markers\n only contained in the write-ahead log are not reporting in this figure.\n - **size**: The total size in bytes used by all dead documents.\n - **indexes**:\n - **count**: The total number of indexes defined for the collection, including the pre-defined\n indexes (e.g. primary index).\n - **size**: The total memory allocated for indexes in bytes.\n - **readcache**:\n - **count**: The number of revisions of this collection stored in the document revisions cache.\n - **size**: The memory used for storing the revisions of this collection in the document \n revisions cache (in bytes). This figure does not include the document data but \n only mappings from document revision ids to cache entry locations.\n - **waitingFor**: An optional string value that contains information about which object type is at the \n head of the collection's cleanup queue. This information can be used for debugging \n compaction and unload issues.\n - **alive**:\n - **count**: The number of currently active documents in all datafiles\n and journals of the collection. Documents that are contained in the\n write-ahead log only are not reported in this figure.\n - **size**: The total size in bytes used by all active documents of\n the collection. Documents that are contained in the write-ahead log only are\n not reported in this figure.\n - **lastTick**: The tick of the last marker that was stored in a journal\n of the collection. This might be 0 if the collection does not yet have\n a journal.\n - **journals**:\n - **count**: The number of journal files.\n - **fileSize**: The total filesize of all journal files (in bytes).\n - **revisions**:\n - **count**: The number of revisions of this collection managed by the storage engine.\n - **size**: The memory used for storing the revisions of this collection in the storage \n engine (in bytes). This figure does not include the document data but only mappings \n from document revision ids to storage engine datafile positions.\n\n\n\n\n#Example:\n Using an identifier and requesting the figures of the collection:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/figures\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/figures\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"status\" : 3, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10373 \n  }, \n  \"id\" : \"10369\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : false, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"10369\", \n  \"figures\" : { \n    \"indexes\" : { \n      \"count\" : 1, \n      \"size\" : 32128 \n    }, \n    \"documentReferences\" : 1, \n    \"waitingFor\" : \"document-reference\", \n    \"alive\" : { \n      \"count\" : 0, \n      \"size\" : 0 \n    }, \n    \"dead\" : { \n      \"count\" : 0, \n      \"size\" : 0, \n      \"deletion\" : 0 \n    }, \n    \"compactionStatus\" : { \n      \"message\" : \"skipped compaction because collection has no datafiles\", \n      \"time\" : \"2017-11-24T12:45:13Z\", \n      \"count\" : 0, \n      \"filesCombined\" : 0, \n      \"bytesRead\" : 0, \n      \"bytesWritten\" : 0 \n    }, \n    \"datafiles\" : { \n      \"count\" : 0, \n      \"fileSize\" : 0 \n    }, \n    \"journals\" : { \n      \"count\" : 1, \n      \"fileSize\" : 33554432 \n    }, \n    \"compactors\" : { \n      \"count\" : 0, \n      \"fileSize\" : 0 \n    }, \n    \"revisions\" : { \n      \"count\" : 1, \n      \"size\" : 48192 \n    }, \n    \"lastTick\" : 10375, \n    \"uncollectedLogfileEntries\" : 1 \n  }, \n  \"isSystem\" : false, \n  \"doCompact\" : true, \n  \"count\" : 1 \n}\n
\n\n\n\n\n", + "description": "\n\nIn addition to the above, the result also contains the number of documents\nand additional statistical information about the collection.\n**Note** : This will always load the collection into memory.\n\n**Note**: collection data that are stored in the write-ahead log only are\nnot reported in the results. When the write-ahead log is collected, documents\nmight be added to journals and datafiles of the collection, which may modify\nthe figures of the collection.\n\nAdditionally, the filesizes of collection and index parameter JSON files are\nnot reported. These files should normally have a size of a few bytes\neach. Please also note that the *fileSize* values are reported in bytes\nand reflect the logical file sizes. Some filesystems may use optimisations\n(e.g. sparse files) so that the actual physical file size is somewhat\ndifferent. Directories and sub-directories may also require space in the\nfile system, but this space is not reported in the *fileSize* results.\n\nThat means that the figures reported do not reflect the actual disk\nusage of the collection with 100% accuracy. The actual disk usage of\na collection is normally slightly higher than the sum of the reported\n*fileSize* values. Still the sum of the *fileSize* values can still be\nused as a lower bound approximation of the disk usage.\n\n**A json document with these Properties is returned:**\n\n##HTTP 200\nReturns information about the collection:\n\n- **count**: The number of documents currently present in the collection.\n- **journalSize**: The maximal size of a journal or datafile in bytes.\n- **figures**:\n - **datafiles**:\n - **count**: The number of datafiles.\n - **fileSize**: The total filesize of datafiles (in bytes).\n - **uncollectedLogfileEntries**: The number of markers in the write-ahead\n log for this collection that have not been transferred to journals or datafiles.\n - **documentReferences**: The number of references to documents in datafiles that JavaScript code \n currently holds. This information can be used for debugging compaction and \n unload issues.\n - **compactionStatus**:\n - **message**: The action that was performed when the compaction was last run for the collection. \n This information can be used for debugging compaction issues.\n - **time**: The point in time the compaction for the collection was last executed. \n This information can be used for debugging compaction issues.\n - **compactors**:\n - **count**: The number of compactor files.\n - **fileSize**: The total filesize of all compactor files (in bytes).\n - **dead**:\n - **count**: The number of dead documents. This includes document\n versions that have been deleted or replaced by a newer version. Documents\n deleted or replaced that are contained the write-ahead log only are not reported\n in this figure.\n - **deletion**: The total number of deletion markers. Deletion markers\n only contained in the write-ahead log are not reporting in this figure.\n - **size**: The total size in bytes used by all dead documents.\n - **indexes**:\n - **count**: The total number of indexes defined for the collection, including the pre-defined\n indexes (e.g. primary index).\n - **size**: The total memory allocated for indexes in bytes.\n - **readcache**:\n - **count**: The number of revisions of this collection stored in the document revisions cache.\n - **size**: The memory used for storing the revisions of this collection in the document \n revisions cache (in bytes). This figure does not include the document data but \n only mappings from document revision ids to cache entry locations.\n - **waitingFor**: An optional string value that contains information about which object type is at the \n head of the collection's cleanup queue. This information can be used for debugging \n compaction and unload issues.\n - **alive**:\n - **count**: The number of currently active documents in all datafiles\n and journals of the collection. Documents that are contained in the\n write-ahead log only are not reported in this figure.\n - **size**: The total size in bytes used by all active documents of\n the collection. Documents that are contained in the write-ahead log only are\n not reported in this figure.\n - **lastTick**: The tick of the last marker that was stored in a journal\n of the collection. This might be 0 if the collection does not yet have\n a journal.\n - **journals**:\n - **count**: The number of journal files.\n - **fileSize**: The total filesize of all journal files (in bytes).\n - **revisions**:\n - **count**: The number of revisions of this collection managed by the storage engine.\n - **size**: The memory used for storing the revisions of this collection in the storage \n engine (in bytes). This figure does not include the document data but only mappings \n from document revision ids to storage engine datafile positions.\n\n\n\n\n#Example:\n Using an identifier and requesting the figures of the collection:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/figures\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/figures\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"status\" : 3, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10380 \n  }, \n  \"id\" : \"10376\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : false, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"10376\", \n  \"figures\" : { \n    \"indexes\" : { \n      \"count\" : 1, \n      \"size\" : 32128 \n    }, \n    \"documentReferences\" : 0, \n    \"waitingFor\" : \"-\", \n    \"alive\" : { \n      \"count\" : 1, \n      \"size\" : 72 \n    }, \n    \"dead\" : { \n      \"count\" : 0, \n      \"size\" : 0, \n      \"deletion\" : 0 \n    }, \n    \"compactionStatus\" : { \n      \"message\" : \"skipped compaction because collection has no datafiles\", \n      \"time\" : \"2017-11-28T16:40:20Z\", \n      \"count\" : 0, \n      \"filesCombined\" : 0, \n      \"bytesRead\" : 0, \n      \"bytesWritten\" : 0 \n    }, \n    \"datafiles\" : { \n      \"count\" : 0, \n      \"fileSize\" : 0 \n    }, \n    \"journals\" : { \n      \"count\" : 1, \n      \"fileSize\" : 33554432 \n    }, \n    \"compactors\" : { \n      \"count\" : 0, \n      \"fileSize\" : 0 \n    }, \n    \"revisions\" : { \n      \"count\" : 1, \n      \"size\" : 48192 \n    }, \n    \"lastTick\" : 10382, \n    \"uncollectedLogfileEntries\" : 0 \n  }, \n  \"isSystem\" : false, \n  \"doCompact\" : true, \n  \"count\" : 1 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3388,7 +3388,7 @@ }, "/_api/collection/{collection-name}/load": { "put": { - "description": "\n\nLoads a collection into memory. Returns the collection on success.\n\nThe request body object might optionally contain the following attribute:\n\n- *count*: If set, this controls whether the return value should include\n the number of documents in the collection. Setting *count* to\n *false* may speed up loading a collection. The default value for\n *count* is *true*.\n\nOn success an object with the following attributes is returned:\n\n- *id*: The identifier of the collection.\n\n- *name*: The name of the collection.\n\n- *count*: The number of documents inside the collection. This is only\n returned if the *count* input parameters is set to *true* or has\n not been specified.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/collection/products/load\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/load\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"count\" : 0, \n  \"isSystem\" : false, \n  \"id\" : \"10423\", \n  \"globallyUniqueId\" : \"10423\", \n  \"name\" : \"products\" \n}\n
\n\n\n\n\n", + "description": "\n\nLoads a collection into memory. Returns the collection on success.\n\nThe request body object might optionally contain the following attribute:\n\n- *count*: If set, this controls whether the return value should include\n the number of documents in the collection. Setting *count* to\n *false* may speed up loading a collection. The default value for\n *count* is *true*.\n\nOn success an object with the following attributes is returned:\n\n- *id*: The identifier of the collection.\n\n- *name*: The name of the collection.\n\n- *count*: The number of documents inside the collection. This is only\n returned if the *count* input parameters is set to *true* or has\n not been specified.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/collection/products/load\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/load\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"count\" : 0, \n  \"isSystem\" : false, \n  \"id\" : \"10427\", \n  \"globallyUniqueId\" : \"10427\", \n  \"name\" : \"products\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3449,7 +3449,7 @@ }, "/_api/collection/{collection-name}/properties": { "get": { - "description": "\n\nIn addition to the above, the result will always contain the\n*waitForSync* attribute, and the *doCompact*, *journalSize*, \nand *isVolatile* attributes for the MMFiles storage engine.\nThis is achieved by forcing a load of the underlying collection.\n\n- *waitForSync*: If *true* then creating, changing or removing\n documents will wait until the data has been synchronized to disk.\n\n- *doCompact*: Whether or not the collection will be compacted.\n This option is only present for the MMFiles storage engine.\n\n- *journalSize*: The maximal size setting for journals / datafiles\n in bytes.\n This option is only present for the MMFiles storage engine.\n\n- *keyOptions*: JSON object which contains key generation options:\n - *type*: specifies the type of the key generator. The currently\n available generators are *traditional* and *autoincrement*.\n - *allowUserKeys*: if set to *true*, then it is allowed to supply\n own key values in the *_key* attribute of a document. If set to\n *false*, then the key generator is solely responsible for\n generating keys and supplying own key values in the *_key* attribute\n of documents is considered an error.\n\n- *isVolatile*: If *true* then the collection data will be\n kept in memory only and ArangoDB will not write or sync the data\n to disk.\n This option is only present for the MMFiles storage engine.\n\nIn a cluster setup, the result will also contain the following attributes:\n- *numberOfShards*: the number of shards of the collection.\n\n- *shardKeys*: contains the names of document attributes that are used to\n determine the target shard for documents.\n\n- *replicationFactor*: contains how many copies of each shard are kept on different DBServers.\n\n\n\n\n#Example:\n Using an identifier:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/10398/properties\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/10398/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10398\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"doCompact\" : true, \n  \"isSystem\" : false, \n  \"statusString\" : \"loaded\", \n  \"globallyUniqueId\" : \"10398\" \n}\n
\n\n\n\n\n#Example:\n Using a name:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/properties\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10406\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"doCompact\" : true, \n  \"isSystem\" : false, \n  \"statusString\" : \"loaded\", \n  \"globallyUniqueId\" : \"10406\" \n}\n
\n\n\n\n\n", + "description": "\n\nIn addition to the above, the result will always contain the\n*waitForSync* attribute, and the *doCompact*, *journalSize*, \nand *isVolatile* attributes for the MMFiles storage engine.\nThis is achieved by forcing a load of the underlying collection.\n\n- *waitForSync*: If *true* then creating, changing or removing\n documents will wait until the data has been synchronized to disk.\n\n- *doCompact*: Whether or not the collection will be compacted.\n This option is only present for the MMFiles storage engine.\n\n- *journalSize*: The maximal size setting for journals / datafiles\n in bytes.\n This option is only present for the MMFiles storage engine.\n\n- *keyOptions*: JSON object which contains key generation options:\n - *type*: specifies the type of the key generator. The currently\n available generators are *traditional* and *autoincrement*.\n - *allowUserKeys*: if set to *true*, then it is allowed to supply\n own key values in the *_key* attribute of a document. If set to\n *false*, then the key generator is solely responsible for\n generating keys and supplying own key values in the *_key* attribute\n of documents is considered an error.\n\n- *isVolatile*: If *true* then the collection data will be\n kept in memory only and ArangoDB will not write or sync the data\n to disk.\n This option is only present for the MMFiles storage engine.\n\nIn a cluster setup, the result will also contain the following attributes:\n- *numberOfShards*: the number of shards of the collection.\n\n- *shardKeys*: contains the names of document attributes that are used to\n determine the target shard for documents.\n\n- *replicationFactor*: contains how many copies of each shard are kept on different DBServers.\n\n\n\n\n#Example:\n Using an identifier:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/10402/properties\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/10402/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10402\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"doCompact\" : true, \n  \"isSystem\" : false, \n  \"statusString\" : \"loaded\", \n  \"globallyUniqueId\" : \"10402\" \n}\n
\n\n\n\n\n#Example:\n Using a name:\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/properties\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10410\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"doCompact\" : true, \n  \"isSystem\" : false, \n  \"statusString\" : \"loaded\", \n  \"globallyUniqueId\" : \"10410\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3476,7 +3476,7 @@ "x-filename": "Collections - /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_checksum.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_count.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_figures.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_name.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_properties.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_revision.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_delete_api_collection.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_get_api_collections.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_post_api_collection.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_load.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_load_indexes_in_memory.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_properties.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_rename.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_rotate.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_truncate.md, /arangodb33/Documentation/DocuBlocks/Rest/Collections/JSF_put_api_collection_unload.md" }, "put": { - "description": "\n\nChanges the properties of a collection. Expects an object with the\nattribute(s)\n\n- *waitForSync*: If *true* then creating or changing a\n document will wait until the data has been synchronized to disk.\n\n- *journalSize*: The maximal size of a journal or datafile in bytes. \n The value must be at least `1048576` (1 MB). Note that when\n changing the journalSize value, it will only have an effect for\n additional journals or datafiles that are created. Already\n existing journals or datafiles will not be affected.\n\nOn success an object with the following attributes is returned:\n\n- *id*: The identifier of the collection.\n\n- *name*: The name of the collection.\n\n- *waitForSync*: The new value.\n\n- *journalSize*: The new value.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\n- *isVolatile*: If *true* then the collection data will be\n kept in memory only and ArangoDB will not write or sync the data\n to disk.\n\n- *doCompact*: Whether or not the collection will be compacted.\n\n- *keyOptions*: JSON object which contains key generation options:\n - *type*: specifies the type of the key generator. The currently\n available generators are *traditional* and *autoincrement*.\n - *allowUserKeys*: if set to *true*, then it is allowed to supply\n own key values in the *_key* attribute of a document. If set to\n *false*, then the key generator is solely responsible for\n generating keys and supplying own key values in the *_key* attribute\n of documents is considered an error.\n\n**Note**: except for *waitForSync*, *journalSize* and *name*, collection\nproperties **cannot be changed** once a collection is created. To rename\na collection, the rename endpoint must be used.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/collection/products/properties <<EOF\n{ \n  \"waitForSync\" : true \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10440\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"doCompact\" : true, \n  \"isSystem\" : false, \n  \"statusString\" : \"loaded\", \n  \"globallyUniqueId\" : \"10440\" \n}\n
\n\n\n\n\n", + "description": "\n\nChanges the properties of a collection. Expects an object with the\nattribute(s)\n\n- *waitForSync*: If *true* then creating or changing a\n document will wait until the data has been synchronized to disk.\n\n- *journalSize*: The maximal size of a journal or datafile in bytes. \n The value must be at least `1048576` (1 MB). Note that when\n changing the journalSize value, it will only have an effect for\n additional journals or datafiles that are created. Already\n existing journals or datafiles will not be affected.\n\nOn success an object with the following attributes is returned:\n\n- *id*: The identifier of the collection.\n\n- *name*: The name of the collection.\n\n- *waitForSync*: The new value.\n\n- *journalSize*: The new value.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\n- *isVolatile*: If *true* then the collection data will be\n kept in memory only and ArangoDB will not write or sync the data\n to disk.\n\n- *doCompact*: Whether or not the collection will be compacted.\n\n- *keyOptions*: JSON object which contains key generation options:\n - *type*: specifies the type of the key generator. The currently\n available generators are *traditional* and *autoincrement*.\n - *allowUserKeys*: if set to *true*, then it is allowed to supply\n own key values in the *_key* attribute of a document. If set to\n *false*, then the key generator is solely responsible for\n generating keys and supplying own key values in the *_key* attribute\n of documents is considered an error.\n\n**Note**: except for *waitForSync*, *journalSize* and *name*, collection\nproperties **cannot be changed** once a collection is created. To rename\na collection, the rename endpoint must be used.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/collection/products/properties <<EOF\n{ \n  \"waitForSync\" : true \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"id\" : \"10444\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : true, \n  \"indexBuckets\" : 8, \n  \"doCompact\" : true, \n  \"isSystem\" : false, \n  \"statusString\" : \"loaded\", \n  \"globallyUniqueId\" : \"10444\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3505,7 +3505,7 @@ }, "/_api/collection/{collection-name}/rename": { "put": { - "description": "\n\nRenames a collection. Expects an object with the attribute(s)\n\n- *name*: The new name.\n\nIt returns an object with the attributes\n\n- *id*: The identifier of the collection.\n\n- *name*: The new name of the collection.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\nIf renaming the collection succeeds, then the collection is also renamed in \nall graph definitions inside the `_graphs` collection in the current database.\n\n**Note**: this method is not available in a cluster.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/collection/products1/rename <<EOF\n{ \n  \"name\" : \"newname\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products1/rename\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"newname\", \n  \"isSystem\" : false, \n  \"id\" : \"10450\", \n  \"globallyUniqueId\" : \"10450\" \n}\n
\n\n\n\n\n", + "description": "\n\nRenames a collection. Expects an object with the attribute(s)\n\n- *name*: The new name.\n\nIt returns an object with the attributes\n\n- *id*: The identifier of the collection.\n\n- *name*: The new name of the collection.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\nIf renaming the collection succeeds, then the collection is also renamed in \nall graph definitions inside the `_graphs` collection in the current database.\n\n**Note**: this method is not available in a cluster.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/collection/products1/rename <<EOF\n{ \n  \"name\" : \"newname\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products1/rename\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"newname\", \n  \"isSystem\" : false, \n  \"id\" : \"10454\", \n  \"globallyUniqueId\" : \"10454\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection to rename.\n\n", @@ -3534,7 +3534,7 @@ }, "/_api/collection/{collection-name}/revision": { "get": { - "description": "\n\nIn addition to the above, the result will also contain the\ncollection's revision id. The revision id is a server-generated\nstring that clients can use to check whether data in a collection\nhas changed since the last revision check.\n\n- *revision*: The collection revision id as a string.\n\n\n\n\n#Example:\n Retrieving the revision of a collection\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/revision\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/revision\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"statusString\" : \"loaded\", \n  \"id\" : \"10414\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : false, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"10414\", \n  \"isSystem\" : false, \n  \"doCompact\" : true, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"type\" : 2, \n  \"revision\" : \"0\" \n}\n
\n\n\n\n\n", + "description": "\n\nIn addition to the above, the result will also contain the\ncollection's revision id. The revision id is a server-generated\nstring that clients can use to check whether data in a collection\nhas changed since the last revision check.\n\n- *revision*: The collection revision id as a string.\n\n\n\n\n#Example:\n Retrieving the revision of a collection\n\n
shell> curl --dump - http://localhost:8529/_api/collection/products/revision\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/revision\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"statusString\" : \"loaded\", \n  \"id\" : \"10418\", \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"waitForSync\" : false, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"10418\", \n  \"isSystem\" : false, \n  \"doCompact\" : true, \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"type\" : 2, \n  \"revision\" : \"0\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3592,7 +3592,7 @@ }, "/_api/collection/{collection-name}/truncate": { "put": { - "description": "\n\nRemoves all documents from the collection, but leaves the indexes intact.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/collection/products/truncate\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/truncate\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"isSystem\" : false, \n  \"id\" : \"10459\", \n  \"globallyUniqueId\" : \"10459\" \n}\n
\n\n\n\n\n", + "description": "\n\nRemoves all documents from the collection, but leaves the indexes intact.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/collection/products/truncate\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/truncate\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"isSystem\" : false, \n  \"id\" : \"10463\", \n  \"globallyUniqueId\" : \"10463\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3621,7 +3621,7 @@ }, "/_api/collection/{collection-name}/unload": { "put": { - "description": "\n\nRemoves a collection from memory. This call does not delete any documents.\nYou can use the collection afterwards; in which case it will be loaded into\nmemory, again. On success an object with the following attributes is\nreturned:\n\n- *id*: The identifier of the collection.\n\n- *name*: The name of the collection.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/collection/products/unload\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/unload\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 4, \n  \"name\" : \"products\", \n  \"isSystem\" : false, \n  \"id\" : \"10467\", \n  \"globallyUniqueId\" : \"10467\" \n}\n
\n\n\n\n\n", + "description": "\n\nRemoves a collection from memory. This call does not delete any documents.\nYou can use the collection afterwards; in which case it will be loaded into\nmemory, again. On success an object with the following attributes is\nreturned:\n\n- *id*: The identifier of the collection.\n\n- *name*: The name of the collection.\n\n- *status*: The status of the collection as number.\n\n- *type*: The collection type. Valid types are:\n - 2: document collection\n - 3: edges collection\n\n- *isSystem*: If *true* then the collection is a system collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/collection/products/unload\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\nlocation: /_api/collection/products/unload\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"status\" : 4, \n  \"name\" : \"products\", \n  \"isSystem\" : false, \n  \"id\" : \"10471\", \n  \"globallyUniqueId\" : \"10471\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "\n", @@ -3650,7 +3650,7 @@ }, "/_api/cursor": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **count**: indicates whether the number of documents in the result set should be returned in\n the \"count\" attribute of the result.\n Calculating the \"count\" attribute might have a performance impact for some queries\n in the future so this option is turned off by default, and \"count\"\n is only returned when requested.\n - **batchSize**: maximum number of result documents to be transferred from\n the server to the client in one roundtrip. If this attribute is\n not set, a server-controlled default value will be used. A *batchSize* value of\n *0* is disallowed.\n - **cache**: flag to determine whether the AQL query cache\n shall be used. If set to *false*, then any query cache lookup will be skipped\n for the query. If set to *true*, it will lead to the query cache being checked\n for the query if the query cache mode is either *on* or *demand*.\n - **memoryLimit**: the maximum number of memory (measured in bytes) that the query is allowed to \n use. If set, then the query will fail with error \"resource limit exceeded\" in\n case it allocates too much memory. A value of *0* indicates that there is no\n memory limit.\n - **ttl**: The time-to-live for the cursor (in seconds). The cursor will be\n removed on the server automatically after the specified amount of time. This\n is useful to ensure garbage collection of cursors that are not fully fetched\n by clients. If not set, a server-defined value will be used.\n - **query**: contains the query string to be executed\n - **bindVars** (object): key/value pairs representing the bind parameters.\n - **options**:\n - **failOnWarning**: When set to *true*, the query will throw an exception and abort instead of producing\n a warning. This option should be used during development to catch potential issues\n early. When the attribute is set to *false*, warnings will not be propagated to \n exceptions and will be returned with the query result.\n There is also a server configuration option `--query.fail-on-warning` for setting the\n default value for *failOnWarning* so it does not need to be set on a per-query level.\n - **profile**: If set to *true*, then the additional query profiling information will be returned\n in the sub-attribute *profile* of the *extra* return attribute if the query result\n is not served from the query cache.\n - **maxTransactionSize**: Transaction size limit in bytes. Honored by the RocksDB storage engine only.\n - **maxWarningCount**: Limits the maximum number of warnings a query will return. The number of warnings\n a query will return is limited to 10 by default, but that number can be increased\n or decreased by setting this attribute.\n - **intermediateCommitCount**: Maximum number of operations after which an intermediate commit is performed \n automatically. Honored by the RocksDB storage engine only.\n - **satelliteSyncWait**: This *enterprise* parameter allows to configure how long a DBServer will have time\n to bring the satellite collections involved in the query into sync.\n The default value is *60.0* (seconds). When the max time has been reached the query\n will be stopped.\n - **fullCount**: if set to *true* and the query contains a *LIMIT* clause, then the\n result will have an *extra* attribute with the sub-attributes *stats*\n and *fullCount*, `{ ... , \"extra\": { \"stats\": { \"fullCount\": 123 } } }`.\n The *fullCount* attribute will contain the number of documents in the result before the\n last LIMIT in the query was applied. It can be used to count the number of documents that\n match certain filter criteria, but only return a subset of them, in one go.\n It is thus similar to MySQL's *SQL_CALC_FOUND_ROWS* hint. Note that setting the option\n will disable a few LIMIT optimizations and may lead to more documents being processed,\n and thus make queries run longer. Note that the *fullCount* attribute will only\n be present in the result if the query has a LIMIT clause and the LIMIT clause is\n actually used in the query.\n - **intermediateCommitSize**: Maximum total size of operations after which an intermediate commit is performed \n automatically. Honored by the RocksDB storage engine only.\n - **optimizer.rules** (string): A list of to-be-included or to-be-excluded optimizer rules\n can be put into this attribute, telling the optimizer to include or exclude\n specific rules. To disable a rule, prefix its name with a `-`, to enable a rule, prefix it\n with a `+`. There is also a pseudo-rule `all`, which will match all optimizer rules.\n - **maxPlans**: Limits the maximum number of plans that are created by the AQL query optimizer.\n\n\n\n\nThe query details include the query string plus optional query options and\nbind parameters. These values need to be passed in a JSON representation in\nthe body of the POST request.\n\n**A json document with these Properties is returned:**\n\n##HTTP 201\nis returned if the result set can be created by the server.\n\n- **count**: the total number of result documents available (only\navailable if the query was executed with the *count* attribute set)\n- **code**: the HTTP status code\n- **extra**: an optional JSON object with extra information about the query result\ncontained in its *stats* sub-attribute. For data-modification queries, the \n*extra.stats* sub-attribute will contain the number of modified documents and \nthe number of documents that could not be modified\ndue to an error (if *ignoreErrors* query option is specified)\n- **cached**: a boolean flag indicating whether the query result was served \nfrom the query cache or not. If the query result is served from the query\ncache, the *extra* return attribute will not contain any *stats* sub-attribute\nand no *profile* sub-attribute.\n- **hasMore**: A boolean indicator whether there are more results\navailable for the cursor on the server\n- **result** (anonymous json object): an array of result documents (might be empty if query has no results)\n- **error**: A flag to indicate that an error occurred (*false* in this case)\n- **id**: id of temporary cursor created on the server (optional, see above)\n\n**A json document with these Properties is returned:**\n\n##HTTP 400\nis returned if the JSON representation is malformed or the query specification is\nmissing from the request.\nIf the JSON representation is malformed or the query specification is\nmissing from the request, the server will respond with *HTTP 400*.\nThe body of the response will contain a JSON object with additional error\ndetails. The object has the following attributes:\n\n- **errorMessage**: a descriptive error message\nIf the query specification is complete, the server will process the query. If an\nerror occurs during query processing, the server will respond with *HTTP 400*.\nAgain, the body of the response will contain details about the error.\nA [list of query errors can be found here](../../Manual/Appendix/ErrorCodes.html).\n- **errorNum**: the server error number\n- **code**: the HTTP status code\n- **error**: boolean flag to indicate that an error occurred (*true* in this case)\n\n\n\n\n#Example:\n Execute a query and extract the result in a single go\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 2 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"10535\", \n      \"_id\" : \"products/10535\", \n      \"_rev\" : \"_V82Nefa--_\", \n      \"hello1\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10539\", \n      \"_id\" : \"products/10539\", \n      \"_rev\" : \"_V82Nefa--B\", \n      \"hello2\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 2, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00018906593322753906 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Execute a query and extract a part of the result\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 5 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 201, \n  \"result\" : [ \n    { \n      \"_key\" : \"10514\", \n      \"_id\" : \"products/10514\", \n      \"_rev\" : \"_V82Nede--_\", \n      \"hello2\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10510\", \n      \"_id\" : \"products/10510\", \n      \"_rev\" : \"_V82Neda--_\", \n      \"hello1\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10526\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.000225067138671875 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n#Example:\n Using the query option \"fullCount\"\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR i IN 1..1000 FILTER i > 500 LIMIT 10 RETURN i\", \n  \"count\" : true, \n  \"options\" : { \n    \"fullCount\" : true \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    501, \n    502, \n    503, \n    504, \n    505, \n    506, \n    507, \n    508, \n    509, \n    510 \n  ], \n  \"hasMore\" : false, \n  \"count\" : 10, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 0, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 500, \n      \"httpRequests\" : 0, \n      \"fullCount\" : 500, \n      \"executionTime\" : 0.00040984153747558594 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Enabling and disabling optimizer rules\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR i IN 1..10 LET a = 1 LET b = 2 FILTER a + b == 3 RETURN i\", \n  \"count\" : true, \n  \"options\" : { \n    \"maxPlans\" : 1, \n    \"optimizer\" : { \n      \"rules\" : [ \n        \"-all\", \n        \"+remove-unnecessary-filters\" \n      ] \n    } \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    1, \n    2, \n    3, \n    4, \n    5, \n    6, \n    7, \n    8, \n    9, \n    10 \n  ], \n  \"hasMore\" : false, \n  \"count\" : 10, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 0, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00021600723266601562 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Execute a data-modification query and retrieve the number of\nmodified documents\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products REMOVE p IN products\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 2, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 2, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00023508071899414062 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Execute a data-modification query with option *ignoreErrors*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"REMOVE 'bar' IN products OPTIONS { ignoreErrors: true }\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 1, \n      \"scannedFull\" : 0, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001919269561767578 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Bad query - Missing body\n\n
shell> curl -X POST --dump - http://localhost:8529/_api/cursor\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"query is empty\", \n  \"code\" : 400, \n  \"errorNum\" : 1502 \n}\n
\n\n\n\n\n#Example:\n Bad query - Unknown collection\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR u IN unknowncoll LIMIT 2 RETURN u\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"AQL: collection not found: unknowncoll (while parsing)\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n#Example:\n Bad query - Execute a data-modification query that attempts to remove a non-existing\ndocument\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"REMOVE 'foo' IN products\" \n}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"AQL: document not found (while executing)\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **count**: indicates whether the number of documents in the result set should be returned in\n the \"count\" attribute of the result.\n Calculating the \"count\" attribute might have a performance impact for some queries\n in the future so this option is turned off by default, and \"count\"\n is only returned when requested.\n - **batchSize**: maximum number of result documents to be transferred from\n the server to the client in one roundtrip. If this attribute is\n not set, a server-controlled default value will be used. A *batchSize* value of\n *0* is disallowed.\n - **cache**: flag to determine whether the AQL query cache\n shall be used. If set to *false*, then any query cache lookup will be skipped\n for the query. If set to *true*, it will lead to the query cache being checked\n for the query if the query cache mode is either *on* or *demand*.\n - **memoryLimit**: the maximum number of memory (measured in bytes) that the query is allowed to \n use. If set, then the query will fail with error \"resource limit exceeded\" in\n case it allocates too much memory. A value of *0* indicates that there is no\n memory limit.\n - **ttl**: The time-to-live for the cursor (in seconds). The cursor will be\n removed on the server automatically after the specified amount of time. This\n is useful to ensure garbage collection of cursors that are not fully fetched\n by clients. If not set, a server-defined value will be used.\n - **query**: contains the query string to be executed\n - **bindVars** (object): key/value pairs representing the bind parameters.\n - **options**:\n - **failOnWarning**: When set to *true*, the query will throw an exception and abort instead of producing\n a warning. This option should be used during development to catch potential issues\n early. When the attribute is set to *false*, warnings will not be propagated to \n exceptions and will be returned with the query result.\n There is also a server configuration option `--query.fail-on-warning` for setting the\n default value for *failOnWarning* so it does not need to be set on a per-query level.\n - **profile**: If set to *true*, then the additional query profiling information will be returned\n in the sub-attribute *profile* of the *extra* return attribute if the query result\n is not served from the query cache.\n - **maxTransactionSize**: Transaction size limit in bytes. Honored by the RocksDB storage engine only.\n - **maxWarningCount**: Limits the maximum number of warnings a query will return. The number of warnings\n a query will return is limited to 10 by default, but that number can be increased\n or decreased by setting this attribute.\n - **intermediateCommitCount**: Maximum number of operations after which an intermediate commit is performed \n automatically. Honored by the RocksDB storage engine only.\n - **satelliteSyncWait**: This *enterprise* parameter allows to configure how long a DBServer will have time\n to bring the satellite collections involved in the query into sync.\n The default value is *60.0* (seconds). When the max time has been reached the query\n will be stopped.\n - **fullCount**: if set to *true* and the query contains a *LIMIT* clause, then the\n result will have an *extra* attribute with the sub-attributes *stats*\n and *fullCount*, `{ ... , \"extra\": { \"stats\": { \"fullCount\": 123 } } }`.\n The *fullCount* attribute will contain the number of documents in the result before the\n last LIMIT in the query was applied. It can be used to count the number of documents that\n match certain filter criteria, but only return a subset of them, in one go.\n It is thus similar to MySQL's *SQL_CALC_FOUND_ROWS* hint. Note that setting the option\n will disable a few LIMIT optimizations and may lead to more documents being processed,\n and thus make queries run longer. Note that the *fullCount* attribute will only\n be present in the result if the query has a LIMIT clause and the LIMIT clause is\n actually used in the query.\n - **intermediateCommitSize**: Maximum total size of operations after which an intermediate commit is performed \n automatically. Honored by the RocksDB storage engine only.\n - **optimizer.rules** (string): A list of to-be-included or to-be-excluded optimizer rules\n can be put into this attribute, telling the optimizer to include or exclude\n specific rules. To disable a rule, prefix its name with a `-`, to enable a rule, prefix it\n with a `+`. There is also a pseudo-rule `all`, which will match all optimizer rules.\n - **maxPlans**: Limits the maximum number of plans that are created by the AQL query optimizer.\n\n\n\n\nThe query details include the query string plus optional query options and\nbind parameters. These values need to be passed in a JSON representation in\nthe body of the POST request.\n\n**A json document with these Properties is returned:**\n\n##HTTP 201\nis returned if the result set can be created by the server.\n\n- **count**: the total number of result documents available (only\navailable if the query was executed with the *count* attribute set)\n- **code**: the HTTP status code\n- **extra**: an optional JSON object with extra information about the query result\ncontained in its *stats* sub-attribute. For data-modification queries, the \n*extra.stats* sub-attribute will contain the number of modified documents and \nthe number of documents that could not be modified\ndue to an error (if *ignoreErrors* query option is specified)\n- **cached**: a boolean flag indicating whether the query result was served \nfrom the query cache or not. If the query result is served from the query\ncache, the *extra* return attribute will not contain any *stats* sub-attribute\nand no *profile* sub-attribute.\n- **hasMore**: A boolean indicator whether there are more results\navailable for the cursor on the server\n- **result** (anonymous json object): an array of result documents (might be empty if query has no results)\n- **error**: A flag to indicate that an error occurred (*false* in this case)\n- **id**: id of temporary cursor created on the server (optional, see above)\n\n**A json document with these Properties is returned:**\n\n##HTTP 400\nis returned if the JSON representation is malformed or the query specification is\nmissing from the request.\nIf the JSON representation is malformed or the query specification is\nmissing from the request, the server will respond with *HTTP 400*.\nThe body of the response will contain a JSON object with additional error\ndetails. The object has the following attributes:\n\n- **errorMessage**: a descriptive error message\nIf the query specification is complete, the server will process the query. If an\nerror occurs during query processing, the server will respond with *HTTP 400*.\nAgain, the body of the response will contain details about the error.\nA [list of query errors can be found here](../../Manual/Appendix/ErrorCodes.html).\n- **errorNum**: the server error number\n- **code**: the HTTP status code\n- **error**: boolean flag to indicate that an error occurred (*true* in this case)\n\n\n\n\n#Example:\n Execute a query and extract the result in a single go\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 2 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"10542\", \n      \"_id\" : \"products/10542\", \n      \"_rev\" : \"_W-M-K6y--B\", \n      \"hello2\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10538\", \n      \"_id\" : \"products/10538\", \n      \"_rev\" : \"_W-M-K6y--_\", \n      \"hello1\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 2, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00014591217041015625 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Execute a query and extract a part of the result\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 5 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 201, \n  \"result\" : [ \n    { \n      \"_key\" : \"10526\", \n      \"_id\" : \"products/10526\", \n      \"_rev\" : \"_W-M-K5---F\", \n      \"hello5\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10520\", \n      \"_id\" : \"products/10520\", \n      \"_rev\" : \"_W-M-K5---B\", \n      \"hello3\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10529\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00014495849609375 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n#Example:\n Using the query option \"fullCount\"\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR i IN 1..1000 FILTER i > 500 LIMIT 10 RETURN i\", \n  \"count\" : true, \n  \"options\" : { \n    \"fullCount\" : true \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    501, \n    502, \n    503, \n    504, \n    505, \n    506, \n    507, \n    508, \n    509, \n    510 \n  ], \n  \"hasMore\" : false, \n  \"count\" : 10, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 0, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 500, \n      \"httpRequests\" : 0, \n      \"fullCount\" : 500, \n      \"executionTime\" : 0.0004360675811767578 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Enabling and disabling optimizer rules\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR i IN 1..10 LET a = 1 LET b = 2 FILTER a + b == 3 RETURN i\", \n  \"count\" : true, \n  \"options\" : { \n    \"maxPlans\" : 1, \n    \"optimizer\" : { \n      \"rules\" : [ \n        \"-all\", \n        \"+remove-unnecessary-filters\" \n      ] \n    } \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    1, \n    2, \n    3, \n    4, \n    5, \n    6, \n    7, \n    8, \n    9, \n    10 \n  ], \n  \"hasMore\" : false, \n  \"count\" : 10, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 0, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001780986785888672 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Execute a data-modification query and retrieve the number of\nmodified documents\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products REMOVE p IN products\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 2, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 2, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001900196075439453 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Execute a data-modification query with option *ignoreErrors*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"REMOVE 'bar' IN products OPTIONS { ignoreErrors: true }\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 1, \n      \"scannedFull\" : 0, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00012493133544921875 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Bad query - Missing body\n\n
shell> curl -X POST --dump - http://localhost:8529/_api/cursor\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"query is empty\", \n  \"code\" : 400, \n  \"errorNum\" : 1502 \n}\n
\n\n\n\n\n#Example:\n Bad query - Unknown collection\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR u IN unknowncoll LIMIT 2 RETURN u\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"AQL: collection not found: unknowncoll (while parsing)\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n#Example:\n Bad query - Execute a data-modification query that attempts to remove a non-existing\ndocument\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"REMOVE 'foo' IN products\" \n}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"AQL: document not found (while executing)\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n\n", "parameters": [ { "in": "body", @@ -3697,7 +3697,7 @@ }, "/_api/cursor/{cursor-identifier}": { "delete": { - "description": "\n\nDeletes the cursor and frees the resources associated with it.\n\nThe cursor will automatically be destroyed on the server when the client has\nretrieved all documents from it. The client can also explicitly destroy the\ncursor at any earlier time using an HTTP DELETE request. The cursor id must\nbe included as part of the URL.\n\nNote: the server will also destroy abandoned cursors automatically after a\ncertain server-controlled timeout to avoid resource leakage.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 5 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 201, \n  \"result\" : [ \n    { \n      \"_key\" : \"10564\", \n      \"_id\" : \"products/10564\", \n      \"_rev\" : \"_V82Neh6--H\", \n      \"hello5\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10555\", \n      \"_id\" : \"products/10555\", \n      \"_rev\" : \"_V82Neh6--B\", \n      \"hello2\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10567\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00012302398681640625 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/cursor/10567\n\n
\n\n\n\n\n", + "description": "\n\nDeletes the cursor and frees the resources associated with it.\n\nThe cursor will automatically be destroyed on the server when the client has\nretrieved all documents from it. The client can also explicitly destroy the\ncursor at any earlier time using an HTTP DELETE request. The cursor id must\nbe included as part of the URL.\n\nNote: the server will also destroy abandoned cursors automatically after a\ncertain server-controlled timeout to avoid resource leakage.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 5 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 201, \n  \"result\" : [ \n    { \n      \"_key\" : \"10564\", \n      \"_id\" : \"products/10564\", \n      \"_rev\" : \"_W-M-L-C--_\", \n      \"hello4\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10554\", \n      \"_id\" : \"products/10554\", \n      \"_rev\" : \"_W-M-L----_\", \n      \"hello1\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10570\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00013113021850585938 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/cursor/10570\n\n
\n\n\n\n\n", "parameters": [ { "description": "The id of the cursor\n\n", @@ -3724,7 +3724,7 @@ "x-filename": "Cursors - /arangodb33/Documentation/DocuBlocks/Rest/Cursors/JSF_post_api_cursor.md, /arangodb33/Documentation/DocuBlocks/Rest/Cursors/JSF_post_api_cursor_delete.md, /arangodb33/Documentation/DocuBlocks/Rest/Cursors/JSF_post_api_cursor_identifier.md" }, "put": { - "description": "\n\n\nIf the cursor is still alive, returns an object with the following\nattributes:\n\n- *id*: the *cursor-identifier*\n- *result*: a list of documents for the current batch\n- *hasMore*: *false* if this was the last batch\n- *count*: if present the total number of elements\n\nNote that even if *hasMore* returns *true*, the next call might\nstill return no documents. If, however, *hasMore* is *false*, then\nthe cursor is exhausted. Once the *hasMore* attribute has a value of\n*false*, the client can stop.\n\n\n\n\n#Example:\n Valid request for next batch\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 5 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/cursor/10634\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 200, \n  \"result\" : [ \n    { \n      \"_key\" : \"10628\", \n      \"_id\" : \"products/10628\", \n      \"_rev\" : \"_V82Nepm--_\", \n      \"hello4\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10631\", \n      \"_id\" : \"products/10631\", \n      \"_rev\" : \"_V82Nepm--B\", \n      \"hello5\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10634\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001289844512939453 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n#Example:\n Missing identifier\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"expecting PUT /_api/cursor/<cursor-id>\", \n  \"code\" : 400, \n  \"errorNum\" : 400 \n}\n
\n\n\n\n\n#Example:\n Unknown identifier\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/123123\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"cursor not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1600 \n}\n
\n\n\n\n\n", + "description": "\n\n\nIf the cursor is still alive, returns an object with the following\nattributes:\n\n- *id*: the *cursor-identifier*\n- *result*: a list of documents for the current batch\n- *hasMore*: *false* if this was the last batch\n- *count*: if present the total number of elements\n\nNote that even if *hasMore* returns *true*, the next call might\nstill return no documents. If, however, *hasMore* is *false*, then\nthe cursor is exhausted. Once the *hasMore* attribute has a value of\n*false*, the client can stop.\n\n\n\n\n#Example:\n Valid request for next batch\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR p IN products LIMIT 5 RETURN p\", \n  \"count\" : true, \n  \"batchSize\" : 2 \n}\nEOF\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/cursor/10637\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 200, \n  \"result\" : [ \n    { \n      \"_key\" : \"10621\", \n      \"_id\" : \"products/10621\", \n      \"_rev\" : \"_W-M-LE6--_\", \n      \"hello1\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10628\", \n      \"_id\" : \"products/10628\", \n      \"_rev\" : \"_W-M-LF---_\", \n      \"hello3\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10637\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00019502639770507812 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n#Example:\n Missing identifier\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"expecting PUT /_api/cursor/<cursor-id>\", \n  \"code\" : 400, \n  \"errorNum\" : 400 \n}\n
\n\n\n\n\n#Example:\n Unknown identifier\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/cursor/123123\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"cursor not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1600 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the cursor\n\n", @@ -3813,7 +3813,7 @@ }, "/_api/database/current": { "get": { - "description": "\n\nRetrieves information about the current database\n\nThe response is a JSON object with the following attributes:\n\n- *name*: the name of the current database\n\n- *id*: the id of the current database\n\n- *path*: the filesystem path of the current database\n\n- *isSystem*: whether or not the current database is the *_system* database\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/database/current\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 200, \n  \"result\" : { \n    \"name\" : \"_system\", \n    \"id\" : \"1\", \n    \"path\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/databases/database-1\", \n    \"isSystem\" : true \n  } \n}\n
\n\n\n\n\n", + "description": "\n\nRetrieves information about the current database\n\nThe response is a JSON object with the following attributes:\n\n- *name*: the name of the current database\n\n- *id*: the id of the current database\n\n- *path*: the filesystem path of the current database\n\n- *isSystem*: whether or not the current database is the *_system* database\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/database/current\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 200, \n  \"result\" : { \n    \"name\" : \"_system\", \n    \"id\" : \"1\", \n    \"path\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/databases/database-1\", \n    \"isSystem\" : true \n  } \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -3891,7 +3891,7 @@ }, "/_api/document/{collection}": { "delete": { - "description": "\n\nThe body of the request is an array consisting of selectors for\ndocuments. A selector can either be a string with a key or a string\nwith a document handle or an object with a *_key* attribute. This\nAPI call removes all specified documents from *collection*. If the\nselector is an object and has a *_rev* attribute, it is a\nprecondition that the actual revision of the removed document in the\ncollection is the specified one.\n\nThe body of the response is an array of the same length as the input\narray. For each input selector, the output contains a JSON object\nwith the information about the outcome of the operation. If no error\noccurred, an object is built in which the attribute *_id* contains\nthe known *document-handle* of the removed document, *_key* contains\nthe key which uniquely identifies a document in a given collection,\nand the attribute *_rev* contains the document revision. In case of\nan error, an object with the attribute *error* set to *true* and\n*errorCode* set to the error code is built.\n\nIf the *waitForSync* parameter is not specified or set to *false*,\nthen the collection's default *waitForSync* behavior is applied.\nThe *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync*\nvalue of *true*.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\nNote that if any precondition is violated or an error occurred with\nsome of the documents, the return code is still 200 or 202, but\nthe additional HTTP header *X-Arango-Error-Codes* is set, which\ncontains a map of the error codes that occurred together with their\nmultiplicities, as in: *1200:17,1205:10* which means that in 17\ncases the error 1200 \"revision conflict\" and in 10 cases the error\n1205 \"illegal document handle\" has happened.\n\n\n\n\n#Example:\n Using document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10841\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfMa--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10841\n\n{ \n  \"_id\" : \"products/10841\", \n  \"_key\" : \"10841\", \n  \"_rev\" : \"_V82NfMa--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10876\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"document not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n#Example:\n Revision conflict:\n\n
shell> curl -X DELETE --header 'If-Match: \"_V82NfK6--_\"' --dump - http://localhost:8529/_api/document/products/10822\n\nHTTP/1.1 412 Precondition Failed\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfK2--_\"\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10822\", \n  \"_key\" : \"10822\", \n  \"_rev\" : \"_V82NfK2--_\" \n}\n
\n\n\n\n", + "description": "\n\nThe body of the request is an array consisting of selectors for\ndocuments. A selector can either be a string with a key or a string\nwith a document handle or an object with a *_key* attribute. This\nAPI call removes all specified documents from *collection*. If the\nselector is an object and has a *_rev* attribute, it is a\nprecondition that the actual revision of the removed document in the\ncollection is the specified one.\n\nThe body of the response is an array of the same length as the input\narray. For each input selector, the output contains a JSON object\nwith the information about the outcome of the operation. If no error\noccurred, an object is built in which the attribute *_id* contains\nthe known *document-handle* of the removed document, *_key* contains\nthe key which uniquely identifies a document in a given collection,\nand the attribute *_rev* contains the document revision. In case of\nan error, an object with the attribute *error* set to *true* and\n*errorCode* set to the error code is built.\n\nIf the *waitForSync* parameter is not specified or set to *false*,\nthen the collection's default *waitForSync* behavior is applied.\nThe *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync*\nvalue of *true*.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\nNote that if any precondition is violated or an error occurred with\nsome of the documents, the return code is still 200 or 202, but\nthe additional HTTP header *X-Arango-Error-Codes* is set, which\ncontains a map of the error codes that occurred together with their\nmultiplicities, as in: *1200:17,1205:10* which means that in 17\ncases the error 1200 \"revision conflict\" and in 10 cases the error\n1205 \"illegal document handle\" has happened.\n\n\n\n\n#Example:\n Using document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10844\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-LqC--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10844\n\n{ \n  \"_id\" : \"products/10844\", \n  \"_key\" : \"10844\", \n  \"_rev\" : \"_W-M-LqC--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10879\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"document not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n#Example:\n Revision conflict:\n\n
shell> curl -X DELETE --header 'If-Match: \"_W-M-Loa--_\"' --dump - http://localhost:8529/_api/document/products/10825\n\nHTTP/1.1 412 Precondition Failed\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-LoW--_\"\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10825\", \n  \"_key\" : \"10825\", \n  \"_rev\" : \"_W-M-LoW--_\" \n}\n
\n\n\n\n", "parameters": [ { "description": "A JSON array of strings or documents.\n\n", @@ -4039,7 +4039,7 @@ "x-filename": "Documents - /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_CREATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_ALL.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_HEAD.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE_MULTI.md" }, "post": { - "description": "\n\nCreates a new document from the document given in the body, unless there\nis already a document with the *_key* given. If no *_key* is given, a new\nunique *_key* is generated automatically.\n\nThe body can be an array of documents, in which case all\ndocuments in the array are inserted with the same semantics as for a\nsingle document. The result body will contain a JSON array of the\nsame length as the input array, and each entry contains the result\nof the operation for the corresponding input. In case of an error\nthe entry is a document with attributes *error* set to *true* and\nerrorCode set to the error code that has happened.\n\nPossibly given *_id* and *_rev* attributes in the body are always ignored,\nthe URL part or the query parameter collection respectively counts.\n\nIf the document was created successfully, then the *Location* header\ncontains the path to the newly created document. The *ETag* header field\ncontains the revision of the document. Both are only set in the single\ndocument case.\n\nIf *silent* is not set to *true*, the body of the response contains a \nJSON object (single document case) with the following attributes:\n\n - *_id* contains the document handle of the newly created document\n - *_key* contains the document key\n - *_rev* contains the document revision\n\nIn the multi case the body is an array of such objects.\n\nIf the collection parameter *waitForSync* is *false*, then the call\nreturns as soon as the document has been accepted. It will not wait\nuntil the documents have been synced to disk.\n\nOptionally, the query parameter *waitForSync* can be used to force\nsynchronization of the document creation operation to disk even in\ncase that the *waitForSync* flag had been disabled for the entire\ncollection. Thus, the *waitForSync* query parameter can be used to\nforce synchronization of just this specific operations. To use this,\nset the *waitForSync* parameter to *true*. If the *waitForSync*\nparameter is not specified or set to *false*, then the collection's\ndefault *waitForSync* behavior is applied. The *waitForSync* query\nparameter cannot be used to disable synchronization for collections\nthat have a default *waitForSync* value of *true*.\n\nIf the query parameter *returnNew* is *true*, then, for each\ngenerated document, the complete new document is returned under\nthe *new* attribute in the result.\n\n\n\n\n#Example:\n Create a document in a collection named *products*. Note that the\nrevision identifier might or might not by equal to the auto-generated\nkey.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\netag: \"_V82Nfce--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10965\n\n{ \n  \"_id\" : \"products/10965\", \n  \"_key\" : \"10965\", \n  \"_rev\" : \"_V82Nfce--_\" \n}\n
\n\n\n\n\n#Example:\n Create a document in a collection named *products* with a collection-level\n*waitForSync* value of *false*.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfZa--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10939\n\n{ \n  \"_id\" : \"products/10939\", \n  \"_key\" : \"10939\", \n  \"_rev\" : \"_V82NfZa--_\" \n}\n
\n\n\n\n\n#Example:\n Create a document in a collection with a collection-level *waitForSync*\nvalue of *false*, but using the *waitForSync* query parameter.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products?waitForSync=true <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\netag: \"_V82Nfhy--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/11016\n\n{ \n  \"_id\" : \"products/11016\", \n  \"_key\" : \"11016\", \n  \"_rev\" : \"_V82Nfhy--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown collection name\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"collection not found: products\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n#Example:\n Illegal document\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ 1: \"World\" }\nEOF\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"VPackError error: Expecting '\\\"' or '}'\", \n  \"code\" : 400, \n  \"errorNum\" : 600 \n}\n
\n\n\n\n\n#Example:\n Insert multiple documents:\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n[{\"Hello\":\"Earth\"}, {\"Hello\":\"Venus\"}, {\"Hello\":\"Mars\"}]\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"_id\" : \"products/10980\", \n    \"_key\" : \"10980\", \n    \"_rev\" : \"_V82Nfeq--_\" \n  }, \n  { \n    \"_id\" : \"products/10984\", \n    \"_key\" : \"10984\", \n    \"_rev\" : \"_V82Nfeq--B\" \n  }, \n  { \n    \"_id\" : \"products/10986\", \n    \"_key\" : \"10986\", \n    \"_rev\" : \"_V82Nfeq--D\" \n  } \n]\n
\n\n\n\n\n#Example:\n Use of returnNew:\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products?returnNew=true <<EOF\n{\"Hello\":\"World\"}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfgC--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/11001\n\n{ \n  \"_id\" : \"products/11001\", \n  \"_key\" : \"11001\", \n  \"_rev\" : \"_V82NfgC--_\", \n  \"new\" : { \n    \"_key\" : \"11001\", \n    \"_id\" : \"products/11001\", \n    \"_rev\" : \"_V82NfgC--_\", \n    \"Hello\" : \"World\" \n  } \n}\n
\n\n\n\n\n", + "description": "\n\nCreates a new document from the document given in the body, unless there\nis already a document with the *_key* given. If no *_key* is given, a new\nunique *_key* is generated automatically.\n\nThe body can be an array of documents, in which case all\ndocuments in the array are inserted with the same semantics as for a\nsingle document. The result body will contain a JSON array of the\nsame length as the input array, and each entry contains the result\nof the operation for the corresponding input. In case of an error\nthe entry is a document with attributes *error* set to *true* and\nerrorCode set to the error code that has happened.\n\nPossibly given *_id* and *_rev* attributes in the body are always ignored,\nthe URL part or the query parameter collection respectively counts.\n\nIf the document was created successfully, then the *Location* header\ncontains the path to the newly created document. The *Etag* header field\ncontains the revision of the document. Both are only set in the single\ndocument case.\n\nIf *silent* is not set to *true*, the body of the response contains a \nJSON object (single document case) with the following attributes:\n\n - *_id* contains the document handle of the newly created document\n - *_key* contains the document key\n - *_rev* contains the document revision\n\nIn the multi case the body is an array of such objects.\n\nIf the collection parameter *waitForSync* is *false*, then the call\nreturns as soon as the document has been accepted. It will not wait\nuntil the documents have been synced to disk.\n\nOptionally, the query parameter *waitForSync* can be used to force\nsynchronization of the document creation operation to disk even in\ncase that the *waitForSync* flag had been disabled for the entire\ncollection. Thus, the *waitForSync* query parameter can be used to\nforce synchronization of just this specific operations. To use this,\nset the *waitForSync* parameter to *true*. If the *waitForSync*\nparameter is not specified or set to *false*, then the collection's\ndefault *waitForSync* behavior is applied. The *waitForSync* query\nparameter cannot be used to disable synchronization for collections\nthat have a default *waitForSync* value of *true*.\n\nIf the query parameter *returnNew* is *true*, then, for each\ngenerated document, the complete new document is returned under\nthe *new* attribute in the result.\n\n\n\n\n#Example:\n Create a document in a collection named *products*. Note that the\nrevision identifier might or might not by equal to the auto-generated\nkey.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-L6W--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10968\n\n{ \n  \"_id\" : \"products/10968\", \n  \"_key\" : \"10968\", \n  \"_rev\" : \"_W-M-L6W--_\" \n}\n
\n\n\n\n\n#Example:\n Create a document in a collection named *products* with a collection-level\n*waitForSync* value of *false*.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-L3G--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10942\n\n{ \n  \"_id\" : \"products/10942\", \n  \"_key\" : \"10942\", \n  \"_rev\" : \"_W-M-L3G--_\" \n}\n
\n\n\n\n\n#Example:\n Create a document in a collection with a collection-level *waitForSync*\nvalue of *false*, but using the *waitForSync* query parameter.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products?waitForSync=true <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-M_u--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/11019\n\n{ \n  \"_id\" : \"products/11019\", \n  \"_key\" : \"11019\", \n  \"_rev\" : \"_W-M-M_u--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown collection name\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ \"Hello\": \"World\" }\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"collection not found: products\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n#Example:\n Illegal document\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n{ 1: \"World\" }\nEOF\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"VPackError error: Expecting '\\\"' or '}'\", \n  \"code\" : 400, \n  \"errorNum\" : 600 \n}\n
\n\n\n\n\n#Example:\n Insert multiple documents:\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products <<EOF\n[{\"Hello\":\"Earth\"}, {\"Hello\":\"Venus\"}, {\"Hello\":\"Mars\"}]\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"_id\" : \"products/10983\", \n    \"_key\" : \"10983\", \n    \"_rev\" : \"_W-M-L8m--_\" \n  }, \n  { \n    \"_id\" : \"products/10987\", \n    \"_key\" : \"10987\", \n    \"_rev\" : \"_W-M-L8m--B\" \n  }, \n  { \n    \"_id\" : \"products/10989\", \n    \"_key\" : \"10989\", \n    \"_rev\" : \"_W-M-L8m--D\" \n  } \n]\n
\n\n\n\n\n#Example:\n Use of returnNew:\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/document/products?returnNew=true <<EOF\n{\"Hello\":\"World\"}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-M-C--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/11004\n\n{ \n  \"_id\" : \"products/11004\", \n  \"_key\" : \"11004\", \n  \"_rev\" : \"_W-M-M-C--_\", \n  \"new\" : { \n    \"_key\" : \"11004\", \n    \"_id\" : \"products/11004\", \n    \"_rev\" : \"_W-M-M-C--_\", \n    \"Hello\" : \"World\" \n  } \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The *collection* in which the collection is to be created.\n\n", @@ -4188,7 +4188,7 @@ }, "/_api/document/{document-handle}": { "delete": { - "description": "\n\nIf *silent* is not set to *true*, the body of the response contains a JSON \nobject with the information about the handle and the revision. The attribute \n*_id* contains the known *document-handle* of the removed document, *_key* \ncontains the key which uniquely identifies a document in a given collection, \nand the attribute *_rev* contains the document revision.\n\nIf the *waitForSync* parameter is not specified or set to *false*,\nthen the collection's default *waitForSync* behavior is applied.\nThe *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync*\nvalue of *true*.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\n\n\n\n#Example:\n Using document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10786\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfGa--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10786\n\n{ \n  \"_id\" : \"products/10786\", \n  \"_key\" : \"10786\", \n  \"_rev\" : \"_V82NfGa--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10858\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"document not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n#Example:\n Revision conflict:\n\n
shell> curl -X DELETE --header 'If-Match: \"_V82NfJW--B\"' --dump - http://localhost:8529/_api/document/products/10803\n\nHTTP/1.1 412 Precondition Failed\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfJW--_\"\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10803\", \n  \"_key\" : \"10803\", \n  \"_rev\" : \"_V82NfJW--_\" \n}\n
\n\n\n\n", + "description": "\n\nIf *silent* is not set to *true*, the body of the response contains a JSON \nobject with the information about the handle and the revision. The attribute \n*_id* contains the known *document-handle* of the removed document, *_key* \ncontains the key which uniquely identifies a document in a given collection, \nand the attribute *_rev* contains the document revision.\n\nIf the *waitForSync* parameter is not specified or set to *false*,\nthen the collection's default *waitForSync* behavior is applied.\nThe *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync*\nvalue of *true*.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\n\n\n\n#Example:\n Using document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10789\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lje--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10789\n\n{ \n  \"_id\" : \"products/10789\", \n  \"_key\" : \"10789\", \n  \"_rev\" : \"_W-M-Lje--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown document handle:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10861\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"document not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n#Example:\n Revision conflict:\n\n
shell> curl -X DELETE --header 'If-Match: \"_W-M-Lmm--B\"' --dump - http://localhost:8529/_api/document/products/10806\n\nHTTP/1.1 412 Precondition Failed\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lmm--_\"\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10806\", \n  \"_key\" : \"10806\", \n  \"_rev\" : \"_W-M-Lmm--_\" \n}\n
\n\n\n\n", "parameters": [ { "description": "Removes the document identified by *document-handle*.\n\n", @@ -4248,7 +4248,7 @@ "x-filename": "Documents - /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_CREATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_ALL.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_HEAD.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE_MULTI.md" }, "get": { - "description": "\n\nReturns the document identified by *document-handle*. The returned\ndocument contains three special attributes: *_id* containing the document\nhandle, *_key* containing key which uniquely identifies a document\nin a given collection and *_rev* containing the revision.\n\n\n\n\n#Example:\n Use a document handle:\n\n
shell> curl --dump - http://localhost:8529/_api/document/products/11031\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfkC--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"11031\", \n  \"_id\" : \"products/11031\", \n  \"_rev\" : \"_V82NfkC--_\", \n  \"hello\" : \"world\" \n}\n
\n\n\n\n\n#Example:\n Use a document handle and an etag:\n\n
shell> curl --header 'If-None-Match: \"_V82Nfqe--_\"' --dump - http://localhost:8529/_api/document/products/11107\n\n
\n\n\n\n\n#Example:\n Unknown document handle:\n\n
shell> curl --dump - http://localhost:8529/_api/document/products/unknownhandle\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"collection not found: products\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the document identified by *document-handle*. The returned\ndocument contains three special attributes: *_id* containing the document\nhandle, *_key* containing key which uniquely identifies a document\nin a given collection and *_rev* containing the revision.\n\n\n\n\n#Example:\n Use a document handle:\n\n
shell> curl --dump - http://localhost:8529/_api/document/products/11034\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-MC---_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"11034\", \n  \"_id\" : \"products/11034\", \n  \"_rev\" : \"_W-M-MC---_\", \n  \"hello\" : \"world\" \n}\n
\n\n\n\n\n#Example:\n Use a document handle and an Etag:\n\n
shell> curl --header 'If-None-Match: \"_W-M-MJG--_\"' --dump - http://localhost:8529/_api/document/products/11110\n\n
\n\n\n\n\n#Example:\n Unknown document handle:\n\n
shell> curl --dump - http://localhost:8529/_api/document/products/unknownhandle\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"collection not found: products\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The handle of the document.\n\n", @@ -4259,13 +4259,13 @@ "type": "string" }, { - "description": "If the \"If-None-Match\" header is given, then it must contain exactly one\nETag. The document is returned, if it has a different revision than the\ngiven ETag. Otherwise an *HTTP 304* is returned.\n\n", + "description": "If the \"If-None-Match\" header is given, then it must contain exactly one\nEtag. The document is returned, if it has a different revision than the\ngiven Etag. Otherwise an *HTTP 304* is returned.\n\n", "in": "header", "name": "If-None-Match", "type": "string" }, { - "description": "If the \"If-Match\" header is given, then it must contain exactly one\nETag. The document is returned, if it has the same revision as the\ngiven ETag. Otherwise a *HTTP 412* is returned.\n\n", + "description": "If the \"If-Match\" header is given, then it must contain exactly one\nEtag. The document is returned, if it has the same revision as the\ngiven Etag. Otherwise a *HTTP 412* is returned.\n\n", "in": "header", "name": "If-Match", "type": "string" @@ -4293,7 +4293,7 @@ "x-filename": "Documents - /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_CREATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_ALL.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_HEAD.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE_MULTI.md" }, "head": { - "description": "\n\nLike *GET*, but only returns the header fields and not the body. You\ncan use this call to get the current revision of a document or check if\nthe document was deleted.\n\n\n\n\n#Example:\n \n\n
shell> curl -X HEAD --dump - http://localhost:8529/_api/document/products/11091\n\n
\n\n\n\n\n\n", + "description": "\n\nLike *GET*, but only returns the header fields and not the body. You\ncan use this call to get the current revision of a document or check if\nthe document was deleted.\n\n\n\n\n#Example:\n \n\n
shell> curl -X HEAD --dump - http://localhost:8529/_api/document/products/11094\n\n
\n\n\n\n\n\n", "parameters": [ { "description": "The handle of the document.\n\n", @@ -4304,13 +4304,13 @@ "type": "string" }, { - "description": "If the \"If-None-Match\" header is given, then it must contain exactly one\nETag. If the current document revision is not equal to the specified ETag,\nan *HTTP 200* response is returned. If the current document revision is\nidentical to the specified ETag, then an *HTTP 304* is returned.\n\n", + "description": "If the \"If-None-Match\" header is given, then it must contain exactly one\nEtag. If the current document revision is not equal to the specified Etag,\nan *HTTP 200* response is returned. If the current document revision is\nidentical to the specified Etag, then an *HTTP 304* is returned.\n\n", "in": "header", "name": "If-None-Match", "type": "string" }, { - "description": "If the \"If-Match\" header is given, then it must contain exactly one\nETag. The document is returned, if it has the same revision as the\ngiven ETag. Otherwise a *HTTP 412* is returned.\n\n", + "description": "If the \"If-Match\" header is given, then it must contain exactly one\nEtag. The document is returned, if it has the same revision as the\ngiven Etag. Otherwise a *HTTP 412* is returned.\n\n", "in": "header", "name": "If-Match", "type": "string" @@ -4327,7 +4327,7 @@ "description": "is returned if the document or collection was not found\n\n" }, "412": { - "description": "is returned if an \"If-Match\" header is given and the found\ndocument has a different version. The response will also contain the found\ndocument's current revision in the *ETag* header.\n\n" + "description": "is returned if an \"If-Match\" header is given and the found\ndocument has a different version. The response will also contain the found\ndocument's current revision in the *Etag* header.\n\n" } }, "summary": "Read document header", @@ -4338,7 +4338,7 @@ "x-filename": "Documents - /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_CREATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_ALL.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_HEAD.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE_MULTI.md" }, "patch": { - "description": "\n\nPartially updates the document identified by *document-handle*.\nThe body of the request must contain a JSON document with the\nattributes to patch (the patch document). All attributes from the\npatch document will be added to the existing document if they do not\nyet exist, and overwritten in the existing document if they do exist\nthere.\n\nSetting an attribute value to *null* in the patch document will cause a\nvalue of *null* to be saved for the attribute by default.\n\nIf the *If-Match* header is specified and the revision of the\ndocument in the database is unequal to the given revision, the\nprecondition is violated.\n\nIf *If-Match* is not given and *ignoreRevs* is *false* and there\nis a *_rev* attribute in the body and its value does not match\nthe revision of the document in the database, the precondition is\nviolated.\n\nIf a precondition is violated, an *HTTP 412* is returned.\n\nIf the document exists and can be updated, then an *HTTP 201* or\nan *HTTP 202* is returned (depending on *waitForSync*, see below),\nthe *ETag* header field contains the new revision of the document\nand the *Location* header contains a complete URL under which the\ndocument can be queried.\n\nOptionally, the query parameter *waitForSync* can be used to force\nsynchronization of the updated document operation to disk even in case\nthat the *waitForSync* flag had been disabled for the entire collection.\nThus, the *waitForSync* query parameter can be used to force synchronization\nof just specific operations. To use this, set the *waitForSync* parameter\nto *true*. If the *waitForSync* parameter is not specified or set to\n*false*, then the collection's default *waitForSync* behavior is\napplied. The *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync* value\nof *true*.\n\nIf *silent* is not set to *true*, the body of the response contains a JSON \nobject with the information about the handle and the revision. The attribute \n*_id* contains the known *document-handle* of the updated document, *_key* \ncontains the key which uniquely identifies a document in a given collection, \nand the attribute *_rev* contains the new document revision.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\nIf the query parameter *returnNew* is *true*, then\nthe complete new document is returned under\nthe *new* attribute in the result.\n\nIf the document does not exist, then a *HTTP 404* is returned and the\nbody of the response contains an error document.\n\n\n\n\n#Example:\n Patches an existing document with new content.\n\n
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10894 <<EOF\n{ \n  \"hello\" : \"world\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfVu--B\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10894\n\n{ \n  \"_id\" : \"products/10894\", \n  \"_key\" : \"10894\", \n  \"_rev\" : \"_V82NfVu--B\", \n  \"_oldRev\" : \"_V82NfVu--_\" \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10894 <<EOF\n{ \n  \"numbers\" : { \n    \"one\" : 1, \n    \"two\" : 2, \n    \"three\" : 3, \n    \"empty\" : null \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfVy--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10894\n\n{ \n  \"_id\" : \"products/10894\", \n  \"_key\" : \"10894\", \n  \"_rev\" : \"_V82NfVy--_\", \n  \"_oldRev\" : \"_V82NfVu--B\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10894\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfVy--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10894\", \n  \"_id\" : \"products/10894\", \n  \"_rev\" : \"_V82NfVy--_\", \n  \"one\" : \"world\", \n  \"hello\" : \"world\", \n  \"numbers\" : { \n    \"one\" : 1, \n    \"two\" : 2, \n    \"three\" : 3, \n    \"empty\" : null \n  } \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10894?keepNull=false <<EOF\n{ \n  \"hello\" : null, \n  \"numbers\" : { \n    \"four\" : 4 \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfV6--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10894\n\n{ \n  \"_id\" : \"products/10894\", \n  \"_key\" : \"10894\", \n  \"_rev\" : \"_V82NfV6--_\", \n  \"_oldRev\" : \"_V82NfVy--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10894\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfV6--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10894\", \n  \"_id\" : \"products/10894\", \n  \"_rev\" : \"_V82NfV6--_\", \n  \"one\" : \"world\", \n  \"numbers\" : { \n    \"empty\" : null, \n    \"one\" : 1, \n    \"three\" : 3, \n    \"two\" : 2, \n    \"four\" : 4 \n  } \n}\n
\n\n\n\n\n#Example:\n Merging attributes of an object using `mergeObjects`:\n\n
shell> curl --dump - http://localhost:8529/_api/document/products/10917\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfXi--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10917\", \n  \"_id\" : \"products/10917\", \n  \"_rev\" : \"_V82NfXi--_\", \n  \"inhabitants\" : { \n    \"china\" : 1366980000, \n    \"india\" : 1263590000, \n    \"usa\" : 319220000 \n  } \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10917?mergeObjects=true <<EOF\n{ \n  \"inhabitants\" : { \n    \"indonesia\" : 252164800, \n    \"brazil\" : 203553000 \n  } \n}\nEOF\n\nshell> curl --dump - http://localhost:8529/_api/document/products/10917\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfXq--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10917\", \n  \"_id\" : \"products/10917\", \n  \"_rev\" : \"_V82NfXq--_\", \n  \"inhabitants\" : { \n    \"china\" : 1366980000, \n    \"india\" : 1263590000, \n    \"usa\" : 319220000, \n    \"indonesia\" : 252164800, \n    \"brazil\" : 203553000 \n  } \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10917?mergeObjects=false <<EOF\n{ \n  \"inhabitants\" : { \n    \"pakistan\" : 188346000 \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfXy--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10917\n\n{ \n  \"_id\" : \"products/10917\", \n  \"_key\" : \"10917\", \n  \"_rev\" : \"_V82NfXy--_\", \n  \"_oldRev\" : \"_V82NfXq--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10917\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfXy--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10917\", \n  \"_id\" : \"products/10917\", \n  \"_rev\" : \"_V82NfXy--_\", \n  \"inhabitants\" : { \n    \"pakistan\" : 188346000 \n  } \n}\n
\n\n\n\n\n", + "description": "\n\nPartially updates the document identified by *document-handle*.\nThe body of the request must contain a JSON document with the\nattributes to patch (the patch document). All attributes from the\npatch document will be added to the existing document if they do not\nyet exist, and overwritten in the existing document if they do exist\nthere.\n\nSetting an attribute value to *null* in the patch document will cause a\nvalue of *null* to be saved for the attribute by default.\n\nIf the *If-Match* header is specified and the revision of the\ndocument in the database is unequal to the given revision, the\nprecondition is violated.\n\nIf *If-Match* is not given and *ignoreRevs* is *false* and there\nis a *_rev* attribute in the body and its value does not match\nthe revision of the document in the database, the precondition is\nviolated.\n\nIf a precondition is violated, an *HTTP 412* is returned.\n\nIf the document exists and can be updated, then an *HTTP 201* or\nan *HTTP 202* is returned (depending on *waitForSync*, see below),\nthe *Etag* header field contains the new revision of the document\n(in double quotes) and the *Location* header contains a complete URL\nunder which the document can be queried.\n\nOptionally, the query parameter *waitForSync* can be used to force\nsynchronization of the updated document operation to disk even in case\nthat the *waitForSync* flag had been disabled for the entire collection.\nThus, the *waitForSync* query parameter can be used to force synchronization\nof just specific operations. To use this, set the *waitForSync* parameter\nto *true*. If the *waitForSync* parameter is not specified or set to\n*false*, then the collection's default *waitForSync* behavior is\napplied. The *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync* value\nof *true*.\n\nIf *silent* is not set to *true*, the body of the response contains a JSON \nobject with the information about the handle and the revision. The attribute \n*_id* contains the known *document-handle* of the updated document, *_key* \ncontains the key which uniquely identifies a document in a given collection, \nand the attribute *_rev* contains the new document revision.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\nIf the query parameter *returnNew* is *true*, then\nthe complete new document is returned under\nthe *new* attribute in the result.\n\nIf the document does not exist, then a *HTTP 404* is returned and the\nbody of the response contains an error document.\n\n\n\n\n#Example:\n Patches an existing document with new content.\n\n
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10897 <<EOF\n{ \n  \"hello\" : \"world\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lze--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10897\n\n{ \n  \"_id\" : \"products/10897\", \n  \"_key\" : \"10897\", \n  \"_rev\" : \"_W-M-Lze--_\", \n  \"_oldRev\" : \"_W-M-Lza--_\" \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10897 <<EOF\n{ \n  \"numbers\" : { \n    \"one\" : 1, \n    \"two\" : 2, \n    \"three\" : 3, \n    \"empty\" : null \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lzi--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10897\n\n{ \n  \"_id\" : \"products/10897\", \n  \"_key\" : \"10897\", \n  \"_rev\" : \"_W-M-Lzi--_\", \n  \"_oldRev\" : \"_W-M-Lze--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10897\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lzi--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10897\", \n  \"_id\" : \"products/10897\", \n  \"_rev\" : \"_W-M-Lzi--_\", \n  \"one\" : \"world\", \n  \"hello\" : \"world\", \n  \"numbers\" : { \n    \"one\" : 1, \n    \"two\" : 2, \n    \"three\" : 3, \n    \"empty\" : null \n  } \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10897?keepNull=false <<EOF\n{ \n  \"hello\" : null, \n  \"numbers\" : { \n    \"four\" : 4 \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lzq--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10897\n\n{ \n  \"_id\" : \"products/10897\", \n  \"_key\" : \"10897\", \n  \"_rev\" : \"_W-M-Lzq--_\", \n  \"_oldRev\" : \"_W-M-Lzi--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10897\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-Lzq--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10897\", \n  \"_id\" : \"products/10897\", \n  \"_rev\" : \"_W-M-Lzq--_\", \n  \"one\" : \"world\", \n  \"numbers\" : { \n    \"empty\" : null, \n    \"one\" : 1, \n    \"three\" : 3, \n    \"two\" : 2, \n    \"four\" : 4 \n  } \n}\n
\n\n\n\n\n#Example:\n Merging attributes of an object using `mergeObjects`:\n\n
shell> curl --dump - http://localhost:8529/_api/document/products/10920\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-L1O--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10920\", \n  \"_id\" : \"products/10920\", \n  \"_rev\" : \"_W-M-L1O--_\", \n  \"inhabitants\" : { \n    \"china\" : 1366980000, \n    \"india\" : 1263590000, \n    \"usa\" : 319220000 \n  } \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10920?mergeObjects=true <<EOF\n{ \n  \"inhabitants\" : { \n    \"indonesia\" : 252164800, \n    \"brazil\" : 203553000 \n  } \n}\nEOF\n\nshell> curl --dump - http://localhost:8529/_api/document/products/10920\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-L1S--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10920\", \n  \"_id\" : \"products/10920\", \n  \"_rev\" : \"_W-M-L1S--_\", \n  \"inhabitants\" : { \n    \"china\" : 1366980000, \n    \"india\" : 1263590000, \n    \"usa\" : 319220000, \n    \"indonesia\" : 252164800, \n    \"brazil\" : 203553000 \n  } \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10920?mergeObjects=false <<EOF\n{ \n  \"inhabitants\" : { \n    \"pakistan\" : 188346000 \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-L1m--_\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/10920\n\n{ \n  \"_id\" : \"products/10920\", \n  \"_key\" : \"10920\", \n  \"_rev\" : \"_W-M-L1m--_\", \n  \"_oldRev\" : \"_W-M-L1S--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10920\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-L1m--_\"\nx-content-type-options: nosniff\n\n{ \n  \"_key\" : \"10920\", \n  \"_id\" : \"products/10920\", \n  \"_rev\" : \"_W-M-L1m--_\", \n  \"inhabitants\" : { \n    \"pakistan\" : 188346000 \n  } \n}\n
\n\n\n\n\n", "parameters": [ { "description": "A JSON representation of a document update as an object.\n\n", @@ -4440,7 +4440,7 @@ "x-filename": "Documents - /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_CREATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_ALL.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_HEAD.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_REPLACE_MULTI.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE.md, /arangodb33/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE_MULTI.md" }, "put": { - "description": "\n\nReplaces the document with handle with the one in\nthe body, provided there is such a document and no precondition is\nviolated.\n\nIf the *If-Match* header is specified and the revision of the\ndocument in the database is unequal to the given revision, the\nprecondition is violated.\n\nIf *If-Match* is not given and *ignoreRevs* is *false* and there\nis a *_rev* attribute in the body and its value does not match\nthe revision of the document in the database, the precondition is\nviolated.\n\nIf a precondition is violated, an *HTTP 412* is returned.\n\nIf the document exists and can be updated, then an *HTTP 201* or\nan *HTTP 202* is returned (depending on *waitForSync*, see below),\nthe *ETag* header field contains the new revision of the document\nand the *Location* header contains a complete URL under which the\ndocument can be queried.\n\nOptionally, the query parameter *waitForSync* can be used to force\nsynchronization of the document replacement operation to disk even in case\nthat the *waitForSync* flag had been disabled for the entire collection.\nThus, the *waitForSync* query parameter can be used to force synchronization\nof just specific operations. To use this, set the *waitForSync* parameter\nto *true*. If the *waitForSync* parameter is not specified or set to\n*false*, then the collection's default *waitForSync* behavior is\napplied. The *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync* value\nof *true*.\n\nIf *silent* is not set to *true*, the body of the response contains a JSON \nobject with the information about the handle and the revision. The attribute \n*_id* contains the known *document-handle* of the updated document, *_key* \ncontains the key which uniquely identifies a document in a given collection, \nand the attribute *_rev* contains the new document revision.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\nIf the query parameter *returnNew* is *true*, then\nthe complete new document is returned under\nthe *new* attribute in the result.\n\nIf the document does not exist, then a *HTTP 404* is returned and the\nbody of the response contains an error document.\n\n\n\n\n#Example:\n Using a document handle\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11123 <<EOF\n{\"Hello\": \"you\"}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_V82Nfse--B\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/11123\n\n{ \n  \"_id\" : \"products/11123\", \n  \"_key\" : \"11123\", \n  \"_rev\" : \"_V82Nfse--B\", \n  \"_oldRev\" : \"_V82Nfse--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown document handle\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11159 <<EOF\n{}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"document not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n#Example:\n Produce a revision conflict\n\n
shell> curl -X PUT --header 'If-Match: \"_V82NfuC--B\"' --data-binary @- --dump - http://localhost:8529/_api/document/products/11140 <<EOF\n{\"other\":\"content\"}\nEOF\n\nHTTP/1.1 412 Precondition Failed\ncontent-type: application/json; charset=utf-8\netag: \"_V82NfuC--_\"\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/11140\", \n  \"_key\" : \"11140\", \n  \"_rev\" : \"_V82NfuC--_\" \n}\n
\n\n\n\n\n", + "description": "\n\nReplaces the document with handle with the one in\nthe body, provided there is such a document and no precondition is\nviolated.\n\nIf the *If-Match* header is specified and the revision of the\ndocument in the database is unequal to the given revision, the\nprecondition is violated.\n\nIf *If-Match* is not given and *ignoreRevs* is *false* and there\nis a *_rev* attribute in the body and its value does not match\nthe revision of the document in the database, the precondition is\nviolated.\n\nIf a precondition is violated, an *HTTP 412* is returned.\n\nIf the document exists and can be updated, then an *HTTP 201* or\nan *HTTP 202* is returned (depending on *waitForSync*, see below),\nthe *Etag* header field contains the new revision of the document\nand the *Location* header contains a complete URL under which the\ndocument can be queried.\n\nOptionally, the query parameter *waitForSync* can be used to force\nsynchronization of the document replacement operation to disk even in case\nthat the *waitForSync* flag had been disabled for the entire collection.\nThus, the *waitForSync* query parameter can be used to force synchronization\nof just specific operations. To use this, set the *waitForSync* parameter\nto *true*. If the *waitForSync* parameter is not specified or set to\n*false*, then the collection's default *waitForSync* behavior is\napplied. The *waitForSync* query parameter cannot be used to disable\nsynchronization for collections that have a default *waitForSync* value\nof *true*.\n\nIf *silent* is not set to *true*, the body of the response contains a JSON \nobject with the information about the handle and the revision. The attribute \n*_id* contains the known *document-handle* of the updated document, *_key* \ncontains the key which uniquely identifies a document in a given collection, \nand the attribute *_rev* contains the new document revision.\n\nIf the query parameter *returnOld* is *true*, then\nthe complete previous revision of the document\nis returned under the *old* attribute in the result.\n\nIf the query parameter *returnNew* is *true*, then\nthe complete new document is returned under\nthe *new* attribute in the result.\n\nIf the document does not exist, then a *HTTP 404* is returned and the\nbody of the response contains an error document.\n\n\n\n\n#Example:\n Using a document handle\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11126 <<EOF\n{\"Hello\": \"you\"}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-MKi--B\"\nx-content-type-options: nosniff\nlocation: /_db/_system/_api/document/products/11126\n\n{ \n  \"_id\" : \"products/11126\", \n  \"_key\" : \"11126\", \n  \"_rev\" : \"_W-M-MKi--B\", \n  \"_oldRev\" : \"_W-M-MKi--_\" \n}\n
\n\n\n\n\n#Example:\n Unknown document handle\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/11162 <<EOF\n{}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"document not found\", \n  \"code\" : 404, \n  \"errorNum\" : 1202 \n}\n
\n\n\n\n\n#Example:\n Produce a revision conflict\n\n
shell> curl -X PUT --header 'If-Match: \"_W-M-MM---B\"' --data-binary @- --dump - http://localhost:8529/_api/document/products/11143 <<EOF\n{\"other\":\"content\"}\nEOF\n\nHTTP/1.1 412 Precondition Failed\ncontent-type: application/json; charset=utf-8\netag: \"_W-M-MM---_\"\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/11143\", \n  \"_key\" : \"11143\", \n  \"_rev\" : \"_W-M-MM---_\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "A JSON representation of a single document.\n\n", @@ -4530,7 +4530,7 @@ }, "/_api/edges/{collection-id}": { "get": { - "description": "\n\nReturns an array of edges starting or ending in the vertex identified by\n*vertex-handle*.\n\n\n\n\n#Example:\n Any direction\n\n
shell> curl --dump - http://localhost:8529/_api/edges/edges?vertex=vertices/1\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"edges\" : [ \n    { \n      \"_key\" : \"6\", \n      \"_id\" : \"edges/6\", \n      \"_from\" : \"vertices/2\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_V82NfyW--_\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_V82NfyW--B\", \n      \"$label\" : \"v4 -> v1\" \n    }, \n    { \n      \"_key\" : \"5\", \n      \"_id\" : \"edges/5\", \n      \"_from\" : \"vertices/1\", \n      \"_to\" : \"vertices/3\", \n      \"_rev\" : \"_V82NfyS--H\", \n      \"$label\" : \"v1 -> v3\" \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200, \n  \"stats\" : { \n    \"scannedIndex\" : 3, \n    \"filtered\" : 0 \n  } \n}\n
\n\n\n\n\n#Example:\n In edges\n\n
shell> curl --dump - http://localhost:8529/_api/edges/edges?vertex=vertices/1&direction=in\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"edges\" : [ \n    { \n      \"_key\" : \"6\", \n      \"_id\" : \"edges/6\", \n      \"_from\" : \"vertices/2\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_V82Nf1i--F\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_V82Nf1i--H\", \n      \"$label\" : \"v4 -> v1\" \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200, \n  \"stats\" : { \n    \"scannedIndex\" : 2, \n    \"filtered\" : 0 \n  } \n}\n
\n\n\n\n\n#Example:\n Out edges\n\n
shell> curl --dump - http://localhost:8529/_api/edges/edges?vertex=vertices/1&direction=out\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"edges\" : [ \n    { \n      \"_key\" : \"5\", \n      \"_id\" : \"edges/5\", \n      \"_from\" : \"vertices/1\", \n      \"_to\" : \"vertices/3\", \n      \"_rev\" : \"_V82Nf5W--D\", \n      \"$label\" : \"v1 -> v3\" \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200, \n  \"stats\" : { \n    \"scannedIndex\" : 1, \n    \"filtered\" : 0 \n  } \n}\n
\n\n\n\n\n", + "description": "\n\nReturns an array of edges starting or ending in the vertex identified by\n*vertex-handle*.\n\n\n\n\n#Example:\n Any direction\n\n
shell> curl --dump - http://localhost:8529/_api/edges/edges?vertex=vertices/1\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"edges\" : [ \n    { \n      \"_key\" : \"6\", \n      \"_id\" : \"edges/6\", \n      \"_from\" : \"vertices/2\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_W-M-MQa--H\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_W-M-MQe--_\", \n      \"$label\" : \"v4 -> v1\" \n    }, \n    { \n      \"_key\" : \"5\", \n      \"_id\" : \"edges/5\", \n      \"_from\" : \"vertices/1\", \n      \"_to\" : \"vertices/3\", \n      \"_rev\" : \"_W-M-MQa--F\", \n      \"$label\" : \"v1 -> v3\" \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200, \n  \"stats\" : { \n    \"scannedIndex\" : 3, \n    \"filtered\" : 0 \n  } \n}\n
\n\n\n\n\n#Example:\n In edges\n\n
shell> curl --dump - http://localhost:8529/_api/edges/edges?vertex=vertices/1&direction=in\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"edges\" : [ \n    { \n      \"_key\" : \"6\", \n      \"_id\" : \"edges/6\", \n      \"_from\" : \"vertices/2\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_W-M-MTO--H\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_W-M-MTS--_\", \n      \"$label\" : \"v4 -> v1\" \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200, \n  \"stats\" : { \n    \"scannedIndex\" : 2, \n    \"filtered\" : 0 \n  } \n}\n
\n\n\n\n\n#Example:\n Out edges\n\n
shell> curl --dump - http://localhost:8529/_api/edges/edges?vertex=vertices/1&direction=out\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"edges\" : [ \n    { \n      \"_key\" : \"5\", \n      \"_id\" : \"edges/5\", \n      \"_from\" : \"vertices/1\", \n      \"_to\" : \"vertices/3\", \n      \"_rev\" : \"_W-M-MWO--H\", \n      \"$label\" : \"v1 -> v3\" \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200, \n  \"stats\" : { \n    \"scannedIndex\" : 1, \n    \"filtered\" : 0 \n  } \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The id of the collection.\n\n", @@ -4576,7 +4576,7 @@ }, "/_api/endpoint": { "get": { - "description": "\n\n*THIS API IS DEPRECATED*\n\nReturns an array of all configured endpoints the server is listening on.\n\nThe result is a JSON array of JSON objects, each with `\"entrypoint\"' as\nthe only attribute, and with the value being a string describing the\nendpoint.\n\n**Note**: retrieving the array of all endpoints is allowed in the system database\nonly. Calling this action in any other database will make the server return\nan error.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/endpoint\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"endpoint\" : \"http://127.0.0.1:31737\" \n  } \n]\n
\n\n\n\n\n", + "description": "\n\n*THIS API IS DEPRECATED*\n\nReturns an array of all configured endpoints the server is listening on.\n\nThe result is a JSON array of JSON objects, each with `\"entrypoint\"' as\nthe only attribute, and with the value being a string describing the\nendpoint.\n\n**Note**: retrieving the array of all endpoints is allowed in the system database\nonly. Calling this action in any other database will make the server return\nan error.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/endpoint\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"endpoint\" : \"http://127.0.0.1:6026\" \n  } \n]\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -4623,7 +4623,7 @@ }, "/_api/explain": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **query**: the query which you want explained; If the query references any bind variables,\n these must also be passed in the attribute *bindVars*. Additional\n options for the query can be passed in the *options* attribute.\n - **options**:\n - **optimizer.rules** (string): an array of to-be-included or to-be-excluded optimizer rules\n can be put into this attribute, telling the optimizer to include or exclude\n specific rules. To disable a rule, prefix its name with a `-`, to enable a rule, prefix it\n with a `+`. There is also a pseudo-rule `all`, which will match all optimizer rules.\n - **maxNumberOfPlans**: an optional maximum number of plans that the optimizer is \n allowed to generate. Setting this attribute to a low value allows to put a\n cap on the amount of work the optimizer does.\n - **allPlans**: if set to *true*, all possible execution plans will be returned.\n The default is *false*, meaning only the optimal plan will be returned.\n - **bindVars** (object): key/value pairs representing the bind parameters.\n\n\n\n\n\nTo explain how an AQL query would be executed on the server, the query string\ncan be sent to the server via an HTTP POST request. The server will then validate\nthe query and create an execution plan for it. The execution plan will be\nreturned, but the query will not be executed.\n\nThe execution plan that is returned by the server can be used to estimate the\nprobable performance of the query. Though the actual performance will depend\non many different factors, the execution plan normally can provide some rough\nestimates on the amount of work the server needs to do in order to actually run \nthe query.\n\nBy default, the explain operation will return the optimal plan as chosen by\nthe query optimizer The optimal plan is the plan with the lowest total estimated\ncost. The plan will be returned in the attribute *plan* of the response object.\nIf the option *allPlans* is specified in the request, the result will contain \nall plans created by the optimizer. The plans will then be returned in the \nattribute *plans*.\n\nThe result will also contain an attribute *warnings*, which is an array of \nwarnings that occurred during optimization or execution plan creation. Additionally,\na *stats* attribute is contained in the result with some optimizer statistics.\nIf *allPlans* is set to *false*, the result will contain an attribute *cacheable* \nthat states whether the query results can be cached on the server if the query\nresult cache were used. The *cacheable* attribute is not present when *allPlans*\nis set to *true*.\n\nEach plan in the result is a JSON object with the following attributes:\n- *nodes*: the array of execution nodes of the plan. The array of available node types\n can be found [here](../../AQL/ExecutionAndPerformance/Optimizer.html)\n\n- *estimatedCost*: the total estimated cost for the plan. If there are multiple\n plans, the optimizer will choose the plan with the lowest total cost.\n\n- *collections*: an array of collections used in the query\n\n- *rules*: an array of rules the optimizer applied. An overview of the\n available rules can be found [here](../../AQL/ExecutionAndPerformance/Optimizer.html)\n\n- *variables*: array of variables used in the query (note: this may contain\n internal variables created by the optimizer)\n\n\n\n\n#Example:\n Valid query\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products RETURN p\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"EnumerateCollectionNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 2, \n        \"estimatedCost\" : 12, \n        \"estimatedNrItems\" : 10, \n        \"database\" : \"_system\", \n        \"collection\" : \"products\", \n        \"random\" : false, \n        \"satellite\" : false, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          2 \n        ], \n        \"id\" : 3, \n        \"estimatedCost\" : 22, \n        \"estimatedNrItems\" : 10, \n        \"inVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      } \n    ], \n    \"rules\" : [ ], \n    \"collections\" : [ \n      { \n        \"name\" : \"products\", \n        \"type\" : \"read\" \n      } \n    ], \n    \"variables\" : [ \n      { \n        \"id\" : 0, \n        \"name\" : \"p\" \n      } \n    ], \n    \"estimatedCost\" : 22, \n    \"estimatedNrItems\" : 10, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : true, \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n A plan with some optimizer rules applied\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products LET a = p.id FILTER a == 4 LET name = p.name SORT p.id LIMIT 1 RETURN name\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"IndexNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 11, \n        \"estimatedCost\" : 4.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"database\" : \"_system\", \n        \"collection\" : \"products\", \n        \"satellite\" : false, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        }, \n        \"indexes\" : [ \n          { \n            \"id\" : \"11332\", \n            \"type\" : \"skiplist\", \n            \"fields\" : [ \n              \"id\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"condition\" : { \n          \"type\" : \"n-ary or\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"n-ary and\", \n              \"subNodes\" : [ \n                { \n                  \"type\" : \"compare ==\", \n                  \"subNodes\" : [ \n                    { \n                      \"type\" : \"attribute access\", \n                      \"name\" : \"id\", \n                      \"subNodes\" : [ \n                        { \n                          \"type\" : \"reference\", \n                          \"name\" : \"p\", \n                          \"id\" : 0 \n                        } \n                      ] \n                    }, \n                    { \n                      \"type\" : \"value\", \n                      \"value\" : 4 \n                    } \n                  ] \n                } \n              ] \n            } \n          ] \n        }, \n        \"reverse\" : false \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          11 \n        ], \n        \"id\" : 4, \n        \"estimatedCost\" : 5.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"compare ==\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"attribute access\", \n              \"name\" : \"id\", \n              \"subNodes\" : [ \n                { \n                  \"type\" : \"reference\", \n                  \"name\" : \"p\", \n                  \"id\" : 0 \n                } \n              ] \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 4 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"simple\" \n      }, \n      { \n        \"type\" : \"FilterNode\", \n        \"dependencies\" : [ \n          4 \n        ], \n        \"id\" : 5, \n        \"estimatedCost\" : 6.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"inVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        } \n      }, \n      { \n        \"type\" : \"LimitNode\", \n        \"dependencies\" : [ \n          5 \n        ], \n        \"id\" : 9, \n        \"estimatedCost\" : 7.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"offset\" : 0, \n        \"limit\" : 1, \n        \"fullCount\" : false \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          9 \n        ], \n        \"id\" : 6, \n        \"estimatedCost\" : 8.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"attribute access\", \n          \"name\" : \"name\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"reference\", \n              \"name\" : \"p\", \n              \"id\" : 0 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"name\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"attribute\" \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          6 \n        ], \n        \"id\" : 10, \n        \"estimatedCost\" : 9.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"inVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"name\" \n        } \n      } \n    ], \n    \"rules\" : [ \n      \"move-calculations-up\", \n      \"remove-redundant-calculations\", \n      \"remove-unnecessary-calculations\", \n      \"move-calculations-up-2\", \n      \"use-indexes\", \n      \"use-index-for-sort\", \n      \"remove-unnecessary-calculations-2\", \n      \"move-calculations-down\" \n    ], \n    \"collections\" : [ \n      { \n        \"name\" : \"products\", \n        \"type\" : \"read\" \n      } \n    ], \n    \"variables\" : [ \n      { \n        \"id\" : 6, \n        \"name\" : \"5\" \n      }, \n      { \n        \"id\" : 4, \n        \"name\" : \"3\" \n      }, \n      { \n        \"id\" : 2, \n        \"name\" : \"name\" \n      }, \n      { \n        \"id\" : 1, \n        \"name\" : \"a\" \n      }, \n      { \n        \"id\" : 0, \n        \"name\" : \"p\" \n      } \n    ], \n    \"estimatedCost\" : 9.321928094887362, \n    \"estimatedNrItems\" : 1, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : true, \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using some options\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products LET a = p.id FILTER a == 4 LET name = p.name SORT p.id LIMIT 1 RETURN name\", \n  \"options\" : { \n    \"maxNumberOfPlans\" : 2, \n    \"allPlans\" : true, \n    \"optimizer\" : { \n      \"rules\" : [ \n        \"-all\", \n        \"+use-index-for-sort\", \n        \"+use-index-range\" \n      ] \n    } \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plans\" : [ \n    { \n      \"nodes\" : [ \n        { \n          \"type\" : \"SingletonNode\", \n          \"dependencies\" : [ ], \n          \"id\" : 1, \n          \"estimatedCost\" : 1, \n          \"estimatedNrItems\" : 1 \n        }, \n        { \n          \"type\" : \"IndexNode\", \n          \"dependencies\" : [ \n            1 \n          ], \n          \"id\" : 11, \n          \"estimatedCost\" : 11, \n          \"estimatedNrItems\" : 10, \n          \"database\" : \"_system\", \n          \"collection\" : \"products\", \n          \"satellite\" : false, \n          \"outVariable\" : { \n            \"id\" : 0, \n            \"name\" : \"p\" \n          }, \n          \"indexes\" : [ \n            { \n              \"id\" : \"11378\", \n              \"type\" : \"skiplist\", \n              \"fields\" : [ \n                \"id\" \n              ], \n              \"unique\" : false, \n              \"sparse\" : false, \n              \"deduplicate\" : true \n            } \n          ], \n          \"condition\" : { \n          }, \n          \"reverse\" : false \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            11 \n          ], \n          \"id\" : 3, \n          \"estimatedCost\" : 21, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"attribute access\", \n            \"name\" : \"id\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"p\", \n                \"id\" : 0 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 1, \n            \"name\" : \"a\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"attribute\" \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            3 \n          ], \n          \"id\" : 4, \n          \"estimatedCost\" : 31, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"compare ==\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"a\", \n                \"id\" : 1 \n              }, \n              { \n                \"type\" : \"value\", \n                \"value\" : 4 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 4, \n            \"name\" : \"3\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"simple\" \n        }, \n        { \n          \"type\" : \"FilterNode\", \n          \"dependencies\" : [ \n            4 \n          ], \n          \"id\" : 5, \n          \"estimatedCost\" : 41, \n          \"estimatedNrItems\" : 10, \n          \"inVariable\" : { \n            \"id\" : 4, \n            \"name\" : \"3\" \n          } \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            5 \n          ], \n          \"id\" : 6, \n          \"estimatedCost\" : 51, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"attribute access\", \n            \"name\" : \"name\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"p\", \n                \"id\" : 0 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 2, \n            \"name\" : \"name\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"attribute\" \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            6 \n          ], \n          \"id\" : 7, \n          \"estimatedCost\" : 61, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"attribute access\", \n            \"name\" : \"id\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"p\", \n                \"id\" : 0 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 6, \n            \"name\" : \"5\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"attribute\" \n        }, \n        { \n          \"type\" : \"LimitNode\", \n          \"dependencies\" : [ \n            7 \n          ], \n          \"id\" : 9, \n          \"estimatedCost\" : 62, \n          \"estimatedNrItems\" : 1, \n          \"offset\" : 0, \n          \"limit\" : 1, \n          \"fullCount\" : false \n        }, \n        { \n          \"type\" : \"ReturnNode\", \n          \"dependencies\" : [ \n            9 \n          ], \n          \"id\" : 10, \n          \"estimatedCost\" : 63, \n          \"estimatedNrItems\" : 1, \n          \"inVariable\" : { \n            \"id\" : 2, \n            \"name\" : \"name\" \n          } \n        } \n      ], \n      \"rules\" : [ \n        \"use-index-for-sort\" \n      ], \n      \"collections\" : [ \n        { \n          \"name\" : \"products\", \n          \"type\" : \"read\" \n        } \n      ], \n      \"variables\" : [ \n        { \n          \"id\" : 6, \n          \"name\" : \"5\" \n        }, \n        { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        }, \n        { \n          \"id\" : 2, \n          \"name\" : \"name\" \n        }, \n        { \n          \"id\" : 1, \n          \"name\" : \"a\" \n        }, \n        { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      ], \n      \"estimatedCost\" : 63, \n      \"estimatedNrItems\" : 1, \n      \"initialize\" : true \n    } \n  ], \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 1, \n    \"rulesSkipped\" : 28, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Returning all plans\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products FILTER p.id == 25 RETURN p\", \n  \"options\" : { \n    \"allPlans\" : true \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plans\" : [ \n    { \n      \"nodes\" : [ \n        { \n          \"type\" : \"SingletonNode\", \n          \"dependencies\" : [ ], \n          \"id\" : 1, \n          \"estimatedCost\" : 1, \n          \"estimatedNrItems\" : 1 \n        }, \n        { \n          \"type\" : \"IndexNode\", \n          \"dependencies\" : [ \n            1 \n          ], \n          \"id\" : 6, \n          \"estimatedCost\" : 1.99, \n          \"estimatedNrItems\" : 1, \n          \"database\" : \"_system\", \n          \"collection\" : \"products\", \n          \"satellite\" : false, \n          \"outVariable\" : { \n            \"id\" : 0, \n            \"name\" : \"p\" \n          }, \n          \"indexes\" : [ \n            { \n              \"id\" : \"11294\", \n              \"type\" : \"hash\", \n              \"fields\" : [ \n                \"id\" \n              ], \n              \"selectivityEstimate\" : 1, \n              \"unique\" : false, \n              \"sparse\" : false, \n              \"deduplicate\" : true \n            } \n          ], \n          \"condition\" : { \n            \"type\" : \"n-ary or\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"n-ary and\", \n                \"subNodes\" : [ \n                  { \n                    \"type\" : \"compare ==\", \n                    \"subNodes\" : [ \n                      { \n                        \"type\" : \"attribute access\", \n                        \"name\" : \"id\", \n                        \"subNodes\" : [ \n                          { \n                            \"type\" : \"reference\", \n                            \"name\" : \"p\", \n                            \"id\" : 0 \n                          } \n                        ] \n                      }, \n                      { \n                        \"type\" : \"value\", \n                        \"value\" : 25 \n                      } \n                    ] \n                  } \n                ] \n              } \n            ] \n          }, \n          \"reverse\" : false \n        }, \n        { \n          \"type\" : \"ReturnNode\", \n          \"dependencies\" : [ \n            6 \n          ], \n          \"id\" : 5, \n          \"estimatedCost\" : 2.99, \n          \"estimatedNrItems\" : 1, \n          \"inVariable\" : { \n            \"id\" : 0, \n            \"name\" : \"p\" \n          } \n        } \n      ], \n      \"rules\" : [ \n        \"use-indexes\", \n        \"remove-filter-covered-by-index\", \n        \"remove-unnecessary-calculations-2\" \n      ], \n      \"collections\" : [ \n        { \n          \"name\" : \"products\", \n          \"type\" : \"read\" \n        } \n      ], \n      \"variables\" : [ \n        { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      ], \n      \"estimatedCost\" : 2.99, \n      \"estimatedNrItems\" : 1, \n      \"initialize\" : true \n    } \n  ], \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n A query that produces a warning\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR i IN 1..10 RETURN 1 / 0\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 2, \n        \"estimatedCost\" : 2, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"range\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"value\", \n              \"value\" : 1 \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 10 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"simple\" \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          2 \n        ], \n        \"id\" : 4, \n        \"estimatedCost\" : 3, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"value\", \n          \"value\" : null \n        }, \n        \"outVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"json\" \n      }, \n      { \n        \"type\" : \"EnumerateListNode\", \n        \"dependencies\" : [ \n          4 \n        ], \n        \"id\" : 3, \n        \"estimatedCost\" : 13, \n        \"estimatedNrItems\" : 10, \n        \"inVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"i\" \n        } \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          3 \n        ], \n        \"id\" : 5, \n        \"estimatedCost\" : 23, \n        \"estimatedNrItems\" : 10, \n        \"inVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        } \n      } \n    ], \n    \"rules\" : [ \n      \"move-calculations-up\", \n      \"move-calculations-up-2\" \n    ], \n    \"collections\" : [ ], \n    \"variables\" : [ \n      { \n        \"id\" : 4, \n        \"name\" : \"3\" \n      }, \n      { \n        \"id\" : 2, \n        \"name\" : \"1\" \n      }, \n      { \n        \"id\" : 0, \n        \"name\" : \"i\" \n      } \n    ], \n    \"estimatedCost\" : 23, \n    \"estimatedNrItems\" : 10, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : false, \n  \"warnings\" : [ \n    { \n      \"code\" : 1562, \n      \"message\" : \"division by zero\" \n    } \n  ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Invalid query (missing bind parameter)\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products FILTER p.id == @id LIMIT 2 RETURN p.n\" \n}\nEOF\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"no value specified for declared bind parameter 'id' (while parsing)\", \n  \"code\" : 400, \n  \"errorNum\" : 1551 \n}\n
\n\n\n\n\n#Example:\n The data returned in the **plan** attribute of the result contains one element per AQL top-level statement\n(i.e. `FOR`, `RETURN`, `FILTER` etc.). If the query optimizer removed some unnecessary statements,\nthe result might also contain less elements than there were top-level statements in the AQL query.\n\nThe following example shows a query with a non-sensible filter condition that\nthe optimizer has removed so that there are less top-level statements.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \"query\" : \"FOR i IN [ 1, 2, 3 ] FILTER 1 == 2 RETURN i\" }\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 2, \n        \"estimatedCost\" : 2, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"array\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"value\", \n              \"value\" : 1 \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 2 \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 3 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"json\" \n      }, \n      { \n        \"type\" : \"NoResultsNode\", \n        \"dependencies\" : [ \n          2 \n        ], \n        \"id\" : 7, \n        \"estimatedCost\" : 0.5, \n        \"estimatedNrItems\" : 0 \n      }, \n      { \n        \"type\" : \"EnumerateListNode\", \n        \"dependencies\" : [ \n          7 \n        ], \n        \"id\" : 3, \n        \"estimatedCost\" : 0.5, \n        \"estimatedNrItems\" : 0, \n        \"inVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"i\" \n        } \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          3 \n        ], \n        \"id\" : 6, \n        \"estimatedCost\" : 0.5, \n        \"estimatedNrItems\" : 0, \n        \"inVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"i\" \n        } \n      } \n    ], \n    \"rules\" : [ \n      \"move-calculations-up\", \n      \"move-filters-up\", \n      \"remove-unnecessary-filters\", \n      \"remove-unnecessary-calculations\" \n    ], \n    \"collections\" : [ ], \n    \"variables\" : [ \n      { \n        \"id\" : 4, \n        \"name\" : \"3\" \n      }, \n      { \n        \"id\" : 2, \n        \"name\" : \"1\" \n      }, \n      { \n        \"id\" : 0, \n        \"name\" : \"i\" \n      } \n    ], \n    \"estimatedCost\" : 0.5, \n    \"estimatedNrItems\" : 0, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : true, \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **query**: the query which you want explained; If the query references any bind variables,\n these must also be passed in the attribute *bindVars*. Additional\n options for the query can be passed in the *options* attribute.\n - **options**:\n - **optimizer.rules** (string): an array of to-be-included or to-be-excluded optimizer rules\n can be put into this attribute, telling the optimizer to include or exclude\n specific rules. To disable a rule, prefix its name with a `-`, to enable a rule, prefix it\n with a `+`. There is also a pseudo-rule `all`, which will match all optimizer rules.\n - **maxNumberOfPlans**: an optional maximum number of plans that the optimizer is \n allowed to generate. Setting this attribute to a low value allows to put a\n cap on the amount of work the optimizer does.\n - **allPlans**: if set to *true*, all possible execution plans will be returned.\n The default is *false*, meaning only the optimal plan will be returned.\n - **bindVars** (object): key/value pairs representing the bind parameters.\n\n\n\n\n\nTo explain how an AQL query would be executed on the server, the query string\ncan be sent to the server via an HTTP POST request. The server will then validate\nthe query and create an execution plan for it. The execution plan will be\nreturned, but the query will not be executed.\n\nThe execution plan that is returned by the server can be used to estimate the\nprobable performance of the query. Though the actual performance will depend\non many different factors, the execution plan normally can provide some rough\nestimates on the amount of work the server needs to do in order to actually run \nthe query.\n\nBy default, the explain operation will return the optimal plan as chosen by\nthe query optimizer The optimal plan is the plan with the lowest total estimated\ncost. The plan will be returned in the attribute *plan* of the response object.\nIf the option *allPlans* is specified in the request, the result will contain \nall plans created by the optimizer. The plans will then be returned in the \nattribute *plans*.\n\nThe result will also contain an attribute *warnings*, which is an array of \nwarnings that occurred during optimization or execution plan creation. Additionally,\na *stats* attribute is contained in the result with some optimizer statistics.\nIf *allPlans* is set to *false*, the result will contain an attribute *cacheable* \nthat states whether the query results can be cached on the server if the query\nresult cache were used. The *cacheable* attribute is not present when *allPlans*\nis set to *true*.\n\nEach plan in the result is a JSON object with the following attributes:\n- *nodes*: the array of execution nodes of the plan. The array of available node types\n can be found [here](../../AQL/ExecutionAndPerformance/Optimizer.html)\n\n- *estimatedCost*: the total estimated cost for the plan. If there are multiple\n plans, the optimizer will choose the plan with the lowest total cost.\n\n- *collections*: an array of collections used in the query\n\n- *rules*: an array of rules the optimizer applied. An overview of the\n available rules can be found [here](../../AQL/ExecutionAndPerformance/Optimizer.html)\n\n- *variables*: array of variables used in the query (note: this may contain\n internal variables created by the optimizer)\n\n\n\n\n#Example:\n Valid query\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products RETURN p\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"EnumerateCollectionNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 2, \n        \"estimatedCost\" : 12, \n        \"estimatedNrItems\" : 10, \n        \"database\" : \"_system\", \n        \"collection\" : \"products\", \n        \"random\" : false, \n        \"satellite\" : false, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          2 \n        ], \n        \"id\" : 3, \n        \"estimatedCost\" : 22, \n        \"estimatedNrItems\" : 10, \n        \"inVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      } \n    ], \n    \"rules\" : [ ], \n    \"collections\" : [ \n      { \n        \"name\" : \"products\", \n        \"type\" : \"read\" \n      } \n    ], \n    \"variables\" : [ \n      { \n        \"id\" : 0, \n        \"name\" : \"p\" \n      } \n    ], \n    \"estimatedCost\" : 22, \n    \"estimatedNrItems\" : 10, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : true, \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n A plan with some optimizer rules applied\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products LET a = p.id FILTER a == 4 LET name = p.name SORT p.id LIMIT 1 RETURN name\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"IndexNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 11, \n        \"estimatedCost\" : 4.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"database\" : \"_system\", \n        \"collection\" : \"products\", \n        \"satellite\" : false, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        }, \n        \"indexes\" : [ \n          { \n            \"id\" : \"11335\", \n            \"type\" : \"skiplist\", \n            \"fields\" : [ \n              \"id\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"condition\" : { \n          \"type\" : \"n-ary or\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"n-ary and\", \n              \"subNodes\" : [ \n                { \n                  \"type\" : \"compare ==\", \n                  \"subNodes\" : [ \n                    { \n                      \"type\" : \"attribute access\", \n                      \"name\" : \"id\", \n                      \"subNodes\" : [ \n                        { \n                          \"type\" : \"reference\", \n                          \"name\" : \"p\", \n                          \"id\" : 0 \n                        } \n                      ] \n                    }, \n                    { \n                      \"type\" : \"value\", \n                      \"value\" : 4 \n                    } \n                  ] \n                } \n              ] \n            } \n          ] \n        }, \n        \"reverse\" : false \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          11 \n        ], \n        \"id\" : 4, \n        \"estimatedCost\" : 5.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"compare ==\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"attribute access\", \n              \"name\" : \"id\", \n              \"subNodes\" : [ \n                { \n                  \"type\" : \"reference\", \n                  \"name\" : \"p\", \n                  \"id\" : 0 \n                } \n              ] \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 4 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"simple\" \n      }, \n      { \n        \"type\" : \"FilterNode\", \n        \"dependencies\" : [ \n          4 \n        ], \n        \"id\" : 5, \n        \"estimatedCost\" : 6.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"inVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        } \n      }, \n      { \n        \"type\" : \"LimitNode\", \n        \"dependencies\" : [ \n          5 \n        ], \n        \"id\" : 9, \n        \"estimatedCost\" : 7.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"offset\" : 0, \n        \"limit\" : 1, \n        \"fullCount\" : false \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          9 \n        ], \n        \"id\" : 6, \n        \"estimatedCost\" : 8.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"attribute access\", \n          \"name\" : \"name\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"reference\", \n              \"name\" : \"p\", \n              \"id\" : 0 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"name\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"attribute\" \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          6 \n        ], \n        \"id\" : 10, \n        \"estimatedCost\" : 9.321928094887362, \n        \"estimatedNrItems\" : 1, \n        \"inVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"name\" \n        } \n      } \n    ], \n    \"rules\" : [ \n      \"move-calculations-up\", \n      \"remove-redundant-calculations\", \n      \"remove-unnecessary-calculations\", \n      \"move-calculations-up-2\", \n      \"use-indexes\", \n      \"use-index-for-sort\", \n      \"remove-unnecessary-calculations-2\", \n      \"move-calculations-down\" \n    ], \n    \"collections\" : [ \n      { \n        \"name\" : \"products\", \n        \"type\" : \"read\" \n      } \n    ], \n    \"variables\" : [ \n      { \n        \"id\" : 6, \n        \"name\" : \"5\" \n      }, \n      { \n        \"id\" : 4, \n        \"name\" : \"3\" \n      }, \n      { \n        \"id\" : 2, \n        \"name\" : \"name\" \n      }, \n      { \n        \"id\" : 1, \n        \"name\" : \"a\" \n      }, \n      { \n        \"id\" : 0, \n        \"name\" : \"p\" \n      } \n    ], \n    \"estimatedCost\" : 9.321928094887362, \n    \"estimatedNrItems\" : 1, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : true, \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using some options\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products LET a = p.id FILTER a == 4 LET name = p.name SORT p.id LIMIT 1 RETURN name\", \n  \"options\" : { \n    \"maxNumberOfPlans\" : 2, \n    \"allPlans\" : true, \n    \"optimizer\" : { \n      \"rules\" : [ \n        \"-all\", \n        \"+use-index-for-sort\", \n        \"+use-index-range\" \n      ] \n    } \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plans\" : [ \n    { \n      \"nodes\" : [ \n        { \n          \"type\" : \"SingletonNode\", \n          \"dependencies\" : [ ], \n          \"id\" : 1, \n          \"estimatedCost\" : 1, \n          \"estimatedNrItems\" : 1 \n        }, \n        { \n          \"type\" : \"IndexNode\", \n          \"dependencies\" : [ \n            1 \n          ], \n          \"id\" : 11, \n          \"estimatedCost\" : 11, \n          \"estimatedNrItems\" : 10, \n          \"database\" : \"_system\", \n          \"collection\" : \"products\", \n          \"satellite\" : false, \n          \"outVariable\" : { \n            \"id\" : 0, \n            \"name\" : \"p\" \n          }, \n          \"indexes\" : [ \n            { \n              \"id\" : \"11381\", \n              \"type\" : \"skiplist\", \n              \"fields\" : [ \n                \"id\" \n              ], \n              \"unique\" : false, \n              \"sparse\" : false, \n              \"deduplicate\" : true \n            } \n          ], \n          \"condition\" : { \n          }, \n          \"reverse\" : false \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            11 \n          ], \n          \"id\" : 3, \n          \"estimatedCost\" : 21, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"attribute access\", \n            \"name\" : \"id\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"p\", \n                \"id\" : 0 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 1, \n            \"name\" : \"a\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"attribute\" \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            3 \n          ], \n          \"id\" : 4, \n          \"estimatedCost\" : 31, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"compare ==\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"a\", \n                \"id\" : 1 \n              }, \n              { \n                \"type\" : \"value\", \n                \"value\" : 4 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 4, \n            \"name\" : \"3\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"simple\" \n        }, \n        { \n          \"type\" : \"FilterNode\", \n          \"dependencies\" : [ \n            4 \n          ], \n          \"id\" : 5, \n          \"estimatedCost\" : 41, \n          \"estimatedNrItems\" : 10, \n          \"inVariable\" : { \n            \"id\" : 4, \n            \"name\" : \"3\" \n          } \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            5 \n          ], \n          \"id\" : 6, \n          \"estimatedCost\" : 51, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"attribute access\", \n            \"name\" : \"name\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"p\", \n                \"id\" : 0 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 2, \n            \"name\" : \"name\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"attribute\" \n        }, \n        { \n          \"type\" : \"CalculationNode\", \n          \"dependencies\" : [ \n            6 \n          ], \n          \"id\" : 7, \n          \"estimatedCost\" : 61, \n          \"estimatedNrItems\" : 10, \n          \"expression\" : { \n            \"type\" : \"attribute access\", \n            \"name\" : \"id\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"reference\", \n                \"name\" : \"p\", \n                \"id\" : 0 \n              } \n            ] \n          }, \n          \"outVariable\" : { \n            \"id\" : 6, \n            \"name\" : \"5\" \n          }, \n          \"canThrow\" : false, \n          \"expressionType\" : \"attribute\" \n        }, \n        { \n          \"type\" : \"LimitNode\", \n          \"dependencies\" : [ \n            7 \n          ], \n          \"id\" : 9, \n          \"estimatedCost\" : 62, \n          \"estimatedNrItems\" : 1, \n          \"offset\" : 0, \n          \"limit\" : 1, \n          \"fullCount\" : false \n        }, \n        { \n          \"type\" : \"ReturnNode\", \n          \"dependencies\" : [ \n            9 \n          ], \n          \"id\" : 10, \n          \"estimatedCost\" : 63, \n          \"estimatedNrItems\" : 1, \n          \"inVariable\" : { \n            \"id\" : 2, \n            \"name\" : \"name\" \n          } \n        } \n      ], \n      \"rules\" : [ \n        \"use-index-for-sort\" \n      ], \n      \"collections\" : [ \n        { \n          \"name\" : \"products\", \n          \"type\" : \"read\" \n        } \n      ], \n      \"variables\" : [ \n        { \n          \"id\" : 6, \n          \"name\" : \"5\" \n        }, \n        { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        }, \n        { \n          \"id\" : 2, \n          \"name\" : \"name\" \n        }, \n        { \n          \"id\" : 1, \n          \"name\" : \"a\" \n        }, \n        { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      ], \n      \"estimatedCost\" : 63, \n      \"estimatedNrItems\" : 1, \n      \"initialize\" : true \n    } \n  ], \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 1, \n    \"rulesSkipped\" : 28, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Returning all plans\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products FILTER p.id == 25 RETURN p\", \n  \"options\" : { \n    \"allPlans\" : true \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plans\" : [ \n    { \n      \"nodes\" : [ \n        { \n          \"type\" : \"SingletonNode\", \n          \"dependencies\" : [ ], \n          \"id\" : 1, \n          \"estimatedCost\" : 1, \n          \"estimatedNrItems\" : 1 \n        }, \n        { \n          \"type\" : \"IndexNode\", \n          \"dependencies\" : [ \n            1 \n          ], \n          \"id\" : 6, \n          \"estimatedCost\" : 1.99, \n          \"estimatedNrItems\" : 1, \n          \"database\" : \"_system\", \n          \"collection\" : \"products\", \n          \"satellite\" : false, \n          \"outVariable\" : { \n            \"id\" : 0, \n            \"name\" : \"p\" \n          }, \n          \"indexes\" : [ \n            { \n              \"id\" : \"11297\", \n              \"type\" : \"hash\", \n              \"fields\" : [ \n                \"id\" \n              ], \n              \"selectivityEstimate\" : 1, \n              \"unique\" : false, \n              \"sparse\" : false, \n              \"deduplicate\" : true \n            } \n          ], \n          \"condition\" : { \n            \"type\" : \"n-ary or\", \n            \"subNodes\" : [ \n              { \n                \"type\" : \"n-ary and\", \n                \"subNodes\" : [ \n                  { \n                    \"type\" : \"compare ==\", \n                    \"subNodes\" : [ \n                      { \n                        \"type\" : \"attribute access\", \n                        \"name\" : \"id\", \n                        \"subNodes\" : [ \n                          { \n                            \"type\" : \"reference\", \n                            \"name\" : \"p\", \n                            \"id\" : 0 \n                          } \n                        ] \n                      }, \n                      { \n                        \"type\" : \"value\", \n                        \"value\" : 25 \n                      } \n                    ] \n                  } \n                ] \n              } \n            ] \n          }, \n          \"reverse\" : false \n        }, \n        { \n          \"type\" : \"ReturnNode\", \n          \"dependencies\" : [ \n            6 \n          ], \n          \"id\" : 5, \n          \"estimatedCost\" : 2.99, \n          \"estimatedNrItems\" : 1, \n          \"inVariable\" : { \n            \"id\" : 0, \n            \"name\" : \"p\" \n          } \n        } \n      ], \n      \"rules\" : [ \n        \"use-indexes\", \n        \"remove-filter-covered-by-index\", \n        \"remove-unnecessary-calculations-2\" \n      ], \n      \"collections\" : [ \n        { \n          \"name\" : \"products\", \n          \"type\" : \"read\" \n        } \n      ], \n      \"variables\" : [ \n        { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        { \n          \"id\" : 0, \n          \"name\" : \"p\" \n        } \n      ], \n      \"estimatedCost\" : 2.99, \n      \"estimatedNrItems\" : 1, \n      \"initialize\" : true \n    } \n  ], \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n A query that produces a warning\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR i IN 1..10 RETURN 1 / 0\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 2, \n        \"estimatedCost\" : 2, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"range\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"value\", \n              \"value\" : 1 \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 10 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"simple\" \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          2 \n        ], \n        \"id\" : 4, \n        \"estimatedCost\" : 3, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"value\", \n          \"value\" : null \n        }, \n        \"outVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"json\" \n      }, \n      { \n        \"type\" : \"EnumerateListNode\", \n        \"dependencies\" : [ \n          4 \n        ], \n        \"id\" : 3, \n        \"estimatedCost\" : 13, \n        \"estimatedNrItems\" : 10, \n        \"inVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"i\" \n        } \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          3 \n        ], \n        \"id\" : 5, \n        \"estimatedCost\" : 23, \n        \"estimatedNrItems\" : 10, \n        \"inVariable\" : { \n          \"id\" : 4, \n          \"name\" : \"3\" \n        } \n      } \n    ], \n    \"rules\" : [ \n      \"move-calculations-up\", \n      \"move-calculations-up-2\" \n    ], \n    \"collections\" : [ ], \n    \"variables\" : [ \n      { \n        \"id\" : 4, \n        \"name\" : \"3\" \n      }, \n      { \n        \"id\" : 2, \n        \"name\" : \"1\" \n      }, \n      { \n        \"id\" : 0, \n        \"name\" : \"i\" \n      } \n    ], \n    \"estimatedCost\" : 23, \n    \"estimatedNrItems\" : 10, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : false, \n  \"warnings\" : [ \n    { \n      \"code\" : 1562, \n      \"message\" : \"division by zero\" \n    } \n  ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Invalid query (missing bind parameter)\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \n  \"query\" : \"FOR p IN products FILTER p.id == @id LIMIT 2 RETURN p.n\" \n}\nEOF\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"no value specified for declared bind parameter 'id' (while parsing)\", \n  \"code\" : 400, \n  \"errorNum\" : 1551 \n}\n
\n\n\n\n\n#Example:\n The data returned in the **plan** attribute of the result contains one element per AQL top-level statement\n(i.e. `FOR`, `RETURN`, `FILTER` etc.). If the query optimizer removed some unnecessary statements,\nthe result might also contain less elements than there were top-level statements in the AQL query.\n\nThe following example shows a query with a non-sensible filter condition that\nthe optimizer has removed so that there are less top-level statements.\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/explain <<EOF\n{ \"query\" : \"FOR i IN [ 1, 2, 3 ] FILTER 1 == 2 RETURN i\" }\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"plan\" : { \n    \"nodes\" : [ \n      { \n        \"type\" : \"SingletonNode\", \n        \"dependencies\" : [ ], \n        \"id\" : 1, \n        \"estimatedCost\" : 1, \n        \"estimatedNrItems\" : 1 \n      }, \n      { \n        \"type\" : \"CalculationNode\", \n        \"dependencies\" : [ \n          1 \n        ], \n        \"id\" : 2, \n        \"estimatedCost\" : 2, \n        \"estimatedNrItems\" : 1, \n        \"expression\" : { \n          \"type\" : \"array\", \n          \"subNodes\" : [ \n            { \n              \"type\" : \"value\", \n              \"value\" : 1 \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 2 \n            }, \n            { \n              \"type\" : \"value\", \n              \"value\" : 3 \n            } \n          ] \n        }, \n        \"outVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"canThrow\" : false, \n        \"expressionType\" : \"json\" \n      }, \n      { \n        \"type\" : \"NoResultsNode\", \n        \"dependencies\" : [ \n          2 \n        ], \n        \"id\" : 7, \n        \"estimatedCost\" : 0.5, \n        \"estimatedNrItems\" : 0 \n      }, \n      { \n        \"type\" : \"EnumerateListNode\", \n        \"dependencies\" : [ \n          7 \n        ], \n        \"id\" : 3, \n        \"estimatedCost\" : 0.5, \n        \"estimatedNrItems\" : 0, \n        \"inVariable\" : { \n          \"id\" : 2, \n          \"name\" : \"1\" \n        }, \n        \"outVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"i\" \n        } \n      }, \n      { \n        \"type\" : \"ReturnNode\", \n        \"dependencies\" : [ \n          3 \n        ], \n        \"id\" : 6, \n        \"estimatedCost\" : 0.5, \n        \"estimatedNrItems\" : 0, \n        \"inVariable\" : { \n          \"id\" : 0, \n          \"name\" : \"i\" \n        } \n      } \n    ], \n    \"rules\" : [ \n      \"move-calculations-up\", \n      \"move-filters-up\", \n      \"remove-unnecessary-filters\", \n      \"remove-unnecessary-calculations\" \n    ], \n    \"collections\" : [ ], \n    \"variables\" : [ \n      { \n        \"id\" : 4, \n        \"name\" : \"3\" \n      }, \n      { \n        \"id\" : 2, \n        \"name\" : \"1\" \n      }, \n      { \n        \"id\" : 0, \n        \"name\" : \"i\" \n      } \n    ], \n    \"estimatedCost\" : 0.5, \n    \"estimatedNrItems\" : 0, \n    \"initialize\" : true \n  }, \n  \"cacheable\" : true, \n  \"warnings\" : [ ], \n  \"stats\" : { \n    \"rulesExecuted\" : 29, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -5329,7 +5329,7 @@ }, "/_api/gharial": { "get": { - "description": "\n\nLists all graph names stored in this database.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graphs\" : [ \n    { \n      \"_key\" : \"routeplanner\", \n      \"_id\" : \"_graphs/routeplanner\", \n      \"_rev\" : \"_V82NXU2--_\", \n      \"orphanCollections\" : [ ], \n      \"edgeDefinitions\" : [ \n        { \n          \"collection\" : \"germanHighway\", \n          \"from\" : [ \n            \"germanCity\" \n          ], \n          \"to\" : [ \n            \"germanCity\" \n          ] \n        }, \n        { \n          \"collection\" : \"frenchHighway\", \n          \"from\" : [ \n            \"frenchCity\" \n          ], \n          \"to\" : [ \n            \"frenchCity\" \n          ] \n        }, \n        { \n          \"collection\" : \"internationalHighway\", \n          \"from\" : [ \n            \"frenchCity\", \n            \"germanCity\" \n          ], \n          \"to\" : [ \n            \"frenchCity\", \n            \"germanCity\" \n          ] \n        } \n      ], \n      \"numberOfShards\" : 1, \n      \"replicationFactor\" : 1 \n    }, \n    { \n      \"_key\" : \"social\", \n      \"_id\" : \"_graphs/social\", \n      \"_rev\" : \"_V82NXQG--_\", \n      \"orphanCollections\" : [ ], \n      \"edgeDefinitions\" : [ \n        { \n          \"collection\" : \"relation\", \n          \"from\" : [ \n            \"female\", \n            \"male\" \n          ], \n          \"to\" : [ \n            \"female\", \n            \"male\" \n          ] \n        } \n      ], \n      \"numberOfShards\" : 1, \n      \"replicationFactor\" : 1 \n    } \n  ], \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\nLists all graph names stored in this database.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graphs\" : [ \n    { \n      \"_key\" : \"routeplanner\", \n      \"_id\" : \"_graphs/routeplanner\", \n      \"_rev\" : \"_W-M-EPi--_\", \n      \"orphanCollections\" : [ ], \n      \"edgeDefinitions\" : [ \n        { \n          \"collection\" : \"germanHighway\", \n          \"from\" : [ \n            \"germanCity\" \n          ], \n          \"to\" : [ \n            \"germanCity\" \n          ] \n        }, \n        { \n          \"collection\" : \"frenchHighway\", \n          \"from\" : [ \n            \"frenchCity\" \n          ], \n          \"to\" : [ \n            \"frenchCity\" \n          ] \n        }, \n        { \n          \"collection\" : \"internationalHighway\", \n          \"from\" : [ \n            \"frenchCity\", \n            \"germanCity\" \n          ], \n          \"to\" : [ \n            \"frenchCity\", \n            \"germanCity\" \n          ] \n        } \n      ], \n      \"numberOfShards\" : 1, \n      \"replicationFactor\" : 1 \n    }, \n    { \n      \"_key\" : \"social\", \n      \"_id\" : \"_graphs/social\", \n      \"_rev\" : \"_W-M-EKa--_\", \n      \"orphanCollections\" : [ ], \n      \"edgeDefinitions\" : [ \n        { \n          \"collection\" : \"relation\", \n          \"from\" : [ \n            \"female\", \n            \"male\" \n          ], \n          \"to\" : [ \n            \"female\", \n            \"male\" \n          ] \n        } \n      ], \n      \"numberOfShards\" : 1, \n      \"replicationFactor\" : 1 \n    } \n  ], \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -5344,7 +5344,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "post": { - "description": "\n\nThe creation of a graph requires the name of the graph and a\ndefinition of its edges.\n[See also edge definitions](../../Manual/Graphs/GeneralGraphs/Management.html#edge-definitions).\n\n\n**A JSON object with these properties is required:**\n\n - **orphanCollections**: An array of additional vertex collections.\n - **edgeDefinitions**: An array of definitions for the edge\n - **name**: Name of the graph.\n - **isSmart**: Define if the created graph should be smart.\n This only has effect in Enterprise version.\n - **options**:\n - **smartGraphAttribute**: The attribute name that is used to smartly shard the vertices of a graph.\n Every vertex in this Graph has to have this attribute.\n Cannot be modified later.\n - **numberOfShards**: The number of shards that is used for every collection within this graph.\n Cannot be modified later.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial <<EOF\n{ \n  \"name\" : \"myGraph\", \n  \"edgeDefinitions\" : [ \n    { \n      \"collection\" : \"edges\", \n      \"from\" : [ \n        \"startVertices\" \n      ], \n      \"to\" : [ \n        \"endVertices\" \n      ] \n    } \n  ] \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NWeC--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"myGraph\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"edges\", \n        \"from\" : [ \n          \"startVertices\" \n        ], \n        \"to\" : [ \n          \"endVertices\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 0, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/myGraph\", \n    \"_rev\" : \"_V82NWeC--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial <<EOF\n{ \n  \"name\" : \"myGraph\", \n  \"edgeDefinitions\" : [ \n    { \n      \"collection\" : \"edges\", \n      \"from\" : [ \n        \"startVertices\" \n      ], \n      \"to\" : [ \n        \"endVertices\" \n      ] \n    } \n  ], \n  \"isSmart\" : true, \n  \"options\" : { \n    \"numberOfShards\" : 9, \n    \"smartGraphAttribute\" : \"region\" \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NWiS--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"myGraph\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"edges\", \n        \"from\" : [ \n          \"startVertices\" \n        ], \n        \"to\" : [ \n          \"endVertices\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 0, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/myGraph\", \n    \"_rev\" : \"_V82NWiS--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nThe creation of a graph requires the name of the graph and a\ndefinition of its edges.\n[See also edge definitions](../../Manual/Graphs/GeneralGraphs/Management.html#edge-definitions).\n\n\n**A JSON object with these properties is required:**\n\n - **orphanCollections**: An array of additional vertex collections.\n - **edgeDefinitions**: An array of definitions for the edge\n - **name**: Name of the graph.\n - **isSmart**: Define if the created graph should be smart.\n This only has effect in Enterprise version.\n - **options**:\n - **smartGraphAttribute**: The attribute name that is used to smartly shard the vertices of a graph.\n Every vertex in this Graph has to have this attribute.\n Cannot be modified later.\n - **numberOfShards**: The number of shards that is used for every collection within this graph.\n Cannot be modified later.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial <<EOF\n{ \n  \"name\" : \"myGraph\", \n  \"edgeDefinitions\" : [ \n    { \n      \"collection\" : \"edges\", \n      \"from\" : [ \n        \"startVertices\" \n      ], \n      \"to\" : [ \n        \"endVertices\" \n      ] \n    } \n  ] \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-DU6--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"myGraph\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"edges\", \n        \"from\" : [ \n          \"startVertices\" \n        ], \n        \"to\" : [ \n          \"endVertices\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 0, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/myGraph\", \n    \"_rev\" : \"_W-M-DU6--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial <<EOF\n{ \n  \"name\" : \"myGraph\", \n  \"edgeDefinitions\" : [ \n    { \n      \"collection\" : \"edges\", \n      \"from\" : [ \n        \"startVertices\" \n      ], \n      \"to\" : [ \n        \"endVertices\" \n      ] \n    } \n  ], \n  \"isSmart\" : true, \n  \"options\" : { \n    \"numberOfShards\" : 9, \n    \"smartGraphAttribute\" : \"region\" \n  } \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-DaS--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"myGraph\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"edges\", \n        \"from\" : [ \n          \"startVertices\" \n        ], \n        \"to\" : [ \n          \"endVertices\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 0, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/myGraph\", \n    \"_rev\" : \"_W-M-DaS--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -5398,7 +5398,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "get": { - "description": "\n\nGets a graph from the collection *_graphs*.\nReturns the definition content of this graph.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial/myGraph\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: _V82NXFC--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"myGraph\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"edges\", \n        \"from\" : [ \n          \"startVertices\" \n        ], \n        \"to\" : [ \n          \"endVertices\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/myGraph\", \n    \"_rev\" : \"_V82NXFC--_\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\nGets a graph from the collection *_graphs*.\nReturns the definition content of this graph.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial/myGraph\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: _W-M-E-W--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"myGraph\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"edges\", \n        \"from\" : [ \n          \"startVertices\" \n        ], \n        \"to\" : [ \n          \"endVertices\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/myGraph\", \n    \"_rev\" : \"_W-M-E-W--_\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -5436,7 +5436,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "post": { - "description": "\n\nAdds an additional edge definition to the graph.\n\nThis edge definition has to contain a *collection* and an array of\neach *from* and *to* vertex collections. An edge definition can only\nbe added if this definition is either not used in any other graph, or\nit is used with exactly the same definition. It is not possible to\nstore a definition \"e\" from \"v1\" to \"v2\" in the one graph, and \"e\"\nfrom \"v2\" to \"v1\" in the other graph.\n\n\n**A JSON object with these properties is required:**\n\n - **to** (string): One or many vertex collections that can contain target vertices.\n - **from** (string): One or many vertex collections that can contain source vertices.\n - **collection**: The name of the edge collection to be used.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge <<EOF\n{ \n  \"collection\" : \"works_in\", \n  \"from\" : [ \n    \"female\", \n    \"male\" \n  ], \n  \"to\" : [ \n    \"city\" \n  ] \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NWGq--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"female\", \n          \"male\" \n        ] \n      }, \n      { \n        \"collection\" : \"works_in\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"city\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_V82NWGq--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", + "description": "\n\nAdds an additional edge definition to the graph.\n\nThis edge definition has to contain a *collection* and an array of\neach *from* and *to* vertex collections. An edge definition can only\nbe added if this definition is either not used in any other graph, or\nit is used with exactly the same definition. It is not possible to\nstore a definition \"e\" from \"v1\" to \"v2\" in the one graph, and \"e\"\nfrom \"v2\" to \"v1\" in the other graph.\n\n\n**A JSON object with these properties is required:**\n\n - **to** (string): One or many vertex collections that can contain target vertices.\n - **from** (string): One or many vertex collections that can contain source vertices.\n - **collection**: The name of the edge collection to be used.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge <<EOF\n{ \n  \"collection\" : \"works_in\", \n  \"from\" : [ \n    \"female\", \n    \"male\" \n  ], \n  \"to\" : [ \n    \"city\" \n  ] \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-D_2--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"female\", \n          \"male\" \n        ] \n      }, \n      { \n        \"collection\" : \"works_in\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"city\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_W-M-D_2--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "in": "body", @@ -5472,7 +5472,7 @@ }, "/_api/gharial/{graph-name}/edge/{collection-name}": { "post": { - "description": "\n\nCreates a new edge in the collection.\nWithin the body the has to contain a *_from* and *_to* value referencing to valid vertices in the graph.\nFurthermore the edge has to be valid in the definition of this\n[edge collection](../../Manual/Appendix/Glossary.html#edge-collection).\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation <<EOF\n{ \n  \"type\" : \"friend\", \n  \"_from\" : \"female/alice\", \n  \"_to\" : \"female/diana\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NWAe--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/7889\", \n    \"_key\" : \"7889\", \n    \"_rev\" : \"_V82NWAe--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nCreates a new edge in the collection.\nWithin the body the has to contain a *_from* and *_to* value referencing to valid vertices in the graph.\nFurthermore the edge has to be valid in the definition of this\n[edge collection](../../Manual/Appendix/Glossary.html#edge-collection).\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation <<EOF\n{ \n  \"type\" : \"friend\", \n  \"_from\" : \"female/alice\", \n  \"_to\" : \"female/diana\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-C6G--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/7889\", \n    \"_key\" : \"7889\", \n    \"_rev\" : \"_W-M-C6G--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The body has to be the JSON object to be stored.\n\n", @@ -5531,7 +5531,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "get": { - "description": "\n\nGets an edge from the given collection.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial/social/edge/relation/8612\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: _V82NX_m--F\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_key\" : \"8612\", \n    \"_id\" : \"relation/8612\", \n    \"_from\" : \"female/alice\", \n    \"_to\" : \"male/charly\", \n    \"_rev\" : \"_V82NX_m--F\", \n    \"type\" : \"friend\", \n    \"vertex\" : \"alice\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\nGets an edge from the given collection.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial/social/edge/relation/8618\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: _W-M-D4i--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_key\" : \"8618\", \n    \"_id\" : \"relation/8618\", \n    \"_from\" : \"male/bob\", \n    \"_to\" : \"female/diana\", \n    \"_rev\" : \"_W-M-D4i--_\", \n    \"type\" : \"friend\", \n    \"vertex\" : \"bob\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -5552,7 +5552,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "patch": { - "description": "\n\nUpdates the data of the specific edge in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9252 <<EOF\n{ \n  \"since\" : \"01.01.2001\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NXzK--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9252\", \n    \"_key\" : \"9252\", \n    \"_rev\" : \"_V82NXzK--_\", \n    \"_oldRev\" : \"_V82NXy2--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nUpdates the data of the specific edge in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9248 <<EOF\n{ \n  \"since\" : \"01.01.2001\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-Exm--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9248\", \n    \"_key\" : \"9248\", \n    \"_rev\" : \"_W-M-Exm--_\", \n    \"_oldRev\" : \"_W-M-ExS--F\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The body has to be a JSON object containing the attributes to be updated.\n\n", @@ -5585,7 +5585,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "put": { - "description": "\n\nReplaces the data of an edge in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9328 <<EOF\n{ \n  \"type\" : \"divorced\", \n  \"_from\" : \"female/alice\", \n  \"_to\" : \"male/bob\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NX6O--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9328\", \n    \"_key\" : \"9328\", \n    \"_rev\" : \"_V82NX6O--_\", \n    \"_oldRev\" : \"_V82NX56--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", + "description": "\n\nReplaces the data of an edge in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9332 <<EOF\n{ \n  \"type\" : \"divorced\", \n  \"_from\" : \"female/alice\", \n  \"_to\" : \"male/bob\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-E32--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9332\", \n    \"_key\" : \"9332\", \n    \"_rev\" : \"_W-M-E32--_\", \n    \"_oldRev\" : \"_W-M-E3m--D\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "description": "The body has to be the JSON object to be stored.\n\n", @@ -5623,7 +5623,7 @@ }, "/_api/gharial/{graph-name}/edge/{definition-name}": { "delete": { - "description": "\n\nRemove one edge definition from the graph. This will only remove the\nedge collection, the vertex collections remain untouched and can still\nbe used in your queries.\n\n\n\n\n#Example:\n \n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/relation\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NW5y--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ ], \n    \"orphanCollections\" : [ \n      \"female\", \n      \"male\" \n    ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_V82NW5y--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", + "description": "\n\nRemove one edge definition from the graph. This will only remove the\nedge collection, the vertex collections remain untouched and can still\nbe used in your queries.\n\n\n\n\n#Example:\n \n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/relation\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-Dym--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ ], \n    \"orphanCollections\" : [ \n      \"female\", \n      \"male\" \n    ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_W-M-Dym--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [], "responses": { "201": { @@ -5647,7 +5647,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "put": { - "description": "\n\nChange one specific edge definition.\nThis will modify all occurrences of this definition in all graphs known to your database.\n\n\n**A JSON object with these properties is required:**\n\n - **to** (string): One or many vertex collections that can contain target vertices.\n - **from** (string): One or many vertex collections that can contain source vertices.\n - **collection**: The name of the edge collection to be used.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation <<EOF\n{ \n  \"collection\" : \"relation\", \n  \"from\" : [ \n    \"female\", \n    \"male\", \n    \"animal\" \n  ], \n  \"to\" : [ \n    \"female\", \n    \"male\", \n    \"animal\" \n  ] \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NYNu--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"animal\", \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"animal\", \n          \"female\", \n          \"male\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_V82NYNu--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", + "description": "\n\nChange one specific edge definition.\nThis will modify all occurrences of this definition in all graphs known to your database.\n\n\n**A JSON object with these properties is required:**\n\n - **to** (string): One or many vertex collections that can contain target vertices.\n - **from** (string): One or many vertex collections that can contain source vertices.\n - **collection**: The name of the edge collection to be used.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation <<EOF\n{ \n  \"collection\" : \"relation\", \n  \"from\" : [ \n    \"female\", \n    \"male\", \n    \"animal\" \n  ], \n  \"to\" : [ \n    \"female\", \n    \"male\", \n    \"animal\" \n  ] \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-FNS--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"animal\", \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"animal\", \n          \"female\", \n          \"male\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_W-M-FNS--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "in": "body", @@ -5701,7 +5701,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "post": { - "description": "\n\nAdds a vertex collection to the set of collections of the graph. If\nthe collection does not exist, it will be created.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex <<EOF\n{ \n  \"collection\" : \"otherVertices\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NWWa--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"female\", \n          \"male\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ \n      \"otherVertices\" \n    ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_V82NWWa--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", + "description": "\n\nAdds a vertex collection to the set of collections of the graph. If\nthe collection does not exist, it will be created.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex <<EOF\n{ \n  \"collection\" : \"otherVertices\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-DNi--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"female\", \n          \"male\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ \n      \"otherVertices\" \n    ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_W-M-DNi--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [], "responses": { "201": { @@ -5724,7 +5724,7 @@ }, "/_api/gharial/{graph-name}/vertex/{collection-name}": { "delete": { - "description": "\n\nRemoves a vertex collection from the graph and optionally deletes the collection,\nif it is not used in any other graph.\n\n\n\n\n#Example:\n You can remove vertex collections that are not used in any edge collection:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/vertex/otherVertices\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NYAW--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"female\", \n          \"male\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_V82NYAW--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n#Example:\n You cannot remove vertex collections that are used in edge collections:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/vertex/male\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorNum\" : 1928, \n  \"errorMessage\" : \"not in orphan collection\", \n  \"code\" : 400 \n}\n
\n\n\n\n\n", + "description": "\n\nRemoves a vertex collection from the graph and optionally deletes the collection,\nif it is not used in any other graph.\n\n\n\n\n#Example:\n You can remove vertex collections that are not used in any edge collection:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/vertex/otherVertices\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-F_6--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"graph\" : { \n    \"name\" : \"social\", \n    \"edgeDefinitions\" : [ \n      { \n        \"collection\" : \"relation\", \n        \"from\" : [ \n          \"female\", \n          \"male\" \n        ], \n        \"to\" : [ \n          \"female\", \n          \"male\" \n        ] \n      } \n    ], \n    \"orphanCollections\" : [ ], \n    \"isSmart\" : false, \n    \"numberOfShards\" : 1, \n    \"replicationFactor\" : 1, \n    \"smartGraphAttribute\" : \"\", \n    \"_id\" : \"_graphs/social\", \n    \"_rev\" : \"_W-M-F_6--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n#Example:\n You cannot remove vertex collections that are used in edge collections:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/vertex/male\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorNum\" : 1928, \n  \"errorMessage\" : \"not in orphan collection\", \n  \"code\" : 400 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "201": { @@ -5748,7 +5748,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "post": { - "description": "\n\nAdds a vertex to the given collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/male <<EOF\n{ \n  \"name\" : \"Francis\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NWQy--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"male/8068\", \n    \"_key\" : \"8068\", \n    \"_rev\" : \"_V82NWQy--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nAdds a vertex to the given collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/male <<EOF\n{ \n  \"name\" : \"Francis\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-DIm--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"male/8068\", \n    \"_key\" : \"8068\", \n    \"_rev\" : \"_W-M-DIm--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The body has to be the JSON object to be stored.\n\n", @@ -5807,7 +5807,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "get": { - "description": "\n\nGets a vertex from the given collection.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: _V82NXKS--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_key\" : \"alice\", \n    \"_id\" : \"female/alice\", \n    \"_rev\" : \"_V82NXKS--_\", \n    \"name\" : \"Alice\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\nGets a vertex from the given collection.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\netag: _W-M-EES--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_key\" : \"alice\", \n    \"_id\" : \"female/alice\", \n    \"_rev\" : \"_W-M-EES--_\", \n    \"name\" : \"Alice\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -5828,7 +5828,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "patch": { - "description": "\n\nUpdates the data of the specific vertex in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice <<EOF\n{ \n  \"age\" : 26 \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NXt2--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_V82NXt2--_\", \n    \"_oldRev\" : \"_V82NXtm--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nUpdates the data of the specific vertex in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice <<EOF\n{ \n  \"age\" : 26 \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-ErW--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_W-M-ErW--_\", \n    \"_oldRev\" : \"_W-M-ErG--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The body has to contain a JSON object containing exactly the attributes that should be replaced.\n\n", @@ -5864,7 +5864,7 @@ "x-filename": "Graph - /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_replace_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_add_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_create_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_http_examples.md, /arangodb33/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_replace_http_examples.md" }, "put": { - "description": "\n\nReplaces the data of a vertex in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice <<EOF\n{ \n  \"name\" : \"Alice Cooper\", \n  \"age\" : 26 \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _V82NYXe--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_V82NYXe--_\", \n    \"_oldRev\" : \"_V82NYW6--B\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nReplaces the data of a vertex in the collection.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex/female/alice <<EOF\n{ \n  \"name\" : \"Alice Cooper\", \n  \"age\" : 26 \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\netag: _W-M-FV6--_\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_W-M-FV6--_\", \n    \"_oldRev\" : \"_W-M-FVa--B\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The body has to be the JSON object to be stored.\n\n", @@ -6103,7 +6103,7 @@ }, "/_api/index": { "get": { - "description": "\n\n\nReturns an object with an attribute *indexes* containing an array of all\nindex descriptions for the given collection. The same information is also\navailable in the *identifiers* as an object with the index handles as\nkeys.\n\n\n\n\n#Example:\n Return information about all indexes\n\n
shell> curl --dump - http://localhost:8529/_api/index?collection=products\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 200, \n  \"indexes\" : [ \n    { \n      \"fields\" : [ \n        \"_key\" \n      ], \n      \"id\" : \"products/0\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"primary\", \n      \"unique\" : true \n    }, \n    { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"name\" \n      ], \n      \"id\" : \"products/11769\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"hash\", \n      \"unique\" : false \n    }, \n    { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"price\" \n      ], \n      \"id\" : \"products/11772\", \n      \"sparse\" : true, \n      \"type\" : \"skiplist\", \n      \"unique\" : false \n    } \n  ], \n  \"identifiers\" : { \n    \"products/0\" : { \n      \"fields\" : [ \n        \"_key\" \n      ], \n      \"id\" : \"products/0\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"primary\", \n      \"unique\" : true \n    }, \n    \"products/11769\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"name\" \n      ], \n      \"id\" : \"products/11769\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"hash\", \n      \"unique\" : false \n    }, \n    \"products/11772\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"price\" \n      ], \n      \"id\" : \"products/11772\", \n      \"sparse\" : true, \n      \"type\" : \"skiplist\", \n      \"unique\" : false \n    } \n  } \n}\n
\n\n\n\n\n", + "description": "\n\n\nReturns an object with an attribute *indexes* containing an array of all\nindex descriptions for the given collection. The same information is also\navailable in the *identifiers* as an object with the index handles as\nkeys.\n\n\n\n\n#Example:\n Return information about all indexes\n\n
shell> curl --dump - http://localhost:8529/_api/index?collection=products\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 200, \n  \"indexes\" : [ \n    { \n      \"fields\" : [ \n        \"_key\" \n      ], \n      \"id\" : \"products/0\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"primary\", \n      \"unique\" : true \n    }, \n    { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"name\" \n      ], \n      \"id\" : \"products/11772\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"hash\", \n      \"unique\" : false \n    }, \n    { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"price\" \n      ], \n      \"id\" : \"products/11775\", \n      \"sparse\" : true, \n      \"type\" : \"skiplist\", \n      \"unique\" : false \n    } \n  ], \n  \"identifiers\" : { \n    \"products/0\" : { \n      \"fields\" : [ \n        \"_key\" \n      ], \n      \"id\" : \"products/0\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"primary\", \n      \"unique\" : true \n    }, \n    \"products/11772\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"name\" \n      ], \n      \"id\" : \"products/11772\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"hash\", \n      \"unique\" : false \n    }, \n    \"products/11775\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"price\" \n      ], \n      \"id\" : \"products/11775\", \n      \"sparse\" : true, \n      \"type\" : \"skiplist\", \n      \"unique\" : false \n    } \n  } \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The collection name.\n\n", @@ -6128,7 +6128,7 @@ }, "/_api/index#fulltext": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute names. Currently, the array is limited\n to exactly one attribute.\n - **type**: must be equal to *\"fulltext\"*.\n - **minLength**: Minimum character length of words to index. Will default\n to a server-defined value if unspecified. It is thus recommended to set\n this value explicitly when creating the index.\n\n\n\n\n**NOTE** Swagger examples won't work due to the anchor.\n\n\nCreates a fulltext index for the collection *collection-name*, if\nit does not already exist. The call expects an object containing the index\ndetails.\n\n\n\n\n#Example:\n Creating a fulltext index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"fulltext\", \n  \"fields\" : [ \n    \"text\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"fields\" : [ \n    \"text\" \n  ], \n  \"id\" : \"products/11815\", \n  \"isNewlyCreated\" : true, \n  \"minLength\" : 2, \n  \"sparse\" : true, \n  \"type\" : \"fulltext\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute names. Currently, the array is limited\n to exactly one attribute.\n - **type**: must be equal to *\"fulltext\"*.\n - **minLength**: Minimum character length of words to index. Will default\n to a server-defined value if unspecified. It is thus recommended to set\n this value explicitly when creating the index.\n\n\n\n\n**NOTE** Swagger examples won't work due to the anchor.\n\n\nCreates a fulltext index for the collection *collection-name*, if\nit does not already exist. The call expects an object containing the index\ndetails.\n\n\n\n\n#Example:\n Creating a fulltext index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"fulltext\", \n  \"fields\" : [ \n    \"text\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"fields\" : [ \n    \"text\" \n  ], \n  \"id\" : \"products/11818\", \n  \"isNewlyCreated\" : true, \n  \"minLength\" : 2, \n  \"sparse\" : true, \n  \"type\" : \"fulltext\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The collection name.\n\n", @@ -6213,7 +6213,7 @@ }, "/_api/index#geo": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): An array with one or two attribute paths.\n If it is an array with one attribute path *location*, then a geo-spatial\n index on all documents is created using *location* as path to the\n coordinates. The value of the attribute must be an array with at least two\n double values. The array must contain the latitude (first value) and the\n longitude (second value). All documents, which do not have the attribute\n path or with value that are not suitable, are ignored.\n If it is an array with two attribute paths *latitude* and *longitude*,\n then a geo-spatial index on all documents is created using *latitude*\n and *longitude* as paths the latitude and the longitude. The value of\n the attribute *latitude* and of the attribute *longitude* must a\n double. All documents, which do not have the attribute paths or which\n values are not suitable, are ignored.\n - **type**: must be equal to *\"geo\"*.\n - **geoJson**: If a geo-spatial index on a *location* is constructed\n and *geoJson* is *true*, then the order within the array is longitude\n followed by latitude. This corresponds to the format described in\n http://geojson.org/geojson-spec.html#positions\n\n\n\n\n**NOTE** Swagger examples won't work due to the anchor.\n\n\nCreates a geo-spatial index in the collection *collection-name*, if\nit does not already exist. Expects an object containing the index details.\n\nGeo indexes are always sparse, meaning that documents that do not contain\nthe index attributes or have non-numeric values in the index attributes\nwill not be indexed.\n\n\n\n\n#Example:\n Creating a geo index with a location attribute\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"geo\", \n  \"fields\" : [ \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"constraint\" : false, \n  \"fields\" : [ \n    \"b\" \n  ], \n  \"geoJson\" : false, \n  \"id\" : \"products/11801\", \n  \"ignoreNull\" : true, \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"geo1\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a geo index with latitude and longitude attributes\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"geo\", \n  \"fields\" : [ \n    \"e\", \n    \"f\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"constraint\" : false, \n  \"fields\" : [ \n    \"e\", \n    \"f\" \n  ], \n  \"id\" : \"products/11787\", \n  \"ignoreNull\" : true, \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"geo2\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): An array with one or two attribute paths.\n If it is an array with one attribute path *location*, then a geo-spatial\n index on all documents is created using *location* as path to the\n coordinates. The value of the attribute must be an array with at least two\n double values. The array must contain the latitude (first value) and the\n longitude (second value). All documents, which do not have the attribute\n path or with value that are not suitable, are ignored.\n If it is an array with two attribute paths *latitude* and *longitude*,\n then a geo-spatial index on all documents is created using *latitude*\n and *longitude* as paths the latitude and the longitude. The value of\n the attribute *latitude* and of the attribute *longitude* must a\n double. All documents, which do not have the attribute paths or which\n values are not suitable, are ignored.\n - **type**: must be equal to *\"geo\"*.\n - **geoJson**: If a geo-spatial index on a *location* is constructed\n and *geoJson* is *true*, then the order within the array is longitude\n followed by latitude. This corresponds to the format described in\n http://geojson.org/geojson-spec.html#positions\n\n\n\n\n**NOTE** Swagger examples won't work due to the anchor.\n\n\nCreates a geo-spatial index in the collection *collection-name*, if\nit does not already exist. Expects an object containing the index details.\n\nGeo indexes are always sparse, meaning that documents that do not contain\nthe index attributes or have non-numeric values in the index attributes\nwill not be indexed.\n\n\n\n\n#Example:\n Creating a geo index with a location attribute\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"geo\", \n  \"fields\" : [ \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"constraint\" : false, \n  \"fields\" : [ \n    \"b\" \n  ], \n  \"geoJson\" : false, \n  \"id\" : \"products/11804\", \n  \"ignoreNull\" : true, \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"geo1\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a geo index with latitude and longitude attributes\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"geo\", \n  \"fields\" : [ \n    \"e\", \n    \"f\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"constraint\" : false, \n  \"fields\" : [ \n    \"e\", \n    \"f\" \n  ], \n  \"id\" : \"products/11790\", \n  \"ignoreNull\" : true, \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"geo2\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The collection name.\n\n\n", @@ -6253,7 +6253,7 @@ }, "/_api/index#hash": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute paths.\n - **unique**: if *true*, then create a unique index.\n - **type**: must be equal to *\"hash\"*.\n - **sparse**: if *true*, then create a sparse index.\n - **deduplicate**: if *false*, the deduplication of array values is turned off.\n\n\n\n\n**NOTE** Swagger examples won't work due to the anchor.\n\n\nCreates a hash index for the collection *collection-name* if it\ndoes not already exist. The call expects an object containing the index\ndetails.\n\nIn a sparse index all documents will be excluded from the index that do not \ncontain at least one of the specified index attributes (i.e. *fields*) or that \nhave a value of *null* in any of the specified index attributes. Such documents \nwill not be indexed, and not be taken into account for uniqueness checks if\nthe *unique* flag is set.\n\nIn a non-sparse index, these documents will be indexed (for non-present\nindexed attributes, a value of *null* will be used) and will be taken into\naccount for uniqueness checks if the *unique* flag is set.\n\n**Note**: unique indexes on non-shard keys are not supported in a cluster.\n\n\n\n\n#Example:\n Creating an unique constraint\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"hash\", \n  \"unique\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11871\", \n  \"isNewlyCreated\" : true, \n  \"selectivityEstimate\" : 1, \n  \"sparse\" : false, \n  \"type\" : \"hash\", \n  \"unique\" : true, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a non-unique hash index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11829\", \n  \"isNewlyCreated\" : true, \n  \"selectivityEstimate\" : 1, \n  \"sparse\" : false, \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a sparse index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"sparse\" : true, \n  \"fields\" : [ \n    \"a\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\" \n  ], \n  \"id\" : \"products/11885\", \n  \"isNewlyCreated\" : true, \n  \"selectivityEstimate\" : 1, \n  \"sparse\" : true, \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute paths.\n - **unique**: if *true*, then create a unique index.\n - **type**: must be equal to *\"hash\"*.\n - **sparse**: if *true*, then create a sparse index.\n - **deduplicate**: if *false*, the deduplication of array values is turned off.\n\n\n\n\n**NOTE** Swagger examples won't work due to the anchor.\n\n\nCreates a hash index for the collection *collection-name* if it\ndoes not already exist. The call expects an object containing the index\ndetails.\n\nIn a sparse index all documents will be excluded from the index that do not \ncontain at least one of the specified index attributes (i.e. *fields*) or that \nhave a value of *null* in any of the specified index attributes. Such documents \nwill not be indexed, and not be taken into account for uniqueness checks if\nthe *unique* flag is set.\n\nIn a non-sparse index, these documents will be indexed (for non-present\nindexed attributes, a value of *null* will be used) and will be taken into\naccount for uniqueness checks if the *unique* flag is set.\n\n**Note**: unique indexes on non-shard keys are not supported in a cluster.\n\n\n\n\n#Example:\n Creating an unique constraint\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"hash\", \n  \"unique\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11874\", \n  \"isNewlyCreated\" : true, \n  \"selectivityEstimate\" : 1, \n  \"sparse\" : false, \n  \"type\" : \"hash\", \n  \"unique\" : true, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a non-unique hash index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11832\", \n  \"isNewlyCreated\" : true, \n  \"selectivityEstimate\" : 1, \n  \"sparse\" : false, \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a sparse index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"sparse\" : true, \n  \"fields\" : [ \n    \"a\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\" \n  ], \n  \"id\" : \"products/11888\", \n  \"isNewlyCreated\" : true, \n  \"selectivityEstimate\" : 1, \n  \"sparse\" : true, \n  \"type\" : \"hash\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The collection name.\n\n", @@ -6296,7 +6296,7 @@ }, "/_api/index#persistent": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute paths.\n - **unique**: if *true*, then create a unique index.\n - **type**: must be equal to *\"persistent\"*.\n - **sparse**: if *true*, then create a sparse index.\n\n\n\n\n\nCreates a persistent index for the collection *collection-name*, if\nit does not already exist. The call expects an object containing the index\ndetails.\n\nIn a sparse index all documents will be excluded from the index that do not \ncontain at least one of the specified index attributes (i.e. *fields*) or that \nhave a value of *null* in any of the specified index attributes. Such documents \nwill not be indexed, and not be taken into account for uniqueness checks if\nthe *unique* flag is set.\n\nIn a non-sparse index, these documents will be indexed (for non-present\nindexed attributes, a value of *null* will be used) and will be taken into\naccount for uniqueness checks if the *unique* flag is set.\n\n**Note**: unique indexes on non-shard keys are not supported in a cluster.\n\n\n\n\n#Example:\n Creating a persistent index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11843\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : false, \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a sparse persistent index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"sparse\" : true, \n  \"fields\" : [ \n    \"a\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\" \n  ], \n  \"id\" : \"products/11899\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute paths.\n - **unique**: if *true*, then create a unique index.\n - **type**: must be equal to *\"persistent\"*.\n - **sparse**: if *true*, then create a sparse index.\n\n\n\n\n\nCreates a persistent index for the collection *collection-name*, if\nit does not already exist. The call expects an object containing the index\ndetails.\n\nIn a sparse index all documents will be excluded from the index that do not \ncontain at least one of the specified index attributes (i.e. *fields*) or that \nhave a value of *null* in any of the specified index attributes. Such documents \nwill not be indexed, and not be taken into account for uniqueness checks if\nthe *unique* flag is set.\n\nIn a non-sparse index, these documents will be indexed (for non-present\nindexed attributes, a value of *null* will be used) and will be taken into\naccount for uniqueness checks if the *unique* flag is set.\n\n**Note**: unique indexes on non-shard keys are not supported in a cluster.\n\n\n\n\n#Example:\n Creating a persistent index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11846\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : false, \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a sparse persistent index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"sparse\" : true, \n  \"fields\" : [ \n    \"a\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\" \n  ], \n  \"id\" : \"products/11902\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"persistent\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The collection name.\n\n", @@ -6339,7 +6339,7 @@ }, "/_api/index#skiplist": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute paths.\n - **unique**: if *true*, then create a unique index.\n - **type**: must be equal to *\"skiplist\"*.\n - **sparse**: if *true*, then create a sparse index.\n - **deduplicate**: if *false*, the deduplication of array values is turned off.\n\n\n\n\n\nCreates a skip-list index for the collection *collection-name*, if\nit does not already exist. The call expects an object containing the index\ndetails.\n\nIn a sparse index all documents will be excluded from the index that do not \ncontain at least one of the specified index attributes (i.e. *fields*) or that \nhave a value of *null* in any of the specified index attributes. Such documents \nwill not be indexed, and not be taken into account for uniqueness checks if\nthe *unique* flag is set.\n\nIn a non-sparse index, these documents will be indexed (for non-present\nindexed attributes, a value of *null* will be used) and will be taken into\naccount for uniqueness checks if the *unique* flag is set.\n\n**Note**: unique indexes on non-shard keys are not supported in a cluster.\n\n\n\n\n#Example:\n Creating a skiplist index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11857\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : false, \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a sparse skiplist index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"sparse\" : true, \n  \"fields\" : [ \n    \"a\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\" \n  ], \n  \"id\" : \"products/11913\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **fields** (string): an array of attribute paths.\n - **unique**: if *true*, then create a unique index.\n - **type**: must be equal to *\"skiplist\"*.\n - **sparse**: if *true*, then create a sparse index.\n - **deduplicate**: if *false*, the deduplication of array values is turned off.\n\n\n\n\n\nCreates a skip-list index for the collection *collection-name*, if\nit does not already exist. The call expects an object containing the index\ndetails.\n\nIn a sparse index all documents will be excluded from the index that do not \ncontain at least one of the specified index attributes (i.e. *fields*) or that \nhave a value of *null* in any of the specified index attributes. Such documents \nwill not be indexed, and not be taken into account for uniqueness checks if\nthe *unique* flag is set.\n\nIn a non-sparse index, these documents will be indexed (for non-present\nindexed attributes, a value of *null* will be used) and will be taken into\naccount for uniqueness checks if the *unique* flag is set.\n\n**Note**: unique indexes on non-shard keys are not supported in a cluster.\n\n\n\n\n#Example:\n Creating a skiplist index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\", \n    \"b\" \n  ], \n  \"id\" : \"products/11860\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : false, \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Creating a sparse skiplist index\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/index?collection=products <<EOF\n{ \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"sparse\" : true, \n  \"fields\" : [ \n    \"a\" \n  ] \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"deduplicate\" : true, \n  \"fields\" : [ \n    \"a\" \n  ], \n  \"id\" : \"products/11916\", \n  \"isNewlyCreated\" : true, \n  \"sparse\" : true, \n  \"type\" : \"skiplist\", \n  \"unique\" : false, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The collection name.\n\n", @@ -6382,7 +6382,7 @@ }, "/_api/index/{index-handle}": { "delete": { - "description": "\n\n\nDeletes an index with *index-handle*.\n\n\n\n\n#Example:\n \n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/index/products/11927\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"products/11927\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\n\nDeletes an index with *index-handle*.\n\n\n\n\n#Example:\n \n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/index/products/11930\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"products/11930\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The index handle.\n\n", @@ -6438,7 +6438,7 @@ }, "/_api/job/{job-id}": { "get": { - "description": "\n\nReturns the processing status of the specified job. The processing status\ncan be\ndetermined by peeking into the HTTP response code of the response.\n\n\n\n\n#Example:\n Querying the status of a done job:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087103\nx-content-type-options: nosniff\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087103\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-arango-async-id: 151152750087103\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc3\", \n  \"license\" : \"community\" \n}\n
\n\n\n\n\n#Example:\n Querying the status of a pending job:\n(therefore we create a long runnging job...)\n\n
shell> curl -X POST --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/transaction <<EOF\n{ \n  \"collections\" : { \n    \"read\" : [ \n      \"_frontend\" \n    ] \n  }, \n  \"action\" : \"function () {require('internal').sleep(15.0);}\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087108\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/151152750087108\n\nHTTP/1.1 204 No Content\ncontent-type: text/plain; charset=utf-8\nx-content-type-options: nosniff\n\n
\n\n\n\n\n", + "description": "\n\nReturns the processing status of the specified job. The processing status\ncan be\ndetermined by peeking into the HTTP response code of the response.\n\n\n\n\n#Example:\n Querying the status of a done job:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791669\nx-content-type-options: nosniff\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791669\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-arango-async-id: 151188720791669\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc4\", \n  \"license\" : \"community\" \n}\n
\n\n\n\n\n#Example:\n Querying the status of a pending job:\n(therefore we create a long runnging job...)\n\n
shell> curl -X POST --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/transaction <<EOF\n{ \n  \"collections\" : { \n    \"read\" : [ \n      \"_frontend\" \n    ] \n  }, \n  \"action\" : \"function () {require('internal').sleep(15.0);}\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791674\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/151188720791674\n\nHTTP/1.1 204 No Content\ncontent-type: text/plain; charset=utf-8\nx-content-type-options: nosniff\n\n
\n\n\n\n\n", "parameters": [ { "description": "The async job id.\n\n", @@ -6468,7 +6468,7 @@ "x-filename": "job - /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_cancel.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_delete.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_fetch_result.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_getByType.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_getStatusById.md" }, "put": { - "description": "\n\nReturns the result of an async job identified by job-id. If the async job\nresult is present on the server, the result will be removed from the list of\nresult. That means this method can be called for each job-id once.\nThe method will return the original job result's headers and body, plus the\nadditional HTTP header x-arango-async-job-id. If this header is present,\nthen\nthe job was found and the response contains the original job's result. If\nthe header is not present, the job was not found and the response contains\nstatus information from the job manager.\n\n\n\n\n#Example:\n Not providing a job-id:\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/job\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"bad parameter\", \n  \"code\" : 400, \n  \"errorNum\" : 400 \n}\n
\n\n\n\n\n#Example:\n Providing a job-id for a non-existing job:\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/job/notthere\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"not found\", \n  \"code\" : 404, \n  \"errorNum\" : 404 \n}\n
\n\n\n\n\n#Example:\n Fetching the result of an HTTP GET job:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087076\nx-content-type-options: nosniff\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087076\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-arango-async-id: 151152750087076\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc3\", \n  \"license\" : \"community\" \n}\n
\n\n\n\n\n#Example:\n Fetching the result of an HTTP POST job that failed:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \" this name is invalid \" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087081\nx-content-type-options: nosniff\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087081\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-arango-async-id: 151152750087081\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"expected PUT /_api/collection/<collection-name>/<action>\", \n  \"code\" : 400, \n  \"errorNum\" : 400 \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the result of an async job identified by job-id. If the async job\nresult is present on the server, the result will be removed from the list of\nresult. That means this method can be called for each job-id once.\nThe method will return the original job result's headers and body, plus the\nadditional HTTP header x-arango-async-job-id. If this header is present,\nthen\nthe job was found and the response contains the original job's result. If\nthe header is not present, the job was not found and the response contains\nstatus information from the job manager.\n\n\n\n\n#Example:\n Not providing a job-id:\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/job\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"bad parameter\", \n  \"code\" : 400, \n  \"errorNum\" : 400 \n}\n
\n\n\n\n\n#Example:\n Providing a job-id for a non-existing job:\n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/job/notthere\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"not found\", \n  \"code\" : 404, \n  \"errorNum\" : 404 \n}\n
\n\n\n\n\n#Example:\n Fetching the result of an HTTP GET job:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791642\nx-content-type-options: nosniff\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791642\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-arango-async-id: 151188720791642\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc4\", \n  \"license\" : \"community\" \n}\n
\n\n\n\n\n#Example:\n Fetching the result of an HTTP POST job that failed:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \" this name is invalid \" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791647\nx-content-type-options: nosniff\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791647\n\nHTTP/1.1 400 Bad Request\ncontent-type: application/json; charset=utf-8\nx-arango-async-id: 151188720791647\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"expected PUT /_api/collection/<collection-name>/<action>\", \n  \"code\" : 400, \n  \"errorNum\" : 400 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The async job id.\n\n", @@ -6500,7 +6500,7 @@ }, "/_api/job/{job-id}/cancel": { "put": { - "description": "\n\nCancels the currently running job identified by job-id. Note that it still\nmight take some time to actually cancel the running async job.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR i IN 1..10 FOR j IN 1..10 LET x = sleep(1.0) FILTER i == 5 && j == 5 RETURN 42\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087039\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151152750087039\" \n]\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151152750087039/cancel\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151152750087039\" \n]\n
\n\n\n\n\n", + "description": "\n\nCancels the currently running job identified by job-id. Note that it still\nmight take some time to actually cancel the running async job.\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF\n{ \n  \"query\" : \"FOR i IN 1..10 FOR j IN 1..10 LET x = sleep(1.0) FILTER i == 5 && j == 5 RETURN 42\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791605\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151188720791605\" \n]\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/151188720791605/cancel\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151188720791605\" \n]\n
\n\n\n\n\n", "parameters": [ { "description": "The async job id.\n\n", @@ -6532,7 +6532,7 @@ }, "/_api/job/{type}": { "delete": { - "description": "\n\nDeletes either all job results, expired job results, or the result of a\nspecific job.\nClients can use this method to perform an eventual garbage collection of job\nresults.\n\n\n\n\n#Example:\n Deleting all jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087048\nx-content-type-options: nosniff\n\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/all\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\n
\n\n\n\n\n#Example:\n Deleting expired jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087053\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_admin/time\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"time\" : 1511527508.537965, \n  \"error\" : false, \n  \"code\" : 200 \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1511527508.537965\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ ]\n
\n\n\n\n\n#Example:\n Deleting the result of a specific job:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087062\nx-content-type-options: nosniff\n\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/151152750087062\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\n
\n\n\n\n\n#Example:\n Deleting the result of a non-existing job:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/job/AreYouThere\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"not found\", \n  \"code\" : 404, \n  \"errorNum\" : 404 \n}\n
\n\n\n\n\n", + "description": "\n\nDeletes either all job results, expired job results, or the result of a\nspecific job.\nClients can use this method to perform an eventual garbage collection of job\nresults.\n\n\n\n\n#Example:\n Deleting all jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791614\nx-content-type-options: nosniff\n\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/all\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\n
\n\n\n\n\n#Example:\n Deleting expired jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791619\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_admin/time\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"time\" : 1511887216.200392, \n  \"error\" : false, \n  \"code\" : 200 \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1511887216.200392\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ ]\n
\n\n\n\n\n#Example:\n Deleting the result of a specific job:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791628\nx-content-type-options: nosniff\n\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/151188720791628\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\n
\n\n\n\n\n#Example:\n Deleting the result of a non-existing job:\n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/job/AreYouThere\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"not found\", \n  \"code\" : 404, \n  \"errorNum\" : 404 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The type of jobs to delete. type can be:\n* *all*: Deletes all jobs results. Currently executing or queued async \n jobs will not be stopped by this call.\n* *expired*: Deletes expired results. To determine the expiration status of a \n result, pass the stamp query parameter. stamp needs to be a UNIX timestamp, \n and all async job results created at a lower timestamp will be deleted.\n* *an actual job-id*: In this case, the call will remove the result of the\n specified async job. If the job is currently executing or queued, it will\n not be aborted.\n\n", @@ -6562,7 +6562,7 @@ "x-filename": "job - /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_cancel.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_delete.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_fetch_result.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_getByType.md, /arangodb33/Documentation/DocuBlocks/Rest/job/JSF_job_getStatusById.md" }, "get": { - "description": "\n\nReturns the list of ids of async jobs with a specific status (either done or\npending).\nThe list can be used by the client to get an overview of the job system\nstatus and\nto retrieve completed job results later.\n\n\n\n\n#Example:\n Fetching the list of done jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087086\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/done\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151152750087086\" \n]\n
\n\n\n\n\n#Example:\n Fetching the list of pending jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087091\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ ]\n
\n\n\n\n\n#Example:\n Querying the status of a pending job:\n(we create a sleep job therefore...)\n\n
shell> curl -X POST --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/transaction <<EOF\n{ \n  \"collections\" : { \n    \"read\" : [ \n      \"_frontend\" \n    ] \n  }, \n  \"action\" : \"function () {require('internal').sleep(15.0);}\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151152750087096\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151152750087096\" \n]\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/151152750087096\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the list of ids of async jobs with a specific status (either done or\npending).\nThe list can be used by the client to get an overview of the job system\nstatus and\nto retrieve completed job results later.\n\n\n\n\n#Example:\n Fetching the list of done jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791652\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/done\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151188720791652\" \n]\n
\n\n\n\n\n#Example:\n Fetching the list of pending jobs:\n\n
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791657\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ ]\n
\n\n\n\n\n#Example:\n Querying the status of a pending job:\n(we create a sleep job therefore...)\n\n
shell> curl -X POST --header 'x-arango-async: store' --data-binary @- --dump - http://localhost:8529/_api/transaction <<EOF\n{ \n  \"collections\" : { \n    \"read\" : [ \n      \"_frontend\" \n    ] \n  }, \n  \"action\" : \"function () {require('internal').sleep(15.0);}\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: text/plain; charset=utf-8\nx-arango-async-id: 151188720791662\nx-content-type-options: nosniff\n\nshell> curl --dump - http://localhost:8529/_api/job/pending\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  \"151188720791662\" \n]\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/151188720791662\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : true \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The type of jobs to return. The type can be either done or pending. Setting\nthe type to done will make the method return the ids of already completed\nasync\njobs for which results can be fetched. Setting the type to pending will\nreturn\nthe ids of not yet finished async jobs.\n\n", @@ -6884,7 +6884,7 @@ }, "/_api/replication/applier-start": { "put": { - "description": "\n\nStarts the replication applier. This will return immediately if the\nreplication applier is already running.\n\nIf the replication applier is not already running, the applier configuration\nwill be checked, and if it is complete, the applier will be started in a\nbackground thread. This means that even if the applier will encounter any\nerrors while running, they will not be reported in the response to this\nmethod.\n\nTo detect replication applier errors after the applier was started, use the\n*/_api/replication/applier-state* API instead.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/replication/applier-start\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : true, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-24T12:45:01Z\", \n      \"message\" : \"applier initially created for database '_system'\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 0, \n    \"totalFailedConnects\" : 0, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-24T12:45:17Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc3\", \n    \"serverId\" : \"256529663509064\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", + "description": "\n\nStarts the replication applier. This will return immediately if the\nreplication applier is already running.\n\nIf the replication applier is not already running, the applier configuration\nwill be checked, and if it is complete, the applier will be started in a\nbackground thread. This means that even if the applier will encounter any\nerrors while running, they will not be reported in the response to this\nmethod.\n\nTo detect replication applier errors after the applier was started, use the\n*/_api/replication/applier-state* API instead.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/replication/applier-start\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : true, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-28T16:40:08Z\", \n      \"message\" : \"applier initially created for database '_system'\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 0, \n    \"totalFailedConnects\" : 0, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-28T16:40:24Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc4\", \n    \"serverId\" : \"188527940778709\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The remote *lastLogTick* value from which to start applying. If not specified,\nthe last saved tick from the previous applier run is used. If there is no\nprevious applier state saved, the applier will start at the beginning of the\nlogger server's log.\n\n", @@ -6918,7 +6918,7 @@ }, "/_api/replication/applier-state": { "get": { - "description": "\n\nReturns the state of the replication applier, regardless of whether the\napplier is currently running or not.\n\nThe response is a JSON object with the following attributes:\n\n- *state*: a JSON object with the following sub-attributes:\n\n - *running*: whether or not the applier is active and running\n\n - *lastAppliedContinuousTick*: the last tick value from the continuous\n replication log the applier has applied.\n\n - *lastProcessedContinuousTick*: the last tick value from the continuous\n replication log the applier has processed.\n\n Regularly, the last applied and last processed tick values should be\n identical. For transactional operations, the replication applier will first\n process incoming log events before applying them, so the processed tick\n value might be higher than the applied tick value. This will be the case\n until the applier encounters the *transaction commit* log event for the\n transaction.\n\n - *lastAvailableContinuousTick*: the last tick value the logger server can\n provide.\n\n - *time*: the time on the applier server.\n\n - *totalRequests*: the total number of requests the applier has made to the\n endpoint.\n\n - *totalFailedConnects*: the total number of failed connection attempts the\n applier has made.\n\n - *totalEvents*: the total number of log events the applier has processed.\n\n - *totalOperationsExcluded*: the total number of log events excluded because\n of *restrictCollections*.\n\n - *progress*: a JSON object with details about the replication applier progress.\n It contains the following sub-attributes if there is progress to report:\n\n - *message*: a textual description of the progress\n\n - *time*: the date and time the progress was logged\n\n - *failedConnects*: the current number of failed connection attempts\n\n - *lastError*: a JSON object with details about the last error that happened on\n the applier. It contains the following sub-attributes if there was an error:\n\n - *errorNum*: a numerical error code\n\n - *errorMessage*: a textual error description\n\n - *time*: the date and time the error occurred\n\n In case no error has occurred, *lastError* will be empty.\n\n- *server*: a JSON object with the following sub-attributes:\n\n - *version*: the applier server's version\n\n - *serverId*: the applier server's id\n\n- *endpoint*: the endpoint the applier is connected to (if applier is\n active) or will connect to (if applier is currently inactive)\n\n- *database*: the name of the database the applier is connected to (if applier is\n active) or will connect to (if applier is currently inactive)\n\n\n\n\n#Example:\n Fetching the state of an inactive applier:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/applier-state\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : false, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-24T12:45:18Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 1 \n    }, \n    \"totalRequests\" : 1, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-24T12:45:18Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc3\", \n    \"serverId\" : \"256529663509064\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n#Example:\n Fetching the state of an active applier:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/applier-state\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : true, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-24T12:45:18Z\", \n      \"message\" : \"fetching master state information\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 1, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-24T12:45:18Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc3\", \n    \"serverId\" : \"256529663509064\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the state of the replication applier, regardless of whether the\napplier is currently running or not.\n\nThe response is a JSON object with the following attributes:\n\n- *state*: a JSON object with the following sub-attributes:\n\n - *running*: whether or not the applier is active and running\n\n - *lastAppliedContinuousTick*: the last tick value from the continuous\n replication log the applier has applied.\n\n - *lastProcessedContinuousTick*: the last tick value from the continuous\n replication log the applier has processed.\n\n Regularly, the last applied and last processed tick values should be\n identical. For transactional operations, the replication applier will first\n process incoming log events before applying them, so the processed tick\n value might be higher than the applied tick value. This will be the case\n until the applier encounters the *transaction commit* log event for the\n transaction.\n\n - *lastAvailableContinuousTick*: the last tick value the logger server can\n provide.\n\n - *time*: the time on the applier server.\n\n - *totalRequests*: the total number of requests the applier has made to the\n endpoint.\n\n - *totalFailedConnects*: the total number of failed connection attempts the\n applier has made.\n\n - *totalEvents*: the total number of log events the applier has processed.\n\n - *totalOperationsExcluded*: the total number of log events excluded because\n of *restrictCollections*.\n\n - *progress*: a JSON object with details about the replication applier progress.\n It contains the following sub-attributes if there is progress to report:\n\n - *message*: a textual description of the progress\n\n - *time*: the date and time the progress was logged\n\n - *failedConnects*: the current number of failed connection attempts\n\n - *lastError*: a JSON object with details about the last error that happened on\n the applier. It contains the following sub-attributes if there was an error:\n\n - *errorNum*: a numerical error code\n\n - *errorMessage*: a textual error description\n\n - *time*: the date and time the error occurred\n\n In case no error has occurred, *lastError* will be empty.\n\n- *server*: a JSON object with the following sub-attributes:\n\n - *version*: the applier server's version\n\n - *serverId*: the applier server's id\n\n- *endpoint*: the endpoint the applier is connected to (if applier is\n active) or will connect to (if applier is currently inactive)\n\n- *database*: the name of the database the applier is connected to (if applier is\n active) or will connect to (if applier is currently inactive)\n\n\n\n\n#Example:\n Fetching the state of an inactive applier:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/applier-state\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : false, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-28T16:40:25Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 1 \n    }, \n    \"totalRequests\" : 1, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-28T16:40:25Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc4\", \n    \"serverId\" : \"188527940778709\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n#Example:\n Fetching the state of an active applier:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/applier-state\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : true, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-28T16:40:25Z\", \n      \"message\" : \"fetching master state information\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 1, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-28T16:40:25Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc4\", \n    \"serverId\" : \"188527940778709\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -6941,7 +6941,7 @@ }, "/_api/replication/applier-stop": { "put": { - "description": "\n\nStops the replication applier. This will return immediately if the\nreplication applier is not running.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/replication/applier-stop\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : false, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-24T12:45:19Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 1 \n    }, \n    \"totalRequests\" : 3, \n    \"totalFailedConnects\" : 3, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-24T12:45:19Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc3\", \n    \"serverId\" : \"256529663509064\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", + "description": "\n\nStops the replication applier. This will return immediately if the\nreplication applier is not running.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --dump - http://localhost:8529/_api/replication/applier-stop\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : false, \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2017-11-28T16:40:26Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 1 \n    }, \n    \"totalRequests\" : 3, \n    \"totalFailedConnects\" : 3, \n    \"totalEvents\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2017-11-28T16:40:26Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc4\", \n    \"serverId\" : \"188527940778709\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7099,7 +7099,7 @@ }, "/_api/replication/dump": { "get": { - "description": "\n\nReturns the data from the collection for the requested range.\n\nWhen the *from* query parameter is not used, collection events are returned from\nthe beginning. When the *from* parameter is used, the result will only contain\ncollection entries which have higher tick values than the specified *from* value\n(note: the log entry with a tick value equal to *from* will be excluded).\n\nThe *to* query parameter can be used to optionally restrict the upper bound of\nthe result to a certain tick value. If used, the result will only contain\ncollection entries with tick values up to (including) *to*.\n\nThe *chunkSize* query parameter can be used to control the size of the result.\nIt must be specified in bytes. The *chunkSize* value will only be honored\napproximately. Otherwise a too low *chunkSize* value could cause the server\nto not be able to put just one entry into the result and return it.\nTherefore, the *chunkSize* value will only be consulted after an entry has\nbeen written into the result. If the result size is then bigger than\n*chunkSize*, the server will respond with as many entries as there are\nin the response already. If the result size is still smaller than *chunkSize*,\nthe server will try to return more data if there's more data left to return.\n\nIf *chunkSize* is not specified, some server-side default value will be used.\n\nThe *Content-Type* of the result is *application/x-arango-dump*. This is an\neasy-to-process format, with all entries going onto separate lines in the\nresponse body.\n\nEach line itself is a JSON object, with at least the following attributes:\n\n- *tick*: the operation's tick attribute\n\n- *key*: the key of the document/edge or the key used in the deletion operation\n\n- *rev*: the revision id of the document/edge or the deletion operation\n\n- *data*: the actual document/edge data for types 2300 and 2301. The full\n document/edge data will be returned even for updates.\n\n- *type*: the type of entry. Possible values for *type* are:\n\n - 2300: document insertion/update\n\n - 2301: edge insertion/update\n\n - 2302: document/edge deletion\n\n**Note**: there will be no distinction between inserts and updates when calling this method.\n\n\n\n\n#Example:\n Empty collection:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/dump?collection=testCollection\n\nHTTP/1.1 204 No Content\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 0\nx-content-type-options: nosniff\n\n
\n\n\n\n\n#Example:\n Non-empty collection:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/dump?collection=testCollection\n\nHTTP/1.1 200 OK\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 11975\nx-content-type-options: nosniff\n\n\"{\\\"tick\\\":\\\"11969\\\",\\\"type\\\":2300,\\\"data\\\":{\\\"_id\\\":\\\"testCollection/123456\\\",\\\"_key\\\":\\\"123456\\\",\\\"_rev\\\":\\\"_V82NjFW--D\\\",\\\"b\\\":1,\\\"c\\\":false,\\\"d\\\":\\\"additional value\\\"}}\\n{\\\"tick\\\":\\\"11973\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"foobar\\\",\\\"_rev\\\":\\\"_V82NjFa--B\\\"}}\\n{\\\"tick\\\":\\\"11975\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"abcdef\\\",\\\"_rev\\\":\\\"_V82NjFa--D\\\"}}\\n\"\n
\n\n\n\n\n", + "description": "\n\nReturns the data from the collection for the requested range.\n\nWhen the *from* query parameter is not used, collection events are returned from\nthe beginning. When the *from* parameter is used, the result will only contain\ncollection entries which have higher tick values than the specified *from* value\n(note: the log entry with a tick value equal to *from* will be excluded).\n\nThe *to* query parameter can be used to optionally restrict the upper bound of\nthe result to a certain tick value. If used, the result will only contain\ncollection entries with tick values up to (including) *to*.\n\nThe *chunkSize* query parameter can be used to control the size of the result.\nIt must be specified in bytes. The *chunkSize* value will only be honored\napproximately. Otherwise a too low *chunkSize* value could cause the server\nto not be able to put just one entry into the result and return it.\nTherefore, the *chunkSize* value will only be consulted after an entry has\nbeen written into the result. If the result size is then bigger than\n*chunkSize*, the server will respond with as many entries as there are\nin the response already. If the result size is still smaller than *chunkSize*,\nthe server will try to return more data if there's more data left to return.\n\nIf *chunkSize* is not specified, some server-side default value will be used.\n\nThe *Content-Type* of the result is *application/x-arango-dump*. This is an\neasy-to-process format, with all entries going onto separate lines in the\nresponse body.\n\nEach line itself is a JSON object, with at least the following attributes:\n\n- *tick*: the operation's tick attribute\n\n- *key*: the key of the document/edge or the key used in the deletion operation\n\n- *rev*: the revision id of the document/edge or the deletion operation\n\n- *data*: the actual document/edge data for types 2300 and 2301. The full\n document/edge data will be returned even for updates.\n\n- *type*: the type of entry. Possible values for *type* are:\n\n - 2300: document insertion/update\n\n - 2301: edge insertion/update\n\n - 2302: document/edge deletion\n\n**Note**: there will be no distinction between inserts and updates when calling this method.\n\n\n\n\n#Example:\n Empty collection:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/dump?collection=testCollection\n\nHTTP/1.1 204 No Content\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 0\nx-content-type-options: nosniff\n\n
\n\n\n\n\n#Example:\n Non-empty collection:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/dump?collection=testCollection\n\nHTTP/1.1 200 OK\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 11978\nx-content-type-options: nosniff\n\n\"{\\\"tick\\\":\\\"11972\\\",\\\"type\\\":2300,\\\"data\\\":{\\\"_id\\\":\\\"testCollection/123456\\\",\\\"_key\\\":\\\"123456\\\",\\\"_rev\\\":\\\"_W-M-Pam--B\\\",\\\"b\\\":1,\\\"c\\\":false,\\\"d\\\":\\\"additional value\\\"}}\\n{\\\"tick\\\":\\\"11976\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"foobar\\\",\\\"_rev\\\":\\\"_W-M-Paq--B\\\"}}\\n{\\\"tick\\\":\\\"11978\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"abcdef\\\",\\\"_rev\\\":\\\"_W-M-Paq--D\\\"}}\\n\"\n
\n\n\n\n\n", "parameters": [ { "description": "The name or id of the collection to dump.\n\n", @@ -7188,7 +7188,7 @@ }, "/_api/replication/inventory": { "get": { - "description": "\n\nReturns the array of collections and indexes available on the server. This\narray can be used by replication clients to initiate an initial sync with the\nserver.\n\nThe response will contain a JSON object with the *collection* and *state* and\n*tick* attributes.\n\n*collections* is an array of collections with the following sub-attributes:\n\n- *parameters*: the collection properties\n\n- *indexes*: an array of the indexes of a the collection. Primary indexes and edge indexes\n are not included in this array.\n\nThe *state* attribute contains the current state of the replication logger. It\ncontains the following sub-attributes:\n\n- *running*: whether or not the replication logger is currently active. Note:\n since ArangoDB 2.2, the value will always be *true*\n\n- *lastLogTick*: the value of the last tick the replication logger has written\n\n- *time*: the current time on the server\n\nReplication clients should note the *lastLogTick* value returned. They can then\nfetch collections' data using the dump method up to the value of lastLogTick, and\nquery the continuous replication log for log events after this tick value.\n\nTo create a full copy of the collections on the server, a replication client\ncan execute these steps:\n\n- call the */inventory* API method. This returns the *lastLogTick* value and the\n array of collections and indexes from the server.\n\n- for each collection returned by */inventory*, create the collection locally and\n call */dump* to stream the collection data to the client, up to the value of\n *lastLogTick*.\n After that, the client can create the indexes on the collections as they were\n reported by */inventory*.\n\nIf the clients wants to continuously stream replication log events from the logger\nserver, the following additional steps need to be carried out:\n\n- the client should call */logger-follow* initially to fetch the first batch of\n replication events that were logged after the client's call to */inventory*.\n\n The call to */logger-follow* should use a *from* parameter with the value of the\n *lastLogTick* as reported by */inventory*. The call to */logger-follow* will return the\n *x-arango-replication-lastincluded* which will contain the last tick value included\n in the response.\n\n- the client can then continuously call */logger-follow* to incrementally fetch new\n replication events that occurred after the last transfer.\n\n Calls should use a *from* parameter with the value of the *x-arango-replication-lastincluded*\n header of the previous response. If there are no more replication events, the\n response will be empty and clients can go to sleep for a while and try again\n later.\n\n**Note**: on a coordinator, this request must have the query parameter\n*DBserver* which must be an ID of a DBserver.\nThe very same request is forwarded synchronously to that DBserver.\nIt is an error if this attribute is not bound in the coordinator case.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/replication/inventory\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"collections\" : [ \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"60\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_appbundles\", \n        \"id\" : \"60\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_appbundles\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"60\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"26\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_aqlfunctions\", \n        \"id\" : \"26\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_aqlfunctions\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"26\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"43\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_frontend\", \n        \"id\" : \"43\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_frontend\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"43\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"3\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"3\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_graphs\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"3\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"11\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_modules\", \n        \"id\" : \"11\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9894 \n        }, \n        \"name\" : \"_modules\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"11\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"13\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_routing\", \n        \"id\" : \"13\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9943 \n        }, \n        \"name\" : \"_routing\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"13\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"9\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"user\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : true, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"6\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_users\", \n        \"id\" : \"6\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"9\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"user\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : true, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 11952 \n        }, \n        \"name\" : \"_users\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"6\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"user\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"98\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"98\", \n        \"id\" : \"98\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"animals\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"98\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"92\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"92\", \n        \"id\" : \"92\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"demo\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"92\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    } \n  ], \n  \"state\" : { \n    \"running\" : true, \n    \"lastLogTick\" : \"11993\", \n    \"lastUncommittedLogTick\" : \"12003\", \n    \"totalEvents\" : 4130, \n    \"time\" : \"2017-11-24T12:45:20Z\" \n  }, \n  \"tick\" : \"12003\" \n}\n
\n\n\n\n\n#Example:\n With some additional indexes:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/inventory\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"collections\" : [ \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"12008\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"name\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : false, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        }, \n        { \n          \"id\" : \"12011\", \n          \"type\" : \"skiplist\", \n          \"fields\" : [ \n            \"a\", \n            \"b\" \n          ], \n          \"unique\" : true, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"12004\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"12004\", \n        \"id\" : \"12004\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"12008\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"name\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          }, \n          { \n            \"id\" : \"12011\", \n            \"type\" : \"skiplist\", \n            \"fields\" : [ \n              \"a\", \n              \"b\" \n            ], \n            \"unique\" : true, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"IndexedCollection1\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"12004\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"12017\", \n          \"type\" : \"fulltext\", \n          \"fields\" : [ \n            \"text\" \n          ], \n          \"unique\" : false, \n          \"sparse\" : true, \n          \"minLength\" : 10 \n        }, \n        { \n          \"id\" : \"12020\", \n          \"type\" : \"skiplist\", \n          \"fields\" : [ \n            \"a\" \n          ], \n          \"unique\" : false, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"12013\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"12013\", \n        \"id\" : \"12013\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"12017\", \n            \"type\" : \"fulltext\", \n            \"fields\" : [ \n              \"text\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : true, \n            \"minLength\" : 10 \n          }, \n          { \n            \"id\" : \"12020\", \n            \"type\" : \"skiplist\", \n            \"fields\" : [ \n              \"a\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"IndexedCollection2\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"12013\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"60\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_appbundles\", \n        \"id\" : \"60\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_appbundles\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"60\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"26\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_aqlfunctions\", \n        \"id\" : \"26\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_aqlfunctions\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"26\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"43\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_frontend\", \n        \"id\" : \"43\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_frontend\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"43\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"3\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"3\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_graphs\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"3\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"11\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_modules\", \n        \"id\" : \"11\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9894 \n        }, \n        \"name\" : \"_modules\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"11\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"13\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_routing\", \n        \"id\" : \"13\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9943 \n        }, \n        \"name\" : \"_routing\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"13\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"9\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"user\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : true, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"6\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_users\", \n        \"id\" : \"6\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"9\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"user\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : true, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 11952 \n        }, \n        \"name\" : \"_users\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"6\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"user\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"98\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"98\", \n        \"id\" : \"98\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"animals\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"98\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"92\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"92\", \n        \"id\" : \"92\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"demo\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"92\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    } \n  ], \n  \"state\" : { \n    \"running\" : true, \n    \"lastLogTick\" : \"12009\", \n    \"lastUncommittedLogTick\" : \"12021\", \n    \"totalEvents\" : 4136, \n    \"time\" : \"2017-11-24T12:45:20Z\" \n  }, \n  \"tick\" : \"12021\" \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the array of collections and indexes available on the server. This\narray can be used by replication clients to initiate an initial sync with the\nserver.\n\nThe response will contain a JSON object with the *collection* and *state* and\n*tick* attributes.\n\n*collections* is an array of collections with the following sub-attributes:\n\n- *parameters*: the collection properties\n\n- *indexes*: an array of the indexes of a the collection. Primary indexes and edge indexes\n are not included in this array.\n\nThe *state* attribute contains the current state of the replication logger. It\ncontains the following sub-attributes:\n\n- *running*: whether or not the replication logger is currently active. Note:\n since ArangoDB 2.2, the value will always be *true*\n\n- *lastLogTick*: the value of the last tick the replication logger has written\n\n- *time*: the current time on the server\n\nReplication clients should note the *lastLogTick* value returned. They can then\nfetch collections' data using the dump method up to the value of lastLogTick, and\nquery the continuous replication log for log events after this tick value.\n\nTo create a full copy of the collections on the server, a replication client\ncan execute these steps:\n\n- call the */inventory* API method. This returns the *lastLogTick* value and the\n array of collections and indexes from the server.\n\n- for each collection returned by */inventory*, create the collection locally and\n call */dump* to stream the collection data to the client, up to the value of\n *lastLogTick*.\n After that, the client can create the indexes on the collections as they were\n reported by */inventory*.\n\nIf the clients wants to continuously stream replication log events from the logger\nserver, the following additional steps need to be carried out:\n\n- the client should call */logger-follow* initially to fetch the first batch of\n replication events that were logged after the client's call to */inventory*.\n\n The call to */logger-follow* should use a *from* parameter with the value of the\n *lastLogTick* as reported by */inventory*. The call to */logger-follow* will return the\n *x-arango-replication-lastincluded* which will contain the last tick value included\n in the response.\n\n- the client can then continuously call */logger-follow* to incrementally fetch new\n replication events that occurred after the last transfer.\n\n Calls should use a *from* parameter with the value of the *x-arango-replication-lastincluded*\n header of the previous response. If there are no more replication events, the\n response will be empty and clients can go to sleep for a while and try again\n later.\n\n**Note**: on a coordinator, this request must have the query parameter\n*DBserver* which must be an ID of a DBserver.\nThe very same request is forwarded synchronously to that DBserver.\nIt is an error if this attribute is not bound in the coordinator case.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/replication/inventory\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"collections\" : [ \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"60\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_appbundles\", \n        \"id\" : \"60\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_appbundles\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"60\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"26\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_aqlfunctions\", \n        \"id\" : \"26\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_aqlfunctions\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"26\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"43\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_frontend\", \n        \"id\" : \"43\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_frontend\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"43\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"3\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"3\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_graphs\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"3\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"11\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_modules\", \n        \"id\" : \"11\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9894 \n        }, \n        \"name\" : \"_modules\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"11\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"13\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_routing\", \n        \"id\" : \"13\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9943 \n        }, \n        \"name\" : \"_routing\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"13\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"9\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"user\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : true, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"6\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_users\", \n        \"id\" : \"6\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"9\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"user\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : true, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 11955 \n        }, \n        \"name\" : \"_users\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"6\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"user\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"98\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"98\", \n        \"id\" : \"98\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"animals\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"98\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"92\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"92\", \n        \"id\" : \"92\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"demo\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"92\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    } \n  ], \n  \"state\" : { \n    \"running\" : true, \n    \"lastLogTick\" : \"11996\", \n    \"lastUncommittedLogTick\" : \"12006\", \n    \"totalEvents\" : 4130, \n    \"time\" : \"2017-11-28T16:40:28Z\" \n  }, \n  \"tick\" : \"12006\" \n}\n
\n\n\n\n\n#Example:\n With some additional indexes:\n\n
shell> curl --dump - http://localhost:8529/_api/replication/inventory\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"collections\" : [ \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"12011\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"name\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : false, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        }, \n        { \n          \"id\" : \"12014\", \n          \"type\" : \"skiplist\", \n          \"fields\" : [ \n            \"a\", \n            \"b\" \n          ], \n          \"unique\" : true, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"12007\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"12007\", \n        \"id\" : \"12007\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"12011\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"name\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          }, \n          { \n            \"id\" : \"12014\", \n            \"type\" : \"skiplist\", \n            \"fields\" : [ \n              \"a\", \n              \"b\" \n            ], \n            \"unique\" : true, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"IndexedCollection1\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"12007\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"12020\", \n          \"type\" : \"fulltext\", \n          \"fields\" : [ \n            \"text\" \n          ], \n          \"unique\" : false, \n          \"sparse\" : true, \n          \"minLength\" : 10 \n        }, \n        { \n          \"id\" : \"12023\", \n          \"type\" : \"skiplist\", \n          \"fields\" : [ \n            \"a\" \n          ], \n          \"unique\" : false, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"12016\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"12016\", \n        \"id\" : \"12016\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"12020\", \n            \"type\" : \"fulltext\", \n            \"fields\" : [ \n              \"text\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : true, \n            \"minLength\" : 10 \n          }, \n          { \n            \"id\" : \"12023\", \n            \"type\" : \"skiplist\", \n            \"fields\" : [ \n              \"a\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"IndexedCollection2\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"12016\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"60\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_appbundles\", \n        \"id\" : \"60\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_appbundles\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"60\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"26\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_aqlfunctions\", \n        \"id\" : \"26\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_aqlfunctions\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"26\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"43\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_frontend\", \n        \"id\" : \"43\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_frontend\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"43\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"3\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"3\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"_graphs\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"3\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"11\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_modules\", \n        \"id\" : \"11\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 1048576, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9894 \n        }, \n        \"name\" : \"_modules\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"11\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"13\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_routing\", \n        \"id\" : \"13\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 9943 \n        }, \n        \"name\" : \"_routing\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"13\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ \n        { \n          \"id\" : \"9\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"user\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : true, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"6\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_users\", \n        \"id\" : \"6\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          }, \n          { \n            \"id\" : \"9\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"user\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : true, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 4194304, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 11955 \n        }, \n        \"name\" : \"_users\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"6\", \n        \"replicationFactor\" : 2, \n        \"shardKeys\" : [ \n          \"user\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"98\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"98\", \n        \"id\" : \"98\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"animals\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"98\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    }, \n    { \n      \"indexes\" : [ ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"92\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"92\", \n        \"id\" : \"92\", \n        \"indexBuckets\" : 8, \n        \"indexes\" : [ \n          { \n            \"id\" : \"0\", \n            \"type\" : \"primary\", \n            \"fields\" : [ \n              \"_key\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : false, \n        \"isVolatile\" : false, \n        \"journalSize\" : 33554432, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 0 \n        }, \n        \"name\" : \"demo\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"92\", \n        \"replicationFactor\" : 1, \n        \"shardKeys\" : [ \n          \"_key\" \n        ], \n        \"shards\" : { \n        }, \n        \"status\" : 3, \n        \"type\" : 2, \n        \"version\" : 6, \n        \"waitForSync\" : false \n      } \n    } \n  ], \n  \"state\" : { \n    \"running\" : true, \n    \"lastLogTick\" : \"12012\", \n    \"lastUncommittedLogTick\" : \"12024\", \n    \"totalEvents\" : 4136, \n    \"time\" : \"2017-11-28T16:40:28Z\" \n  }, \n  \"tick\" : \"12024\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "Include system collections in the result. The default value is *true*.\n\n", @@ -7245,7 +7245,7 @@ }, "/_api/replication/logger-follow": { "get": { - "description": "\n\nReturns data from the server's replication log. This method can be called\nby replication clients after an initial synchronization of data. The method\nwill return all \"recent\" log entries from the logger server, and the clients\ncan replay and apply these entries locally so they get to the same data\nstate as the logger server.\n\nClients can call this method repeatedly to incrementally fetch all changes\nfrom the logger server. In this case, they should provide the *from* value so\nthey will only get returned the log events since their last fetch.\n\nWhen the *from* query parameter is not used, the logger server will return log\nentries starting at the beginning of its replication log. When the *from*\nparameter is used, the logger server will only return log entries which have\nhigher tick values than the specified *from* value (note: the log entry with a\ntick value equal to *from* will be excluded). Use the *from* value when\nincrementally fetching log data.\n\nThe *to* query parameter can be used to optionally restrict the upper bound of\nthe result to a certain tick value. If used, the result will contain only log events\nwith tick values up to (including) *to*. In incremental fetching, there is no\nneed to use the *to* parameter. It only makes sense in special situations,\nwhen only parts of the change log are required.\n\nThe *chunkSize* query parameter can be used to control the size of the result.\nIt must be specified in bytes. The *chunkSize* value will only be honored\napproximately. Otherwise a too low *chunkSize* value could cause the server\nto not be able to put just one log entry into the result and return it.\nTherefore, the *chunkSize* value will only be consulted after a log entry has\nbeen written into the result. If the result size is then bigger than\n*chunkSize*, the server will respond with as many log entries as there are\nin the response already. If the result size is still smaller than *chunkSize*,\nthe server will try to return more data if there's more data left to return.\n\nIf *chunkSize* is not specified, some server-side default value will be used.\n\nThe *Content-Type* of the result is *application/x-arango-dump*. This is an\neasy-to-process format, with all log events going onto separate lines in the\nresponse body. Each log event itself is a JSON object, with at least the\nfollowing attributes:\n\n- *tick*: the log event tick value\n\n- *type*: the log event type\n\nIndividual log events will also have additional attributes, depending on the\nevent type. A few common attributes which are used for multiple events types\nare:\n\n- *cid*: id of the collection the event was for\n\n- *tid*: id of the transaction the event was contained in\n\n- *key*: document key\n\n- *rev*: document revision id\n\n- *data*: the original document data\n\nA more detailed description of the individual replication event types and their\ndata structures can be found in the manual.\n\nThe response will also contain the following HTTP headers:\n\n- *x-arango-replication-active*: whether or not the logger is active. Clients\n can use this flag as an indication for their polling frequency. If the\n logger is not active and there are no more replication events available, it\n might be sensible for a client to abort, or to go to sleep for a long time\n and try again later to check whether the logger has been activated.\n\n- *x-arango-replication-lastincluded*: the tick value of the last included\n value in the result. In incremental log fetching, this value can be used\n as the *from* value for the following request. **Note** that if the result is\n empty, the value will be *0*. This value should not be used as *from* value\n by clients in the next request (otherwise the server would return the log\n events from the start of the log again).\n\n- *x-arango-replication-lasttick*: the last tick value the logger server has\n logged (not necessarily included in the result). By comparing the the last\n tick and last included tick values, clients have an approximate indication of\n how many events there are still left to fetch.\n\n- *x-arango-replication-checkmore*: whether or not there already exists more\n log data which the client could fetch immediately. If there is more log data\n available, the client could call *logger-follow* again with an adjusted *from*\n value to fetch remaining log entries until there are no more.\n\n If there isn't any more log data to fetch, the client might decide to go\n to sleep for a while before calling the logger again.\n\n**Note**: this method is not supported on a coordinator in a cluster.\n\n\n\n\n#Example:\n No log events available\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12057\n\nHTTP/1.1 204 No Content\nx-arango-replication-lastincluded: 0\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-lasttick: 12057\nx-arango-replication-checkmore: false\nx-arango-replication-frompresent: true\nx-content-type-options: nosniff\nx-arango-replication-active: true\n\n
\n\n\n\n\n#Example:\n A few log events\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12057\n\nHTTP/1.1 200 OK\nx-arango-replication-lastincluded: 12077\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-lasttick: 12077\nx-arango-replication-checkmore: false\nx-arango-replication-frompresent: true\nx-content-type-options: nosniff\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"12059\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12058\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"12058\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"12058\\\",\\\"id\\\":\\\"12058\\\",\\\"indexBuckets\\\":8,\\\"indexes\\\":[{\\\"fields\\\":[\\\"_key\\\"],\\\"id\\\":\\\"0\\\",\\\"selectivityEstimate\\\":1,\\\"sparse\\\":false,\\\"type\\\":\\\"primary\\\",\\\"unique\\\":true}],\\\"isSmart\\\":false,\\\"isSystem\\\":false,\\\"isVolatile\\\":false,\\\"journalSize\\\":33554432,\\\"keyOptions\\\":{\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0,\\\"type\\\":\\\"traditional\\\"},\\\"name\\\":\\\"products\\\",\\\"numberOfShards\\\":1,\\\"planId\\\":\\\"12058\\\",\\\"replicationFactor\\\":1,\\\"shardKeys\\\":[\\\"_key\\\"],\\\"shards\\\":{},\\\"status\\\":3,\\\"type\\\":2,\\\"version\\\":6,\\\"waitForSync\\\":false}}\\n{\\\"tick\\\":\\\"12063\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12058\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p1\\\",\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_V82Nlqm--_\\\",\\\"name\\\":\\\"flux compensator\\\"}}\\n{\\\"tick\\\":\\\"12065\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12058\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_V82Nlqm--B\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"hybrid hovercraft\\\"}}\\n{\\\"tick\\\":\\\"12067\\\",\\\"type\\\":2302,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12058\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_V82Nlqm--D\\\"}}\\n{\\\"tick\\\":\\\"12069\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12058\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_V82Nlqq--_\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"broken hovercraft\\\"}}\\n{\\\"tick\\\":\\\"12070\\\",\\\"type\\\":2001,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12058\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"cuid\\\":\\\"12058\\\",\\\"id\\\":\\\"12058\\\",\\\"name\\\":\\\"products\\\"}}\\n{\\\"tick\\\":\\\"12073\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"6\\\",\\\"cname\\\":\\\"_users\\\",\\\"data\\\":{\\\"_id\\\":\\\"_users/10681\\\",\\\"_key\\\":\\\"10681\\\",\\\"_rev\\\":\\\"_V82Nlra--_\\\",\\\"authData\\\":{\\\"active\\\":true,\\\"simple\\\":{\\\"hash\\\":\\\"8d5914963e996e1074211043bf52d378fe2a757d16dbe8e26a325b411dccc4c7\\\",\\\"method\\\":\\\"sha256\\\",\\\"salt\\\":\\\"c6d778e1\\\"}},\\\"databases\\\":{\\\"mydb\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"source\\\":\\\"COLLECTION\\\",\\\"user\\\":\\\"admin\\\",\\\"userData\\\":{}}}\\n{\\\"tick\\\":\\\"12075\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"6\\\",\\\"cname\\\":\\\"_users\\\",\\\"data\\\":{\\\"_id\\\":\\\"_users/10693\\\",\\\"_key\\\":\\\"10693\\\",\\\"_rev\\\":\\\"_V82Nlra--B\\\",\\\"authData\\\":{\\\"active\\\":false,\\\"simple\\\":{\\\"hash\\\":\\\"58eaf9b07a41aba0a200eae2aba6b024a4d34418197bbb65bfc0db3288a99870\\\",\\\"method\\\":\\\"sha256\\\",\\\"salt\\\":\\\"b3b79497\\\"}},\\\"databases\\\":{\\\"mydb\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"source\\\":\\\"COLLECTION\\\",\\\"user\\\":\\\"tester\\\",\\\"userData\\\":{}}}\\n{\\\"tick\\\":\\\"12077\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"6\\\",\\\"cname\\\":\\\"_users\\\",\\\"data\\\":{\\\"_id\\\":\\\"_users/89\\\",\\\"_key\\\":\\\"89\\\",\\\"_rev\\\":\\\"_V82Nlra--D\\\",\\\"authData\\\":{\\\"active\\\":true,\\\"simple\\\":{\\\"hash\\\":\\\"797f5ad6cd53832a4029e8816e550243f1bd8ebc3879ada35c04089862ddf441\\\",\\\"method\\\":\\\"sha256\\\",\\\"salt\\\":\\\"46e077a8\\\"}},\\\"databases\\\":{\\\"*\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}},\\\"_system\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"source\\\":\\\"COLLECTION\\\",\\\"user\\\":\\\"root\\\"}}\\n\"\n
\n\n\n\n\n#Example:\n More events than would fit into the response\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12037&chunkSize=400\n\nHTTP/1.1 200 OK\nx-arango-replication-lastincluded: 12039\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-lasttick: 12057\nx-arango-replication-checkmore: true\nx-arango-replication-frompresent: true\nx-content-type-options: nosniff\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"12039\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12038\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"12038\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"12038\\\",\\\"id\\\":\\\"12038\\\",\\\"indexBuckets\\\":8,\\\"indexes\\\":[{\\\"fields\\\":[\\\"_key\\\"],\\\"id\\\":\\\"0\\\",\\\"selectivityEstimate\\\":1,\\\"sparse\\\":false,\\\"type\\\":\\\"primary\\\",\\\"unique\\\":true}],\\\"isSmart\\\":false,\\\"isSystem\\\":false,\\\"isVolatile\\\":false,\\\"journalSize\\\":33554432,\\\"keyOptions\\\":{\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0,\\\"type\\\":\\\"traditional\\\"},\\\"name\\\":\\\"products\\\",\\\"numberOfShards\\\":1,\\\"planId\\\":\\\"12038\\\",\\\"replicationFactor\\\":1,\\\"shardKeys\\\":[\\\"_key\\\"],\\\"shards\\\":{},\\\"status\\\":3,\\\"type\\\":2,\\\"version\\\":6,\\\"waitForSync\\\":false}}\\n\"\n
\n\n\n\n\n", + "description": "\n\nReturns data from the server's replication log. This method can be called\nby replication clients after an initial synchronization of data. The method\nwill return all \"recent\" log entries from the logger server, and the clients\ncan replay and apply these entries locally so they get to the same data\nstate as the logger server.\n\nClients can call this method repeatedly to incrementally fetch all changes\nfrom the logger server. In this case, they should provide the *from* value so\nthey will only get returned the log events since their last fetch.\n\nWhen the *from* query parameter is not used, the logger server will return log\nentries starting at the beginning of its replication log. When the *from*\nparameter is used, the logger server will only return log entries which have\nhigher tick values than the specified *from* value (note: the log entry with a\ntick value equal to *from* will be excluded). Use the *from* value when\nincrementally fetching log data.\n\nThe *to* query parameter can be used to optionally restrict the upper bound of\nthe result to a certain tick value. If used, the result will contain only log events\nwith tick values up to (including) *to*. In incremental fetching, there is no\nneed to use the *to* parameter. It only makes sense in special situations,\nwhen only parts of the change log are required.\n\nThe *chunkSize* query parameter can be used to control the size of the result.\nIt must be specified in bytes. The *chunkSize* value will only be honored\napproximately. Otherwise a too low *chunkSize* value could cause the server\nto not be able to put just one log entry into the result and return it.\nTherefore, the *chunkSize* value will only be consulted after a log entry has\nbeen written into the result. If the result size is then bigger than\n*chunkSize*, the server will respond with as many log entries as there are\nin the response already. If the result size is still smaller than *chunkSize*,\nthe server will try to return more data if there's more data left to return.\n\nIf *chunkSize* is not specified, some server-side default value will be used.\n\nThe *Content-Type* of the result is *application/x-arango-dump*. This is an\neasy-to-process format, with all log events going onto separate lines in the\nresponse body. Each log event itself is a JSON object, with at least the\nfollowing attributes:\n\n- *tick*: the log event tick value\n\n- *type*: the log event type\n\nIndividual log events will also have additional attributes, depending on the\nevent type. A few common attributes which are used for multiple events types\nare:\n\n- *cid*: id of the collection the event was for\n\n- *tid*: id of the transaction the event was contained in\n\n- *key*: document key\n\n- *rev*: document revision id\n\n- *data*: the original document data\n\nA more detailed description of the individual replication event types and their\ndata structures can be found in the manual.\n\nThe response will also contain the following HTTP headers:\n\n- *x-arango-replication-active*: whether or not the logger is active. Clients\n can use this flag as an indication for their polling frequency. If the\n logger is not active and there are no more replication events available, it\n might be sensible for a client to abort, or to go to sleep for a long time\n and try again later to check whether the logger has been activated.\n\n- *x-arango-replication-lastincluded*: the tick value of the last included\n value in the result. In incremental log fetching, this value can be used\n as the *from* value for the following request. **Note** that if the result is\n empty, the value will be *0*. This value should not be used as *from* value\n by clients in the next request (otherwise the server would return the log\n events from the start of the log again).\n\n- *x-arango-replication-lasttick*: the last tick value the logger server has\n logged (not necessarily included in the result). By comparing the the last\n tick and last included tick values, clients have an approximate indication of\n how many events there are still left to fetch.\n\n- *x-arango-replication-checkmore*: whether or not there already exists more\n log data which the client could fetch immediately. If there is more log data\n available, the client could call *logger-follow* again with an adjusted *from*\n value to fetch remaining log entries until there are no more.\n\n If there isn't any more log data to fetch, the client might decide to go\n to sleep for a while before calling the logger again.\n\n**Note**: this method is not supported on a coordinator in a cluster.\n\n\n\n\n#Example:\n No log events available\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12060\n\nHTTP/1.1 204 No Content\nx-arango-replication-lastincluded: 0\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-lasttick: 12060\nx-arango-replication-checkmore: false\nx-arango-replication-frompresent: true\nx-content-type-options: nosniff\nx-arango-replication-active: true\n\n
\n\n\n\n\n#Example:\n A few log events\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12060\n\nHTTP/1.1 200 OK\nx-arango-replication-lastincluded: 12080\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-lasttick: 12089\nx-arango-replication-checkmore: true\nx-arango-replication-frompresent: true\nx-content-type-options: nosniff\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"12062\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12061\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"12061\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"12061\\\",\\\"id\\\":\\\"12061\\\",\\\"indexBuckets\\\":8,\\\"indexes\\\":[{\\\"fields\\\":[\\\"_key\\\"],\\\"id\\\":\\\"0\\\",\\\"selectivityEstimate\\\":1,\\\"sparse\\\":false,\\\"type\\\":\\\"primary\\\",\\\"unique\\\":true}],\\\"isSmart\\\":false,\\\"isSystem\\\":false,\\\"isVolatile\\\":false,\\\"journalSize\\\":33554432,\\\"keyOptions\\\":{\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0,\\\"type\\\":\\\"traditional\\\"},\\\"name\\\":\\\"products\\\",\\\"numberOfShards\\\":1,\\\"planId\\\":\\\"12061\\\",\\\"replicationFactor\\\":1,\\\"shardKeys\\\":[\\\"_key\\\"],\\\"shards\\\":{},\\\"status\\\":3,\\\"type\\\":2,\\\"version\\\":6,\\\"waitForSync\\\":false}}\\n{\\\"tick\\\":\\\"12066\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12061\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p1\\\",\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_W-M-SsS--_\\\",\\\"name\\\":\\\"flux compensator\\\"}}\\n{\\\"tick\\\":\\\"12068\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12061\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_W-M-SsS--B\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"hybrid hovercraft\\\"}}\\n{\\\"tick\\\":\\\"12070\\\",\\\"type\\\":2302,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12061\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_W-M-SsS--D\\\"}}\\n{\\\"tick\\\":\\\"12072\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12061\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_W-M-SsS--F\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"broken hovercraft\\\"}}\\n{\\\"tick\\\":\\\"12073\\\",\\\"type\\\":2001,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12061\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"cuid\\\":\\\"12061\\\",\\\"id\\\":\\\"12061\\\",\\\"name\\\":\\\"products\\\"}}\\n{\\\"tick\\\":\\\"12076\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"6\\\",\\\"cname\\\":\\\"_users\\\",\\\"data\\\":{\\\"_id\\\":\\\"_users/10684\\\",\\\"_key\\\":\\\"10684\\\",\\\"_rev\\\":\\\"_W-M-StC--_\\\",\\\"authData\\\":{\\\"active\\\":true,\\\"simple\\\":{\\\"hash\\\":\\\"a6d64e50dd9465f8fa6595e9d22a7ac99f064ea5f34a1e8edc019f24a6ecfe09\\\",\\\"method\\\":\\\"sha256\\\",\\\"salt\\\":\\\"82b332a5\\\"}},\\\"databases\\\":{\\\"mydb\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"source\\\":\\\"COLLECTION\\\",\\\"user\\\":\\\"admin\\\",\\\"userData\\\":{}}}\\n{\\\"tick\\\":\\\"12078\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"6\\\",\\\"cname\\\":\\\"_users\\\",\\\"data\\\":{\\\"_id\\\":\\\"_users/10696\\\",\\\"_key\\\":\\\"10696\\\",\\\"_rev\\\":\\\"_W-M-StC--B\\\",\\\"authData\\\":{\\\"active\\\":false,\\\"simple\\\":{\\\"hash\\\":\\\"8aa3fc7649910fd2994941765191474e30c2e697b8dc6330e25cf34fa9a6b564\\\",\\\"method\\\":\\\"sha256\\\",\\\"salt\\\":\\\"5a118f30\\\"}},\\\"databases\\\":{\\\"mydb\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"source\\\":\\\"COLLECTION\\\",\\\"user\\\":\\\"tester\\\",\\\"userData\\\":{}}}\\n{\\\"tick\\\":\\\"12080\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"6\\\",\\\"cname\\\":\\\"_users\\\",\\\"data\\\":{\\\"_id\\\":\\\"_users/89\\\",\\\"_key\\\":\\\"89\\\",\\\"_rev\\\":\\\"_W-M-StC--D\\\",\\\"authData\\\":{\\\"active\\\":true,\\\"simple\\\":{\\\"hash\\\":\\\"15a4e3304538bc2ccc11ae653a9f428db8272aa63cdfaca82114cf8da65ba60c\\\",\\\"method\\\":\\\"sha256\\\",\\\"salt\\\":\\\"c66b3a68\\\"}},\\\"databases\\\":{\\\"*\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}},\\\"_system\\\":{\\\"collections\\\":{\\\"*\\\":{\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"permissions\\\":{\\\"read\\\":true,\\\"write\\\":true}}},\\\"source\\\":\\\"COLLECTION\\\",\\\"user\\\":\\\"root\\\"}}\\n\"\n
\n\n\n\n\n#Example:\n More events than would fit into the response\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=12040&chunkSize=400\n\nHTTP/1.1 200 OK\nx-arango-replication-lastincluded: 12042\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-lasttick: 12060\nx-arango-replication-checkmore: true\nx-arango-replication-frompresent: true\nx-content-type-options: nosniff\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"12042\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"12041\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"12041\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"12041\\\",\\\"id\\\":\\\"12041\\\",\\\"indexBuckets\\\":8,\\\"indexes\\\":[{\\\"fields\\\":[\\\"_key\\\"],\\\"id\\\":\\\"0\\\",\\\"selectivityEstimate\\\":1,\\\"sparse\\\":false,\\\"type\\\":\\\"primary\\\",\\\"unique\\\":true}],\\\"isSmart\\\":false,\\\"isSystem\\\":false,\\\"isVolatile\\\":false,\\\"journalSize\\\":33554432,\\\"keyOptions\\\":{\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0,\\\"type\\\":\\\"traditional\\\"},\\\"name\\\":\\\"products\\\",\\\"numberOfShards\\\":1,\\\"planId\\\":\\\"12041\\\",\\\"replicationFactor\\\":1,\\\"shardKeys\\\":[\\\"_key\\\"],\\\"shards\\\":{},\\\"status\\\":3,\\\"type\\\":2,\\\"version\\\":6,\\\"waitForSync\\\":false}}\\n\"\n
\n\n\n\n\n", "parameters": [ { "description": "Lower bound tick value for results.\n\n", @@ -7306,7 +7306,7 @@ }, "/_api/replication/logger-state": { "get": { - "description": "\n\nReturns the current state of the server's replication logger. The state will\ninclude information about whether the logger is running and about the last\nlogged tick value. This tick value is important for incremental fetching of\ndata.\n\nThe body of the response contains a JSON object with the following\nattributes:\n\n- *state*: the current logger state as a JSON object with the following\n sub-attributes:\n\n - *running*: whether or not the logger is running\n\n - *lastLogTick*: the tick value of the latest tick the logger has logged.\n This value can be used for incremental fetching of log data.\n\n - *totalEvents*: total number of events logged since the server was started.\n The value is not reset between multiple stops and re-starts of the logger.\n\n - *time*: the current date and time on the logger server\n\n- *server*: a JSON object with the following sub-attributes:\n\n - *version*: the logger server's version\n\n - *serverId*: the logger server's id\n\n- *clients*: returns the last fetch status by replication clients connected to\n the logger. Each client is returned as a JSON object with the following attributes:\n\n - *serverId*: server id of client\n\n - *lastServedTick*: last tick value served to this client via the *logger-follow* API\n\n - *time*: date and time when this client last called the *logger-follow* API\n\n\n\n\n#Example:\n Returns the state of the replication logger.\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-state\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : true, \n    \"lastLogTick\" : \"12086\", \n    \"lastUncommittedLogTick\" : \"12086\", \n    \"totalEvents\" : 4164, \n    \"time\" : \"2017-11-24T12:45:23Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc3\", \n    \"serverId\" : \"256529663509064\" \n  }, \n  \"clients\" : [ ] \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the current state of the server's replication logger. The state will\ninclude information about whether the logger is running and about the last\nlogged tick value. This tick value is important for incremental fetching of\ndata.\n\nThe body of the response contains a JSON object with the following\nattributes:\n\n- *state*: the current logger state as a JSON object with the following\n sub-attributes:\n\n - *running*: whether or not the logger is running\n\n - *lastLogTick*: the tick value of the latest tick the logger has logged.\n This value can be used for incremental fetching of log data.\n\n - *totalEvents*: total number of events logged since the server was started.\n The value is not reset between multiple stops and re-starts of the logger.\n\n - *time*: the current date and time on the logger server\n\n- *server*: a JSON object with the following sub-attributes:\n\n - *version*: the logger server's version\n\n - *serverId*: the logger server's id\n\n- *clients*: returns the last fetch status by replication clients connected to\n the logger. Each client is returned as a JSON object with the following attributes:\n\n - *serverId*: server id of client\n\n - *lastServedTick*: last tick value served to this client via the *logger-follow* API\n\n - *time*: date and time when this client last called the *logger-follow* API\n\n\n\n\n#Example:\n Returns the state of the replication logger.\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-state\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"state\" : { \n    \"running\" : true, \n    \"lastLogTick\" : \"12089\", \n    \"lastUncommittedLogTick\" : \"12089\", \n    \"totalEvents\" : 4164, \n    \"time\" : \"2017-11-28T16:40:30Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.rc4\", \n    \"serverId\" : \"188527940778709\" \n  }, \n  \"clients\" : [ ] \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7329,7 +7329,7 @@ }, "/_api/replication/logger-tick-ranges": { "get": { - "description": "\n\nReturns the currently available ranges of tick values for all currently\navailable WAL logfiles. The tick values can be used to determine if certain\ndata (identified by tick value) are still available for replication.\n\nThe body of the response contains a JSON array. Each array member is an\nobject\nthat describes a single logfile. Each object has the following attributes:\n\n* *datafile*: name of the logfile\n\n* *status*: status of the datafile, in textual form (e.g. \"sealed\", \"open\")\n\n* *tickMin*: minimum tick value contained in logfile\n\n* *tickMax*: maximum tick value contained in logfile\n\n\n\n\n#Example:\n Returns the available tick ranges.\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-tick-ranges\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-2.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"5\", \n    \"tickMax\" : \"10375\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-85.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10383\", \n    \"tickMax\" : \"10480\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-86.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10488\", \n    \"tickMax\" : \"11975\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-10378.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"11981\", \n    \"tickMax\" : \"11990\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_1CStXB/tmp-64211-4017838179/data/journals/logfile-10483.db\", \n    \"status\" : \"open\", \n    \"tickMin\" : \"11996\", \n    \"tickMax\" : \"12086\" \n  } \n]\n
\n\n\n\n\n", + "description": "\n\nReturns the currently available ranges of tick values for all currently\navailable WAL logfiles. The tick values can be used to determine if certain\ndata (identified by tick value) are still available for replication.\n\nThe body of the response contains a JSON array. Each array member is an\nobject\nthat describes a single logfile. Each object has the following attributes:\n\n* *datafile*: name of the logfile\n\n* *status*: status of the datafile, in textual form (e.g. \"sealed\", \"open\")\n\n* *tickMin*: minimum tick value contained in logfile\n\n* *tickMax*: maximum tick value contained in logfile\n\n\n\n\n#Example:\n Returns the available tick ranges.\n\n
shell> curl --dump - http://localhost:8529/_api/replication/logger-tick-ranges\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-2.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"5\", \n    \"tickMax\" : \"10382\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-85.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10398\", \n    \"tickMax\" : \"10484\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-86.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10491\", \n    \"tickMax\" : \"11978\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-10385.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"11984\", \n    \"tickMax\" : \"11993\" \n  }, \n  { \n    \"datafile\" : \"/var/folders/sb/5_j9t5wx4d7bpprydjdb0xtc0000gn/T/arangosh_OSGYSU/tmp-78310-1954060383/data/journals/logfile-10487.db\", \n    \"status\" : \"open\", \n    \"tickMin\" : \"11998\", \n    \"tickMax\" : \"12089\" \n  } \n]\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7394,7 +7394,7 @@ }, "/_api/replication/server-id": { "get": { - "description": "\n\nReturns the servers id. The id is also returned by other replication API\nmethods, and this method is an easy means of determining a server's id.\n\nThe body of the response is a JSON object with the attribute *serverId*. The\nserver id is returned as a string.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/replication/server-id\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"serverId\" : \"256529663509064\" \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the servers id. The id is also returned by other replication API\nmethods, and this method is an easy means of determining a server's id.\n\nThe body of the response is a JSON object with the attribute *serverId*. The\nserver id is returned as a string.\n\n\n\n\n#Example:\n \n\n
shell> curl --dump - http://localhost:8529/_api/replication/server-id\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"serverId\" : \"188527940778709\" \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7456,7 +7456,7 @@ }, "/_api/simple/all": { "put": { - "description": "\n\n\nReturns all documents of a collections. The call expects a JSON object\nas body with the following attributes:\n\n- *collection*: The name of the collection to query.\n\n- *skip*: The number of documents to skip in the query (optional).\n\n- *limit*: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\n\n\n\n#Example:\n Limit the amount of documents using *limit*\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF\n{ \"collection\": \"products\", \"skip\": 2, \"limit\" : 2 }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12139\", \n      \"_id\" : \"products/12139\", \n      \"_rev\" : \"_V82Nm2---_\", \n      \"Hello1\" : \"World1\" \n    }, \n    { \n      \"_key\" : \"12143\", \n      \"_id\" : \"products/12143\", \n      \"_rev\" : \"_V82Nm2---B\", \n      \"Hello2\" : \"World2\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 4, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001380443572998047 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Using a *batchSize* value\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF\n{ \"collection\": \"products\", \"batchSize\" : 3 }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 201, \n  \"result\" : [ \n    { \n      \"_key\" : \"12120\", \n      \"_id\" : \"products/12120\", \n      \"_rev\" : \"_V82Nmz6--B\", \n      \"Hello4\" : \"World4\" \n    }, \n    { \n      \"_key\" : \"12123\", \n      \"_id\" : \"products/12123\", \n      \"_rev\" : \"_V82Nm0K--_\", \n      \"Hello5\" : \"World5\" \n    }, \n    { \n      \"_key\" : \"12117\", \n      \"_id\" : \"products/12117\", \n      \"_rev\" : \"_V82Nmz6--_\", \n      \"Hello3\" : \"World3\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"12126\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00020003318786621094 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n", + "description": "\n\n\nReturns all documents of a collections. The call expects a JSON object\nas body with the following attributes:\n\n- *collection*: The name of the collection to query.\n\n- *skip*: The number of documents to skip in the query (optional).\n\n- *limit*: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\n\n\n\n#Example:\n Limit the amount of documents using *limit*\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF\n{ \"collection\": \"products\", \"skip\": 2, \"limit\" : 2 }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12142\", \n      \"_id\" : \"products/12142\", \n      \"_rev\" : \"_W-M-Tyy--_\", \n      \"Hello1\" : \"World1\" \n    }, \n    { \n      \"_key\" : \"12155\", \n      \"_id\" : \"products/12155\", \n      \"_rev\" : \"_W-M-Ty2--_\", \n      \"Hello5\" : \"World5\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 4, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001201629638671875 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Using a *batchSize* value\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF\n{ \"collection\": \"products\", \"batchSize\" : 3 }\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"code\" : 201, \n  \"result\" : [ \n    { \n      \"_key\" : \"12113\", \n      \"_id\" : \"products/12113\", \n      \"_rev\" : \"_W-M-Twy--_\", \n      \"Hello1\" : \"World1\" \n    }, \n    { \n      \"_key\" : \"12120\", \n      \"_id\" : \"products/12120\", \n      \"_rev\" : \"_W-M-Twy--D\", \n      \"Hello3\" : \"World3\" \n    }, \n    { \n      \"_key\" : \"12123\", \n      \"_id\" : \"products/12123\", \n      \"_rev\" : \"_W-M-Tw2--_\", \n      \"Hello4\" : \"World4\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"12129\", \n  \"count\" : 5, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 5, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001468658447265625 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n", "parameters": [ { "description": "Contains the query.\n\n", @@ -7491,7 +7491,7 @@ }, "/_api/simple/all-keys": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **type**: The type of the result. The following values are allowed:\n - *id*: returns an array of document ids (*_id* attributes)\n - *key*: returns an array of document keys (*_key* attributes)\n - *path*: returns an array of document URI paths. This is the default.\n - **collection**: The name of the collection. This is only for backward compatibility.\n In ArangoDB versions < 3.0, the URL path was */_api/document* and\n this was passed in via the query parameter \"collection\".\n This combination was removed.\n\n\n\n\nReturns an array of all keys, ids, or URI paths for all documents in the\ncollection identified by *collection*. The type of the result array is\ndetermined by the *type* attribute.\n\nNote that the results have no defined order and thus the order should\nnot be relied on.\n\n\n\n\n#Example:\n Return all document paths\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all-keys <<EOF\n{ \n  \"collection\" : \"products\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    \"/_db/_system/_api/document/products/11069\", \n    \"/_db/_system/_api/document/products/11073\", \n    \"/_db/_system/_api/document/products/11076\" \n  ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 3, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.0001819133758544922 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Return all document keys\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all-keys <<EOF\n{ \n  \"collection\" : \"products\", \n  \"type\" : \"id\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    \"products/11047\", \n    \"products/11054\", \n    \"products/11051\" \n  ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 3, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00020003318786621094 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Collection does not exist\n\n
shell> curl --dump - http://localhost:8529/_api/document/doesnotexist\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"expecting GET /_api/document/<document-handle>\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **type**: The type of the result. The following values are allowed:\n - *id*: returns an array of document ids (*_id* attributes)\n - *key*: returns an array of document keys (*_key* attributes)\n - *path*: returns an array of document URI paths. This is the default.\n - **collection**: The name of the collection. This is only for backward compatibility.\n In ArangoDB versions < 3.0, the URL path was */_api/document* and\n this was passed in via the query parameter \"collection\".\n This combination was removed.\n\n\n\n\nReturns an array of all keys, ids, or URI paths for all documents in the\ncollection identified by *collection*. The type of the result array is\ndetermined by the *type* attribute.\n\nNote that the results have no defined order and thus the order should\nnot be relied on.\n\n\n\n\n#Example:\n Return all document paths\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all-keys <<EOF\n{ \n  \"collection\" : \"products\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    \"/_db/_system/_api/document/products/11076\", \n    \"/_db/_system/_api/document/products/11072\", \n    \"/_db/_system/_api/document/products/11079\" \n  ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 3, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00015878677368164062 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Return all document keys\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all-keys <<EOF\n{ \n  \"collection\" : \"products\", \n  \"type\" : \"id\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    \"products/11050\", \n    \"products/11054\", \n    \"products/11057\" \n  ], \n  \"hasMore\" : false, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 3, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 0, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00014090538024902344 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Collection does not exist\n\n
shell> curl --dump - http://localhost:8529/_api/document/doesnotexist\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"errorMessage\" : \"expecting GET /_api/document/<document-handle>\", \n  \"code\" : 404, \n  \"errorNum\" : 1203 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7521,7 +7521,7 @@ }, "/_api/simple/any": { "put": { - "description": "\n\n\nReturns a random document from a collection. The call expects a JSON object\nas body with the following attributes:\n\n\n**A JSON object with these properties is required:**\n\n - **collection**: The identifier or name of the collection to query.\n Returns a JSON object with the document stored in the attribute\n *document* if the collection contains at least one document. If\n the collection is empty, the *document* attrbute contains null.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/any <<EOF\n{ \n  \"collection\" : \"products\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"document\" : { \n    \"_key\" : \"12171\", \n    \"_id\" : \"products/12171\", \n    \"_rev\" : \"_V82Nm4C--_\", \n    \"Hello2\" : \"World2\" \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n\n\nReturns a random document from a collection. The call expects a JSON object\nas body with the following attributes:\n\n\n**A JSON object with these properties is required:**\n\n - **collection**: The identifier or name of the collection to query.\n Returns a JSON object with the document stored in the attribute\n *document* if the collection contains at least one document. If\n the collection is empty, the *document* attrbute contains null.\n\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/any <<EOF\n{ \n  \"collection\" : \"products\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"document\" : { \n    \"_key\" : \"12183\", \n    \"_id\" : \"products/12183\", \n    \"_rev\" : \"_W-M-T0W--_\", \n    \"Hello5\" : \"World5\" \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7554,7 +7554,7 @@ }, "/_api/simple/by-example": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **skip**: The number of documents to skip in the query (optional).\n - **batchSize**: maximum number of result documents to be transferred from\n the server to the client in one roundtrip. If this attribute is\n not set, a server-controlled default value will be used. A *batchSize* value of\n *0* is disallowed.\n - **limit**: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n - **example**: The example document.\n - **collection**: The name of the collection to query.\n\n\n\n\n\nThis will find all documents matching a given example.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\n\n\n\n#Example:\n Matching an attribute\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"i\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12202\", \n      \"_id\" : \"products/12202\", \n      \"_rev\" : \"_V82Nm56--B\", \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12195\", \n      \"_id\" : \"products/12195\", \n      \"_rev\" : \"_V82Nm52--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12199\", \n      \"_id\" : \"products/12199\", \n      \"_rev\" : \"_V82Nm56--_\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12205\", \n      \"_id\" : \"products/12205\", \n      \"_rev\" : \"_V82Nm56--D\", \n      \"a\" : { \n        \"k\" : 2, \n        \"j\" : 2 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 4, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Matching an attribute which is a sub-document\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"a.j\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12225\", \n      \"_id\" : \"products/12225\", \n      \"_rev\" : \"_V82Nm7q--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12221\", \n      \"_id\" : \"products/12221\", \n      \"_rev\" : \"_V82Nm7q--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Matching an attribute within a sub-document\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"a\" : { \n      \"j\" : 1 \n    } \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12251\", \n      \"_id\" : \"products/12251\", \n      \"_rev\" : \"_V82Nm9S--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 1, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **skip**: The number of documents to skip in the query (optional).\n - **batchSize**: maximum number of result documents to be transferred from\n the server to the client in one roundtrip. If this attribute is\n not set, a server-controlled default value will be used. A *batchSize* value of\n *0* is disallowed.\n - **limit**: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n - **example**: The example document.\n - **collection**: The name of the collection to query.\n\n\n\n\n\nThis will find all documents matching a given example.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\n\n\n\n#Example:\n Matching an attribute\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"i\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12208\", \n      \"_id\" : \"products/12208\", \n      \"_rev\" : \"_W-M-T2W--_\", \n      \"a\" : { \n        \"k\" : 2, \n        \"j\" : 2 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12202\", \n      \"_id\" : \"products/12202\", \n      \"_rev\" : \"_W-M-T2S--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12198\", \n      \"_id\" : \"products/12198\", \n      \"_rev\" : \"_W-M-T2S--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12205\", \n      \"_id\" : \"products/12205\", \n      \"_rev\" : \"_W-M-T2S--D\", \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 4, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Matching an attribute which is a sub-document\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"a.j\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12228\", \n      \"_id\" : \"products/12228\", \n      \"_rev\" : \"_W-M-T4W--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"12224\", \n      \"_id\" : \"products/12224\", \n      \"_rev\" : \"_W-M-T4W--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n Matching an attribute within a sub-document\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"a\" : { \n      \"j\" : 1 \n    } \n  } \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12254\", \n      \"_id\" : \"products/12254\", \n      \"_rev\" : \"_W-M-T6S--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 1, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7587,7 +7587,7 @@ }, "/_api/simple/first-example": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **example**: The example document.\n - **collection**: The name of the collection to query.\n\n\n\n\n\nThis will return the first document matching a given example.\n\nReturns a result containing the document or *HTTP 404* if no\ndocument matched the example.\n\nIf more than one document in the collection matches the specified example, only\none of these documents will be returned, and it is undefined which of the matching\ndocuments is returned.\n\n\n\n\n#Example:\n If a matching document was found\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"i\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"document\" : { \n    \"_key\" : \"12277\", \n    \"_id\" : \"products/12277\", \n    \"_rev\" : \"_V82Nn_u--B\", \n    \"a\" : { \n      \"j\" : 1 \n    }, \n    \"i\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n If no document was found\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"l\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 404, \n  \"errorNum\" : 404, \n  \"errorMessage\" : \"no match\" \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **example**: The example document.\n - **collection**: The name of the collection to query.\n\n\n\n\n\nThis will return the first document matching a given example.\n\nReturns a result containing the document or *HTTP 404* if no\ndocument matched the example.\n\nIf more than one document in the collection matches the specified example, only\none of these documents will be returned, and it is undefined which of the matching\ndocuments is returned.\n\n\n\n\n#Example:\n If a matching document was found\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"i\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"document\" : { \n    \"_key\" : \"12286\", \n    \"_id\" : \"products/12286\", \n    \"_rev\" : \"_W-M-T8W--D\", \n    \"a\" : { \n      \"k\" : 2, \n      \"j\" : 2 \n    }, \n    \"i\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n If no document was found\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first-example <<EOF\n{ \n  \"collection\" : \"products\", \n  \"example\" : { \n    \"l\" : 1 \n  } \n}\nEOF\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 404, \n  \"errorNum\" : 404, \n  \"errorMessage\" : \"no match\" \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7620,7 +7620,7 @@ }, "/_api/simple/fulltext": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **index**: The identifier of the fulltext-index to use.\n - **attribute**: The attribute that contains the texts.\n - **collection**: The name of the collection to query.\n - **limit**: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n - **skip**: The number of documents to skip in the query (optional).\n - **query**: The fulltext query. Please refer to [Fulltext queries](../../Manual/Appendix/Deprecated/SimpleQueries/FulltextQueries.html)\n for details.\n\n\n\n\n\nThis will find all documents from the collection that match the fulltext\nquery specified in *query*.\n\nIn order to use the *fulltext* operator, a fulltext index must be defined\nfor the collection and the specified attribute.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *fulltext* simple query is **deprecated** as of ArangoDB 2.6. \nThis API may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection using the near operator is\nto issue an AQL query using the *FULLTEXT* [AQL function](../../AQL/Functions/Fulltext.html) \nas follows:\n\n\n FOR doc IN FULLTEXT(@@collection, @attributeName, @queryString, @limit) \n RETURN doc\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/fulltext <<EOF\n{ \n  \"collection\" : \"products\", \n  \"attribute\" : \"text\", \n  \"query\" : \"word\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12323\", \n      \"_id\" : \"products/12323\", \n      \"_rev\" : \"_V82NnDa--_\", \n      \"text\" : \"this text contains word\" \n    }, \n    { \n      \"_key\" : \"12327\", \n      \"_id\" : \"products/12327\", \n      \"_rev\" : \"_V82NnDe--_\", \n      \"text\" : \"this text also has a word\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **index**: The identifier of the fulltext-index to use.\n - **attribute**: The attribute that contains the texts.\n - **collection**: The name of the collection to query.\n - **limit**: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n - **skip**: The number of documents to skip in the query (optional).\n - **query**: The fulltext query. Please refer to [Fulltext queries](../../Manual/Appendix/Deprecated/SimpleQueries/FulltextQueries.html)\n for details.\n\n\n\n\n\nThis will find all documents from the collection that match the fulltext\nquery specified in *query*.\n\nIn order to use the *fulltext* operator, a fulltext index must be defined\nfor the collection and the specified attribute.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *fulltext* simple query is **deprecated** as of ArangoDB 2.6. \nThis API may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection using the near operator is\nto issue an AQL query using the *FULLTEXT* [AQL function](../../AQL/Functions/Fulltext.html) \nas follows:\n\n\n FOR doc IN FULLTEXT(@@collection, @attributeName, @queryString, @limit) \n RETURN doc\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/fulltext <<EOF\n{ \n  \"collection\" : \"products\", \n  \"attribute\" : \"text\", \n  \"query\" : \"word\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12326\", \n      \"_id\" : \"products/12326\", \n      \"_rev\" : \"_W-M-U_2--_\", \n      \"text\" : \"this text contains word\" \n    }, \n    { \n      \"_key\" : \"12330\", \n      \"_id\" : \"products/12330\", \n      \"_rev\" : \"_W-M-U_2--B\", \n      \"text\" : \"this text also has a word\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7653,7 +7653,7 @@ }, "/_api/simple/lookup-by-keys": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **keys** (string): array with the _keys of documents to remove.\n - **collection**: The name of the collection to look in for the documents\n\n\n\n\nLooks up the documents in the specified collection\nusing the array of keys provided. All documents for which a matching\nkey was specified in the *keys* array and that exist in the collection\nwill be returned. Keys for which no document can be found in the\nunderlying collection are ignored, and no exception will be thrown for\nthem.\n\nThe body of the response contains a JSON object with a *documents*\nattribute. The *documents* attribute is an array containing the\nmatching documents. The order in which matching documents are present\nin the result array is unspecified.\n\n\n\n\n#Example:\n Looking up existing documents\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/lookup-by-keys <<EOF\n{ \n  \"keys\" : [ \n    \"test0\", \n    \"test1\", \n    \"test2\", \n    \"test3\", \n    \"test4\", \n    \"test5\", \n    \"test6\", \n    \"test7\", \n    \"test8\", \n    \"test9\" \n  ], \n  \"collection\" : \"test\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"documents\" : [ \n    { \n      \"_key\" : \"test0\", \n      \"_id\" : \"test/test0\", \n      \"_rev\" : \"_V82NnHS--_\", \n      \"value\" : 0 \n    }, \n    { \n      \"_key\" : \"test1\", \n      \"_id\" : \"test/test1\", \n      \"_rev\" : \"_V82NnHS--B\", \n      \"value\" : 1 \n    }, \n    { \n      \"_key\" : \"test2\", \n      \"_id\" : \"test/test2\", \n      \"_rev\" : \"_V82NnHW--_\", \n      \"value\" : 2 \n    }, \n    { \n      \"_key\" : \"test3\", \n      \"_id\" : \"test/test3\", \n      \"_rev\" : \"_V82NnHW--B\", \n      \"value\" : 3 \n    }, \n    { \n      \"_key\" : \"test4\", \n      \"_id\" : \"test/test4\", \n      \"_rev\" : \"_V82NnHW--D\", \n      \"value\" : 4 \n    }, \n    { \n      \"_key\" : \"test5\", \n      \"_id\" : \"test/test5\", \n      \"_rev\" : \"_V82NnHW--F\", \n      \"value\" : 5 \n    }, \n    { \n      \"_key\" : \"test6\", \n      \"_id\" : \"test/test6\", \n      \"_rev\" : \"_V82NnHW--H\", \n      \"value\" : 6 \n    }, \n    { \n      \"_key\" : \"test7\", \n      \"_id\" : \"test/test7\", \n      \"_rev\" : \"_V82NnHW--J\", \n      \"value\" : 7 \n    }, \n    { \n      \"_key\" : \"test8\", \n      \"_id\" : \"test/test8\", \n      \"_rev\" : \"_V82NnHW--L\", \n      \"value\" : 8 \n    }, \n    { \n      \"_key\" : \"test9\", \n      \"_id\" : \"test/test9\", \n      \"_rev\" : \"_V82NnHa--_\", \n      \"value\" : 9 \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Looking up non-existing documents\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/lookup-by-keys <<EOF\n{ \n  \"keys\" : [ \n    \"foo\", \n    \"bar\", \n    \"baz\" \n  ], \n  \"collection\" : \"test\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"documents\" : [ ], \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **keys** (string): array with the _keys of documents to remove.\n - **collection**: The name of the collection to look in for the documents\n\n\n\n\nLooks up the documents in the specified collection\nusing the array of keys provided. All documents for which a matching\nkey was specified in the *keys* array and that exist in the collection\nwill be returned. Keys for which no document can be found in the\nunderlying collection are ignored, and no exception will be thrown for\nthem.\n\nThe body of the response contains a JSON object with a *documents*\nattribute. The *documents* attribute is an array containing the\nmatching documents. The order in which matching documents are present\nin the result array is unspecified.\n\n\n\n\n#Example:\n Looking up existing documents\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/lookup-by-keys <<EOF\n{ \n  \"keys\" : [ \n    \"test0\", \n    \"test1\", \n    \"test2\", \n    \"test3\", \n    \"test4\", \n    \"test5\", \n    \"test6\", \n    \"test7\", \n    \"test8\", \n    \"test9\" \n  ], \n  \"collection\" : \"test\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"documents\" : [ \n    { \n      \"_key\" : \"test0\", \n      \"_id\" : \"test/test0\", \n      \"_rev\" : \"_W-M-UC6--_\", \n      \"value\" : 0 \n    }, \n    { \n      \"_key\" : \"test1\", \n      \"_id\" : \"test/test1\", \n      \"_rev\" : \"_W-M-UC6--B\", \n      \"value\" : 1 \n    }, \n    { \n      \"_key\" : \"test2\", \n      \"_id\" : \"test/test2\", \n      \"_rev\" : \"_W-M-UC6--D\", \n      \"value\" : 2 \n    }, \n    { \n      \"_key\" : \"test3\", \n      \"_id\" : \"test/test3\", \n      \"_rev\" : \"_W-M-UC6--F\", \n      \"value\" : 3 \n    }, \n    { \n      \"_key\" : \"test4\", \n      \"_id\" : \"test/test4\", \n      \"_rev\" : \"_W-M-UD---_\", \n      \"value\" : 4 \n    }, \n    { \n      \"_key\" : \"test5\", \n      \"_id\" : \"test/test5\", \n      \"_rev\" : \"_W-M-UD---B\", \n      \"value\" : 5 \n    }, \n    { \n      \"_key\" : \"test6\", \n      \"_id\" : \"test/test6\", \n      \"_rev\" : \"_W-M-UD---D\", \n      \"value\" : 6 \n    }, \n    { \n      \"_key\" : \"test7\", \n      \"_id\" : \"test/test7\", \n      \"_rev\" : \"_W-M-UD---F\", \n      \"value\" : 7 \n    }, \n    { \n      \"_key\" : \"test8\", \n      \"_id\" : \"test/test8\", \n      \"_rev\" : \"_W-M-UDC--_\", \n      \"value\" : 8 \n    }, \n    { \n      \"_key\" : \"test9\", \n      \"_id\" : \"test/test9\", \n      \"_rev\" : \"_W-M-UDC--B\", \n      \"value\" : 9 \n    } \n  ], \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Looking up non-existing documents\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/lookup-by-keys <<EOF\n{ \n  \"keys\" : [ \n    \"foo\", \n    \"bar\", \n    \"baz\" \n  ], \n  \"collection\" : \"test\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"documents\" : [ ], \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7686,7 +7686,7 @@ }, "/_api/simple/near": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **distance**: If given, the attribute key used to return the distance to\n the given coordinate. (optional). If specified, distances are returned in meters.\n - **skip**: The number of documents to skip in the query. (optional)\n - **longitude**: The longitude of the coordinate.\n - **limit**: The maximal amount of documents to return. The *skip* is\n applied before the *limit* restriction. The default is 100. (optional)\n - **collection**: The name of the collection to query.\n - **latitude**: The latitude of the coordinate.\n - **geo**: If given, the identifier of the geo-index to use. (optional)\n\n\n\n\n\nThe default will find at most 100 documents near the given coordinate. The\nreturned array is sorted according to the distance, with the nearest document\nbeing first in the return array. If there are near documents of equal distance, documents\nare chosen randomly from this set until the limit is reached.\n\nIn order to use the *near* operator, a geo index must be defined for the\ncollection. This index also defines which attribute holds the coordinates\nfor the document. If you have more than one geo-spatial index, you can use\nthe *geo* field to select a particular index.\n\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *near* simple query is **deprecated** as of ArangoDB 2.6. \nThis API may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection using the near operator is\nto issue an [AQL query](../../AQL/Functions/Geo.html) using the *NEAR* function as follows: \n\n\n FOR doc IN NEAR(@@collection, @latitude, @longitude, @limit)\n RETURN doc`\n\n\n\n\n#Example:\n Without distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12439\", \n      \"_id\" : \"products/12439\", \n      \"_rev\" : \"_V82NnN6--D\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12433\", \n      \"_id\" : \"products/12433\", \n      \"_rev\" : \"_V82NnN6--_\", \n      \"name\" : \"Name/-0.002/\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ] \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n With distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 3, \n  \"distance\" : \"distance\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12484\", \n      \"_key\" : \"12484\", \n      \"_rev\" : \"_V82NnQ6--_\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12490\", \n      \"_key\" : \"12490\", \n      \"_rev\" : \"_V82NnQ6--D\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/12481\", \n      \"_key\" : \"12481\", \n      \"_rev\" : \"_V82NnQ2--D\", \n      \"loc\" : [ \n        -0.004, \n        0 \n      ], \n      \"name\" : \"Name/-0.004/\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 3, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **distance**: If given, the attribute key used to return the distance to\n the given coordinate. (optional). If specified, distances are returned in meters.\n - **skip**: The number of documents to skip in the query. (optional)\n - **longitude**: The longitude of the coordinate.\n - **limit**: The maximal amount of documents to return. The *skip* is\n applied before the *limit* restriction. The default is 100. (optional)\n - **collection**: The name of the collection to query.\n - **latitude**: The latitude of the coordinate.\n - **geo**: If given, the identifier of the geo-index to use. (optional)\n\n\n\n\n\nThe default will find at most 100 documents near the given coordinate. The\nreturned array is sorted according to the distance, with the nearest document\nbeing first in the return array. If there are near documents of equal distance, documents\nare chosen randomly from this set until the limit is reached.\n\nIn order to use the *near* operator, a geo index must be defined for the\ncollection. This index also defines which attribute holds the coordinates\nfor the document. If you have more than one geo-spatial index, you can use\nthe *geo* field to select a particular index.\n\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *near* simple query is **deprecated** as of ArangoDB 2.6. \nThis API may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection using the near operator is\nto issue an [AQL query](../../AQL/Functions/Geo.html) using the *NEAR* function as follows: \n\n\n FOR doc IN NEAR(@@collection, @latitude, @longitude, @limit)\n RETURN doc`\n\n\n\n\n#Example:\n Without distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12441\", \n      \"_id\" : \"products/12441\", \n      \"_rev\" : \"_W-M-UHy--D\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12435\", \n      \"_id\" : \"products/12435\", \n      \"_rev\" : \"_W-M-UHy--_\", \n      \"name\" : \"Name/-0.002/\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ] \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n With distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 3, \n  \"distance\" : \"distance\" \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12486\", \n      \"_key\" : \"12486\", \n      \"_rev\" : \"_W-M-UL---B\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12492\", \n      \"_key\" : \"12492\", \n      \"_rev\" : \"_W-M-UL---F\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/12483\", \n      \"_key\" : \"12483\", \n      \"_rev\" : \"_W-M-UL---_\", \n      \"loc\" : [ \n        -0.004, \n        0 \n      ], \n      \"name\" : \"Name/-0.004/\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 3, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7719,7 +7719,7 @@ }, "/_api/simple/range": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **right**: The upper bound.\n - **attribute**: The attribute path to check.\n - **collection**: The name of the collection to query.\n - **limit**: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n - **closed**: If *true*, use interval including *left* and *right*,\n otherwise exclude *right*, but include *left*.\n - **skip**: The number of documents to skip in the query (optional).\n - **left**: The lower bound.\n\n\n\n\n\nThis will find all documents within a given range. In order to execute a\nrange query, a skip-list index on the queried attribute must be present.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *range* simple query is **deprecated** as of ArangoDB 2.6. \nThe function may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection within a specific range\nis to use an AQL query as follows: \n\n\n FOR doc IN @@collection \n FILTER doc.value >= @left && doc.value < @right \n LIMIT @skip, @limit \n RETURN doc`\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/range <<EOF\n{ \n  \"collection\" : \"products\", \n  \"attribute\" : \"i\", \n  \"left\" : 2, \n  \"right\" : 4 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12526\", \n      \"_id\" : \"products/12526\", \n      \"_rev\" : \"_V82NnUC--B\", \n      \"i\" : 2 \n    }, \n    { \n      \"_key\" : \"12529\", \n      \"_id\" : \"products/12529\", \n      \"_rev\" : \"_V82NnUC--D\", \n      \"i\" : 3 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **right**: The upper bound.\n - **attribute**: The attribute path to check.\n - **collection**: The name of the collection to query.\n - **limit**: The maximal amount of documents to return. The *skip*\n is applied before the *limit* restriction. (optional)\n - **closed**: If *true*, use interval including *left* and *right*,\n otherwise exclude *right*, but include *left*.\n - **skip**: The number of documents to skip in the query (optional).\n - **left**: The lower bound.\n\n\n\n\n\nThis will find all documents within a given range. In order to execute a\nrange query, a skip-list index on the queried attribute must be present.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *range* simple query is **deprecated** as of ArangoDB 2.6. \nThe function may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection within a specific range\nis to use an AQL query as follows: \n\n\n FOR doc IN @@collection \n FILTER doc.value >= @left && doc.value < @right \n LIMIT @skip, @limit \n RETURN doc`\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/range <<EOF\n{ \n  \"collection\" : \"products\", \n  \"attribute\" : \"i\", \n  \"left\" : 2, \n  \"right\" : 4 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12529\", \n      \"_id\" : \"products/12529\", \n      \"_rev\" : \"_W-M-UOy--B\", \n      \"i\" : 2 \n    }, \n    { \n      \"_key\" : \"12532\", \n      \"_id\" : \"products/12532\", \n      \"_rev\" : \"_W-M-UOy--D\", \n      \"i\" : 3 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7884,7 +7884,7 @@ }, "/_api/simple/within": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **distance**: If given, the attribute key used to return the distance to\n the given coordinate. (optional). If specified, distances are returned in meters.\n - **skip**: The number of documents to skip in the query. (optional)\n - **longitude**: The longitude of the coordinate.\n - **radius**: The maximal radius (in meters).\n - **collection**: The name of the collection to query.\n - **latitude**: The latitude of the coordinate.\n - **limit**: The maximal amount of documents to return. The *skip* is\n applied before the *limit* restriction. The default is 100. (optional)\n - **geo**: If given, the identifier of the geo-index to use. (optional)\n\n\n\n\n\nThis will find all documents within a given radius around the coordinate\n(*latitude*, *longitude*). The returned list is sorted by distance.\n\nIn order to use the *within* operator, a geo index must be defined for\nthe collection. This index also defines which attribute holds the\ncoordinates for the document. If you have more than one geo-spatial index,\nyou can use the *geo* field to select a particular index.\n\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *within* simple query is **deprecated** as of ArangoDB 2.6. \nThis API may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection using the near operator is\nto issue an [AQL query](../../AQL/Functions/Geo.html) using the *WITHIN* function as follows: \n\n\n FOR doc IN WITHIN(@@collection, @latitude, @longitude, @radius, @distanceAttributeName)\n RETURN doc\n\n\n\n\n#Example:\n Without distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 2, \n  \"radius\" : 500 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12852\", \n      \"_id\" : \"products/12852\", \n      \"_rev\" : \"_V82Nnoa--F\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12846\", \n      \"_id\" : \"products/12846\", \n      \"_rev\" : \"_V82Nnoa--B\", \n      \"name\" : \"Name/-0.002/\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ] \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n With distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 3, \n  \"distance\" : \"distance\", \n  \"radius\" : 300 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12898\", \n      \"_key\" : \"12898\", \n      \"_rev\" : \"_V82Nnrq--_\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12904\", \n      \"_key\" : \"12904\", \n      \"_rev\" : \"_V82Nnrq--D\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/12895\", \n      \"_key\" : \"12895\", \n      \"_rev\" : \"_V82Nnrm--F\", \n      \"loc\" : [ \n        -0.004, \n        0 \n      ], \n      \"name\" : \"Name/-0.004/\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 3, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **distance**: If given, the attribute key used to return the distance to\n the given coordinate. (optional). If specified, distances are returned in meters.\n - **skip**: The number of documents to skip in the query. (optional)\n - **longitude**: The longitude of the coordinate.\n - **radius**: The maximal radius (in meters).\n - **collection**: The name of the collection to query.\n - **latitude**: The latitude of the coordinate.\n - **limit**: The maximal amount of documents to return. The *skip* is\n applied before the *limit* restriction. The default is 100. (optional)\n - **geo**: If given, the identifier of the geo-index to use. (optional)\n\n\n\n\n\nThis will find all documents within a given radius around the coordinate\n(*latitude*, *longitude*). The returned list is sorted by distance.\n\nIn order to use the *within* operator, a geo index must be defined for\nthe collection. This index also defines which attribute holds the\ncoordinates for the document. If you have more than one geo-spatial index,\nyou can use the *geo* field to select a particular index.\n\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\nNote: the *within* simple query is **deprecated** as of ArangoDB 2.6. \nThis API may be removed in future versions of ArangoDB. The preferred\nway for retrieving documents from a collection using the near operator is\nto issue an [AQL query](../../AQL/Functions/Geo.html) using the *WITHIN* function as follows: \n\n\n FOR doc IN WITHIN(@@collection, @latitude, @longitude, @radius, @distanceAttributeName)\n RETURN doc\n\n\n\n\n#Example:\n Without distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 2, \n  \"radius\" : 500 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12856\", \n      \"_id\" : \"products/12856\", \n      \"_rev\" : \"_W-M-Uny--B\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12850\", \n      \"_id\" : \"products/12850\", \n      \"_rev\" : \"_W-M-Unu--D\", \n      \"name\" : \"Name/-0.002/\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ] \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n#Example:\n With distance\n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/near <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude\" : 0, \n  \"longitude\" : 0, \n  \"skip\" : 1, \n  \"limit\" : 3, \n  \"distance\" : \"distance\", \n  \"radius\" : 300 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12901\", \n      \"_key\" : \"12901\", \n      \"_rev\" : \"_W-M-Ura--D\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/12907\", \n      \"_key\" : \"12907\", \n      \"_rev\" : \"_W-M-Ure--_\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/12898\", \n      \"_key\" : \"12898\", \n      \"_rev\" : \"_W-M-Ura--B\", \n      \"loc\" : [ \n        -0.004, \n        0 \n      ], \n      \"name\" : \"Name/-0.004/\" \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 3, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7917,7 +7917,7 @@ }, "/_api/simple/within-rectangle": { "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **latitude1**: The latitude of the first rectangle coordinate.\n - **skip**: The number of documents to skip in the query. (optional)\n - **latitude2**: The latitude of the second rectangle coordinate.\n - **longitude2**: The longitude of the second rectangle coordinate.\n - **longitude1**: The longitude of the first rectangle coordinate.\n - **limit**: The maximal amount of documents to return. The *skip* is\n applied before the *limit* restriction. The default is 100. (optional)\n - **collection**: The name of the collection to query.\n - **geo**: If given, the identifier of the geo-index to use. (optional)\n\n\n\n\n\nThis will find all documents within the specified rectangle (determined by\nthe given coordinates (*latitude1*, *longitude1*, *latitude2*, *longitude2*). \n\nIn order to use the *within-rectangle* query, a geo index must be defined for\nthe collection. This index also defines which attribute holds the\ncoordinates for the document. If you have more than one geo-spatial index,\nyou can use the *geo* field to select a particular index.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/within-rectangle <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude1\" : 0, \n  \"longitude1\" : 0, \n  \"latitude2\" : 0.2, \n  \"longitude2\" : 0.2, \n  \"skip\" : 1, \n  \"limit\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12964\", \n      \"_id\" : \"products/12964\", \n      \"_rev\" : \"_V82NnvC--H\", \n      \"name\" : \"Name/0.008/\", \n      \"loc\" : [ \n        0.008, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12961\", \n      \"_id\" : \"products/12961\", \n      \"_rev\" : \"_V82NnvC--F\", \n      \"name\" : \"Name/0.006/\", \n      \"loc\" : [ \n        0.006, \n        0 \n      ] \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **latitude1**: The latitude of the first rectangle coordinate.\n - **skip**: The number of documents to skip in the query. (optional)\n - **latitude2**: The latitude of the second rectangle coordinate.\n - **longitude2**: The longitude of the second rectangle coordinate.\n - **longitude1**: The longitude of the first rectangle coordinate.\n - **limit**: The maximal amount of documents to return. The *skip* is\n applied before the *limit* restriction. The default is 100. (optional)\n - **collection**: The name of the collection to query.\n - **geo**: If given, the identifier of the geo-index to use. (optional)\n\n\n\n\n\nThis will find all documents within the specified rectangle (determined by\nthe given coordinates (*latitude1*, *longitude1*, *latitude2*, *longitude2*). \n\nIn order to use the *within-rectangle* query, a geo index must be defined for\nthe collection. This index also defines which attribute holds the\ncoordinates for the document. If you have more than one geo-spatial index,\nyou can use the *geo* field to select a particular index.\n\nReturns a cursor containing the result, see [Http Cursor](../AqlQueryCursor/README.md) for details.\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/within-rectangle <<EOF\n{ \n  \"collection\" : \"products\", \n  \"latitude1\" : 0, \n  \"longitude1\" : 0, \n  \"latitude2\" : 0.2, \n  \"longitude2\" : 0.2, \n  \"skip\" : 1, \n  \"limit\" : 2 \n}\nEOF\n\nHTTP/1.1 201 Created\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : [ \n    { \n      \"_key\" : \"12967\", \n      \"_id\" : \"products/12967\", \n      \"_rev\" : \"_W-M-Uui--B\", \n      \"name\" : \"Name/0.008/\", \n      \"loc\" : [ \n        0.008, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12964\", \n      \"_id\" : \"products/12964\", \n      \"_rev\" : \"_W-M-Uui--_\", \n      \"name\" : \"Name/0.006/\", \n      \"loc\" : [ \n        0.006, \n        0 \n      ] \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 2, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7950,7 +7950,7 @@ }, "/_api/tasks": { "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **params**: The parameters to be passed into command\n - **offset**: Number of seconds initial delay \n - **command**: The JavaScript code to be executed\n - **name**: The name of the task\n - **period**: number of seconds between the executions\n\n\n\n\ncreates a new task with a generated id\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/tasks/ <<EOF\n{ \n  \"name\" : \"SampleTask\", \n  \"command\" : \"(function(params) { require('@arangodb').print(params); })(params)\", \n  \"params\" : { \n    \"foo\" : \"bar\", \n    \"bar\" : \"foo\" \n  }, \n  \"period\" : 2 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"12982\", \n  \"name\" : \"SampleTask\", \n  \"created\" : 1511527524.133228, \n  \"type\" : \"periodic\", \n  \"period\" : 2, \n  \"offset\" : 0, \n  \"command\" : \"(function (params) { (function(params) { require('@arangodb').print(params); })(params) } )(params);\", \n  \"database\" : \"_system\", \n  \"error\" : false, \n  \"code\" : 200 \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/tasks/12982\n\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **params**: The parameters to be passed into command\n - **offset**: Number of seconds initial delay \n - **command**: The JavaScript code to be executed\n - **name**: The name of the task\n - **period**: number of seconds between the executions\n\n\n\n\ncreates a new task with a generated id\n\n\n\n\n#Example:\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/tasks/ <<EOF\n{ \n  \"name\" : \"SampleTask\", \n  \"command\" : \"(function(params) { require('@arangodb').print(params); })(params)\", \n  \"params\" : { \n    \"foo\" : \"bar\", \n    \"bar\" : \"foo\" \n  }, \n  \"period\" : 2 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"12985\", \n  \"name\" : \"SampleTask\", \n  \"created\" : 1511887231.77295, \n  \"type\" : \"periodic\", \n  \"period\" : 2, \n  \"offset\" : 0, \n  \"command\" : \"(function (params) { (function(params) { require('@arangodb').print(params); })(params) } )(params);\", \n  \"database\" : \"_system\", \n  \"error\" : false, \n  \"code\" : 200 \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/tasks/12985\n\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -7977,7 +7977,7 @@ }, "/_api/tasks/": { "get": { - "description": "\n\nfetches all existing tasks on the server\n\n\n\n\n#Example:\n Fetching all tasks\n\n
shell> curl --dump - http://localhost:8529/_api/tasks\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"id\" : \"statistics-gc\", \n    \"name\" : \"statistics-gc\", \n    \"created\" : 1511527511.92422, \n    \"type\" : \"periodic\", \n    \"period\" : 450, \n    \"offset\" : 281.371975, \n    \"command\" : \"(function (params) { require('@arangodb/statistics').garbageCollector(); } )(params);\", \n    \"database\" : \"_system\" \n  }, \n  { \n    \"id\" : \"statistics-average-collector\", \n    \"name\" : \"statistics-average-collector\", \n    \"created\" : 1511527511.924135, \n    \"type\" : \"periodic\", \n    \"period\" : 900, \n    \"offset\" : 20, \n    \"command\" : \"(function (params) { require('@arangodb/statistics').historianAverage(); } )(params);\", \n    \"database\" : \"_system\" \n  }, \n  { \n    \"id\" : \"statistics-collector\", \n    \"name\" : \"statistics-collector\", \n    \"created\" : 1511527511.924018, \n    \"type\" : \"periodic\", \n    \"period\" : 10, \n    \"offset\" : 1, \n    \"command\" : \"(function (params) { require('@arangodb/statistics').historian(); } )(params);\", \n    \"database\" : \"_system\" \n  }, \n  { \n    \"id\" : \"84\", \n    \"name\" : \"user-defined task\", \n    \"created\" : 1511527501.97088, \n    \"type\" : \"periodic\", \n    \"period\" : 1, \n    \"offset\" : 0.000001, \n    \"command\" : \"(function (params) { (function () {\\n        require('@arangodb/foxx/queues/manager').manage();\\n      })(params) } )(params);\", \n    \"database\" : \"_system\" \n  } \n]\n
\n\n\n\n\n", + "description": "\n\nfetches all existing tasks on the server\n\n\n\n\n#Example:\n Fetching all tasks\n\n
shell> curl --dump - http://localhost:8529/_api/tasks\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n[ \n  { \n    \"id\" : \"statistics-gc\", \n    \"name\" : \"statistics-gc\", \n    \"created\" : 1511887218.926579, \n    \"type\" : \"periodic\", \n    \"period\" : 450, \n    \"offset\" : 161.256485, \n    \"command\" : \"(function (params) { require('@arangodb/statistics').garbageCollector(); } )(params);\", \n    \"database\" : \"_system\" \n  }, \n  { \n    \"id\" : \"statistics-average-collector\", \n    \"name\" : \"statistics-average-collector\", \n    \"created\" : 1511887218.92649, \n    \"type\" : \"periodic\", \n    \"period\" : 900, \n    \"offset\" : 20, \n    \"command\" : \"(function (params) { require('@arangodb/statistics').historianAverage(); } )(params);\", \n    \"database\" : \"_system\" \n  }, \n  { \n    \"id\" : \"statistics-collector\", \n    \"name\" : \"statistics-collector\", \n    \"created\" : 1511887218.926385, \n    \"type\" : \"periodic\", \n    \"period\" : 10, \n    \"offset\" : 1, \n    \"command\" : \"(function (params) { require('@arangodb/statistics').historian(); } )(params);\", \n    \"database\" : \"_system\" \n  }, \n  { \n    \"id\" : \"84\", \n    \"name\" : \"user-defined task\", \n    \"created\" : 1511887208.970007, \n    \"type\" : \"periodic\", \n    \"period\" : 1, \n    \"offset\" : 0.000001, \n    \"command\" : \"(function (params) { (function () {\\n        require('@arangodb/foxx/queues/manager').manage();\\n      })(params) } )(params);\", \n    \"database\" : \"_system\" \n  } \n]\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -8018,7 +8018,7 @@ "x-filename": "Administration - /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_delete_api_tasks.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_database_version.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_echo.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_long_echo.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_modules_flush.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_routing_reloads.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_server_id.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_server_role.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_statistics.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_statistics_description.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_time.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_cluster_endpoints.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_endpoint.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_initiate.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_return.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_tasks.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_tasks_all.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_engine.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_post_admin_execute.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_post_admin_test.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_post_api_new_tasks.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_put_api_new_tasks.md" }, "get": { - "description": "\n\nfetches one existing tasks on the server specified by *id*\n\n\n\n\n#Example:\n Fetching a single task by its id\n\n
shell> curl --dump - http://localhost:8529/_api/tasks/statistics-average-collector\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"statistics-average-collector\", \n  \"name\" : \"statistics-average-collector\", \n  \"created\" : 1511527511.924135, \n  \"type\" : \"periodic\", \n  \"period\" : 900, \n  \"offset\" : 20, \n  \"command\" : \"(function (params) { require('@arangodb/statistics').historianAverage(); } )(params);\", \n  \"database\" : \"_system\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n trying to fetch a non-existing task\n\n
shell> curl --dump - http://localhost:8529/_api/tasks/non-existing-task\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 404, \n  \"errorNum\" : 1852, \n  \"errorMessage\" : \"task not found\" \n}\n
\n\n\n\n\n", + "description": "\n\nfetches one existing tasks on the server specified by *id*\n\n\n\n\n#Example:\n Fetching a single task by its id\n\n
shell> curl --dump - http://localhost:8529/_api/tasks/statistics-average-collector\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"statistics-average-collector\", \n  \"name\" : \"statistics-average-collector\", \n  \"created\" : 1511887218.92649, \n  \"type\" : \"periodic\", \n  \"period\" : 900, \n  \"offset\" : 20, \n  \"command\" : \"(function (params) { require('@arangodb/statistics').historianAverage(); } )(params);\", \n  \"database\" : \"_system\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n trying to fetch a non-existing task\n\n
shell> curl --dump - http://localhost:8529/_api/tasks/non-existing-task\n\nHTTP/1.1 404 Not Found\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 404, \n  \"errorNum\" : 1852, \n  \"errorMessage\" : \"task not found\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The id of the task to fetch.\n\n", @@ -8042,7 +8042,7 @@ "x-filename": "Administration - /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_delete_api_tasks.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_database_version.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_echo.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_long_echo.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_modules_flush.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_routing_reloads.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_server_id.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_server_role.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_statistics.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_statistics_description.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_admin_time.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_cluster_endpoints.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_endpoint.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_initiate.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_return.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_tasks.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_tasks_all.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_get_engine.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_post_admin_execute.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_post_admin_test.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_post_api_new_tasks.md, /arangodb33/Documentation/DocuBlocks/Rest/Administration/JSF_put_api_new_tasks.md" }, "put": { - "description": "\n**A JSON object with these properties is required:**\n\n - **params**: The parameters to be passed into command\n - **offset**: Number of seconds initial delay \n - **command**: The JavaScript code to be executed\n - **name**: The name of the task\n - **period**: number of seconds between the executions\n\n\n\n\nregisters a new task with the specified id\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/tasks/sampleTask <<EOF\n{ \n  \"id\" : \"SampleTask\", \n  \"name\" : \"SampleTask\", \n  \"command\" : \"(function(params) { require('@arangodb').print(params); })(params)\", \n  \"params\" : { \n    \"foo\" : \"bar\", \n    \"bar\" : \"foo\" \n  }, \n  \"period\" : 2 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"sampleTask\", \n  \"name\" : \"SampleTask\", \n  \"created\" : 1511527524.152967, \n  \"type\" : \"periodic\", \n  \"period\" : 2, \n  \"offset\" : 0, \n  \"command\" : \"(function (params) { (function(params) { require('@arangodb').print(params); })(params) } )(params);\", \n  \"database\" : \"_system\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **params**: The parameters to be passed into command\n - **offset**: Number of seconds initial delay \n - **command**: The JavaScript code to be executed\n - **name**: The name of the task\n - **period**: number of seconds between the executions\n\n\n\n\nregisters a new task with the specified id\n\n\n\n\n#Example:\n \n\n
shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/tasks/sampleTask <<EOF\n{ \n  \"id\" : \"SampleTask\", \n  \"name\" : \"SampleTask\", \n  \"command\" : \"(function(params) { require('@arangodb').print(params); })(params)\", \n  \"params\" : { \n    \"foo\" : \"bar\", \n    \"bar\" : \"foo\" \n  }, \n  \"period\" : 2 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"sampleTask\", \n  \"name\" : \"SampleTask\", \n  \"created\" : 1511887231.8003, \n  \"type\" : \"periodic\", \n  \"period\" : 2, \n  \"offset\" : 0, \n  \"command\" : \"(function (params) { (function(params) { require('@arangodb').print(params); })(params) } )(params);\", \n  \"database\" : \"_system\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The id of the task to create\n\n", @@ -8113,7 +8113,7 @@ }, "/_api/traversal": { "post": { - "description": "\n\nStarts a traversal starting from a given vertex and following.\nedges contained in a given edgeCollection. The request must\ncontain the following attributes.\n\n\n**A JSON object with these properties is required:**\n\n - **sort**: body (JavaScript) code of a custom comparison function\n for the edges. The signature of this function is\n *(l, r) -> integer* (where l and r are edges) and must\n return -1 if l is smaller than, +1 if l is greater than,\n and 0 if l and r are equal. The reason for this is the\n following: The order of edges returned for a certain\n vertex is undefined. This is because there is no natural\n order of edges for a vertex with multiple connected edges.\n To explicitly define the order in which edges on the\n vertex are followed, you can specify an edge comparator\n function with this attribute. Note that the value here has\n to be a string to conform to the JSON standard, which in\n turn is parsed as function body on the server side. Furthermore\n note that this attribute is only used for the standard\n expanders. If you use your custom expander you have to\n do the sorting yourself within the expander code.\n - **direction**: direction for traversal\n - *if set*, must be either *\"outbound\"*, *\"inbound\"*, or *\"any\"*\n - *if not set*, the *expander* attribute must be specified\n - **minDepth**: ANDed with any existing filters):\n visits only nodes in at least the given depth\n - **startVertex**: id of the startVertex, e.g. *\"users/foo\"*.\n - **visitor**: body (JavaScript) code of custom visitor function\n function signature: *(config, result, vertex, path, connected) -> void*\n The visitor function can do anything, but its return value is ignored. To\n populate a result, use the *result* variable by reference. Note that the\n *connected* argument is only populated when the *order* attribute is set\n to *\"preorder-expander\"*.\n - **itemOrder**: item iteration order can be *\"forward\"* or *\"backward\"*\n - **strategy**: traversal strategy can be *\"depthfirst\"* or *\"breadthfirst\"*\n - **filter**: default is to include all nodes:\n body (JavaScript code) of custom filter function\n function signature: *(config, vertex, path) -> mixed*\n can return four different string values:\n - *\"exclude\"* -> this vertex will not be visited.\n - *\"prune\"* -> the edges of this vertex will not be followed.\n - *\"\"* or *undefined* -> visit the vertex and follow it's edges.\n - *Array* -> containing any combination of the above.\n If there is at least one *\"exclude\"* or *\"prune\"* respectivly\n is contained, it's effect will occur.\n - **init**: body (JavaScript) code of custom result initialization function\n function signature: *(config, result) -> void*\n initialize any values in result with what is required\n - **maxIterations**: Maximum number of iterations in each traversal. This number can be\n set to prevent endless loops in traversal of cyclic graphs. When a traversal performs\n as many iterations as the *maxIterations* value, the traversal will abort with an\n error. If *maxIterations* is not set, a server-defined value may be used.\n - **maxDepth**: ANDed with any existing filters visits only nodes in at most the given depth\n - **uniqueness**: specifies uniqueness for vertices and edges visited.\n If set, must be an object like this:\n `\"uniqueness\": {\"vertices\": \"none\"|\"global\"|\"path\", \"edges\": \"none\"|\"global\"|\"path\"}`\n - **order**: traversal order can be *\"preorder\"*, *\"postorder\"* or *\"preorder-expander\"*\n - **graphName**: name of the graph that contains the edges.\n Either *edgeCollection* or *graphName* has to be given.\n In case both values are set the *graphName* is prefered.\n - **expander**: body (JavaScript) code of custom expander function\n *must* be set if *direction* attribute is **not** set\n function signature: *(config, vertex, path) -> array*\n expander must return an array of the connections for *vertex*\n each connection is an object with the attributes *edge* and *vertex*\n - **edgeCollection**: name of the collection that contains the edges.\n\n\n\n\n\nIf the Traversal is successfully executed *HTTP 200* will be returned.\nAdditionally the *result* object will be returned by the traversal.\n\nFor successful traversals, the returned JSON object has the\nfollowing properties:\n\n- *error*: boolean flag to indicate if an error occurred (*false*\n in this case)\n\n- *code*: the HTTP status code\n\n- *result*: the return value of the traversal\n\nIf the traversal specification is either missing or malformed, the server\nwill respond with *HTTP 400*.\n\nThe body of the response will then contain a JSON object with additional error\ndetails. The object has the following attributes:\n\n- *error*: boolean flag to indicate that an error occurred (*true* in this case)\n\n- *code*: the HTTP status code\n\n- *errorNum*: the server error number\n\n- *errorMessage*: a descriptive error message\n\n\n\n\n#Example:\n In the following examples the underlying graph will contain five persons\n*Alice*, *Bob*, *Charlie*, *Dave* and *Eve*.\nWe will have the following directed relations:\n\n- *Alice* knows *Bob*\n- *Bob* knows *Charlie*\n- *Bob* knows *Dave*\n- *Eve* knows *Alice*\n- *Eve* knows *Bob*\n\nThe starting vertex will always be Alice.\n\nFollow only outbound edges\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82Nomu--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82Nomu--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82Nomy--_\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82Nomy--B\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nomu--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14016\", \n              \"_id\" : \"knows/14016\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nomy--F\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nomu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nomu--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14016\", \n              \"_id\" : \"knows/14016\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nomy--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14020\", \n              \"_id\" : \"knows/14020\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nom2--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nomu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nomu--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nomy--_\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14016\", \n              \"_id\" : \"knows/14016\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nomy--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14023\", \n              \"_id\" : \"knows/14023\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nom2--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nomu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nomu--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nomy--B\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Follow only inbound edges\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"inbound\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoVq--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82NoVq--H\", \n          \"name\" : \"Eve\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoVq--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13675\", \n              \"_id\" : \"knows/13675\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoVu--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoVq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoVq--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Follow any direction of edges\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"uniqueness\" : { \n    \"vertices\" : \"none\", \n    \"edges\" : \"global\" \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82Nn7e--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82Nn7e--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82Nn7e--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82Nn7e--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82Nn7i--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82Nn7e--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13098\", \n              \"_id\" : \"knows/13098\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7i--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7e--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13098\", \n              \"_id\" : \"knows/13098\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7i--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13102\", \n              \"_id\" : \"knows/13102\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nn7i--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7e--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nn7e--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13098\", \n              \"_id\" : \"knows/13098\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7i--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13105\", \n              \"_id\" : \"knows/13105\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nn7i--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7e--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nn7e--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13098\", \n              \"_id\" : \"knows/13098\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7i--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13111\", \n              \"_id\" : \"knows/13111\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7m--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7e--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nn7i--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13098\", \n              \"_id\" : \"knows/13098\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7i--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13111\", \n              \"_id\" : \"knows/13111\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7m--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13108\", \n              \"_id\" : \"knows/13108\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7m--_\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nn7e--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nn7i--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nn7e--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Excluding *Charlie* and *Bob*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"filter\" : \"if (vertex.name === \\\"Bob\\\" ||     vertex.name === \\\"Charlie\\\") {  return \\\"exclude\\\";}return;\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoOm--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82NoOq--D\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoOm--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13504\", \n              \"_id\" : \"knows/13504\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoOq--H\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13511\", \n              \"_id\" : \"knows/13511\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoOu--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoOm--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoOq--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoOq--D\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Do not follow edges from *Bob*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"filter\" : \"if (vertex.name === \\\"Bob\\\") {return \\\"prune\\\";}return;\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoSG--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NoSG--B\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoSG--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13587\", \n              \"_id\" : \"knows/13587\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoSK--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoSG--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoSG--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Visit only nodes in a depth of at least 2\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"minDepth\" : 2 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82Nohy--B\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82Nohy--D\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13933\", \n              \"_id\" : \"knows/13933\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Noh2--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13937\", \n              \"_id\" : \"knows/13937\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Noh2--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nohu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nohy--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nohy--B\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13933\", \n              \"_id\" : \"knows/13933\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Noh2--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13940\", \n              \"_id\" : \"knows/13940\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82Noh6--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82Nohu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nohy--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nohy--D\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Visit only nodes in a depth of at most 1\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"maxDepth\" : 1 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoZC--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NoZC--B\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoZC--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13744\", \n              \"_id\" : \"knows/13744\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoZC--J\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoZC--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoZC--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using a visitor function to return vertex ids only\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"visitor\" : \"result.visited.vertices.push(vertex._id);\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        \"persons/alice\", \n        \"persons/bob\", \n        \"persons/charlie\", \n        \"persons/dave\" \n      ], \n      \"paths\" : [ ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Count all visited nodes and return a list of nodes only\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"init\" : \"result.visited = 0; result.myVertices = [ ];\", \n  \"visitor\" : \"result.visited++; result.myVertices.push(vertex);\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : 4, \n    \"myVertices\" : [ \n      { \n        \"_key\" : \"alice\", \n        \"_id\" : \"persons/alice\", \n        \"_rev\" : \"_V82NowK--B\", \n        \"name\" : \"Alice\" \n      }, \n      { \n        \"_key\" : \"bob\", \n        \"_id\" : \"persons/bob\", \n        \"_rev\" : \"_V82NowK--D\", \n        \"name\" : \"Bob\" \n      }, \n      { \n        \"_key\" : \"charlie\", \n        \"_id\" : \"persons/charlie\", \n        \"_rev\" : \"_V82NowO--_\", \n        \"name\" : \"Charlie\" \n      }, \n      { \n        \"_key\" : \"dave\", \n        \"_id\" : \"persons/dave\", \n        \"_rev\" : \"_V82NowO--B\", \n        \"name\" : \"Dave\" \n      } \n    ] \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Expand only inbound edges of *Alice* and outbound edges of *Eve*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"expander\" : \"var connections = [ ];if (vertex.name === \\\"Alice\\\") {config.datasource.getInEdges(vertex).forEach(function (e) {connections.push({ vertex: require(\\\"internal\\\").db._document(e._from), edge: e});});}if (vertex.name === \\\"Eve\\\") {config.datasource.getOutEdges(vertex).forEach(function (e) {connections.push({vertex: require(\\\"internal\\\").db._document(e._to), edge: e});});}return connections;\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82No0G--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82No0K--F\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82No0K--_\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No0G--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14301\", \n              \"_id\" : \"knows/14301\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No0O--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No0G--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No0K--F\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14301\", \n              \"_id\" : \"knows/14301\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No0O--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14304\", \n              \"_id\" : \"knows/14304\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No0O--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No0G--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No0K--F\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No0K--_\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Follow the *depthfirst* strategy\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"strategy\" : \"depthfirst\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoEy--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NoEy--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82NoEy--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82NoE2--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82NoE2--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoEy--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82NoE2--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NoEy--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82NoEy--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82NoE2--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoEy--B\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13301\", \n              \"_id\" : \"knows/13301\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE2--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13301\", \n              \"_id\" : \"knows/13301\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE2--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13305\", \n              \"_id\" : \"knows/13305\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82NoE6--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82NoEy--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13301\", \n              \"_id\" : \"knows/13301\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE2--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13308\", \n              \"_id\" : \"knows/13308\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoE6--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoE2--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13301\", \n              \"_id\" : \"knows/13301\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE2--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE6--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13301\", \n              \"_id\" : \"knows/13301\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE2--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE6--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoE6--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoE6--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoE6--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE6--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoE6--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE6--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13305\", \n              \"_id\" : \"knows/13305\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82NoE6--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82NoEy--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoE6--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE6--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13308\", \n              \"_id\" : \"knows/13308\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoE6--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoE2--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoE6--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE6--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13301\", \n              \"_id\" : \"knows/13301\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoE2--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoE2--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoEy--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoEy--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using *postorder* ordering\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"order\" : \"postorder\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82Nora--_\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82Nore--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NorW--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82Nori--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NorW--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82Nora--_\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82Nore--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NorW--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NorW--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82Nori--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NorW--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14099\", \n              \"_id\" : \"knows/14099\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nori--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14103\", \n              \"_id\" : \"knows/14103\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nori--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nora--_\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14099\", \n              \"_id\" : \"knows/14099\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nori--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14106\", \n              \"_id\" : \"knows/14106\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82Norm---\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nore--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14099\", \n              \"_id\" : \"knows/14099\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nori--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Norm--C\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Norm--A\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14099\", \n              \"_id\" : \"knows/14099\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nori--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Norm--C\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14099\", \n              \"_id\" : \"knows/14099\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nori--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Norm--A\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Norm--C\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14103\", \n              \"_id\" : \"knows/14103\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nori--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82Nora--_\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Norm--A\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Norm--C\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14106\", \n              \"_id\" : \"knows/14106\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82Norm---\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82Nore--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Norm--A\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Norm--C\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14099\", \n              \"_id\" : \"knows/14099\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Nori--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Norm--A\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82Norm--C\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NorW--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82Norm--A\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82Nori--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NorW--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using *backward* item-ordering:\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"itemOrder\" : \"backward\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82No_a--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82No_e--D\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82No_a--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82No_a--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82No_e--B\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82No_e--_\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82No_a--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82No_e--D\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82No_a--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82No_e--B\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82No_e--_\", \n          \"name\" : \"Charlie\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_i--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_i--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_i--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_i--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_i--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13192\", \n              \"_id\" : \"knows/13192\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_e--F\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_i--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_i--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13199\", \n              \"_id\" : \"knows/13199\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82No_i--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82No_e--B\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_i--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_i--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13196\", \n              \"_id\" : \"knows/13196\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82No_i--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82No_e--_\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13192\", \n              \"_id\" : \"knows/13192\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_e--F\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13192\", \n              \"_id\" : \"knows/13192\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_e--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_i--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13192\", \n              \"_id\" : \"knows/13192\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_e--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_i--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_i--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82No_e--D\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13192\", \n              \"_id\" : \"knows/13192\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_e--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13199\", \n              \"_id\" : \"knows/13199\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82No_i--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82No_e--B\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13192\", \n              \"_id\" : \"knows/13192\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_e--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13196\", \n              \"_id\" : \"knows/13196\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82No_i--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82No_a--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82No_a--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82No_e--_\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Edges should only be included once globally,\nbut nodes are included every time they are visited\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"uniqueness\" : { \n    \"vertices\" : \"none\", \n    \"edges\" : \"global\" \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoJ6--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_V82NoJ6--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_V82NoJ6--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_V82NoK---_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_V82NoK---B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_V82NoJ6--B\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13410\", \n              \"_id\" : \"knows/13410\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoK---D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoJ6--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13410\", \n              \"_id\" : \"knows/13410\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoK---D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13414\", \n              \"_id\" : \"knows/13414\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_V82NoKC--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoJ6--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_V82NoJ6--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13410\", \n              \"_id\" : \"knows/13410\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoK---D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13417\", \n              \"_id\" : \"knows/13417\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoKC--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoJ6--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_V82NoK---_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13410\", \n              \"_id\" : \"knows/13410\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoK---D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13423\", \n              \"_id\" : \"knows/13423\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoKG--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoJ6--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoK---B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13410\", \n              \"_id\" : \"knows/13410\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoK---D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13423\", \n              \"_id\" : \"knows/13423\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoKG--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13420\", \n              \"_id\" : \"knows/13420\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoKG--_\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_V82NoJ6--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_V82NoK---B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_V82NoJ6--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n If the underlying graph is cyclic, *maxIterations* should be set\n\nThe underlying graph has two vertices *Alice* and *Bob*.\nWith the directed edges:\n\n- *Alice* knows *Bob*\n- *Bob* knows *Alice*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"uniqueness\" : { \n    \"vertices\" : \"none\", \n    \"edges\" : \"none\" \n  }, \n  \"maxIterations\" : 5 \n}\nEOF\n\nHTTP/1.1 500 Internal Server Error\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 500, \n  \"errorNum\" : 1909, \n  \"errorMessage\" : \"too many iterations - try increasing the value of 'maxIterations'\" \n}\n
\n\n\n\n\n\n", + "description": "\n\nStarts a traversal starting from a given vertex and following.\nedges contained in a given edgeCollection. The request must\ncontain the following attributes.\n\n\n**A JSON object with these properties is required:**\n\n - **sort**: body (JavaScript) code of a custom comparison function\n for the edges. The signature of this function is\n *(l, r) -> integer* (where l and r are edges) and must\n return -1 if l is smaller than, +1 if l is greater than,\n and 0 if l and r are equal. The reason for this is the\n following: The order of edges returned for a certain\n vertex is undefined. This is because there is no natural\n order of edges for a vertex with multiple connected edges.\n To explicitly define the order in which edges on the\n vertex are followed, you can specify an edge comparator\n function with this attribute. Note that the value here has\n to be a string to conform to the JSON standard, which in\n turn is parsed as function body on the server side. Furthermore\n note that this attribute is only used for the standard\n expanders. If you use your custom expander you have to\n do the sorting yourself within the expander code.\n - **direction**: direction for traversal\n - *if set*, must be either *\"outbound\"*, *\"inbound\"*, or *\"any\"*\n - *if not set*, the *expander* attribute must be specified\n - **minDepth**: ANDed with any existing filters):\n visits only nodes in at least the given depth\n - **startVertex**: id of the startVertex, e.g. *\"users/foo\"*.\n - **visitor**: body (JavaScript) code of custom visitor function\n function signature: *(config, result, vertex, path, connected) -> void*\n The visitor function can do anything, but its return value is ignored. To\n populate a result, use the *result* variable by reference. Note that the\n *connected* argument is only populated when the *order* attribute is set\n to *\"preorder-expander\"*.\n - **itemOrder**: item iteration order can be *\"forward\"* or *\"backward\"*\n - **strategy**: traversal strategy can be *\"depthfirst\"* or *\"breadthfirst\"*\n - **filter**: default is to include all nodes:\n body (JavaScript code) of custom filter function\n function signature: *(config, vertex, path) -> mixed*\n can return four different string values:\n - *\"exclude\"* -> this vertex will not be visited.\n - *\"prune\"* -> the edges of this vertex will not be followed.\n - *\"\"* or *undefined* -> visit the vertex and follow it's edges.\n - *Array* -> containing any combination of the above.\n If there is at least one *\"exclude\"* or *\"prune\"* respectivly\n is contained, it's effect will occur.\n - **init**: body (JavaScript) code of custom result initialization function\n function signature: *(config, result) -> void*\n initialize any values in result with what is required\n - **maxIterations**: Maximum number of iterations in each traversal. This number can be\n set to prevent endless loops in traversal of cyclic graphs. When a traversal performs\n as many iterations as the *maxIterations* value, the traversal will abort with an\n error. If *maxIterations* is not set, a server-defined value may be used.\n - **maxDepth**: ANDed with any existing filters visits only nodes in at most the given depth\n - **uniqueness**: specifies uniqueness for vertices and edges visited.\n If set, must be an object like this:\n `\"uniqueness\": {\"vertices\": \"none\"|\"global\"|\"path\", \"edges\": \"none\"|\"global\"|\"path\"}`\n - **order**: traversal order can be *\"preorder\"*, *\"postorder\"* or *\"preorder-expander\"*\n - **graphName**: name of the graph that contains the edges.\n Either *edgeCollection* or *graphName* has to be given.\n In case both values are set the *graphName* is prefered.\n - **expander**: body (JavaScript) code of custom expander function\n *must* be set if *direction* attribute is **not** set\n function signature: *(config, vertex, path) -> array*\n expander must return an array of the connections for *vertex*\n each connection is an object with the attributes *edge* and *vertex*\n - **edgeCollection**: name of the collection that contains the edges.\n\n\n\n\n\nIf the Traversal is successfully executed *HTTP 200* will be returned.\nAdditionally the *result* object will be returned by the traversal.\n\nFor successful traversals, the returned JSON object has the\nfollowing properties:\n\n- *error*: boolean flag to indicate if an error occurred (*false*\n in this case)\n\n- *code*: the HTTP status code\n\n- *result*: the return value of the traversal\n\nIf the traversal specification is either missing or malformed, the server\nwill respond with *HTTP 400*.\n\nThe body of the response will then contain a JSON object with additional error\ndetails. The object has the following attributes:\n\n- *error*: boolean flag to indicate that an error occurred (*true* in this case)\n\n- *code*: the HTTP status code\n\n- *errorNum*: the server error number\n\n- *errorMessage*: a descriptive error message\n\n\n\n\n#Example:\n In the following examples the underlying graph will contain five persons\n*Alice*, *Bob*, *Charlie*, *Dave* and *Eve*.\nWe will have the following directed relations:\n\n- *Alice* knows *Bob*\n- *Bob* knows *Charlie*\n- *Bob* knows *Dave*\n- *Eve* knows *Alice*\n- *Eve* knows *Bob*\n\nThe starting vertex will always be Alice.\n\nFollow only outbound edges\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VtK--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VtK--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VtK--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VtK--F\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VtK--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14019\", \n              \"_id\" : \"knows/14019\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VtO--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VtK--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VtK--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14019\", \n              \"_id\" : \"knows/14019\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VtO--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14023\", \n              \"_id\" : \"knows/14023\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VtO--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VtK--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VtK--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VtK--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14019\", \n              \"_id\" : \"knows/14019\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VtO--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14026\", \n              \"_id\" : \"knows/14026\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VtO--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VtK--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VtK--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VtK--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Follow only inbound edges\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"inbound\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-Vaa--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-Vae--B\", \n          \"name\" : \"Eve\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vaa--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13678\", \n              \"_id\" : \"knows/13678\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vae--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vaa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vae--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Follow any direction of edges\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"uniqueness\" : { \n    \"vertices\" : \"none\", \n    \"edges\" : \"global\" \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-U96--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-U96--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-U96--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-U96--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-V----_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-U96--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13101\", \n              \"_id\" : \"knows/13101\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V----B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-U96--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13101\", \n              \"_id\" : \"knows/13101\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V----B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13105\", \n              \"_id\" : \"knows/13105\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-V----D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-U96--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-U96--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13101\", \n              \"_id\" : \"knows/13101\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V----B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13108\", \n              \"_id\" : \"knows/13108\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-V----F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-U96--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-U96--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13101\", \n              \"_id\" : \"knows/13101\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V----B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13114\", \n              \"_id\" : \"knows/13114\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V-C--A\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-U96--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-V----_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13101\", \n              \"_id\" : \"knows/13101\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V----B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13114\", \n              \"_id\" : \"knows/13114\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V-C--A\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13111\", \n              \"_id\" : \"knows/13111\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-V-C---\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-U96--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-V----_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-U96--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Excluding *Charlie* and *Bob*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"filter\" : \"if (vertex.name === \\\"Bob\\\" ||     vertex.name === \\\"Charlie\\\") {  return \\\"exclude\\\";}return;\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VS---B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VSC--_\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VS---B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13507\", \n              \"_id\" : \"knows/13507\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VSC--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13514\", \n              \"_id\" : \"knows/13514\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VSC--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VS---B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VS---D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VSC--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Do not follow edges from *Bob*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"filter\" : \"if (vertex.name === \\\"Bob\\\") {return \\\"prune\\\";}return;\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VWS--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VWW--_\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VWS--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13590\", \n              \"_id\" : \"knows/13590\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VWe--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VWS--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VWW--_\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Visit only nodes in a depth of at least 2\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"minDepth\" : 2 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VoW--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-Voa--_\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13936\", \n              \"_id\" : \"knows/13936\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Voa--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13940\", \n              \"_id\" : \"knows/13940\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-Voa--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VoW--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VoW--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VoW--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13936\", \n              \"_id\" : \"knows/13936\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Voa--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13943\", \n              \"_id\" : \"knows/13943\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-Voa--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VoW--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VoW--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-Voa--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Visit only nodes in a depth of at most 1\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"maxDepth\" : 1 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-Vf---_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-Vf---B\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vf---_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13747\", \n              \"_id\" : \"knows/13747\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VfC--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vf---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vf---B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using a visitor function to return vertex ids only\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"visitor\" : \"result.visited.vertices.push(vertex._id);\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        \"persons/alice\", \n        \"persons/bob\", \n        \"persons/charlie\", \n        \"persons/dave\" \n      ], \n      \"paths\" : [ ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Count all visited nodes and return a list of nodes only\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"outbound\", \n  \"init\" : \"result.visited = 0; result.myVertices = [ ];\", \n  \"visitor\" : \"result.visited++; result.myVertices.push(vertex);\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : 4, \n    \"myVertices\" : [ \n      { \n        \"_key\" : \"alice\", \n        \"_id\" : \"persons/alice\", \n        \"_rev\" : \"_W-M-V2O--_\", \n        \"name\" : \"Alice\" \n      }, \n      { \n        \"_key\" : \"bob\", \n        \"_id\" : \"persons/bob\", \n        \"_rev\" : \"_W-M-V2O--B\", \n        \"name\" : \"Bob\" \n      }, \n      { \n        \"_key\" : \"charlie\", \n        \"_id\" : \"persons/charlie\", \n        \"_rev\" : \"_W-M-V2O--D\", \n        \"name\" : \"Charlie\" \n      }, \n      { \n        \"_key\" : \"dave\", \n        \"_id\" : \"persons/dave\", \n        \"_rev\" : \"_W-M-V2O--F\", \n        \"name\" : \"Dave\" \n      } \n    ] \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Expand only inbound edges of *Alice* and outbound edges of *Eve*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"expander\" : \"var connections = [ ];if (vertex.name === \\\"Alice\\\") {config.datasource.getInEdges(vertex).forEach(function (e) {connections.push({ vertex: require(\\\"internal\\\").db._document(e._from), edge: e});});}if (vertex.name === \\\"Eve\\\") {config.datasource.getOutEdges(vertex).forEach(function (e) {connections.push({vertex: require(\\\"internal\\\").db._document(e._to), edge: e});});}return connections;\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-V66--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-V7---F\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-V7---_\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-V66--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14304\", \n              \"_id\" : \"knows/14304\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-V7C--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-V66--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-V7---F\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14304\", \n              \"_id\" : \"knows/14304\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-V7C--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14307\", \n              \"_id\" : \"knows/14307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V7C--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-V66--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-V7---F\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-V7---_\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Follow the *depthfirst* strategy\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"strategy\" : \"depthfirst\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VHq--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VHu--_\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VHu--B\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VHu--D\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-VHy--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VHq--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-VHy--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VHu--_\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VHu--B\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VHu--D\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VHq--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13304\", \n              \"_id\" : \"knows/13304\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHy--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13304\", \n              \"_id\" : \"knows/13304\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHy--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13308\", \n              \"_id\" : \"knows/13308\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VH2--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VHu--B\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13304\", \n              \"_id\" : \"knows/13304\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHy--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VH2--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VHu--D\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13304\", \n              \"_id\" : \"knows/13304\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHy--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13317\", \n              \"_id\" : \"knows/13317\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VH6--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13304\", \n              \"_id\" : \"knows/13304\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHy--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13317\", \n              \"_id\" : \"knows/13317\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VH6--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VH6--_\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VH6--_\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VH6--_\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13317\", \n              \"_id\" : \"knows/13317\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VH6--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VH6--_\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13317\", \n              \"_id\" : \"knows/13317\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VH6--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13308\", \n              \"_id\" : \"knows/13308\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VH2--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VHu--B\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VH6--_\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13317\", \n              \"_id\" : \"knows/13317\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VH6--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13311\", \n              \"_id\" : \"knows/13311\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VH2--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VHu--D\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13314\", \n              \"_id\" : \"knows/13314\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VH6--_\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13317\", \n              \"_id\" : \"knows/13317\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VH6--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13304\", \n              \"_id\" : \"knows/13304\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHy--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VHy--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VHu--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VHq--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using *postorder* ordering\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"order\" : \"postorder\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-Vxa--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-Vxa--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-Vxa--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-Vxa--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-Vxa--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-Vxa--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-Vxa--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-Vxa--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-Vxa--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-Vxa--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-Vxa--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14102\", \n              \"_id\" : \"knows/14102\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14106\", \n              \"_id\" : \"knows/14106\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-Vxe--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-Vxa--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14102\", \n              \"_id\" : \"knows/14102\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-Vxe--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-Vxa--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14102\", \n              \"_id\" : \"knows/14102\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14115\", \n              \"_id\" : \"knows/14115\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxe--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14102\", \n              \"_id\" : \"knows/14102\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"14115\", \n              \"_id\" : \"knows/14115\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14102\", \n              \"_id\" : \"knows/14102\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxe--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14115\", \n              \"_id\" : \"knows/14115\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14106\", \n              \"_id\" : \"knows/14106\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-Vxe--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-Vxa--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxe--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14115\", \n              \"_id\" : \"knows/14115\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14109\", \n              \"_id\" : \"knows/14109\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-Vxe--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-Vxa--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxe--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14115\", \n              \"_id\" : \"knows/14115\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14102\", \n              \"_id\" : \"knows/14102\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxe--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"14115\", \n              \"_id\" : \"knows/14115\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxe--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-Vxa--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"14112\", \n              \"_id\" : \"knows/14112\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxe--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-Vxa--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-Vxa--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Using *backward* item-ordering:\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"itemOrder\" : \"backward\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VCm--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-VCq--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VCm--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VCm--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VCq--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VCm--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VCm--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-VCq--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VCm--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VCq--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VCm--D\", \n          \"name\" : \"Charlie\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCu--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCu--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13208\", \n              \"_id\" : \"knows/13208\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCu--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCu--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13208\", \n              \"_id\" : \"knows/13208\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCu--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13195\", \n              \"_id\" : \"knows/13195\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCq--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCu--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13208\", \n              \"_id\" : \"knows/13208\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCu--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VCu--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VCq--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCu--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13208\", \n              \"_id\" : \"knows/13208\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCu--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13199\", \n              \"_id\" : \"knows/13199\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VCu--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VCm--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13195\", \n              \"_id\" : \"knows/13195\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCq--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13195\", \n              \"_id\" : \"knows/13195\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13208\", \n              \"_id\" : \"knows/13208\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCu--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13195\", \n              \"_id\" : \"knows/13195\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13208\", \n              \"_id\" : \"knows/13208\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCu--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13205\", \n              \"_id\" : \"knows/13205\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCu--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VCq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13195\", \n              \"_id\" : \"knows/13195\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13202\", \n              \"_id\" : \"knows/13202\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VCu--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VCq--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13195\", \n              \"_id\" : \"knows/13195\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13199\", \n              \"_id\" : \"knows/13199\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VCu--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VCm--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VCm--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VCm--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n Edges should only be included once globally,\nbut nodes are included every time they are visited\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"uniqueness\" : { \n    \"vertices\" : \"none\", \n    \"edges\" : \"global\" \n  } \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"result\" : { \n    \"visited\" : { \n      \"vertices\" : [ \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VMq--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_W-M-VMq--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_W-M-VMq--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_W-M-VMq--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_W-M-VMq--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_W-M-VMq--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13413\", \n              \"_id\" : \"knows/13413\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMq--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13413\", \n              \"_id\" : \"knows/13413\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13417\", \n              \"_id\" : \"knows/13417\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VMu--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMq--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_W-M-VMq--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13413\", \n              \"_id\" : \"knows/13413\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13420\", \n              \"_id\" : \"knows/13420\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VMu--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMq--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_W-M-VMq--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13413\", \n              \"_id\" : \"knows/13413\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13426\", \n              \"_id\" : \"knows/13426\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMq--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VMq--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13413\", \n              \"_id\" : \"knows/13413\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"13426\", \n              \"_id\" : \"knows/13426\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMu--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13423\", \n              \"_id\" : \"knows/13423\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMu--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_W-M-VMq--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_W-M-VMq--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_W-M-VMq--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        } \n      ] \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n#Example:\n If the underlying graph is cyclic, *maxIterations* should be set\n\nThe underlying graph has two vertices *Alice* and *Bob*.\nWith the directed edges:\n\n- *Alice* knows *Bob*\n- *Bob* knows *Alice*\n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF\n{ \n  \"startVertex\" : \"persons/alice\", \n  \"graphName\" : \"knows_graph\", \n  \"direction\" : \"any\", \n  \"uniqueness\" : { \n    \"vertices\" : \"none\", \n    \"edges\" : \"none\" \n  }, \n  \"maxIterations\" : 5 \n}\nEOF\n\nHTTP/1.1 500 Internal Server Error\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : true, \n  \"code\" : 500, \n  \"errorNum\" : 1909, \n  \"errorMessage\" : \"too many iterations - try increasing the value of 'maxIterations'\" \n}\n
\n\n\n\n\n\n", "parameters": [ { "in": "body", @@ -8695,7 +8695,7 @@ }, "/_api/version": { "get": { - "description": "\n\nReturns the server name and version number. The response is a JSON object\nwith the following attributes:\n\n**A json document with these Properties is returned:**\n\n##HTTP 200\nis returned in all cases.\n\n- **version**: the server version string. The string has the format\n\"*major*.*minor*.*sub*\". *major* and *minor* will be numeric, and *sub*\nmay contain a number or a textual version.\n- **details**: an optional JSON object with additional details. This is\nreturned only if the *details* query parameter is set to *true* in the\nrequest.\n- **server**: will always contain *arango*\n\n\n\n\n#Example:\n Return the version information\n\n
shell> curl --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc3\", \n  \"license\" : \"community\" \n}\n
\n\n\n\n\n#Example:\n Return the version information with details\n\n
shell> curl --dump - http://localhost:8529/_api/version?details=true\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc3\", \n  \"license\" : \"community\", \n  \"details\" : { \n    \"architecture\" : \"64bit\", \n    \"arm\" : \"false\", \n    \"asan\" : \"false\", \n    \"asm-crc32\" : \"true\", \n    \"assertions\" : \"true\", \n    \"boost-version\" : \"1.62.0\", \n    \"build-date\" : \"2017-11-24 12:37:02\", \n    \"build-repository\" : \"heads/3.3-0-g6e37b767dd-dirty\", \n    \"compiler\" : \"clang [4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)]\", \n    \"cplusplus\" : \"201103\", \n    \"debug\" : \"false\", \n    \"endianness\" : \"little\", \n    \"failure-tests\" : \"false\", \n    \"fd-client-event-handler\" : \"poll\", \n    \"fd-setsize\" : \"1024\", \n    \"full-version-string\" : \"ArangoDB 3.3.rc3 [darwin] 64bit maintainer mode, using jemalloc, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.0.2m  2 Nov 2017\", \n    \"icu-version\" : \"58.1\", \n    \"jemalloc\" : \"true\", \n    \"maintainer-mode\" : \"true\", \n    \"openssl-version\" : \"OpenSSL 1.0.2m  2 Nov 2017\", \n    \"platform\" : \"darwin\", \n    \"reactor-type\" : \"kqueue\", \n    \"rocksdb-version\" : \"5.6.0\", \n    \"server-version\" : \"3.3.rc3\", \n    \"sizeof int\" : \"4\", \n    \"sizeof void*\" : \"8\", \n    \"sse42\" : \"false\", \n    \"unaligned-access\" : \"true\", \n    \"v8-version\" : \"5.7.492.77\", \n    \"vpack-version\" : \"0.1.30\", \n    \"zlib-version\" : \"1.2.11\", \n    \"mode\" : \"server\", \n    \"host\" : \"localhost\" \n  } \n}\n
\n\n\n\n\n", + "description": "\n\nReturns the server name and version number. The response is a JSON object\nwith the following attributes:\n\n**A json document with these Properties is returned:**\n\n##HTTP 200\nis returned in all cases.\n\n- **version**: the server version string. The string has the format\n\"*major*.*minor*.*sub*\". *major* and *minor* will be numeric, and *sub*\nmay contain a number or a textual version.\n- **details**: an optional JSON object with additional details. This is\nreturned only if the *details* query parameter is set to *true* in the\nrequest.\n- **server**: will always contain *arango*\n\n\n\n\n#Example:\n Return the version information\n\n
shell> curl --dump - http://localhost:8529/_api/version\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc4\", \n  \"license\" : \"community\" \n}\n
\n\n\n\n\n#Example:\n Return the version information with details\n\n
shell> curl --dump - http://localhost:8529/_api/version?details=true\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.rc4\", \n  \"license\" : \"community\", \n  \"details\" : { \n    \"architecture\" : \"64bit\", \n    \"arm\" : \"false\", \n    \"asan\" : \"false\", \n    \"asm-crc32\" : \"true\", \n    \"assertions\" : \"true\", \n    \"boost-version\" : \"1.62.0\", \n    \"build-date\" : \"2017-11-28 15:42:45\", \n    \"build-repository\" : \"heads/3.3-0-g75a494dc74-dirty\", \n    \"compiler\" : \"clang [4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)]\", \n    \"cplusplus\" : \"201103\", \n    \"debug\" : \"false\", \n    \"endianness\" : \"little\", \n    \"failure-tests\" : \"false\", \n    \"fd-client-event-handler\" : \"poll\", \n    \"fd-setsize\" : \"1024\", \n    \"full-version-string\" : \"ArangoDB 3.3.rc4 [darwin] 64bit maintainer mode, using jemalloc, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.0.2m  2 Nov 2017\", \n    \"icu-version\" : \"58.1\", \n    \"jemalloc\" : \"true\", \n    \"maintainer-mode\" : \"true\", \n    \"openssl-version\" : \"OpenSSL 1.0.2m  2 Nov 2017\", \n    \"platform\" : \"darwin\", \n    \"reactor-type\" : \"kqueue\", \n    \"rocksdb-version\" : \"5.6.0\", \n    \"server-version\" : \"3.3.rc4\", \n    \"sizeof int\" : \"4\", \n    \"sizeof void*\" : \"8\", \n    \"sse42\" : \"false\", \n    \"unaligned-access\" : \"true\", \n    \"v8-version\" : \"5.7.492.77\", \n    \"vpack-version\" : \"0.1.30\", \n    \"zlib-version\" : \"1.2.11\", \n    \"mode\" : \"server\", \n    \"host\" : \"localhost\" \n  } \n}\n
\n\n\n\n\n", "parameters": [ { "description": "If set to *true*, the response will contain a *details* attribute with\nadditional information about included components and their versions. The\nattribute names and internals of the *details* object may vary depending on\nplatform and ArangoDB version.\n\n", diff --git a/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js.gz b/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js.gz index b84d54de78..49590141b1 100644 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js.gz and b/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js.gz differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html b/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html index 0519a697fa..a1c78207a6 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html +++ b/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html @@ -2912,4 +2912,4 @@ var cutByResolution = function (str) {
-
\ No newline at end of file +
\ No newline at end of file diff --git a/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html.gz b/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html.gz index 41d060f98d..97f8d56fd0 100644 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html.gz and b/js/apps/system/_admin/aardvark/APP/frontend/build/index-min.html.gz differ