diff --git a/CMakeLists.txt b/CMakeLists.txt index 5970890885..8e78f460b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,7 @@ add_definitions("-DARANGODB_STANDALONE_ASIO=0") set(ARANGODB_VERSION_MAJOR "3") set(ARANGODB_VERSION_MINOR "3") if (NOT DEFINED ARANGODB_VERSION_REVISION) - set(ARANGODB_VERSION_REVISION "16") + set(ARANGODB_VERSION_REVISION "17") endif() set(ARANGODB_PACKAGE_REVISION "1") diff --git a/Documentation/Examples/001_collectionAll.generated b/Documentation/Examples/001_collectionAll.generated index d2b545a71c..7ea8170161 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" : "_XcgblbO--_" + "_rev" : "_XiAwFLS--_" } arangosh> db.five.save({ name : "two" }); { "_id" : "five/109", "_key" : "109", - "_rev" : "_XcgblbO--B" + "_rev" : "_XiAwFLW--_" } arangosh> db.five.save({ name : "three" }); { "_id" : "five/112", "_key" : "112", - "_rev" : "_XcgblbS--_" + "_rev" : "_XiAwFLa--_" } arangosh> db.five.save({ name : "four" }); { "_id" : "five/115", "_key" : "115", - "_rev" : "_XcgblbS--B" + "_rev" : "_XiAwFLa--B" } arangosh> db.five.save({ name : "five" }); { "_id" : "five/118", "_key" : "118", - "_rev" : "_XcgblbS--D" + "_rev" : "_XiAwFLa--D" } arangosh> db.five.all().toArray(); [ { "_key" : "109", "_id" : "five/109", - "_rev" : "_XcgblbO--B", + "_rev" : "_XiAwFLW--_", "name" : "two" }, { "_key" : "112", "_id" : "five/112", - "_rev" : "_XcgblbS--_", + "_rev" : "_XiAwFLa--_", "name" : "three" }, { "_key" : "105", "_id" : "five/105", - "_rev" : "_XcgblbO--_", + "_rev" : "_XiAwFLS--_", "name" : "one" }, { "_key" : "115", "_id" : "five/115", - "_rev" : "_XcgblbS--B", + "_rev" : "_XiAwFLa--B", "name" : "four" }, { "_key" : "118", "_id" : "five/118", - "_rev" : "_XcgblbS--D", + "_rev" : "_XiAwFLa--D", "name" : "five" } ] diff --git a/Documentation/Examples/002_collectionAllNext.generated b/Documentation/Examples/002_collectionAllNext.generated index d861812372..f7bba265cb 100644 --- a/Documentation/Examples/002_collectionAllNext.generated +++ b/Documentation/Examples/002_collectionAllNext.generated @@ -2,44 +2,44 @@ arangosh> db.five.save({ name : "_id" : "five/127", "_key" : "127", - "_rev" : "_Xcgblcq--_" + "_rev" : "_XiAwFMy--_" } arangosh> db.five.save({ name : "two" }); { "_id" : "five/131", "_key" : "131", - "_rev" : "_Xcgblcq--B" + "_rev" : "_XiAwFMy--B" } arangosh> db.five.save({ name : "three" }); { "_id" : "five/134", "_key" : "134", - "_rev" : "_Xcgblcq--D" + "_rev" : "_XiAwFMy--D" } arangosh> db.five.save({ name : "four" }); { "_id" : "five/137", "_key" : "137", - "_rev" : "_Xcgblcu--_" + "_rev" : "_XiAwFM2--_" } arangosh> db.five.save({ name : "five" }); { "_id" : "five/140", "_key" : "140", - "_rev" : "_Xcgblcu--B" + "_rev" : "_XiAwFM2--B" } arangosh> db.five.all().limit(2).toArray(); [ { "_key" : "131", "_id" : "five/131", - "_rev" : "_Xcgblcq--B", + "_rev" : "_XiAwFMy--B", "name" : "two" }, { "_key" : "134", "_id" : "five/134", - "_rev" : "_Xcgblcq--D", + "_rev" : "_XiAwFMy--D", "name" : "three" } ] diff --git a/Documentation/Examples/003_collectionByExample.generated b/Documentation/Examples/003_collectionByExample.generated index 94ea044d92..373434f9e3 100644 --- a/Documentation/Examples/003_collectionByExample.generated +++ b/Documentation/Examples/003_collectionByExample.generated @@ -2,38 +2,38 @@ arangosh> db.users.save({ name: "_id" : "users/148", "_key" : "148", - "_rev" : "_Xcgbldq--_" + "_rev" : "_XiAwFOC--_" } arangosh> db.users.save({ name: "Helmut" }); { "_id" : "users/152", "_key" : "152", - "_rev" : "_Xcgbldu--_" + "_rev" : "_XiAwFOC--B" } arangosh> db.users.save({ name: "Angela" }); { "_id" : "users/155", "_key" : "155", - "_rev" : "_Xcgbldu--B" + "_rev" : "_XiAwFOC--D" } arangosh> db.users.all().toArray(); [ { "_key" : "155", "_id" : "users/155", - "_rev" : "_Xcgbldu--B", + "_rev" : "_XiAwFOC--D", "name" : "Angela" }, { "_key" : "152", "_id" : "users/152", - "_rev" : "_Xcgbldu--_", + "_rev" : "_XiAwFOC--B", "name" : "Helmut" }, { "_key" : "148", "_id" : "users/148", - "_rev" : "_Xcgbldq--_", + "_rev" : "_XiAwFOC--_", "name" : "Gerhard" } ] @@ -44,7 +44,7 @@ arangosh> db.users.byExample({ "name" : "_key" : "148", "_id" : "users/148", - "_rev" : "_Xcgbldq--_", + "_rev" : "_XiAwFOC--_", "name" : "Gerhard" } ] diff --git a/Documentation/Examples/004_collectionByExampleNext.generated b/Documentation/Examples/004_collectionByExampleNext.generated index a77658010b..8e00a0c53a 100644 --- a/Documentation/Examples/004_collectionByExampleNext.generated +++ b/Documentation/Examples/004_collectionByExampleNext.generated @@ -2,25 +2,25 @@ arangosh> db.users.save({ name: "_id" : "users/166", "_key" : "166", - "_rev" : "_Xcgbleu--_" + "_rev" : "_XiAwFPm--_" } arangosh> db.users.save({ name: "Helmut" }); { "_id" : "users/170", "_key" : "170", - "_rev" : "_Xcgbleu--B" + "_rev" : "_XiAwFPq--_" } arangosh> db.users.save({ name: "Angela" }); { "_id" : "users/173", "_key" : "173", - "_rev" : "_Xcgbley--_" + "_rev" : "_XiAwFPq--B" } arangosh> var a = db.users.byExample( {"name" : "Angela" } ); arangosh> while (a.hasNext()) print(a.next()); { "_key" : "173", "_id" : "users/173", - "_rev" : "_Xcgbley--_", + "_rev" : "_XiAwFPq--B", "name" : "Angela" } diff --git a/Documentation/Examples/005_collectionRange.generated b/Documentation/Examples/005_collectionRange.generated index 5fd6b74eed..0e33dcd896 100644 --- a/Documentation/Examples/005_collectionRange.generated +++ b/Documentation/Examples/005_collectionRange.generated @@ -15,32 +15,32 @@ arangosh> db.old.save({ age: "_id" : "old/184", "_key" : "184", - "_rev" : "_Xcgblgy--_" + "_rev" : "_XiAwFSG--_" } arangosh> db.old.save({ age: 25 }); { "_id" : "old/188", "_key" : "188", - "_rev" : "_Xcgblgy--B" + "_rev" : "_XiAwFSG--B" } arangosh> db.old.save({ age: 30 }); { "_id" : "old/191", "_key" : "191", - "_rev" : "_Xcgblgy--D" + "_rev" : "_XiAwFSK--_" } arangosh> db.old.range("age", 10, 30).toArray(); [ { "_key" : "184", "_id" : "old/184", - "_rev" : "_Xcgblgy--_", + "_rev" : "_XiAwFSG--_", "age" : 15 }, { "_key" : "188", "_id" : "old/188", - "_rev" : "_Xcgblgy--B", + "_rev" : "_XiAwFSG--B", "age" : 25 } ] diff --git a/Documentation/Examples/006_collectionClosedRange.generated b/Documentation/Examples/006_collectionClosedRange.generated index 0e5183b56b..0fd7f4e502 100644 --- a/Documentation/Examples/006_collectionClosedRange.generated +++ b/Documentation/Examples/006_collectionClosedRange.generated @@ -15,38 +15,38 @@ arangosh> db.old.save({ age: "_id" : "old/203", "_key" : "203", - "_rev" : "_Xcgbli2--_" + "_rev" : "_XiAwFUq--_" } arangosh> db.old.save({ age: 25 }); { "_id" : "old/207", "_key" : "207", - "_rev" : "_Xcgbli2--B" + "_rev" : "_XiAwFUq--B" } arangosh> db.old.save({ age: 30 }); { "_id" : "old/210", "_key" : "210", - "_rev" : "_Xcgbli2--D" + "_rev" : "_XiAwFUq--D" } arangosh> db.old.closedRange("age", 10, 30).toArray(); [ { "_key" : "203", "_id" : "old/203", - "_rev" : "_Xcgbli2--_", + "_rev" : "_XiAwFUq--_", "age" : 15 }, { "_key" : "207", "_id" : "old/207", - "_rev" : "_Xcgbli2--B", + "_rev" : "_XiAwFUq--B", "age" : 25 }, { "_key" : "210", "_id" : "old/210", - "_rev" : "_Xcgbli2--D", + "_rev" : "_XiAwFUq--D", "age" : 30 } ] diff --git a/Documentation/Examples/007_collectionNear.generated b/Documentation/Examples/007_collectionNear.generated index db0173c84c..161da2c849 100644 --- a/Documentation/Examples/007_collectionNear.generated +++ b/Documentation/Examples/007_collectionNear.generated @@ -24,7 +24,7 @@ arangosh> db.geo.near(0, "_key" : "1276", "_id" : "geo/1276", - "_rev" : "_Xcgblnm--B", + "_rev" : "_XiAwFZq--N", "name" : "Name/0/0", "loc" : [ 0, @@ -34,7 +34,7 @@ arangosh> db.geo.near(0, "_key" : "1165", "_id" : "geo/1165", - "_rev" : "_XcgblnS--D", + "_rev" : "_XiAwFZa--L", "name" : "Name/-10/0", "loc" : [ -10, diff --git a/Documentation/Examples/008_collectionNearDistance.generated b/Documentation/Examples/008_collectionNearDistance.generated index d9c9f491a4..0279f0e85b 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/3397", "_key" : "3397", - "_rev" : "_XcgblvW--_", + "_rev" : "_XiAwFg2--H", "loc" : [ 0, 0 @@ -36,7 +36,7 @@ arangosh> db.geo.near(0, "distance" : 1111949.2664455874, "_id" : "geo/3286", "_key" : "3286", - "_rev" : "_XcgblvC--J", + "_rev" : "_XiAwFgm--B", "loc" : [ -10, 0 diff --git a/Documentation/Examples/009_collectionWithin.generated b/Documentation/Examples/009_collectionWithin.generated index 2421367bc3..73737e9764 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/5518", "_key" : "5518", - "_rev" : "_Xcgbl2G--_", + "_rev" : "_XiAwFoK--N", "loc" : [ 0, 0 @@ -18,7 +18,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5407", "_key" : "5407", - "_rev" : "_Xcgbl1y--_", + "_rev" : "_XiAwFn2--F", "loc" : [ -10, 0 @@ -29,7 +29,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5521", "_key" : "5521", - "_rev" : "_Xcgbl2G--B", + "_rev" : "_XiAwFoO--_", "loc" : [ 0, 10 @@ -40,7 +40,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5629", "_key" : "5629", - "_rev" : "_Xcgbl2a--D", + "_rev" : "_XiAwFoe--L", "loc" : [ 10, 0 @@ -51,7 +51,7 @@ arangosh> db.geo.within(0, "distance" : 1111949.2664455874, "_id" : "geo/5515", "_key" : "5515", - "_rev" : "_Xcgbl2C--L", + "_rev" : "_XiAwFoK--L", "loc" : [ 0, -10 @@ -62,7 +62,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.556798576, "_id" : "geo/5410", "_key" : "5410", - "_rev" : "_Xcgbl1y--B", + "_rev" : "_XiAwFn2--H", "loc" : [ -10, 10 @@ -73,7 +73,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.556798576, "_id" : "geo/5632", "_key" : "5632", - "_rev" : "_Xcgbl2a--F", + "_rev" : "_XiAwFoe--N", "loc" : [ 10, 10 @@ -84,7 +84,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.556798576, "_id" : "geo/5404", "_key" : "5404", - "_rev" : "_Xcgbl1u--N", + "_rev" : "_XiAwFn2--D", "loc" : [ -10, -10 @@ -95,7 +95,7 @@ arangosh> db.geo.within(0, "distance" : 1568520.556798576, "_id" : "geo/5626", "_key" : "5626", - "_rev" : "_Xcgbl2a--B", + "_rev" : "_XiAwFoe--J", "loc" : [ 10, -10 diff --git a/Documentation/Examples/011_documentsCollectionReplaceByExample.generated b/Documentation/Examples/011_documentsCollectionReplaceByExample.generated index 6824c89411..91cff253a5 100644 --- a/Documentation/Examples/011_documentsCollectionReplaceByExample.generated +++ b/Documentation/Examples/011_documentsCollectionReplaceByExample.generated @@ -2,7 +2,7 @@ arangosh> db.example.save({ Hello : "_id" : "example/6595", "_key" : "6595", - "_rev" : "_Xcgbl6u--_" + "_rev" : "_XiAwFtO--_" } 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 33d9a69b9f..b9d80aeb26 100644 --- a/Documentation/Examples/012_documentsCollectionUpdateByExample.generated +++ b/Documentation/Examples/012_documentsCollectionUpdateByExample.generated @@ -2,7 +2,7 @@ arangosh> db.example.save({ Hello : "_id" : "example/6608", "_key" : "6608", - "_rev" : "_Xcgbl7y--_" + "_rev" : "_XiAwFuS--_" } arangosh> db.example.updateByExample({ Hello: "world" }, { Hello: "foo", World: "bar" }, false); 1 @@ -11,7 +11,7 @@ arangosh> db.example.byExample({ Hello: "_key" : "6608", "_id" : "example/6608", - "_rev" : "_Xcgbl72--_", + "_rev" : "_XiAwFuW--_", "Hello" : "foo", "foo" : "bar", "World" : "bar" diff --git a/Documentation/Examples/01_workWithAQL_all.generated b/Documentation/Examples/01_workWithAQL_all.generated index af02ac7e2f..f181359e03 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" : "_Xcgbl8y--_" + "_rev" : "_XiAwFvW--_" } 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 ace26babb4..2a99d21ba4 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" : "_Xcgbl8y--_", + "_rev" : "_XiAwFvW--_", "Hello" : "World" } ] diff --git a/Documentation/Examples/03_workWithAQL_getExtra.generated b/Documentation/Examples/03_workWithAQL_getExtra.generated index b67eb8215c..3c90bcd355 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.0003421306610107422 + "executionTime" : 0.0003695487976074219 }, "warnings" : [ ] } diff --git a/Documentation/Examples/06_workWithAQL_statements12.generated b/Documentation/Examples/06_workWithAQL_statements12.generated index 63bd2f998a..f54ce7a525 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.00005316734313964844 + "executionTime" : 0.00006389617919921875 }, "profile" : { "initializing" : 9.5367431640625e-7, - "parsing" : 0.000011205673217773438, - "optimizing ast" : 0.0000011920928955078125, - "loading collections" : 9.5367431640625e-7, - "instantiating plan" : 0.000005245208740234375, - "optimizing plan" : 0.000014066696166992188, - "executing" : 0.000011205673217773438, - "finalizing" : 0.0000050067901611328125 + "parsing" : 0.000013589859008789062, + "optimizing ast" : 0.000001430511474609375, + "loading collections" : 0.0000011920928955078125, + "instantiating plan" : 0.00000667572021484375, + "optimizing plan" : 0.0000171661376953125, + "executing" : 0.000012874603271484375, + "finalizing" : 0.0000059604644775390625 }, "warnings" : [ ] } diff --git a/Documentation/Examples/06_workWithAQL_statementsExtra.generated b/Documentation/Examples/06_workWithAQL_statementsExtra.generated index 4c1d1fa7a9..b01ab51794 100644 --- a/Documentation/Examples/06_workWithAQL_statementsExtra.generated +++ b/Documentation/Examples/06_workWithAQL_statementsExtra.generated @@ -15,7 +15,7 @@ arangosh> db._query(` "filtered" : 0, "httpRequests" : 0, "fullCount" : 0, - "executionTime" : 0.0004913806915283203 + "executionTime" : 0.0003876686096191406 }, "warnings" : [ ] } @@ -35,7 +35,7 @@ arangosh> db._query({ "filtered" : 0, "httpRequests" : 0, "fullCount" : 0, - "executionTime" : 0.00034689903259277344 + "executionTime" : 0.0004036426544189453 }, "warnings" : [ ] } diff --git a/Documentation/Examples/COMBINING_GRAPH_01_create_graph.generated b/Documentation/Examples/COMBINING_GRAPH_01_create_graph.generated index 2250d3128c..2d7dc798ac 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" : "_XcgbmH6--_", + "_rev" : "_XiAwF7K--_", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -21,7 +21,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Hamburg", "_id" : "germanCity/Hamburg", - "_rev" : "_XcgbmH6--B", + "_rev" : "_XiAwF7K--B", "population" : 1000000, "isCapital" : false, "loc" : [ diff --git a/Documentation/Examples/COMBINING_GRAPH_02_combine.generated b/Documentation/Examples/COMBINING_GRAPH_02_combine.generated index 0225f8d30c..a7a48105d6 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" : "_XcgbmH6--D", + "_rev" : "_XiAwF7K--D", "population" : 80000, "isCapital" : false, "loc" : [ @@ -28,7 +28,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_XcgbmH6--F", + "_rev" : "_XiAwF7K--F", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -42,7 +42,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_XcgbmH6--F", + "_rev" : "_XiAwF7K--F", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -56,7 +56,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_XcgbmH6--D", + "_rev" : "_XiAwF7K--D", "population" : 80000, "isCapital" : false, "loc" : [ @@ -70,7 +70,7 @@ arangosh> db._query(`FOR startCity IN "traversedCity" : { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_XcgbmH6--_", + "_rev" : "_XiAwF7K--_", "population" : 1000000, "isCapital" : false, "loc" : [ diff --git a/Documentation/Examples/COMBINING_GRAPH_03_combine_let.generated b/Documentation/Examples/COMBINING_GRAPH_03_combine_let.generated index e60ac6ac71..5d605e6cb0 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" : "_XcgbmH6--D", + "_rev" : "_XiAwF7K--D", "population" : 80000, "isCapital" : false, "loc" : [ @@ -26,7 +26,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_XcgbmH6--F", + "_rev" : "_XiAwF7K--F", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -42,7 +42,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_XcgbmH6--F", + "_rev" : "_XiAwF7K--F", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -53,7 +53,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Lyon", "_id" : "frenchCity/Lyon", - "_rev" : "_XcgbmH6--D", + "_rev" : "_XiAwF7K--D", "population" : 80000, "isCapital" : false, "loc" : [ @@ -64,7 +64,7 @@ arangosh> db._query(`FOR startCity IN { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_XcgbmH6--_", + "_rev" : "_XiAwF7K--_", "population" : 1000000, "isCapital" : false, "loc" : [ diff --git a/Documentation/Examples/EDGCOL_01_SaveEdgeCol.generated b/Documentation/Examples/EDGCOL_01_SaveEdgeCol.generated index 5495805a77..10a7a510a0 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/7438", "_key" : "7438", - "_rev" : "_XcgbmPW--_" + "_rev" : "_XiAwGCi--_" } arangosh> v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7442", "_key" : "7442", - "_rev" : "_XcgbmPa--_" + "_rev" : "_XiAwGCi--B" } arangosh> e1 = db.relation.insert(v1, v2, { label : "knows" }); { "_id" : "relation/7445", "_key" : "7445", - "_rev" : "_XcgbmPa--B" + "_rev" : "_XiAwGCi--D" } arangosh> db._document(e1); { @@ -26,6 +26,6 @@ arangosh> db._document(e1); "_id" : "relation/7445", "_from" : "vertex/7438", "_to" : "vertex/7442", - "_rev" : "_XcgbmPa--B", + "_rev" : "_XiAwGCi--D", "label" : "knows" } diff --git a/Documentation/Examples/EDGCOL_02_Relation.generated b/Documentation/Examples/EDGCOL_02_Relation.generated index b6f443dadd..1191120a23 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/7458", "_key" : "7458", - "_rev" : "_XcgbmRa--_" + "_rev" : "_XiAwGEq--_" } arangosh> myGraph.v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7462", "_key" : "7462", - "_rev" : "_XcgbmRa--B" + "_rev" : "_XiAwGEq--B" } arangosh> myGraph.e1 = db.relation.insert(myGraph.v1, myGraph.v2, ........> { label : "knows"}); { "_id" : "relation/7465", "_key" : "7465", - "_rev" : "_XcgbmRa--D" + "_rev" : "_XiAwGEq--D" } arangosh> db._document(myGraph.e1); { @@ -28,7 +28,7 @@ arangosh> db._document(myGraph.e1); "_id" : "relation/7465", "_from" : "vertex/7458", "_to" : "vertex/7462", - "_rev" : "_XcgbmRa--D", + "_rev" : "_XiAwGEq--D", "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 609baeaca9..8179275c44 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/7479", "_key" : "7479", - "_rev" : "_XcgbmTe--_" + "_rev" : "_XiAwGGu--_" } arangosh> myGraph.v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7483", "_key" : "7483", - "_rev" : "_XcgbmTi--_" + "_rev" : "_XiAwGGu--B" } arangosh> myGraph.e1 = db.relation.insert(myGraph.v1, myGraph.v2, ........> { label : "knows"}); { "_id" : "relation/7486", "_key" : "7486", - "_rev" : "_XcgbmTi--B" + "_rev" : "_XiAwGGy--_" } arangosh> db._document(myGraph.e1); { @@ -27,7 +27,7 @@ arangosh> db._document(myGraph.e1); "_id" : "relation/7486", "_from" : "vertex/7479", "_to" : "vertex/7483", - "_rev" : "_XcgbmTi--B", + "_rev" : "_XiAwGGy--_", "label" : "knows" } arangosh> db.relation.inEdges(myGraph.v1._id); @@ -39,7 +39,7 @@ arangosh> db.relation.inEdges(myGraph.v2._id); "_id" : "relation/7486", "_from" : "vertex/7479", "_to" : "vertex/7483", - "_rev" : "_XcgbmTi--B", + "_rev" : "_XiAwGGy--_", "label" : "knows" } ] diff --git a/Documentation/Examples/EDGCOL_02_outEdges.generated b/Documentation/Examples/EDGCOL_02_outEdges.generated index 0c4b2a5549..7daf19c9a2 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/7501", "_key" : "7501", - "_rev" : "_XcgbmVm--_" + "_rev" : "_XiAwGIy--_" } arangosh> myGraph.v2 = db.vertex.insert({ name : "vertex 2" }); { "_id" : "vertex/7505", "_key" : "7505", - "_rev" : "_XcgbmVm--B" + "_rev" : "_XiAwGI2--_" } arangosh> myGraph.e1 = db.relation.insert(myGraph.v1, myGraph.v2, ........> { label : "knows"}); { "_id" : "relation/7508", "_key" : "7508", - "_rev" : "_XcgbmVm--D" + "_rev" : "_XiAwGI2--B" } arangosh> db._document(myGraph.e1); { @@ -27,7 +27,7 @@ arangosh> db._document(myGraph.e1); "_id" : "relation/7508", "_from" : "vertex/7501", "_to" : "vertex/7505", - "_rev" : "_XcgbmVm--D", + "_rev" : "_XiAwGI2--B", "label" : "knows" } arangosh> db.relation.outEdges(myGraph.v1._id); @@ -37,7 +37,7 @@ arangosh> db.relation.outEdges(myGraph.v1._id); "_id" : "relation/7508", "_from" : "vertex/7501", "_to" : "vertex/7505", - "_rev" : "_XcgbmVm--D", + "_rev" : "_XiAwGI2--B", "label" : "knows" } ] diff --git a/Documentation/Examples/GRAPHSP_01_create_graph.generated b/Documentation/Examples/GRAPHSP_01_create_graph.generated index 4ae15eb775..3c91859d4e 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" : "_XcgbmXu--H", + "_rev" : "_XiAwGLC--_", "label" : "9" }, { "_key" : "G", "_id" : "circles/G", - "_rev" : "_XcgbmXu--D", + "_rev" : "_XiAwGL---L", "label" : "7" }, { "_key" : "F", "_id" : "circles/F", - "_rev" : "_XcgbmXu--B", + "_rev" : "_XiAwGL---J", "label" : "6" }, { "_key" : "A", "_id" : "circles/A", - "_rev" : "_XcgbmXq--_", + "_rev" : "_XiAwGL---_", "label" : "1" }, { "_key" : "E", "_id" : "circles/E", - "_rev" : "_XcgbmXu--_", + "_rev" : "_XiAwGL---H", "label" : "5" }, { "_key" : "C", "_id" : "circles/C", - "_rev" : "_XcgbmXq--D", + "_rev" : "_XiAwGL---D", "label" : "3" }, { "_key" : "D", "_id" : "circles/D", - "_rev" : "_XcgbmXq--F", + "_rev" : "_XiAwGL---F", "label" : "4" }, { "_key" : "J", "_id" : "circles/J", - "_rev" : "_XcgbmXu--J", + "_rev" : "_XiAwGLC--B", "label" : "10" }, { "_key" : "B", "_id" : "circles/B", - "_rev" : "_XcgbmXq--B", + "_rev" : "_XiAwGL---B", "label" : "2" }, { "_key" : "H", "_id" : "circles/H", - "_rev" : "_XcgbmXu--F", + "_rev" : "_XiAwGL---N", "label" : "8" }, { "_key" : "K", "_id" : "circles/K", - "_rev" : "_XcgbmXu--L", + "_rev" : "_XiAwGLC--D", "label" : "11" } ] @@ -76,7 +76,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7562", "_from" : "circles/C", "_to" : "circles/D", - "_rev" : "_XcgbmXy--A", + "_rev" : "_XiAwGLC--J", "theFalse" : false, "theTruth" : true, "label" : "left_blorg" @@ -86,7 +86,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7568", "_from" : "circles/E", "_to" : "circles/F", - "_rev" : "_XcgbmXy--E", + "_rev" : "_XiAwGLG--_", "theFalse" : false, "theTruth" : true, "label" : "left_schubi" @@ -96,7 +96,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7577", "_from" : "circles/H", "_to" : "circles/I", - "_rev" : "_XcgbmXy--K", + "_rev" : "_XiAwGLG--F", "theFalse" : false, "theTruth" : true, "label" : "right_blub" @@ -106,7 +106,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7555", "_from" : "circles/A", "_to" : "circles/B", - "_rev" : "_XcgbmXu--N", + "_rev" : "_XiAwGLC--F", "theFalse" : false, "theTruth" : true, "label" : "left_bar" @@ -116,7 +116,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7559", "_from" : "circles/B", "_to" : "circles/C", - "_rev" : "_XcgbmXy---", + "_rev" : "_XiAwGLC--H", "theFalse" : false, "theTruth" : true, "label" : "left_blarg" @@ -126,7 +126,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7565", "_from" : "circles/B", "_to" : "circles/E", - "_rev" : "_XcgbmXy--C", + "_rev" : "_XiAwGLC--L", "theFalse" : false, "theTruth" : true, "label" : "left_blub" @@ -136,7 +136,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7583", "_from" : "circles/J", "_to" : "circles/K", - "_rev" : "_XcgbmX2--_", + "_rev" : "_XiAwGLG--J", "theFalse" : false, "theTruth" : true, "label" : "right_zup" @@ -146,7 +146,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7571", "_from" : "circles/A", "_to" : "circles/G", - "_rev" : "_XcgbmXy--G", + "_rev" : "_XiAwGLG--B", "theFalse" : false, "theTruth" : true, "label" : "right_foo" @@ -156,7 +156,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7580", "_from" : "circles/G", "_to" : "circles/J", - "_rev" : "_XcgbmXy--M", + "_rev" : "_XiAwGLG--H", "theFalse" : false, "theTruth" : true, "label" : "right_zip" @@ -166,7 +166,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7574", "_from" : "circles/G", "_to" : "circles/H", - "_rev" : "_XcgbmXy--I", + "_rev" : "_XiAwGLG--D", "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 1e1e8f19c0..cdc1e52b06 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" : "_Xcgbmam---", + "_rev" : "_XiAwGN6--N", "label" : "9" }, { "_key" : "G", "_id" : "circles/G", - "_rev" : "_Xcgbmai--L", + "_rev" : "_XiAwGN6--J", "label" : "7" }, { "_key" : "F", "_id" : "circles/F", - "_rev" : "_Xcgbmai--J", + "_rev" : "_XiAwGN6--H", "label" : "6" }, { "_key" : "A", "_id" : "circles/A", - "_rev" : "_Xcgbmai--_", + "_rev" : "_XiAwGN2--B", "label" : "1" }, { "_key" : "E", "_id" : "circles/E", - "_rev" : "_Xcgbmai--H", + "_rev" : "_XiAwGN6--F", "label" : "5" }, { "_key" : "C", "_id" : "circles/C", - "_rev" : "_Xcgbmai--D", + "_rev" : "_XiAwGN6--B", "label" : "3" }, { "_key" : "D", "_id" : "circles/D", - "_rev" : "_Xcgbmai--F", + "_rev" : "_XiAwGN6--D", "label" : "4" }, { "_key" : "J", "_id" : "circles/J", - "_rev" : "_Xcgbmam--A", + "_rev" : "_XiAwGN6--P", "label" : "10" }, { "_key" : "B", "_id" : "circles/B", - "_rev" : "_Xcgbmai--B", + "_rev" : "_XiAwGN6--_", "label" : "2" }, { "_key" : "H", "_id" : "circles/H", - "_rev" : "_Xcgbmai--N", + "_rev" : "_XiAwGN6--L", "label" : "8" }, { "_key" : "K", "_id" : "circles/K", - "_rev" : "_Xcgbmam--C", + "_rev" : "_XiAwGO---_", "label" : "11" } ] @@ -76,7 +76,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7670", "_from" : "circles/H", "_to" : "circles/I", - "_rev" : "_Xcgbmaq--B", + "_rev" : "_XiAwGOC--_", "theFalse" : false, "theTruth" : true, "label" : "right_blub" @@ -86,7 +86,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7658", "_from" : "circles/B", "_to" : "circles/E", - "_rev" : "_Xcgbmam--K", + "_rev" : "_XiAwGO---H", "theFalse" : false, "theTruth" : true, "label" : "left_blub" @@ -96,7 +96,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7673", "_from" : "circles/G", "_to" : "circles/J", - "_rev" : "_Xcgbmaq--D", + "_rev" : "_XiAwGOC--B", "theFalse" : false, "theTruth" : true, "label" : "right_zip" @@ -106,7 +106,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7667", "_from" : "circles/G", "_to" : "circles/H", - "_rev" : "_Xcgbmaq--_", + "_rev" : "_XiAwGO---N", "theFalse" : false, "theTruth" : true, "label" : "right_blob" @@ -116,7 +116,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7676", "_from" : "circles/J", "_to" : "circles/K", - "_rev" : "_Xcgbmaq--F", + "_rev" : "_XiAwGOC--D", "theFalse" : false, "theTruth" : true, "label" : "right_zup" @@ -126,7 +126,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7652", "_from" : "circles/B", "_to" : "circles/C", - "_rev" : "_Xcgbmam--G", + "_rev" : "_XiAwGO---D", "theFalse" : false, "theTruth" : true, "label" : "left_blarg" @@ -136,7 +136,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7661", "_from" : "circles/E", "_to" : "circles/F", - "_rev" : "_Xcgbmam--M", + "_rev" : "_XiAwGO---J", "theFalse" : false, "theTruth" : true, "label" : "left_schubi" @@ -146,7 +146,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7648", "_from" : "circles/A", "_to" : "circles/B", - "_rev" : "_Xcgbmam--E", + "_rev" : "_XiAwGO---B", "theFalse" : false, "theTruth" : true, "label" : "left_bar" @@ -156,7 +156,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7655", "_from" : "circles/C", "_to" : "circles/D", - "_rev" : "_Xcgbmam--I", + "_rev" : "_XiAwGO---F", "theFalse" : false, "theTruth" : true, "label" : "left_blorg" @@ -166,7 +166,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/7664", "_from" : "circles/A", "_to" : "circles/G", - "_rev" : "_Xcgbmam--O", + "_rev" : "_XiAwGO---L", "theFalse" : false, "theTruth" : true, "label" : "right_foo" diff --git a/Documentation/Examples/HTML_01_routingCreateHtml.generated b/Documentation/Examples/HTML_01_routingCreateHtml.generated index eddfa19f10..3e9a85410d 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/7894", "_key" : "7894", - "_rev" : "_XcgbmiC--_" + "_rev" : "_XiAwGVK--_" } diff --git a/Documentation/Examples/HTML_04_routingCreateMultiPath.generated b/Documentation/Examples/HTML_04_routingCreateMultiPath.generated index a09b8c8fe6..05a5d1bb01 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/7908", "_key" : "7908", - "_rev" : "_Xcgbmjm--_" + "_rev" : "_XiAwGWy--_" } arangosh> db._routing.save({ ........> url: { match: "/hello/:name", constraint: { name: "/[a-z]+/" } }, @@ -12,7 +12,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/7912", "_key" : "7912", - "_rev" : "_Xcgbmjq--_" + "_rev" : "_XiAwGWy--B" } arangosh> db._routing.save({ ........> url: { match: "/:something/world" }, @@ -20,7 +20,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/7915", "_key" : "7915", - "_rev" : "_Xcgbmjq--B" + "_rev" : "_XiAwGW2--_" } arangosh> db._routing.save({ ........> url: { match: "/hi/*" }, @@ -28,6 +28,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/7918", "_key" : "7918", - "_rev" : "_Xcgbmjq--D" + "_rev" : "_XiAwGW2--B" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/HttpGharialAddEdge.generated b/Documentation/Examples/HttpGharialAddEdge.generated index 7d7f0a9071..4644f613e3 100644 --- a/Documentation/Examples/HttpGharialAddEdge.generated +++ b/Documentation/Examples/HttpGharialAddEdge.generated @@ -9,14 +9,14 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbmpy--_ +etag: _XiAwGdO--_ { "error" : false, "edge" : { "_id" : "relation/7987", "_key" : "7987", - "_rev" : "_Xcgbmpy--_" + "_rev" : "_XiAwGdO--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialAddEdgeCol.generated b/Documentation/Examples/HttpGharialAddEdgeCol.generated index 5cb5f428a4..dbf055f459 100644 --- a/Documentation/Examples/HttpGharialAddEdgeCol.generated +++ b/Documentation/Examples/HttpGharialAddEdgeCol.generated @@ -14,7 +14,7 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbmt---_ +etag: _XiAwGhi--_ { "error" : false, @@ -49,7 +49,7 @@ etag: _Xcgbmt---_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_Xcgbmt---_" + "_rev" : "_XiAwGhi--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialAddVertex.generated b/Documentation/Examples/HttpGharialAddVertex.generated index 7a2b590d88..304c01b34e 100644 --- a/Documentation/Examples/HttpGharialAddVertex.generated +++ b/Documentation/Examples/HttpGharialAddVertex.generated @@ -7,14 +7,14 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbmya--_ +etag: _XiAwGnO--_ { "error" : false, "vertex" : { "_id" : "male/8142", "_key" : "8142", - "_rev" : "_Xcgbmya--_" + "_rev" : "_XiAwGnO--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialAddVertexCol.generated b/Documentation/Examples/HttpGharialAddVertexCol.generated index 1fdea3bd5c..282ba8f1ec 100644 --- a/Documentation/Examples/HttpGharialAddVertexCol.generated +++ b/Documentation/Examples/HttpGharialAddVertexCol.generated @@ -7,7 +7,7 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbm1e--_ +etag: _XiAwGqa--_ { "error" : false, @@ -34,7 +34,7 @@ etag: _Xcgbm1e--_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_Xcgbm1e--_" + "_rev" : "_XiAwGqa--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialCreate.generated b/Documentation/Examples/HttpGharialCreate.generated index 42e3856190..c51723e7c7 100644 --- a/Documentation/Examples/HttpGharialCreate.generated +++ b/Documentation/Examples/HttpGharialCreate.generated @@ -18,7 +18,7 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbm5m--_ +etag: _XiAwGua--_ { "error" : false, @@ -41,7 +41,7 @@ etag: _Xcgbm5m--_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", - "_rev" : "_Xcgbm5m--_" + "_rev" : "_XiAwGua--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialCreate2.generated b/Documentation/Examples/HttpGharialCreate2.generated index 9afd61e526..1fd9c500c3 100644 --- a/Documentation/Examples/HttpGharialCreate2.generated +++ b/Documentation/Examples/HttpGharialCreate2.generated @@ -23,7 +23,7 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbm8q--_ +etag: _XiAwGxe--_ { "error" : false, @@ -46,7 +46,7 @@ etag: _Xcgbm8q--_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", - "_rev" : "_Xcgbm8q--_" + "_rev" : "_XiAwGxe--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialDeleteEdge.generated b/Documentation/Examples/HttpGharialDeleteEdge.generated index d9b9d68379..93af227675 100644 --- a/Documentation/Examples/HttpGharialDeleteEdge.generated +++ b/Documentation/Examples/HttpGharialDeleteEdge.generated @@ -1,4 +1,4 @@ -shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/relation/8334 +shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/relation/8337 HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 diff --git a/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated b/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated index 5646346359..69ba411f12 100644 --- a/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated +++ b/Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated @@ -3,7 +3,7 @@ shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/re HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgbnK---_ +etag: _XiAwH_a--_ { "error" : false, @@ -19,7 +19,7 @@ etag: _XcgbnK---_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_XcgbnK---_" + "_rev" : "_XiAwH_a--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialGetEdge.generated b/Documentation/Examples/HttpGharialGetEdge.generated index 3bd8fe543d..30f2484b26 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/8614 +shell> curl --dump - http://localhost:8529/_api/gharial/social/edge/relation/8617 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgbnN2--H +etag: _XiAwHDK--F { "error" : false, "edge" : { - "_key" : "8614", - "_id" : "relation/8614", - "_from" : "male/charly", + "_key" : "8617", + "_id" : "relation/8617", + "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_XcgbnN2--H", - "type" : "married", - "vertex" : "charly" + "_rev" : "_XiAwHDK--F", + "type" : "friend", + "vertex" : "bob" }, "code" : 200 } diff --git a/Documentation/Examples/HttpGharialGetGraph.generated b/Documentation/Examples/HttpGharialGetGraph.generated index 8f223f869e..aeac4501ff 100644 --- a/Documentation/Examples/HttpGharialGetGraph.generated +++ b/Documentation/Examples/HttpGharialGetGraph.generated @@ -3,7 +3,7 @@ shell> curl --dump - http://localhost:8529/_api/gharial/myGraph HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgbnRC--_ +etag: _XiAwHGO--_ { "error" : false, @@ -26,7 +26,7 @@ etag: _XcgbnRC--_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", - "_rev" : "_XcgbnRC--_" + "_rev" : "_XiAwHGO--_" }, "code" : 200 } diff --git a/Documentation/Examples/HttpGharialGetVertex.generated b/Documentation/Examples/HttpGharialGetVertex.generated index 56eed78e2b..246419c7c7 100644 --- a/Documentation/Examples/HttpGharialGetVertex.generated +++ b/Documentation/Examples/HttpGharialGetVertex.generated @@ -3,14 +3,14 @@ shell> curl --dump - http://localhost:8529/_api/gharial/social/vertex/female/ali HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgbnUW--_ +etag: _XiAwHJm--B { "error" : false, "vertex" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_XcgbnUW--_", + "_rev" : "_XiAwHJm--B", "name" : "Alice" }, "code" : 200 diff --git a/Documentation/Examples/HttpGharialList.generated b/Documentation/Examples/HttpGharialList.generated index 7fd0a4b575..7a88c8f422 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" : "_XcgbnaG--_", + "_rev" : "_XiAwHPW--_", "orphanCollections" : [ ], "edgeDefinitions" : [ { @@ -49,7 +49,7 @@ x-content-type-options: nosniff { "_key" : "social", "_id" : "_graphs/social", - "_rev" : "_XcgbnXq--_", + "_rev" : "_XiAwHN---_", "orphanCollections" : [ ], "edgeDefinitions" : [ { diff --git a/Documentation/Examples/HttpGharialModifyVertex.generated b/Documentation/Examples/HttpGharialModifyVertex.generated index fd980f0090..6036e34cc4 100644 --- a/Documentation/Examples/HttpGharialModifyVertex.generated +++ b/Documentation/Examples/HttpGharialModifyVertex.generated @@ -7,15 +7,15 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbnrm--_ +etag: _XiAwHem--_ { "error" : false, "vertex" : { "_id" : "female/alice", "_key" : "alice", - "_rev" : "_Xcgbnrm--_", - "_oldRev" : "_Xcgbnra--B" + "_rev" : "_XiAwHem--_", + "_oldRev" : "_XiAwHea--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialPatchEdge.generated b/Documentation/Examples/HttpGharialPatchEdge.generated index 10b13c36ad..e83b4fd000 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/9179 <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9173 <<EOF { "since" : "01.01.2001" } @@ -7,15 +7,15 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbnv2--_ +etag: _XiAwHiC--_ { "error" : false, "edge" : { - "_id" : "relation/9179", - "_key" : "9179", - "_rev" : "_Xcgbnv2--_", - "_oldRev" : "_Xcgbnvq--L" + "_id" : "relation/9173", + "_key" : "9173", + "_rev" : "_XiAwHiC--_", + "_oldRev" : "_XiAwHhy--J" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialPutEdge.generated b/Documentation/Examples/HttpGharialPutEdge.generated index 42d7ee44d4..7c6efdc0c3 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/9250 <<EOF +shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation/9240 <<EOF { "type" : "divorced", "_from" : "female/alice", @@ -9,15 +9,15 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgbnzS--_ +etag: _XiAwHli--_ { "error" : false, "edge" : { - "_id" : "relation/9250", - "_key" : "9250", - "_rev" : "_XcgbnzS--_", - "_oldRev" : "_XcgbnzK--F" + "_id" : "relation/9240", + "_key" : "9240", + "_rev" : "_XiAwHli--_", + "_oldRev" : "_XiAwHlW--H" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialRemoveVertexCollection.generated b/Documentation/Examples/HttpGharialRemoveVertexCollection.generated index 88b12d59c4..cff7736d7c 100644 --- a/Documentation/Examples/HttpGharialRemoveVertexCollection.generated +++ b/Documentation/Examples/HttpGharialRemoveVertexCollection.generated @@ -3,7 +3,7 @@ shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/vertex/ HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _Xcgbn3m--_ +etag: _XiAwHpG--_ { "error" : false, @@ -28,7 +28,7 @@ etag: _Xcgbn3m--_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_Xcgbn3m--_" + "_rev" : "_XiAwHpG--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialReplaceEdgeCol.generated b/Documentation/Examples/HttpGharialReplaceEdgeCol.generated index a52d843eff..459906a530 100644 --- a/Documentation/Examples/HttpGharialReplaceEdgeCol.generated +++ b/Documentation/Examples/HttpGharialReplaceEdgeCol.generated @@ -17,7 +17,7 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgboA6--_ +etag: _XiAwHwe--_ { "error" : false, @@ -44,7 +44,7 @@ etag: _XcgboA6--_ "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/social", - "_rev" : "_XcgboA6--_" + "_rev" : "_XiAwHwe--_" }, "code" : 202 } diff --git a/Documentation/Examples/HttpGharialReplaceVertex.generated b/Documentation/Examples/HttpGharialReplaceVertex.generated index 558ec9961a..0f3d96ae00 100644 --- a/Documentation/Examples/HttpGharialReplaceVertex.generated +++ b/Documentation/Examples/HttpGharialReplaceVertex.generated @@ -8,15 +8,15 @@ EOF HTTP/1.1 202 Accepted x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: _XcgboHu--_ +etag: _XiAwH1i--_ { "error" : false, "vertex" : { "_id" : "female/alice", "_key" : "alice", - "_rev" : "_XcgboHu--_", - "_oldRev" : "_XcgboHW--_" + "_rev" : "_XiAwH1i--_", + "_oldRev" : "_XiAwH1K---" }, "code" : 202 } diff --git a/Documentation/Examples/JSF_job_cancel.generated b/Documentation/Examples/JSF_job_cancel.generated index 7d1d9b6b2f..93581c33ac 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 x-content-type-options: nosniff -x-arango-async-id: 153720596651997 +x-arango-async-id: 153868370421412 content-type: text/plain; charset=utf-8 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 [ - "153720596651997" + "153868370421412" ] -shell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596651997/cancel +shell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421412/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 [ - "153720596651997" + "153868370421412" ] diff --git a/Documentation/Examples/JSF_job_delete_01.generated b/Documentation/Examples/JSF_job_delete_01.generated index 4e38d7e1c1..9143c09923 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652006 +x-arango-async-id: 153868370421421 content-type: text/plain; charset=utf-8 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 2e58816550..9f617744f1 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652011 +x-arango-async-id: 153868370421426 content-type: text/plain; charset=utf-8 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" : 1537205971.2168665, + "time" : 1538683709.4013479, "error" : false, "code" : 200 } -shell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1537205971.2168665 +shell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1538683709.4013479 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 4d93bace48..780828e90c 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652020 +x-arango-async-id: 153868370421435 content-type: text/plain; charset=utf-8 -shell> curl -X DELETE --dump - http://localhost:8529/_api/job/153720596652020 +shell> curl -X DELETE --dump - http://localhost:8529/_api/job/153868370421435 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 0d6c74c4af..880b843966 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652034 +x-arango-async-id: 153868370421449 content-type: text/plain; charset=utf-8 -shell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596652034 +shell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421449 HTTP/1.1 200 OK x-content-type-options: nosniff -x-arango-async-id: 153720596652034 +x-arango-async-id: 153868370421449 content-type: application/json; charset=utf-8 { "server" : "arango", - "version" : "3.3.16", + "version" : "3.3.17", "license" : "community" } diff --git a/Documentation/Examples/JSF_job_fetch_result_04.generated b/Documentation/Examples/JSF_job_fetch_result_04.generated index d5e73d639f..b750dd811b 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652039 +x-arango-async-id: 153868370421454 content-type: text/plain; charset=utf-8 -shell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596652039 +shell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421454 HTTP/1.1 400 Bad Request x-content-type-options: nosniff -x-arango-async-id: 153720596652039 +x-arango-async-id: 153868370421454 content-type: application/json; charset=utf-8 { diff --git a/Documentation/Examples/JSF_job_getByType_01.generated b/Documentation/Examples/JSF_job_getByType_01.generated index 9ca6f36966..f4e3514630 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652044 +x-arango-async-id: 153868370421459 content-type: text/plain; charset=utf-8 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 [ - "153720596652044" + "153868370421459" ] diff --git a/Documentation/Examples/JSF_job_getByType_02.generated b/Documentation/Examples/JSF_job_getByType_02.generated index e1936cc551..2706527ec8 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652049 +x-arango-async-id: 153868370421464 content-type: text/plain; charset=utf-8 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 9804491e49..2951b0c1ee 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652054 +x-arango-async-id: 153868370421469 content-type: text/plain; charset=utf-8 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 [ - "153720596652054" + "153868370421469" ] -shell> curl -X DELETE --dump - http://localhost:8529/_api/job/153720596652054 +shell> curl -X DELETE --dump - http://localhost:8529/_api/job/153868370421469 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 f3ad8a18bc..b5b0e8dc1e 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652061 +x-arango-async-id: 153868370421476 content-type: text/plain; charset=utf-8 -shell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596652061 +shell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421476 HTTP/1.1 200 OK x-content-type-options: nosniff -x-arango-async-id: 153720596652061 +x-arango-async-id: 153868370421476 content-type: application/json; charset=utf-8 { "server" : "arango", - "version" : "3.3.16", + "version" : "3.3.17", "license" : "community" } diff --git a/Documentation/Examples/JSF_job_getStatusById_02.generated b/Documentation/Examples/JSF_job_getStatusById_02.generated index 7c8e4f1178..8dc4ccaa3d 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 x-content-type-options: nosniff -x-arango-async-id: 153720596652066 +x-arango-async-id: 153868370421481 content-type: text/plain; charset=utf-8 -shell> curl --dump - http://localhost:8529/_api/job/153720596652066 +shell> curl --dump - http://localhost:8529/_api/job/153868370421481 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 9364b7ca1b..5c690a496e 100644 --- a/Documentation/Examples/JSON_01_routingCreateJsonHelloWorld.generated +++ b/Documentation/Examples/JSON_01_routingCreateJsonHelloWorld.generated @@ -8,6 +8,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9587", "_key" : "9587", - "_rev" : "_XcgboQq--_" + "_rev" : "_XiAwH9O--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/JSON_05a_routingCreateContentTypeHelloWorld.generated b/Documentation/Examples/JSON_05a_routingCreateContentTypeHelloWorld.generated index 976ed60cd4..d9cdf20d26 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/9602", "_key" : "9602", - "_rev" : "_Xcgboly--_" + "_rev" : "_XiAwISK--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/JSON_06_routingCreateHelloEcho.generated b/Documentation/Examples/JSON_06_routingCreateHelloEcho.generated index 0758bf7782..3c09ba9cab 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/9616", "_key" : "9616", - "_rev" : "_Xcgbon---_" + "_rev" : "_XiAwITO--_" } diff --git a/Documentation/Examples/JSON_07_fetchroutingCreateHelloEcho.generated b/Documentation/Examples/JSON_07_fetchroutingCreateHelloEcho.generated index 4c56b0cb15..949b2c6ca0 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" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, diff --git a/Documentation/Examples/JSON_09_routingCreateEchoController.generated b/Documentation/Examples/JSON_09_routingCreateEchoController.generated index 21ffc1e985..274d22f945 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/9630", "_key" : "9630", - "_rev" : "_XcgbooO--_" + "_rev" : "_XiAwIUi---" } diff --git a/Documentation/Examples/JSON_10_fetchroutingCreateEchoController.generated b/Documentation/Examples/JSON_10_fetchroutingCreateEchoController.generated index 4c56b0cb15..949b2c6ca0 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" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, diff --git a/Documentation/Examples/JSON_12a_routingCreateEchoFunction.generated b/Documentation/Examples/JSON_12a_routingCreateEchoFunction.generated index 38f84bcac4..0fcef63fff 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/9644", "_key" : "9644", - "_rev" : "_XcgbopW--_" + "_rev" : "_XiAwIVm--_" } diff --git a/Documentation/Examples/JSON_13_routingCreateEchoAction.generated b/Documentation/Examples/JSON_13_routingCreateEchoAction.generated index 049f32e22d..8c2b56ac85 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/9658", "_key" : "9658", - "_rev" : "_XcgboqK--_" + "_rev" : "_XiAwIWi--_" } diff --git a/Documentation/Examples/JSON_15_routingCreateEchoRequestOptions.generated b/Documentation/Examples/JSON_15_routingCreateEchoRequestOptions.generated index eeca8c5b9d..183893d012 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/9668", "_key" : "9668", - "_rev" : "_XcgborG--_" + "_rev" : "_XiAwIXa--_" } diff --git a/Documentation/Examples/JSON_16_fetchroutingEchoRequestOptions.generated b/Documentation/Examples/JSON_16_fetchroutingEchoRequestOptions.generated index 8274abc4c3..354026671b 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" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, diff --git a/Documentation/Examples/MOD_01a_routingCreateOwnTest.generated b/Documentation/Examples/MOD_01a_routingCreateOwnTest.generated index 36d06b1c32..769bc9345f 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/9682", "_key" : "9682", - "_rev" : "_XcgbosK--_" + "_rev" : "_XiAwIYi--_" } diff --git a/Documentation/Examples/MOD_01b_routingEnableOwnTest.generated b/Documentation/Examples/MOD_01b_routingEnableOwnTest.generated index de0c0b9382..15c0bb73a6 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/9686", "_key" : "9686", - "_rev" : "_XcgbosO--_" + "_rev" : "_XiAwIYm--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_06a_routingRedirect.generated b/Documentation/Examples/MOD_06a_routingRedirect.generated index 2ce8308ab1..2c553ca392 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/9707", "_key" : "9707", - "_rev" : "_XcgbotK--_" + "_rev" : "_XiAwIZu--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_07a_routingMulti.generated b/Documentation/Examples/MOD_07a_routingMulti.generated index d926854c4c..709f19f1fc 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/9721", "_key" : "9721", - "_rev" : "_XcgbouS--_" + "_rev" : "_XiAwIau--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_07c_routingMulti.generated b/Documentation/Examples/MOD_07c_routingMulti.generated index 86836a9bab..0ae9e8e8fc 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/9735", "_key" : "9735", - "_rev" : "_XcgbovO--_" + "_rev" : "_XiAwIbi--_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_08a_routingCreateOwnConsoleLog.generated b/Documentation/Examples/MOD_08a_routingCreateOwnConsoleLog.generated index 5f8e8604cf..9c4de0e6df 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/9749", "_key" : "9749", - "_rev" : "_Xcgbowq--_" + "_rev" : "_XiAwIda--_" } diff --git a/Documentation/Examples/MOD_08b_routingCreateRouteToOwnConsoleLog.generated b/Documentation/Examples/MOD_08b_routingCreateRouteToOwnConsoleLog.generated index 62005481f1..32da7e3967 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/9753", "_key" : "9753", - "_rev" : "_Xcgbowu--_" + "_rev" : "_XiAwIde--_" } diff --git a/Documentation/Examples/MOD_08c_routingCreateRouteToOwnConsoleLog.generated b/Documentation/Examples/MOD_08c_routingCreateRouteToOwnConsoleLog.generated index eeaeaea81d..1638c5050a 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/9757", "_key" : "9757", - "_rev" : "_Xcgbowy--_" + "_rev" : "_XiAwIdm--_" } arangosh> db._routing.save({ ........> url: "/subdirectory/ourtest/2", @@ -18,7 +18,7 @@ arangosh> db._routing.save({ { "_id" : "_routing/9760", "_key" : "9760", - "_rev" : "_Xcgbowy--B" + "_rev" : "_XiAwIdm--B" } arangosh> db._routing.save({ ........> url: "/subdirectory/ourtest/3", @@ -29,6 +29,6 @@ arangosh> db._routing.save({ { "_id" : "_routing/9763", "_key" : "9763", - "_rev" : "_Xcgbowy--D" + "_rev" : "_XiAwIdm--D" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_08d_routingCurlToOwnConsoleLog.generated b/Documentation/Examples/MOD_08d_routingCurlToOwnConsoleLog.generated index 2a7706ca9c..4178a2efa3 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" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, @@ -55,12 +55,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, @@ -97,12 +97,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, diff --git a/Documentation/Examples/MOD_09a_routingSpecifyMethods.generated b/Documentation/Examples/MOD_09a_routingSpecifyMethods.generated index de76853aa5..834e016f44 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/9798", "_key" : "9798", - "_rev" : "_Xcgboya--_" + "_rev" : "_XiAwIf---_" } arangosh> require("internal").reloadRouting() diff --git a/Documentation/Examples/MOD_09b_routingCurlSpecifyMethods.generated b/Documentation/Examples/MOD_09b_routingCurlSpecifyMethods.generated index f014b7726a..a9dda72881 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" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, @@ -57,12 +57,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, @@ -103,12 +103,12 @@ x-content-type-options: nosniff "protocol" : "http", "server" : { "address" : "127.0.0.1", - "port" : 59400 + "port" : 51427 }, "client" : { "address" : "127.0.0.1", - "port" : 52298, - "id" : "153720596649387" + "port" : 32914, + "id" : "153868370418128" }, "internals" : { }, diff --git a/Documentation/Examples/QUERY_02_listQueries.generated b/Documentation/Examples/QUERY_02_listQueries.generated index c8ff31b0db..dbe3487f73 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" : 1537205971.8063786, + "created" : 1538683709.9934855, "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" : "2018-09-17T17:39:32Z", - "runTime" : 0.7313594818115234, + "started" : "2018-10-04T20:08:30Z", + "runTime" : 0.73313307762146, "state" : "executing" } ] diff --git a/Documentation/Examples/RestAdminStatistics1.generated b/Documentation/Examples/RestAdminStatistics1.generated index 709bdefd0a..0437563123 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" : 1537205972.860168, + "time" : 1538683711.0433867, "enabled" : true, "system" : { - "minorPageFaults" : 80792, - "majorPageFaults" : 301, + "minorPageFaults" : 81865, + "majorPageFaults" : 5, "userTime" : 2.46, - "systemTime" : 0.47, + "systemTime" : 0.44, "numberOfThreads" : 44, - "residentSize" : 451125248, - "residentSizePercent" : 0.027018268694619086, - "virtualSize" : 3720945664 + "residentSize" : 452980736, + "residentSizePercent" : 0.027129395423982815, + "virtualSize" : 3734065152 }, "client" : { "httpConnections" : 1, @@ -30,12 +30,12 @@ x-content-type-options: nosniff ] }, "totalTime" : { - "sum" : 2.858102560043335, - "count" : 4172, + "sum" : 2.8232412338256836, + "count" : 4177, "counts" : [ - 4109, - 62, - 0, + 4134, + 41, + 1, 0, 1, 0, @@ -43,10 +43,10 @@ x-content-type-options: nosniff ] }, "requestTime" : { - "sum" : 0.030713796615600586, - "count" : 4172, + "sum" : 0.030626296997070312, + "count" : 4177, "counts" : [ - 4171, + 4176, 1, 0, 0, @@ -56,10 +56,10 @@ x-content-type-options: nosniff ] }, "queueTime" : { - "sum" : 0.026005983352661133, - "count" : 1216, + "sum" : 0.029483795166015625, + "count" : 1218, "counts" : [ - 1216, + 1218, 0, 0, 0, @@ -69,12 +69,12 @@ x-content-type-options: nosniff ] }, "ioTime" : { - "sum" : 2.8013827800750732, - "count" : 4172, + "sum" : 2.7631311416625977, + "count" : 4177, "counts" : [ - 4111, - 60, - 0, + 4135, + 40, + 1, 0, 1, 0, @@ -82,22 +82,22 @@ x-content-type-options: nosniff ] }, "bytesSent" : { - "sum" : 1875173, - "count" : 4172, + "sum" : 1879039, + "count" : 4177, "counts" : [ - 318, + 321, 3492, - 343, + 345, 19, 0, 0 ] }, "bytesReceived" : { - "sum" : 900648, - "count" : 4172, + "sum" : 901495, + "count" : 4177, "counts" : [ - 3836, + 3841, 336, 0, 0, @@ -107,19 +107,19 @@ x-content-type-options: nosniff } }, "http" : { - "requestsTotal" : 4172, + "requestsTotal" : 4177, "requestsAsync" : 9, - "requestsGet" : 1092, + "requestsGet" : 1096, "requestsHead" : 0, "requestsPost" : 2851, "requestsPut" : 72, "requestsPatch" : 3, - "requestsDelete" : 154, + "requestsDelete" : 155, "requestsOptions" : 0, "requestsOther" : 0 }, "server" : { - "uptime" : 6.2932679653167725, + "uptime" : 6.834890842437744, "physicalMemory" : 16697044992, "v8Context" : { "available" : 5, diff --git a/Documentation/Examples/RestBatchMultipartHeader.generated b/Documentation/Examples/RestBatchMultipartHeader.generated index f514a2a0a6..8ac732fcc0 100644 --- a/Documentation/Examples/RestBatchMultipartHeader.generated +++ b/Documentation/Examples/RestBatchMultipartHeader.generated @@ -39,4 +39,4 @@ x-content-type-options: nosniff content-type: multipart/form-data; boundary=SomeBoundaryValue x-arango-errors: 1 -"--SomeBoundaryValue\r\nContent-Type: application/x-arango-batchpart\r\nContent-Id: myId1\r\n\r\nHTTP/1.1 200 OK\r\nServer: \r\nConnection: \r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 60\r\n\r\n{\"server\":\"arango\",\"version\":\"3.3.16\",\"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: 324\r\n\r\n{\"code\":200,\"error\":false,\"status\":3,\"statusString\":\"loaded\",\"name\":\"products\",\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"type\":2,\"indexBuckets\":8,\"globallyUniqueId\":\"hAA9FCEE3AF93/9839\",\"doCompact\":true,\"waitForSync\":false,\"id\":\"9839\",\"isSystem\":false,\"journalSize\":33554432,\"isVolatile\":false}\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: 831\r\n\r\n{\"code\":200,\"error\":false,\"statusString\":\"loaded\",\"name\":\"products\",\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"journalSize\":33554432,\"isVolatile\":false,\"isSystem\":false,\"status\":3,\"count\":0,\"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\":\"2018-09-17T17:39:32Z\",\"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},\"doCompact\":true,\"globallyUniqueId\":\"hAA9FCEE3AF93/9839\",\"type\":2,\"indexBuckets\":8,\"waitForSync\":false,\"id\":\"9839\"}\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\":\"9839\"}\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: 60\r\n\r\n{\"server\":\"arango\",\"version\":\"3.3.17\",\"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: 324\r\n\r\n{\"code\":200,\"error\":false,\"status\":3,\"statusString\":\"loaded\",\"name\":\"products\",\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"type\":2,\"indexBuckets\":8,\"globallyUniqueId\":\"h3CED0815C6B6/9839\",\"doCompact\":true,\"waitForSync\":false,\"id\":\"9839\",\"isSystem\":false,\"journalSize\":33554432,\"isVolatile\":false}\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: 831\r\n\r\n{\"code\":200,\"error\":false,\"statusString\":\"loaded\",\"name\":\"products\",\"keyOptions\":{\"type\":\"traditional\",\"allowUserKeys\":true,\"lastValue\":0},\"journalSize\":33554432,\"isVolatile\":false,\"isSystem\":false,\"status\":3,\"count\":0,\"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\":\"2018-10-04T20:08:31Z\",\"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},\"doCompact\":true,\"globallyUniqueId\":\"h3CED0815C6B6/9839\",\"type\":2,\"indexBuckets\":8,\"waitForSync\":false,\"id\":\"9839\"}\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\":\"9839\"}\r\n--SomeBoundaryValue--" diff --git a/Documentation/Examples/RestCollectionCreateCollection.generated b/Documentation/Examples/RestCollectionCreateCollection.generated index c2b3f711f3..2490f379fd 100644 --- a/Documentation/Examples/RestCollectionCreateCollection.generated +++ b/Documentation/Examples/RestCollectionCreateCollection.generated @@ -21,7 +21,7 @@ x-content-type-options: nosniff }, "type" : 2, "indexBuckets" : 8, - "globallyUniqueId" : "hAA9FCEE3AF93/9845", + "globallyUniqueId" : "h3CED0815C6B6/9845", "doCompact" : true, "waitForSync" : false, "id" : "9845", @@ -53,7 +53,7 @@ x-content-type-options: nosniff }, "type" : 3, "indexBuckets" : 8, - "globallyUniqueId" : "hAA9FCEE3AF93/9848", + "globallyUniqueId" : "h3CED0815C6B6/9848", "doCompact" : true, "waitForSync" : false, "id" : "9848", diff --git a/Documentation/Examples/RestCollectionCreateKeyopt.generated b/Documentation/Examples/RestCollectionCreateKeyopt.generated index 7d5e11eddb..bf8381885e 100644 --- a/Documentation/Examples/RestCollectionCreateKeyopt.generated +++ b/Documentation/Examples/RestCollectionCreateKeyopt.generated @@ -28,7 +28,7 @@ x-content-type-options: nosniff }, "type" : 2, "indexBuckets" : 8, - "globallyUniqueId" : "hAA9FCEE3AF93/9853", + "globallyUniqueId" : "h3CED0815C6B6/9853", "doCompact" : true, "waitForSync" : false, "id" : "9853", diff --git a/Documentation/Examples/RestCollectionGetAllCollections.generated b/Documentation/Examples/RestCollectionGetAllCollections.generated index 2d1e1d0b63..5e131a80be 100644 --- a/Documentation/Examples/RestCollectionGetAllCollections.generated +++ b/Documentation/Examples/RestCollectionGetAllCollections.generated @@ -78,7 +78,7 @@ x-content-type-options: nosniff "status" : 3, "type" : 2, "isSystem" : false, - "globallyUniqueId" : "hAA9FCEE3AF93/98" + "globallyUniqueId" : "h3CED0815C6B6/98" }, { "id" : "43", @@ -126,7 +126,7 @@ x-content-type-options: nosniff "status" : 3, "type" : 2, "isSystem" : false, - "globallyUniqueId" : "hAA9FCEE3AF93/92" + "globallyUniqueId" : "h3CED0815C6B6/92" } ] } diff --git a/Documentation/Examples/RestCollectionGetCollectionChecksum.generated b/Documentation/Examples/RestCollectionGetCollectionChecksum.generated index 5fc93ae7d8..04e689e115 100644 --- a/Documentation/Examples/RestCollectionGetCollectionChecksum.generated +++ b/Documentation/Examples/RestCollectionGetCollectionChecksum.generated @@ -8,9 +8,9 @@ location: /_api/collection/products/checksum { "code" : 200, "error" : false, - "globallyUniqueId" : "hAA9FCEE3AF93/9869", + "globallyUniqueId" : "h3CED0815C6B6/9869", "isSystem" : false, - "revision" : "_XcgbqBC--_", + "revision" : "_XiAwJtO--_", "type" : 2, "checksum" : "14951968784156385188", "id" : "9869", diff --git a/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated b/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated index dca467335c..0085d91f77 100644 --- a/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated +++ b/Documentation/Examples/RestCollectionGetCollectionChecksumNoRev.generated @@ -8,9 +8,9 @@ location: /_api/collection/products/checksum { "code" : 200, "error" : false, - "globallyUniqueId" : "hAA9FCEE3AF93/9878", + "globallyUniqueId" : "h3CED0815C6B6/9878", "isSystem" : false, - "revision" : "_XcgbqCG--_", + "revision" : "_XiAwJua--_", "type" : 2, "checksum" : "7182653171256674187", "id" : "9878", diff --git a/Documentation/Examples/RestCollectionGetCollectionCount.generated b/Documentation/Examples/RestCollectionGetCollectionCount.generated index fbfc8a7782..5b84c4a138 100644 --- a/Documentation/Examples/RestCollectionGetCollectionCount.generated +++ b/Documentation/Examples/RestCollectionGetCollectionCount.generated @@ -20,7 +20,7 @@ location: /_api/collection/products/count "status" : 3, "count" : 100, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/9887", + "globallyUniqueId" : "h3CED0815C6B6/9887", "type" : 2, "indexBuckets" : 8, "waitForSync" : true, diff --git a/Documentation/Examples/RestCollectionGetCollectionFigures.generated b/Documentation/Examples/RestCollectionGetCollectionFigures.generated index 37ba10e3f3..5284b8c8c6 100644 --- a/Documentation/Examples/RestCollectionGetCollectionFigures.generated +++ b/Documentation/Examples/RestCollectionGetCollectionFigures.generated @@ -38,7 +38,7 @@ location: /_api/collection/products/figures }, "compactionStatus" : { "message" : "skipped compaction because collection has no datafiles", - "time" : "2018-09-17T17:39:33Z", + "time" : "2018-10-04T20:08:31Z", "count" : 0, "filesCombined" : 0, "bytesRead" : 0, @@ -64,7 +64,7 @@ location: /_api/collection/products/figures "uncollectedLogfileEntries" : 0 }, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/10194", + "globallyUniqueId" : "h3CED0815C6B6/10194", "type" : 2, "indexBuckets" : 8, "waitForSync" : false, diff --git a/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated b/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated index 9e595c28ec..c2a5830026 100644 --- a/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated +++ b/Documentation/Examples/RestCollectionGetCollectionIdentifier.generated @@ -1,9 +1,9 @@ -shell> curl --dump - http://localhost:8529/_api/collection/10216/properties +shell> curl --dump - http://localhost:8529/_api/collection/10215/properties HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -location: /_api/collection/10216/properties +location: /_api/collection/10215/properties { "code" : 200, @@ -18,10 +18,10 @@ location: /_api/collection/"type" : 2, "indexBuckets" : 8, - "globallyUniqueId" : "hAA9FCEE3AF93/10216", + "globallyUniqueId" : "h3CED0815C6B6/10215", "doCompact" : true, "waitForSync" : true, - "id" : "10216", + "id" : "10215", "isSystem" : false, "journalSize" : 33554432, "isVolatile" : false diff --git a/Documentation/Examples/RestCollectionGetCollectionName.generated b/Documentation/Examples/RestCollectionGetCollectionName.generated index 3113a27f20..79c2bf7bbe 100644 --- a/Documentation/Examples/RestCollectionGetCollectionName.generated +++ b/Documentation/Examples/RestCollectionGetCollectionName.generated @@ -18,10 +18,10 @@ location: /_api/collection/products/properties }, "type" : 2, "indexBuckets" : 8, - "globallyUniqueId" : "hAA9FCEE3AF93/10221", + "globallyUniqueId" : "h3CED0815C6B6/10220", "doCompact" : true, "waitForSync" : true, - "id" : "10221", + "id" : "10220", "isSystem" : false, "journalSize" : 33554432, "isVolatile" : false diff --git a/Documentation/Examples/RestCollectionGetCollectionRevision.generated b/Documentation/Examples/RestCollectionGetCollectionRevision.generated index c66b661eb8..f42a789d2c 100644 --- a/Documentation/Examples/RestCollectionGetCollectionRevision.generated +++ b/Documentation/Examples/RestCollectionGetCollectionRevision.generated @@ -12,7 +12,7 @@ location: /_api/collection/products/revision "isVolatile" : false, "isSystem" : false, "waitForSync" : false, - "id" : "10226", + "id" : "10225", "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, @@ -23,7 +23,7 @@ location: /_api/collection/products/revision "type" : 2, "statusString" : "loaded", "name" : "products", - "globallyUniqueId" : "hAA9FCEE3AF93/10226", + "globallyUniqueId" : "h3CED0815C6B6/10225", "doCompact" : true, "status" : 3 } diff --git a/Documentation/Examples/RestCollectionIdentifierLoad.generated b/Documentation/Examples/RestCollectionIdentifierLoad.generated index c993e0f522..555df9add3 100644 --- a/Documentation/Examples/RestCollectionIdentifierLoad.generated +++ b/Documentation/Examples/RestCollectionIdentifierLoad.generated @@ -9,10 +9,10 @@ location: /_api/collection/products/load "code" : 200, "error" : false, "type" : 2, - "globallyUniqueId" : "hAA9FCEE3AF93/10232", + "globallyUniqueId" : "h3CED0815C6B6/10231", "count" : 0, "status" : 3, - "id" : "10232", + "id" : "10231", "isSystem" : false, "name" : "products" } diff --git a/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated b/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated index 42bd1c676a..6db3bb5fea 100644 --- a/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated +++ b/Documentation/Examples/RestCollectionIdentifierPropertiesSync.generated @@ -22,10 +22,10 @@ location: /_api/collection/products/properties }, "type" : 2, "indexBuckets" : 8, - "globallyUniqueId" : "hAA9FCEE3AF93/10243", + "globallyUniqueId" : "h3CED0815C6B6/10242", "doCompact" : true, "waitForSync" : true, - "id" : "10243", + "id" : "10242", "isSystem" : false, "journalSize" : 33554432, "isVolatile" : false diff --git a/Documentation/Examples/RestCollectionIdentifierRename.generated b/Documentation/Examples/RestCollectionIdentifierRename.generated index 64d71c41d1..fd0a7d4ee7 100644 --- a/Documentation/Examples/RestCollectionIdentifierRename.generated +++ b/Documentation/Examples/RestCollectionIdentifierRename.generated @@ -15,7 +15,7 @@ location: /_api/collection/products1/rename "status" : 3, "name" : "newname", "type" : 2, - "globallyUniqueId" : "hAA9FCEE3AF93/10250", + "globallyUniqueId" : "h3CED0815C6B6/10249", "isSystem" : false, - "id" : "10250" + "id" : "10249" } diff --git a/Documentation/Examples/RestCollectionIdentifierTruncate.generated b/Documentation/Examples/RestCollectionIdentifierTruncate.generated index 7bed448096..71d4c74d89 100644 --- a/Documentation/Examples/RestCollectionIdentifierTruncate.generated +++ b/Documentation/Examples/RestCollectionIdentifierTruncate.generated @@ -11,7 +11,7 @@ location: /_api/collection/products/truncate "status" : 3, "name" : "products", "type" : 2, - "globallyUniqueId" : "hAA9FCEE3AF93/10256", + "globallyUniqueId" : "h3CED0815C6B6/10255", "isSystem" : false, - "id" : "10256" + "id" : "10255" } diff --git a/Documentation/Examples/RestCollectionIdentifierUnload.generated b/Documentation/Examples/RestCollectionIdentifierUnload.generated index 00d3cbedbc..b16743ca82 100644 --- a/Documentation/Examples/RestCollectionIdentifierUnload.generated +++ b/Documentation/Examples/RestCollectionIdentifierUnload.generated @@ -11,7 +11,7 @@ location: /_api/collection/products/unload "status" : 4, "name" : "products", "type" : 2, - "globallyUniqueId" : "hAA9FCEE3AF93/10261", + "globallyUniqueId" : "h3CED0815C6B6/10260", "isSystem" : false, - "id" : "10261" + "id" : "10260" } diff --git a/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated b/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated index 89b9718f20..2ec5e5b360 100644 --- a/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated +++ b/Documentation/Examples/RestCursorCreateCursorForLimitReturn.generated @@ -17,13 +17,13 @@ x-content-type-options: nosniff { "_key" : "10306", "_id" : "products/10306", - "_rev" : "_Xcgbrxa--D", + "_rev" : "_XiAwLD6--D", "hello5" : "world1" }, { "_key" : "10300", "_id" : "products/10300", - "_rev" : "_Xcgbrxa--_", + "_rev" : "_XiAwLD6--_", "hello3" : "world1" } ], @@ -38,7 +38,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00011229515075683594 + "executionTime" : 0.00011467933654785156 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated b/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated index 4e17a9701d..cd1997affc 100644 --- a/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated +++ b/Documentation/Examples/RestCursorCreateCursorForLimitReturnSingle.generated @@ -15,13 +15,13 @@ x-content-type-options: nosniff { "_key" : "10315", "_id" : "products/10315", - "_rev" : "_Xcgbrya--_", + "_rev" : "_XiAwLE6--_", "hello1" : "world1" }, { "_key" : "10319", "_id" : "products/10319", - "_rev" : "_Xcgbrya--B", + "_rev" : "_XiAwLE6--B", "hello2" : "world1" } ], @@ -36,7 +36,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00011730194091796875 + "executionTime" : 0.00010275840759277344 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorCreateCursorOption.generated b/Documentation/Examples/RestCursorCreateCursorOption.generated index 9188312f8e..885d011dc7 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.00030994415283203125 + "executionTime" : 0.0003058910369873047 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorDelete.generated b/Documentation/Examples/RestCursorDelete.generated index 79fdc92fc2..3c4c52621d 100644 --- a/Documentation/Examples/RestCursorDelete.generated +++ b/Documentation/Examples/RestCursorDelete.generated @@ -17,13 +17,13 @@ x-content-type-options: nosniff { "_key" : "10332", "_id" : "products/10332", - "_rev" : "_Xcgbrzi--_", + "_rev" : "_XiAwLGC--B", "hello2" : "world1" }, { "_key" : "10338", "_id" : "products/10338", - "_rev" : "_Xcgbrzi--D", + "_rev" : "_XiAwLGG--B", "hello4" : "world1" } ], @@ -38,7 +38,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00008344650268554688 + "executionTime" : 0.00008702278137207031 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorDeleteIgnore.generated b/Documentation/Examples/RestCursorDeleteIgnore.generated index 54c87a683f..3cbbe4e36c 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.00010824203491210938 + "executionTime" : 0.00011324882507324219 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorDeleteQuery.generated b/Documentation/Examples/RestCursorDeleteQuery.generated index 68d91876ae..9471c1f513 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.0001456737518310547 + "executionTime" : 0.00012969970703125 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorForLimitReturnCont.generated b/Documentation/Examples/RestCursorForLimitReturnCont.generated index 000e940056..328013688d 100644 --- a/Documentation/Examples/RestCursorForLimitReturnCont.generated +++ b/Documentation/Examples/RestCursorForLimitReturnCont.generated @@ -19,13 +19,13 @@ x-content-type-options: nosniff { "_key" : "10393", "_id" : "products/10393", - "_rev" : "_Xcgbr3u--D", + "_rev" : "_XiAwLKO--F", "hello4" : "world1" }, { "_key" : "10387", "_id" : "products/10387", - "_rev" : "_Xcgbr3u--_", + "_rev" : "_XiAwLKO--B", "hello2" : "world1" } ], @@ -40,7 +40,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00011205673217773438 + "executionTime" : 0.00010824203491210938 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestCursorOptimizerRules.generated b/Documentation/Examples/RestCursorOptimizerRules.generated index 8359564ff6..0666968438 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.00011539459228515625 + "executionTime" : 0.00012564659118652344 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestDatabaseGetInfo.generated b/Documentation/Examples/RestDatabaseGetInfo.generated index cf4a316fbd..2bac54bf9b 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" : "/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/databases/database-1", + "path" : "/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/databases/database-1", "isSystem" : true } } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocument.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocument.generated index c3b6fb475f..4a2c882e1c 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/10529 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10528 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsNO--_" -location: /_db/_system/_api/document/products/10529 +etag: "_XiAwLfy--_" +location: /_db/_system/_api/document/products/10528 { - "_id" : "products/10529", - "_key" : "10529", - "_rev" : "_XcgbsNO--_" + "_id" : "products/10528", + "_key" : "10528", + "_rev" : "_XiAwLfy--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated index d75a8534dd..b10868351d 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOther.generated @@ -1,16 +1,16 @@ -shell> curl -X DELETE --header 'If-Match: "_XcgbsOa--B"' --dump - http://localhost:8529/_api/document/products/10539 +shell> curl -X DELETE --header 'If-Match: "_XiAwLha--B"' --dump - http://localhost:8529/_api/document/products/10538 HTTP/1.1 412 Precondition Failed x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsOa--_" +etag: "_XiAwLha--_" { "error" : true, "code" : 412, "errorNum" : 1200, "errorMessage" : "precondition failed", - "_id" : "products/10539", - "_key" : "10539", - "_rev" : "_XcgbsOa--_" + "_id" : "products/10538", + "_key" : "10538", + "_rev" : "_XiAwLha--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated index 0f57a7ab2e..ac6de4f05b 100644 --- a/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated +++ b/Documentation/Examples/RestDocumentHandlerDeleteDocumentIfMatchOtherMulti.generated @@ -1,16 +1,16 @@ -shell> curl -X DELETE --header 'If-Match: "_XcgbsPe--B"' --dump - http://localhost:8529/_api/document/products/10551 +shell> curl -X DELETE --header 'If-Match: "_XiAwLie--B"' --dump - http://localhost:8529/_api/document/products/10550 HTTP/1.1 412 Precondition Failed x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsPe--_" +etag: "_XiAwLie--_" { "error" : true, "code" : 412, "errorNum" : 1200, "errorMessage" : "precondition failed", - "_id" : "products/10551", - "_key" : "10551", - "_rev" : "_XcgbsPe--_" + "_id" : "products/10550", + "_key" : "10550", + "_rev" : "_XiAwLie--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentMulti.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentMulti.generated index 7ac2df50c6..f5c406ba10 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/10563 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10562 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsQe--_" -location: /_db/_system/_api/document/products/10563 +etag: "_XiAwLji--_" +location: /_db/_system/_api/document/products/10562 { - "_id" : "products/10563", - "_key" : "10563", - "_rev" : "_XcgbsQe--_" + "_id" : "products/10562", + "_key" : "10562", + "_rev" : "_XiAwLji--_" } diff --git a/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandle.generated b/Documentation/Examples/RestDocumentHandlerDeleteDocumentUnknownHandle.generated index 704f86f29a..c63cd7d445 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/10573 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10572 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 69434a2a59..2fb0203e25 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/10584 +shell> curl -X DELETE --dump - http://localhost:8529/_api/document/products/10583 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 c457e85457..de63deaca1 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/10595 <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10594 <<EOF { "hello" : "world" } @@ -7,16 +7,16 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsUy--B" -location: /_db/_system/_api/document/products/10595 +etag: "_XiAwLnq--B" +location: /_db/_system/_api/document/products/10594 { - "_id" : "products/10595", - "_key" : "10595", - "_rev" : "_XcgbsUy--B", - "_oldRev" : "_XcgbsUy--_" + "_id" : "products/10594", + "_key" : "10594", + "_rev" : "_XiAwLnq--B", + "_oldRev" : "_XiAwLnq--_" } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10595 <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10594 <<EOF { "numbers" : { "one" : 1, @@ -30,26 +30,26 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsU2--_" -location: /_db/_system/_api/document/products/10595 +etag: "_XiAwLnu--_" +location: /_db/_system/_api/document/products/10594 { - "_id" : "products/10595", - "_key" : "10595", - "_rev" : "_XcgbsU2--_", - "_oldRev" : "_XcgbsUy--B" + "_id" : "products/10594", + "_key" : "10594", + "_rev" : "_XiAwLnu--_", + "_oldRev" : "_XiAwLnq--B" } -shell> curl --dump - http://localhost:8529/_api/document/products/10595 +shell> curl --dump - http://localhost:8529/_api/document/products/10594 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsU2--_" +etag: "_XiAwLnu--_" { - "_key" : "10595", - "_id" : "products/10595", - "_rev" : "_XcgbsU2--_", + "_key" : "10594", + "_id" : "products/10594", + "_rev" : "_XiAwLnu--_", "one" : "world", "hello" : "world", "numbers" : { @@ -59,7 +59,7 @@ etag: "_XcgbsU2--_" "empty" : null } } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10595?keepNull=false <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10594?keepNull=false <<EOF { "hello" : null, "numbers" : { @@ -71,26 +71,26 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsV---_" -location: /_db/_system/_api/document/products/10595 +etag: "_XiAwLn2--_" +location: /_db/_system/_api/document/products/10594 { - "_id" : "products/10595", - "_key" : "10595", - "_rev" : "_XcgbsV---_", - "_oldRev" : "_XcgbsU2--_" + "_id" : "products/10594", + "_key" : "10594", + "_rev" : "_XiAwLn2--_", + "_oldRev" : "_XiAwLnu--_" } -shell> curl --dump - http://localhost:8529/_api/document/products/10595 +shell> curl --dump - http://localhost:8529/_api/document/products/10594 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsV---_" +etag: "_XiAwLn2--_" { - "_key" : "10595", - "_id" : "products/10595", - "_rev" : "_XcgbsV---_", + "_key" : "10594", + "_id" : "products/10594", + "_rev" : "_XiAwLn2--_", "one" : "world", "numbers" : { "empty" : null, diff --git a/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated b/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated index 9d96498a40..b6e62a6bd2 100644 --- a/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated +++ b/Documentation/Examples/RestDocumentHandlerPatchDocumentMerge.generated @@ -1,21 +1,21 @@ -shell> curl --dump - http://localhost:8529/_api/document/products/10611 +shell> curl --dump - http://localhost:8529/_api/document/products/10610 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsVy--_" +etag: "_XiAwLou--_" { - "_key" : "10611", - "_id" : "products/10611", - "_rev" : "_XcgbsVy--_", + "_key" : "10610", + "_id" : "products/10610", + "_rev" : "_XiAwLou--_", "inhabitants" : { "china" : 1366980000, "india" : 1263590000, "usa" : 319220000 } } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10611?mergeObjects=true <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10610?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/10611 +shell> curl --dump - http://localhost:8529/_api/document/products/10610 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsV2--_" +etag: "_XiAwLoy--_" { - "_key" : "10611", - "_id" : "products/10611", - "_rev" : "_XcgbsV2--_", + "_key" : "10610", + "_id" : "products/10610", + "_rev" : "_XiAwLoy--_", "inhabitants" : { "china" : 1366980000, "india" : 1263590000, @@ -43,7 +43,7 @@ etag: "_XcgbsV2--_" "brazil" : 203553000 } } -shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10611?mergeObjects=false <<EOF +shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10610?mergeObjects=false <<EOF { "inhabitants" : { "pakistan" : 188346000 @@ -54,26 +54,26 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsV6--_" -location: /_db/_system/_api/document/products/10611 +etag: "_XiAwLo2--_" +location: /_db/_system/_api/document/products/10610 { - "_id" : "products/10611", - "_key" : "10611", - "_rev" : "_XcgbsV6--_", - "_oldRev" : "_XcgbsV2--_" + "_id" : "products/10610", + "_key" : "10610", + "_rev" : "_XiAwLo2--_", + "_oldRev" : "_XiAwLoy--_" } -shell> curl --dump - http://localhost:8529/_api/document/products/10611 +shell> curl --dump - http://localhost:8529/_api/document/products/10610 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbsV6--_" +etag: "_XiAwLo2--_" { - "_key" : "10611", - "_id" : "products/10611", - "_rev" : "_XcgbsV6--_", + "_key" : "10610", + "_id" : "products/10610", + "_rev" : "_XiAwLo2--_", "inhabitants" : { "pakistan" : 188346000 } diff --git a/Documentation/Examples/RestDocumentHandlerPostAccept1.generated b/Documentation/Examples/RestDocumentHandlerPostAccept1.generated index f36c6811b4..a77df76341 100644 --- a/Documentation/Examples/RestDocumentHandlerPostAccept1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostAccept1.generated @@ -5,11 +5,11 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsWy--_" -location: /_db/_system/_api/document/products/10626 +etag: "_XiAwLpu--_" +location: /_db/_system/_api/document/products/10625 { - "_id" : "products/10626", - "_key" : "10626", - "_rev" : "_XcgbsWy--_" + "_id" : "products/10625", + "_key" : "10625", + "_rev" : "_XiAwLpu--_" } diff --git a/Documentation/Examples/RestDocumentHandlerPostCreate1.generated b/Documentation/Examples/RestDocumentHandlerPostCreate1.generated index 145aab7bb9..293af15575 100644 --- a/Documentation/Examples/RestDocumentHandlerPostCreate1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostCreate1.generated @@ -5,11 +5,11 @@ EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_XcgbsZ---_" -location: /_db/_system/_api/document/products/10638 +etag: "_XiAwLry--_" +location: /_db/_system/_api/document/products/10637 { - "_id" : "products/10638", - "_key" : "10638", - "_rev" : "_XcgbsZ---_" + "_id" : "products/10637", + "_key" : "10637", + "_rev" : "_XiAwLry--_" } diff --git a/Documentation/Examples/RestDocumentHandlerPostMulti1.generated b/Documentation/Examples/RestDocumentHandlerPostMulti1.generated index e6b7ab22b8..d16df200e0 100644 --- a/Documentation/Examples/RestDocumentHandlerPostMulti1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostMulti1.generated @@ -8,18 +8,18 @@ x-content-type-options: nosniff [ { - "_id" : "products/10646", - "_key" : "10646", - "_rev" : "_Xcgbsae--_" + "_id" : "products/10645", + "_key" : "10645", + "_rev" : "_XiAwLtW--_" }, { - "_id" : "products/10650", - "_key" : "10650", - "_rev" : "_Xcgbsae--B" + "_id" : "products/10649", + "_key" : "10649", + "_rev" : "_XiAwLtW--B" }, { - "_id" : "products/10652", - "_key" : "10652", - "_rev" : "_Xcgbsae--D" + "_id" : "products/10651", + "_key" : "10651", + "_rev" : "_XiAwLtW--D" } ] diff --git a/Documentation/Examples/RestDocumentHandlerPostMulti2.generated b/Documentation/Examples/RestDocumentHandlerPostMulti2.generated index 19703b0354..a6fda3171f 100644 --- a/Documentation/Examples/RestDocumentHandlerPostMulti2.generated +++ b/Documentation/Examples/RestDocumentHandlerPostMulti2.generated @@ -5,17 +5,17 @@ EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_Xcgbsbi--_" -location: /_db/_system/_api/document/products/10660 +etag: "_XiAwLua--_" +location: /_db/_system/_api/document/products/10659 { - "_id" : "products/10660", - "_key" : "10660", - "_rev" : "_Xcgbsbi--_", + "_id" : "products/10659", + "_key" : "10659", + "_rev" : "_XiAwLua--_", "new" : { - "_key" : "10660", - "_id" : "products/10660", - "_rev" : "_Xcgbsbi--_", + "_key" : "10659", + "_id" : "products/10659", + "_rev" : "_XiAwLua--_", "Hello" : "World" } } diff --git a/Documentation/Examples/RestDocumentHandlerPostWait1.generated b/Documentation/Examples/RestDocumentHandlerPostWait1.generated index af89244f57..41805b664b 100644 --- a/Documentation/Examples/RestDocumentHandlerPostWait1.generated +++ b/Documentation/Examples/RestDocumentHandlerPostWait1.generated @@ -5,11 +5,11 @@ EOF HTTP/1.1 201 Created content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_Xcgbscu--_" -location: /_db/_system/_api/document/products/10668 +etag: "_XiAwLve--_" +location: /_db/_system/_api/document/products/10667 { - "_id" : "products/10668", - "_key" : "10668", - "_rev" : "_Xcgbscu--_" + "_id" : "products/10667", + "_key" : "10667", + "_rev" : "_XiAwLve--_" } diff --git a/Documentation/Examples/RestDocumentHandlerReadDocument.generated b/Documentation/Examples/RestDocumentHandlerReadDocument.generated index 34cdae9954..dee8f9baf5 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocument.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocument.generated @@ -1,13 +1,13 @@ -shell> curl --dump - http://localhost:8529/_api/document/products/10676 +shell> curl --dump - http://localhost:8529/_api/document/products/10675 HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_XcgbseW--_" +etag: "_XiAwLxC--_" { - "_key" : "10676", - "_id" : "products/10676", - "_rev" : "_XcgbseW--_", + "_key" : "10675", + "_id" : "products/10675", + "_rev" : "_XiAwLxC--_", "hello" : "world" } diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated index 9b42d6e136..2753d62fc1 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocumentAllKey.generated @@ -11,9 +11,9 @@ x-content-type-options: nosniff { "result" : [ - "products/10685", - "products/10692", - "products/10689" + "products/10684", + "products/10688", + "products/10691" ], "hasMore" : false, "cached" : false, @@ -25,7 +25,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.0001404285430908203 + "executionTime" : 0.0001373291015625 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentAllPath.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentAllPath.generated index 960a1cdb17..55fa7d3fde 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/10704", - "/_db/_system/_api/document/products/10707", - "/_db/_system/_api/document/products/10700" + "/_db/_system/_api/document/products/10699", + "/_db/_system/_api/document/products/10703", + "/_db/_system/_api/document/products/10706" ], "hasMore" : false, "cached" : false, @@ -24,7 +24,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00014734268188476562 + "executionTime" : 0.00015020370483398438 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentHead.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentHead.generated index f845812847..f375ac54da 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/10715 +shell> curl -X HEAD --dump - http://localhost:8529/_api/document/products/10714 diff --git a/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated b/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated index 3d8bba4813..209e7df252 100644 --- a/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated +++ b/Documentation/Examples/RestDocumentHandlerReadDocumentIfNoneMatch.generated @@ -1,2 +1,2 @@ -shell> curl --header 'If-None-Match: "_Xcgbsii--_"' --dump - http://localhost:8529/_api/document/products/10724 +shell> curl --header 'If-None-Match: "_XiAwL1O--_"' --dump - http://localhost:8529/_api/document/products/10723 diff --git a/Documentation/Examples/RestDocumentHandlerUpdateDocument.generated b/Documentation/Examples/RestDocumentHandlerUpdateDocument.generated index c96eda3bc6..e01d1f53f4 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/10733 <<EOF +shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/10732 <<EOF {"Hello": "you"} EOF HTTP/1.1 202 Accepted content-type: application/json; charset=utf-8 x-content-type-options: nosniff -etag: "_Xcgbsji--B" -location: /_db/_system/_api/document/products/10733 +etag: "_XiAwL2O--B" +location: /_db/_system/_api/document/products/10732 { - "_id" : "products/10733", - "_key" : "10733", - "_rev" : "_Xcgbsji--B", - "_oldRev" : "_Xcgbsji--_" + "_id" : "products/10732", + "_key" : "10732", + "_rev" : "_XiAwL2O--B", + "_oldRev" : "_XiAwL2O--_" } diff --git a/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated b/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated index c80c5cf83e..2621ab3c7b 100644 --- a/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated +++ b/Documentation/Examples/RestDocumentHandlerUpdateDocumentIfMatchOther.generated @@ -1,18 +1,18 @@ -shell> curl -X PUT --header 'If-Match: "_Xcgbskm--B"' --data-binary @- --dump - http://localhost:8529/_api/document/products/10743 <<EOF +shell> curl -X PUT --header 'If-Match: "_XiAwL3S--_"' --data-binary @- --dump - http://localhost:8529/_api/document/products/10742 <<EOF {"other":"content"} EOF HTTP/1.1 412 Precondition Failed x-content-type-options: nosniff content-type: application/json; charset=utf-8 -etag: "_Xcgbskm--_" +etag: "_XiAwL3O--_" { "error" : true, "code" : 412, "errorNum" : 1200, "errorMessage" : "precondition failed", - "_id" : "products/10743", - "_key" : "10743", - "_rev" : "_Xcgbskm--_" + "_id" : "products/10742", + "_key" : "10742", + "_rev" : "_XiAwL3O--_" } diff --git a/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated b/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated index 95615276bd..d625e002ef 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/10755 <<EOF +shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/10754 <<EOF {} EOF diff --git a/Documentation/Examples/RestEdgesReadEdgesAny.generated b/Documentation/Examples/RestEdgesReadEdgesAny.generated index 2dbdc20071..8c6dc1b84a 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" : "_XcgbsnS--B", + "_rev" : "_XiAwL56--D", "$label" : "v2 -> v1" }, { @@ -19,7 +19,7 @@ x-content-type-options: nosniff "_id" : "edges/7", "_from" : "vertices/4", "_to" : "vertices/1", - "_rev" : "_XcgbsnS--D", + "_rev" : "_XiAwL56--F", "$label" : "v4 -> v1" }, { @@ -27,7 +27,7 @@ x-content-type-options: nosniff "_id" : "edges/5", "_from" : "vertices/1", "_to" : "vertices/3", - "_rev" : "_XcgbsnS--_", + "_rev" : "_XiAwL56--B", "$label" : "v1 -> v3" } ], diff --git a/Documentation/Examples/RestEdgesReadEdgesIn.generated b/Documentation/Examples/RestEdgesReadEdgesIn.generated index 00149ead97..0c5021c426 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" : "_XcgbspW--_", + "_rev" : "_XiAwL8---J", "$label" : "v2 -> v1" }, { @@ -19,7 +19,7 @@ x-content-type-options: nosniff "_id" : "edges/7", "_from" : "vertices/4", "_to" : "vertices/1", - "_rev" : "_XcgbspW--B", + "_rev" : "_XiAwL8C--_", "$label" : "v4 -> v1" } ], diff --git a/Documentation/Examples/RestEdgesReadEdgesOut.generated b/Documentation/Examples/RestEdgesReadEdgesOut.generated index a3260ea723..1fb0276bd8 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" : "_Xcgbsra--D", + "_rev" : "_XiAwM-m--H", "$label" : "v1 -> v3" } ], diff --git a/Documentation/Examples/RestEndpointGet.generated b/Documentation/Examples/RestEndpointGet.generated index efcb5459a8..4ce2d33244 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:59400" + "endpoint" : "http://127.0.0.1:51427" } ] diff --git a/Documentation/Examples/RestExplainAllPlans.generated b/Documentation/Examples/RestExplainAllPlans.generated index fd364a4fba..b00dd9f3bf 100644 --- a/Documentation/Examples/RestExplainAllPlans.generated +++ b/Documentation/Examples/RestExplainAllPlans.generated @@ -41,7 +41,7 @@ x-content-type-options: nosniff "producesResult" : true, "indexes" : [ { - "id" : "10841", + "id" : "10840", "type" : "hash", "fields" : [ "id" diff --git a/Documentation/Examples/RestExplainOptimizerRules.generated b/Documentation/Examples/RestExplainOptimizerRules.generated index 9507408138..636f004132 100644 --- a/Documentation/Examples/RestExplainOptimizerRules.generated +++ b/Documentation/Examples/RestExplainOptimizerRules.generated @@ -37,7 +37,7 @@ x-content-type-options: nosniff "producesResult" : true, "indexes" : [ { - "id" : "10858", + "id" : "10857", "type" : "skiplist", "fields" : [ "id" diff --git a/Documentation/Examples/RestExplainOptions.generated b/Documentation/Examples/RestExplainOptions.generated index 5c7bef90de..2183c45d53 100644 --- a/Documentation/Examples/RestExplainOptions.generated +++ b/Documentation/Examples/RestExplainOptions.generated @@ -49,7 +49,7 @@ x-content-type-options: nosniff "producesResult" : true, "indexes" : [ { - "id" : "10897", + "id" : "10896", "type" : "skiplist", "fields" : [ "id" diff --git a/Documentation/Examples/RestIndexAllIndexes.generated b/Documentation/Examples/RestIndexAllIndexes.generated index 44b785f63c..a004008045 100644 --- a/Documentation/Examples/RestIndexAllIndexes.generated +++ b/Documentation/Examples/RestIndexAllIndexes.generated @@ -23,7 +23,7 @@ x-content-type-options: nosniff "fields" : [ "name" ], - "id" : "products/11155", + "id" : "products/11154", "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", @@ -34,7 +34,7 @@ x-content-type-options: nosniff "fields" : [ "price" ], - "id" : "products/11158", + "id" : "products/11157", "sparse" : true, "type" : "skiplist", "unique" : false @@ -51,23 +51,23 @@ x-content-type-options: nosniff "type" : "primary", "unique" : true }, - "products/11155" : { + "products/11154" : { "deduplicate" : true, "fields" : [ "name" ], - "id" : "products/11155", + "id" : "products/11154", "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false }, - "products/11158" : { + "products/11157" : { "deduplicate" : true, "fields" : [ "price" ], - "id" : "products/11158", + "id" : "products/11157", "sparse" : true, "type" : "skiplist", "unique" : false diff --git a/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated b/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated index 8f3620001d..2b194e1a03 100644 --- a/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated +++ b/Documentation/Examples/RestIndexCreateGeoLatitudeLongitude.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "e", "f" ], - "id" : "products/11166", + "id" : "products/11165", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateGeoLocation.generated b/Documentation/Examples/RestIndexCreateGeoLocation.generated index 69c6568eda..58eed64246 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/11173", + "id" : "products/11172", "ignoreNull" : true, "isNewlyCreated" : true, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateNewFulltext.generated b/Documentation/Examples/RestIndexCreateNewFulltext.generated index f77e30b45d..71e0f8c0d8 100644 --- a/Documentation/Examples/RestIndexCreateNewFulltext.generated +++ b/Documentation/Examples/RestIndexCreateNewFulltext.generated @@ -15,7 +15,7 @@ x-content-type-options: nosniff "fields" : [ "text" ], - "id" : "products/11180", + "id" : "products/11179", "isNewlyCreated" : true, "minLength" : 2, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateNewHashIndex.generated b/Documentation/Examples/RestIndexCreateNewHashIndex.generated index 34ee55ed77..a45cf1a81a 100644 --- a/Documentation/Examples/RestIndexCreateNewHashIndex.generated +++ b/Documentation/Examples/RestIndexCreateNewHashIndex.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11187", + "id" : "products/11186", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/RestIndexCreateNewPersistent.generated b/Documentation/Examples/RestIndexCreateNewPersistent.generated index c1bc794d09..072ffdeabe 100644 --- a/Documentation/Examples/RestIndexCreateNewPersistent.generated +++ b/Documentation/Examples/RestIndexCreateNewPersistent.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11194", + "id" : "products/11193", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", diff --git a/Documentation/Examples/RestIndexCreateNewSkiplist.generated b/Documentation/Examples/RestIndexCreateNewSkiplist.generated index 1ea0f41bfe..2ae8a3b1b0 100644 --- a/Documentation/Examples/RestIndexCreateNewSkiplist.generated +++ b/Documentation/Examples/RestIndexCreateNewSkiplist.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11201", + "id" : "products/11200", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", diff --git a/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated b/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated index 27fb3bed4f..6e2a953fc6 100644 --- a/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated +++ b/Documentation/Examples/RestIndexCreateNewUniqueConstraint.generated @@ -19,7 +19,7 @@ x-content-type-options: nosniff "a", "b" ], - "id" : "products/11208", + "id" : "products/11207", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/RestIndexCreateSparseHashIndex.generated b/Documentation/Examples/RestIndexCreateSparseHashIndex.generated index 679f79b073..3220191402 100644 --- a/Documentation/Examples/RestIndexCreateSparseHashIndex.generated +++ b/Documentation/Examples/RestIndexCreateSparseHashIndex.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "fields" : [ "a" ], - "id" : "products/11215", + "id" : "products/11214", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : true, diff --git a/Documentation/Examples/RestIndexCreateSparsePersistent.generated b/Documentation/Examples/RestIndexCreateSparsePersistent.generated index 4083ee3e32..f405fd9984 100644 --- a/Documentation/Examples/RestIndexCreateSparsePersistent.generated +++ b/Documentation/Examples/RestIndexCreateSparsePersistent.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "fields" : [ "a" ], - "id" : "products/11222", + "id" : "products/11221", "isNewlyCreated" : true, "sparse" : true, "type" : "persistent", diff --git a/Documentation/Examples/RestIndexCreateSparseSkiplist.generated b/Documentation/Examples/RestIndexCreateSparseSkiplist.generated index c92635cff2..abd22389b5 100644 --- a/Documentation/Examples/RestIndexCreateSparseSkiplist.generated +++ b/Documentation/Examples/RestIndexCreateSparseSkiplist.generated @@ -18,7 +18,7 @@ x-content-type-options: nosniff "fields" : [ "a" ], - "id" : "products/11229", + "id" : "products/11228", "isNewlyCreated" : true, "sparse" : true, "type" : "skiplist", diff --git a/Documentation/Examples/RestIndexDeleteUniqueSkiplist.generated b/Documentation/Examples/RestIndexDeleteUniqueSkiplist.generated index 251cd87f36..c572bbb62f 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/11236 +shell> curl -X DELETE --dump - http://localhost:8529/_api/index/products/11235 HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { - "id" : "products/11236", + "id" : "products/11235", "error" : false, "code" : 200 } diff --git a/Documentation/Examples/RestReplicationApplierStart.generated b/Documentation/Examples/RestReplicationApplierStart.generated index 9c4c284533..d4790fed32 100644 --- a/Documentation/Examples/RestReplicationApplierStart.generated +++ b/Documentation/Examples/RestReplicationApplierStart.generated @@ -13,7 +13,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2018-09-17T17:39:26Z", + "time" : "2018-10-04T20:08:24Z", "message" : "applier initially created for database '_system'", "failedConnects" : 0 }, @@ -25,11 +25,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2018-09-17T17:39:36Z" + "time" : "2018-10-04T20:08:34Z" }, "server" : { - "version" : "3.3.16", - "serverId" : "187603347550099" + "version" : "3.3.17", + "serverId" : "66988740560566" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationApplierStateNotRunning.generated b/Documentation/Examples/RestReplicationApplierStateNotRunning.generated index 25919a121b..f801f9b3f9 100644 --- a/Documentation/Examples/RestReplicationApplierStateNotRunning.generated +++ b/Documentation/Examples/RestReplicationApplierStateNotRunning.generated @@ -13,7 +13,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2018-09-17T17:39:37Z", + "time" : "2018-10-04T20:08:35Z", "message" : "applier shut down", "failedConnects" : 1 }, @@ -25,11 +25,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2018-09-17T17:39:37Z" + "time" : "2018-10-04T20:08:35Z" }, "server" : { - "version" : "3.3.16", - "serverId" : "187603347550099" + "version" : "3.3.17", + "serverId" : "66988740560566" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationApplierStateRunning.generated b/Documentation/Examples/RestReplicationApplierStateRunning.generated index e9611146f2..7a67513ca3 100644 --- a/Documentation/Examples/RestReplicationApplierStateRunning.generated +++ b/Documentation/Examples/RestReplicationApplierStateRunning.generated @@ -13,7 +13,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2018-09-17T17:39:37Z", + "time" : "2018-10-04T20:08:35Z", "message" : "fetching master state information", "failedConnects" : 0 }, @@ -25,11 +25,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2018-09-17T17:39:37Z" + "time" : "2018-10-04T20:08:35Z" }, "server" : { - "version" : "3.3.16", - "serverId" : "187603347550099" + "version" : "3.3.17", + "serverId" : "66988740560566" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationApplierStop.generated b/Documentation/Examples/RestReplicationApplierStop.generated index dbe0669c17..c48e6e08ba 100644 --- a/Documentation/Examples/RestReplicationApplierStop.generated +++ b/Documentation/Examples/RestReplicationApplierStop.generated @@ -13,7 +13,7 @@ x-content-type-options: nosniff "lastAvailableContinuousTick" : null, "safeResumeTick" : null, "progress" : { - "time" : "2018-09-17T17:39:38Z", + "time" : "2018-10-04T20:08:36Z", "message" : "applier shut down", "failedConnects" : 0 }, @@ -25,11 +25,11 @@ x-content-type-options: nosniff "lastError" : { "errorNum" : 0 }, - "time" : "2018-09-17T17:39:38Z" + "time" : "2018-10-04T20:08:36Z" }, "server" : { - "version" : "3.3.16", - "serverId" : "187603347550099" + "version" : "3.3.17", + "serverId" : "66988740560566" }, "endpoint" : "tcp://127.0.0.1:8529", "database" : "_system" diff --git a/Documentation/Examples/RestReplicationDump.generated b/Documentation/Examples/RestReplicationDump.generated index 3f396ba9c4..9c8e233260 100644 --- a/Documentation/Examples/RestReplicationDump.generated +++ b/Documentation/Examples/RestReplicationDump.generated @@ -4,6 +4,6 @@ HTTP/1.1 200 OK x-content-type-options: nosniff content-type: application/x-arango-dump; charset=utf-8 x-arango-replication-checkmore: false -x-arango-replication-lastincluded: 11269 +x-arango-replication-lastincluded: 11268 -"{\"tick\":\"11263\",\"type\":2300,\"data\":{\"_id\":\"testCollection/123456\",\"_key\":\"123456\",\"_rev\":\"_XcgbvHK--_\",\"b\":1,\"c\":false,\"d\":\"additional value\"}}\n{\"tick\":\"11267\",\"type\":2302,\"data\":{\"_key\":\"foobar\",\"_rev\":\"_XcgbvHK--D\"}}\n{\"tick\":\"11269\",\"type\":2302,\"data\":{\"_key\":\"abcdef\",\"_rev\":\"_XcgbvHK--F\"}}\n" +"{\"tick\":\"11262\",\"type\":2300,\"data\":{\"_id\":\"testCollection/123456\",\"_key\":\"123456\",\"_rev\":\"_XiAwOmC--D\",\"b\":1,\"c\":false,\"d\":\"additional value\"}}\n{\"tick\":\"11266\",\"type\":2302,\"data\":{\"_key\":\"foobar\",\"_rev\":\"_XiAwOmG--B\"}}\n{\"tick\":\"11268\",\"type\":2302,\"data\":{\"_key\":\"abcdef\",\"_rev\":\"_XiAwOmG--D\"}}\n" diff --git a/Documentation/Examples/RestReplicationInventory.generated b/Documentation/Examples/RestReplicationInventory.generated index 85d03600c3..5a59a2d5fc 100644 --- a/Documentation/Examples/RestReplicationInventory.generated +++ b/Documentation/Examples/RestReplicationInventory.generated @@ -317,7 +317,7 @@ x-content-type-options: nosniff "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, - "lastValue" : 11247 + "lastValue" : 11246 }, "name" : "_users", "numberOfShards" : 1, @@ -342,7 +342,7 @@ x-content-type-options: nosniff "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/98", + "globallyUniqueId" : "h3CED0815C6B6/98", "id" : "98", "indexBuckets" : 8, "indexes" : [ @@ -389,7 +389,7 @@ x-content-type-options: nosniff "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/92", + "globallyUniqueId" : "h3CED0815C6B6/92", "id" : "92", "indexBuckets" : 8, "indexes" : [ @@ -431,10 +431,10 @@ x-content-type-options: nosniff ], "state" : { "running" : true, - "lastLogTick" : "11285", - "lastUncommittedLogTick" : "11288", + "lastLogTick" : "11284", + "lastUncommittedLogTick" : "11287", "totalEvents" : 3840, - "time" : "2018-09-17T17:39:39Z" + "time" : "2018-10-04T20:08:37Z" }, - "tick" : "11288" + "tick" : "11287" } diff --git a/Documentation/Examples/RestReplicationInventoryIndexes.generated b/Documentation/Examples/RestReplicationInventoryIndexes.generated index c2c6e436a2..7855e083ac 100644 --- a/Documentation/Examples/RestReplicationInventoryIndexes.generated +++ b/Documentation/Examples/RestReplicationInventoryIndexes.generated @@ -9,7 +9,7 @@ x-content-type-options: nosniff { "indexes" : [ { - "id" : "11293", + "id" : "11292", "type" : "hash", "fields" : [ "name" @@ -20,7 +20,7 @@ x-content-type-options: nosniff "deduplicate" : true }, { - "id" : "11296", + "id" : "11295", "type" : "skiplist", "fields" : [ "a", @@ -33,12 +33,12 @@ x-content-type-options: nosniff ], "parameters" : { "allowUserKeys" : true, - "cid" : "11289", + "cid" : "11288", "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/11289", - "id" : "11289", + "globallyUniqueId" : "h3CED0815C6B6/11288", + "id" : "11288", "indexBuckets" : 8, "indexes" : [ { @@ -52,7 +52,7 @@ x-content-type-options: nosniff "sparse" : false }, { - "id" : "11293", + "id" : "11292", "type" : "hash", "fields" : [ "name" @@ -63,7 +63,7 @@ x-content-type-options: nosniff "deduplicate" : true }, { - "id" : "11296", + "id" : "11295", "type" : "skiplist", "fields" : [ "a", @@ -85,7 +85,7 @@ x-content-type-options: nosniff }, "name" : "IndexedCollection1", "numberOfShards" : 1, - "planId" : "11289", + "planId" : "11288", "replicationFactor" : 1, "shardKeys" : [ "_key" @@ -101,7 +101,7 @@ x-content-type-options: nosniff { "indexes" : [ { - "id" : "11302", + "id" : "11301", "type" : "fulltext", "fields" : [ "text" @@ -111,7 +111,7 @@ x-content-type-options: nosniff "minLength" : 10 }, { - "id" : "11305", + "id" : "11304", "type" : "skiplist", "fields" : [ "a" @@ -123,12 +123,12 @@ x-content-type-options: nosniff ], "parameters" : { "allowUserKeys" : true, - "cid" : "11298", + "cid" : "11297", "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/11298", - "id" : "11298", + "globallyUniqueId" : "h3CED0815C6B6/11297", + "id" : "11297", "indexBuckets" : 8, "indexes" : [ { @@ -142,7 +142,7 @@ x-content-type-options: nosniff "sparse" : false }, { - "id" : "11302", + "id" : "11301", "type" : "fulltext", "fields" : [ "text" @@ -152,7 +152,7 @@ x-content-type-options: nosniff "minLength" : 10 }, { - "id" : "11305", + "id" : "11304", "type" : "skiplist", "fields" : [ "a" @@ -173,7 +173,7 @@ x-content-type-options: nosniff }, "name" : "IndexedCollection2", "numberOfShards" : 1, - "planId" : "11298", + "planId" : "11297", "replicationFactor" : 1, "shardKeys" : [ "_key" @@ -497,7 +497,7 @@ x-content-type-options: nosniff "keyOptions" : { "type" : "traditional", "allowUserKeys" : true, - "lastValue" : 11247 + "lastValue" : 11246 }, "name" : "_users", "numberOfShards" : 1, @@ -522,7 +522,7 @@ x-content-type-options: nosniff "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/98", + "globallyUniqueId" : "h3CED0815C6B6/98", "id" : "98", "indexBuckets" : 8, "indexes" : [ @@ -569,7 +569,7 @@ x-content-type-options: nosniff "count" : 0, "deleted" : false, "doCompact" : true, - "globallyUniqueId" : "hAA9FCEE3AF93/92", + "globallyUniqueId" : "h3CED0815C6B6/92", "id" : "92", "indexBuckets" : 8, "indexes" : [ @@ -611,10 +611,10 @@ x-content-type-options: nosniff ], "state" : { "running" : true, - "lastLogTick" : "11285", - "lastUncommittedLogTick" : "11306", + "lastLogTick" : "11298", + "lastUncommittedLogTick" : "11305", "totalEvents" : 3846, - "time" : "2018-09-17T17:39:39Z" + "time" : "2018-10-04T20:08:37Z" }, - "tick" : "11306" + "tick" : "11305" } diff --git a/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated b/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated index bc65ec4c59..012464198c 100644 --- a/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated +++ b/Documentation/Examples/RestReplicationLoggerFollowBufferLimit.generated @@ -1,13 +1,13 @@ -shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11308&chunkSize=400 +shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11307&chunkSize=400 HTTP/1.1 200 OK x-arango-replication-frompresent: true -x-arango-replication-lastscanned: 11310 +x-arango-replication-lastscanned: 11309 x-content-type-options: nosniff -x-arango-replication-lastincluded: 11310 +x-arango-replication-lastincluded: 11309 content-type: application/x-arango-dump; charset=utf-8 x-arango-replication-checkmore: true -x-arango-replication-lasttick: 11321 +x-arango-replication-lasttick: 11320 x-arango-replication-active: true -"{\"tick\":\"11310\",\"type\":2000,\"database\":\"1\",\"cid\":\"11309\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"11309\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"hAA9FCEE3AF93/11309\",\"id\":\"11309\",\"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\":\"11309\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n" +"{\"tick\":\"11309\",\"type\":2000,\"database\":\"1\",\"cid\":\"11308\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"11308\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"h3CED0815C6B6/11308\",\"id\":\"11308\",\"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\":\"11308\",\"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 d38e4369b6..d5369bbaa3 100644 --- a/Documentation/Examples/RestReplicationLoggerFollowEmpty.generated +++ b/Documentation/Examples/RestReplicationLoggerFollowEmpty.generated @@ -1,12 +1,12 @@ -shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11321 +shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11320 HTTP/1.1 204 No Content x-arango-replication-frompresent: true -x-arango-replication-lastscanned: 11321 +x-arango-replication-lastscanned: 11320 x-content-type-options: nosniff x-arango-replication-lastincluded: 0 content-type: application/x-arango-dump; charset=utf-8 x-arango-replication-checkmore: false -x-arango-replication-lasttick: 11321 +x-arango-replication-lasttick: 11320 x-arango-replication-active: true diff --git a/Documentation/Examples/RestReplicationLoggerFollowSome.generated b/Documentation/Examples/RestReplicationLoggerFollowSome.generated index 0c2d11eba7..7436dfe164 100644 --- a/Documentation/Examples/RestReplicationLoggerFollowSome.generated +++ b/Documentation/Examples/RestReplicationLoggerFollowSome.generated @@ -1,13 +1,13 @@ -shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11321 +shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=11320 HTTP/1.1 200 OK x-arango-replication-frompresent: true -x-arango-replication-lastscanned: 11334 +x-arango-replication-lastscanned: 11333 x-content-type-options: nosniff -x-arango-replication-lastincluded: 11334 +x-arango-replication-lastincluded: 11333 content-type: application/x-arango-dump; charset=utf-8 x-arango-replication-checkmore: false -x-arango-replication-lasttick: 11334 +x-arango-replication-lasttick: 11333 x-arango-replication-active: true -"{\"tick\":\"11323\",\"type\":2000,\"database\":\"1\",\"cid\":\"11322\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"11322\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"hAA9FCEE3AF93/11322\",\"id\":\"11322\",\"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\":\"11322\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n{\"tick\":\"11327\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11322\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p1\",\"_key\":\"p1\",\"_rev\":\"_Xcgbx4i--_\",\"name\":\"flux compensator\"}}\n{\"tick\":\"11329\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11322\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_Xcgbx4i--B\",\"hp\":5100,\"name\":\"hybrid hovercraft\"}}\n{\"tick\":\"11331\",\"type\":2302,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11322\",\"cname\":\"products\",\"data\":{\"_key\":\"p1\",\"_rev\":\"_Xcgbx4i--D\"}}\n{\"tick\":\"11333\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11322\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_Xcgbx4m--_\",\"hp\":5100,\"name\":\"broken hovercraft\"}}\n{\"tick\":\"11334\",\"type\":2001,\"database\":\"1\",\"cid\":\"11322\",\"cname\":\"products\",\"data\":{\"cuid\":\"hAA9FCEE3AF93/11322\",\"id\":\"11322\",\"name\":\"products\"}}\n" +"{\"tick\":\"11322\",\"type\":2000,\"database\":\"1\",\"cid\":\"11321\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"11321\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"globallyUniqueId\":\"h3CED0815C6B6/11321\",\"id\":\"11321\",\"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\":\"11321\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n{\"tick\":\"11326\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11321\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p1\",\"_key\":\"p1\",\"_rev\":\"_XiAwRIu--_\",\"name\":\"flux compensator\"}}\n{\"tick\":\"11328\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11321\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_XiAwRIy--_\",\"hp\":5100,\"name\":\"hybrid hovercraft\"}}\n{\"tick\":\"11330\",\"type\":2302,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11321\",\"cname\":\"products\",\"data\":{\"_key\":\"p1\",\"_rev\":\"_XiAwRIy--B\"}}\n{\"tick\":\"11332\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"11321\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_XiAwRIy--D\",\"hp\":5100,\"name\":\"broken hovercraft\"}}\n{\"tick\":\"11333\",\"type\":2001,\"database\":\"1\",\"cid\":\"11321\",\"cname\":\"products\",\"data\":{\"cuid\":\"h3CED0815C6B6/11321\",\"id\":\"11321\",\"name\":\"products\"}}\n" diff --git a/Documentation/Examples/RestReplicationLoggerStateActive.generated b/Documentation/Examples/RestReplicationLoggerStateActive.generated index 65165956e6..554870335a 100644 --- a/Documentation/Examples/RestReplicationLoggerStateActive.generated +++ b/Documentation/Examples/RestReplicationLoggerStateActive.generated @@ -7,14 +7,14 @@ x-content-type-options: nosniff { "state" : { "running" : true, - "lastLogTick" : "11334", - "lastUncommittedLogTick" : "11334", + "lastLogTick" : "11333", + "lastUncommittedLogTick" : "11333", "totalEvents" : 3860, - "time" : "2018-09-17T17:39:42Z" + "time" : "2018-10-04T20:08:39Z" }, "server" : { - "version" : "3.3.16", - "serverId" : "187603347550099" + "version" : "3.3.17", + "serverId" : "66988740560566" }, "clients" : [ ] } diff --git a/Documentation/Examples/RestReplicationLoggerTickRanges.generated b/Documentation/Examples/RestReplicationLoggerTickRanges.generated index d2d678090b..09f4fd188d 100644 --- a/Documentation/Examples/RestReplicationLoggerTickRanges.generated +++ b/Documentation/Examples/RestReplicationLoggerTickRanges.generated @@ -6,33 +6,33 @@ x-content-type-options: nosniff [ { - "datafile" : "/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-3.db", + "datafile" : "/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-3.db", "status" : "collected", "tickMin" : "5", "tickMax" : "10200" }, { - "datafile" : "/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-85.db", + "datafile" : "/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-85.db", "status" : "collected", - "tickMin" : "10215", - "tickMax" : "10271" + "tickMin" : "10214", + "tickMax" : "10270" }, { - "datafile" : "/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-91.db", + "datafile" : "/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-91.db", "status" : "collected", "tickMin" : "10277", - "tickMax" : "11269" + "tickMax" : "11268" }, { - "datafile" : "/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-10203.db", + "datafile" : "/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-10273.db", "status" : "collected", - "tickMin" : "11276", - "tickMax" : "11282" + "tickMin" : "11275", + "tickMax" : "11281" }, { - "datafile" : "/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-10274.db", + "datafile" : "/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-10274.db", "status" : "open", - "tickMin" : "11288", - "tickMax" : "11334" + "tickMin" : "11287", + "tickMax" : "11333" } ] diff --git a/Documentation/Examples/RestReplicationServerId.generated b/Documentation/Examples/RestReplicationServerId.generated index da016141b4..4527c26cb6 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" : "187603347550099" + "serverId" : "66988740560566" } diff --git a/Documentation/Examples/RestSimpleAllBatch.generated b/Documentation/Examples/RestSimpleAllBatch.generated index f2cd8f08f4..21a0f4c586 100644 --- a/Documentation/Examples/RestSimpleAllBatch.generated +++ b/Documentation/Examples/RestSimpleAllBatch.generated @@ -11,26 +11,26 @@ x-content-type-options: nosniff "code" : 201, "result" : [ { - "_key" : "11366", - "_id" : "products/11366", - "_rev" : "_Xcgby7G--F", + "_key" : "11362", + "_id" : "products/11362", + "_rev" : "_XiAwSKq--B", + "Hello3" : "World3" + }, + { + "_key" : "11359", + "_id" : "products/11359", + "_rev" : "_XiAwSKq--_", + "Hello2" : "World2" + }, + { + "_key" : "11365", + "_id" : "products/11365", + "_rev" : "_XiAwSKq--D", "Hello4" : "World4" - }, - { - "_key" : "11356", - "_id" : "products/11356", - "_rev" : "_Xcgby7G--_", - "Hello1" : "World1" - }, - { - "_key" : "11369", - "_id" : "products/11369", - "_rev" : "_Xcgby7G--H", - "Hello5" : "World5" } ], "hasMore" : true, - "id" : "11372", + "id" : "11371", "count" : 5, "extra" : { "stats" : { @@ -40,7 +40,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00014591217041015625 + "executionTime" : 0.00011444091796875 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleAllSkipLimit.generated b/Documentation/Examples/RestSimpleAllSkipLimit.generated index 9e05e37a43..af11b34b8d 100644 --- a/Documentation/Examples/RestSimpleAllSkipLimit.generated +++ b/Documentation/Examples/RestSimpleAllSkipLimit.generated @@ -9,16 +9,16 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11385", - "_id" : "products/11385", - "_rev" : "_Xcgby8C--_", - "Hello3" : "World3" + "_key" : "11390", + "_id" : "products/11390", + "_rev" : "_XiAwSLu--_", + "Hello5" : "World5" }, { - "_key" : "11388", - "_id" : "products/11388", - "_rev" : "_Xcgby8C--B", - "Hello4" : "World4" + "_key" : "11381", + "_id" : "products/11381", + "_rev" : "_XiAwSLq--B", + "Hello2" : "World2" } ], "hasMore" : false, @@ -32,7 +32,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00012135505676269531 + "executionTime" : 0.0001227855682373047 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleAny.generated b/Documentation/Examples/RestSimpleAny.generated index e31234f802..560d857004 100644 --- a/Documentation/Examples/RestSimpleAny.generated +++ b/Documentation/Examples/RestSimpleAny.generated @@ -10,10 +10,10 @@ x-content-type-options: nosniff { "document" : { - "_key" : "11403", - "_id" : "products/11403", - "_rev" : "_Xcgby9C--B", - "Hello2" : "World2" + "_key" : "11408", + "_id" : "products/11408", + "_rev" : "_XiAwSMy--F", + "Hello4" : "World4" }, "error" : false, "code" : 200 diff --git a/Documentation/Examples/RestSimpleByExample.generated b/Documentation/Examples/RestSimpleByExample.generated index ac527dc1c3..5e9cd73088 100644 --- a/Documentation/Examples/RestSimpleByExample.generated +++ b/Documentation/Examples/RestSimpleByExample.generated @@ -14,19 +14,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11420", - "_id" : "products/11420", - "_rev" : "_Xcgbz-C--_", - "a" : { - "k" : 1, - "j" : 1 - }, - "i" : 1 - }, - { - "_key" : "11430", - "_id" : "products/11430", - "_rev" : "_Xcgbz-G--D", + "_key" : "11429", + "_id" : "products/11429", + "_rev" : "_XiAwSOC--F", "a" : { "k" : 2, "j" : 2 @@ -34,18 +24,28 @@ x-content-type-options: nosniff "i" : 1 }, { - "_key" : "11424", - "_id" : "products/11424", - "_rev" : "_Xcgbz-G--_", + "_key" : "11419", + "_id" : "products/11419", + "_rev" : "_XiAwSOC--_", + "a" : { + "k" : 1, + "j" : 1 + }, + "i" : 1 + }, + { + "_key" : "11423", + "_id" : "products/11423", + "_rev" : "_XiAwSOC--B", "a" : { "j" : 1 }, "i" : 1 }, { - "_key" : "11427", - "_id" : "products/11427", - "_rev" : "_Xcgbz-G--B", + "_key" : "11426", + "_id" : "products/11426", + "_rev" : "_XiAwSOC--D", "i" : 1 } ], @@ -60,7 +60,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 0, "httpRequests" : 0, - "executionTime" : 0.00016498565673828125 + "executionTime" : 0.0001685619354248047 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleByExample2.generated b/Documentation/Examples/RestSimpleByExample2.generated index 55939948a2..34bea12f8a 100644 --- a/Documentation/Examples/RestSimpleByExample2.generated +++ b/Documentation/Examples/RestSimpleByExample2.generated @@ -14,18 +14,18 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11442", - "_id" : "products/11442", - "_rev" : "_Xcgbz_G--B", + "_key" : "11441", + "_id" : "products/11441", + "_rev" : "_XiAwSO6--B", "a" : { "j" : 1 }, "i" : 1 }, { - "_key" : "11438", - "_id" : "products/11438", - "_rev" : "_Xcgbz_G--_", + "_key" : "11437", + "_id" : "products/11437", + "_rev" : "_XiAwSO6--_", "a" : { "k" : 1, "j" : 1 @@ -44,7 +44,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 2, "httpRequests" : 0, - "executionTime" : 0.00017499923706054688 + "executionTime" : 0.000133514404296875 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleByExample3.generated b/Documentation/Examples/RestSimpleByExample3.generated index decc5ca46f..a766c18d5d 100644 --- a/Documentation/Examples/RestSimpleByExample3.generated +++ b/Documentation/Examples/RestSimpleByExample3.generated @@ -16,9 +16,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11460", - "_id" : "products/11460", - "_rev" : "_XcgbzAK--_", + "_key" : "11459", + "_id" : "products/11459", + "_rev" : "_XiAwSQ---_", "a" : { "j" : 1 }, @@ -36,7 +36,7 @@ x-content-type-options: nosniff "scannedIndex" : 0, "filtered" : 3, "httpRequests" : 0, - "executionTime" : 0.00015616416931152344 + "executionTime" : 0.00019073486328125 }, "warnings" : [ ] }, diff --git a/Documentation/Examples/RestSimpleFirstExample.generated b/Documentation/Examples/RestSimpleFirstExample.generated index f720204511..dc4b218a8e 100644 --- a/Documentation/Examples/RestSimpleFirstExample.generated +++ b/Documentation/Examples/RestSimpleFirstExample.generated @@ -13,9 +13,9 @@ x-content-type-options: nosniff { "document" : { - "_key" : "11478", - "_id" : "products/11478", - "_rev" : "_XcgbzBO--_", + "_key" : "11477", + "_id" : "products/11477", + "_rev" : "_XiAwSR---B", "a" : { "j" : 1 }, diff --git a/Documentation/Examples/RestSimpleFulltext.generated b/Documentation/Examples/RestSimpleFulltext.generated index de7f6a5457..ae36bbac6f 100644 --- a/Documentation/Examples/RestSimpleFulltext.generated +++ b/Documentation/Examples/RestSimpleFulltext.generated @@ -13,15 +13,15 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11510", - "_id" : "products/11510", - "_rev" : "_XcgbzDS--_", + "_key" : "11509", + "_id" : "products/11509", + "_rev" : "_XiAwSTG--_", "text" : "this text contains word" }, { - "_key" : "11514", - "_id" : "products/11514", - "_rev" : "_XcgbzDS--B", + "_key" : "11513", + "_id" : "products/11513", + "_rev" : "_XiAwSTG--B", "text" : "this text also has a word" } ], diff --git a/Documentation/Examples/RestSimpleLookup.generated b/Documentation/Examples/RestSimpleLookup.generated index 58dbb2db72..705df567f8 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" : "_XcgbzFW--_", + "_rev" : "_XiAwSVK--_", "value" : 0 }, { "_key" : "test1", "_id" : "test/test1", - "_rev" : "_XcgbzFW--B", + "_rev" : "_XiAwSVK--B", "value" : 1 }, { "_key" : "test2", "_id" : "test/test2", - "_rev" : "_XcgbzFa--_", + "_rev" : "_XiAwSVK--D", "value" : 2 }, { "_key" : "test3", "_id" : "test/test3", - "_rev" : "_XcgbzFa--B", + "_rev" : "_XiAwSVO--_", "value" : 3 }, { "_key" : "test4", "_id" : "test/test4", - "_rev" : "_XcgbzFa--D", + "_rev" : "_XiAwSVO--B", "value" : 4 }, { "_key" : "test5", "_id" : "test/test5", - "_rev" : "_XcgbzFa--F", + "_rev" : "_XiAwSVO--D", "value" : 5 }, { "_key" : "test6", "_id" : "test/test6", - "_rev" : "_XcgbzFa--H", + "_rev" : "_XiAwSVO--F", "value" : 6 }, { "_key" : "test7", "_id" : "test/test7", - "_rev" : "_XcgbzFa--J", + "_rev" : "_XiAwSVO--H", "value" : 7 }, { "_key" : "test8", "_id" : "test/test8", - "_rev" : "_XcgbzFa--L", + "_rev" : "_XiAwSVO--J", "value" : 8 }, { "_key" : "test9", "_id" : "test/test9", - "_rev" : "_XcgbzFa--N", + "_rev" : "_XiAwSVO--L", "value" : 9 } ], diff --git a/Documentation/Examples/RestSimpleNear.generated b/Documentation/Examples/RestSimpleNear.generated index 7d084e9578..6083300a95 100644 --- a/Documentation/Examples/RestSimpleNear.generated +++ b/Documentation/Examples/RestSimpleNear.generated @@ -15,9 +15,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11604", - "_id" : "products/11604", - "_rev" : "_XcgbzIe--_", + "_key" : "11603", + "_id" : "products/11603", + "_rev" : "_XiAwSYS--H", "name" : "Name/0.002/", "loc" : [ 0.002, @@ -25,9 +25,9 @@ x-content-type-options: nosniff ] }, { - "_key" : "11598", - "_id" : "products/11598", - "_rev" : "_XcgbzIa--H", + "_key" : "11597", + "_id" : "products/11597", + "_rev" : "_XiAwSYS--D", "name" : "Name/-0.002/", "loc" : [ -0.002, diff --git a/Documentation/Examples/RestSimpleNearDistance.generated b/Documentation/Examples/RestSimpleNearDistance.generated index 1557baaf47..037c84a89c 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/11642", - "_key" : "11642", - "_rev" : "_XcgbzKe--H", + "_id" : "products/11641", + "_key" : "11641", + "_rev" : "_XiAwSaW--F", "loc" : [ -0.002, 0 @@ -28,9 +28,9 @@ x-content-type-options: nosniff }, { "distance" : 222.38985328911744, - "_id" : "products/11648", - "_key" : "11648", - "_rev" : "_XcgbzKi--B", + "_id" : "products/11647", + "_key" : "11647", + "_rev" : "_XiAwSaW--J", "loc" : [ 0.002, 0 @@ -39,9 +39,9 @@ x-content-type-options: nosniff }, { "distance" : 444.779706578235, - "_id" : "products/11639", - "_key" : "11639", - "_rev" : "_XcgbzKe--F", + "_id" : "products/11638", + "_key" : "11638", + "_rev" : "_XiAwSaW--D", "loc" : [ -0.004, 0 diff --git a/Documentation/Examples/RestSimpleRange.generated b/Documentation/Examples/RestSimpleRange.generated index 7eeffb2aec..360a8dd5f9 100644 --- a/Documentation/Examples/RestSimpleRange.generated +++ b/Documentation/Examples/RestSimpleRange.generated @@ -14,15 +14,15 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11677", - "_id" : "products/11677", - "_rev" : "_XcgbzMi--B", + "_key" : "11676", + "_id" : "products/11676", + "_rev" : "_XiAwSca--_", "i" : 2 }, { - "_key" : "11680", - "_id" : "products/11680", - "_rev" : "_XcgbzMi--D", + "_key" : "11679", + "_id" : "products/11679", + "_rev" : "_XiAwSca--B", "i" : 3 } ], diff --git a/Documentation/Examples/RestSimpleWithin.generated b/Documentation/Examples/RestSimpleWithin.generated index d5015853a7..176439112c 100644 --- a/Documentation/Examples/RestSimpleWithin.generated +++ b/Documentation/Examples/RestSimpleWithin.generated @@ -16,9 +16,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "11933", - "_id" : "products/11933", - "_rev" : "_XcgbzZW--H", + "_key" : "11932", + "_id" : "products/11932", + "_rev" : "_XiAwSpO--H", "name" : "Name/0.002/", "loc" : [ 0.002, @@ -26,9 +26,9 @@ x-content-type-options: nosniff ] }, { - "_key" : "11927", - "_id" : "products/11927", - "_rev" : "_XcgbzZW--D", + "_key" : "11926", + "_id" : "products/11926", + "_rev" : "_XiAwSpO--D", "name" : "Name/-0.002/", "loc" : [ -0.002, diff --git a/Documentation/Examples/RestSimpleWithinDistance.generated b/Documentation/Examples/RestSimpleWithinDistance.generated index 88a0abed09..72c803592a 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/11971", - "_key" : "11971", - "_rev" : "_Xcgbzba--F", + "_id" : "products/11970", + "_key" : "11970", + "_rev" : "_XiAwSrS--H", "loc" : [ -0.002, 0 @@ -29,9 +29,9 @@ x-content-type-options: nosniff }, { "distance" : 222.38985328911744, - "_id" : "products/11977", - "_key" : "11977", - "_rev" : "_Xcgbzba--J", + "_id" : "products/11976", + "_key" : "11976", + "_rev" : "_XiAwSrW--_", "loc" : [ 0.002, 0 @@ -40,9 +40,9 @@ x-content-type-options: nosniff }, { "distance" : 444.779706578235, - "_id" : "products/11968", - "_key" : "11968", - "_rev" : "_Xcgbzba--D", + "_id" : "products/11967", + "_key" : "11967", + "_rev" : "_XiAwSrS--F", "loc" : [ -0.004, 0 diff --git a/Documentation/Examples/RestSimpleWithinRectangle.generated b/Documentation/Examples/RestSimpleWithinRectangle.generated index 9a7cabda30..5064467740 100644 --- a/Documentation/Examples/RestSimpleWithinRectangle.generated +++ b/Documentation/Examples/RestSimpleWithinRectangle.generated @@ -17,9 +17,9 @@ x-content-type-options: nosniff { "result" : [ { - "_key" : "12030", - "_id" : "products/12030", - "_rev" : "_Xcgbzdi--F", + "_key" : "12029", + "_id" : "products/12029", + "_rev" : "_XiAwSta--J", "name" : "Name/0.008/", "loc" : [ 0.008, @@ -27,9 +27,9 @@ x-content-type-options: nosniff ] }, { - "_key" : "12027", - "_id" : "products/12027", - "_rev" : "_Xcgbzdi--D", + "_key" : "12026", + "_id" : "products/12026", + "_rev" : "_XiAwSta--H", "name" : "Name/0.006/", "loc" : [ 0.006, diff --git a/Documentation/Examples/RestTasksCreate.generated b/Documentation/Examples/RestTasksCreate.generated index 51ade2d440..1bb0bf4684 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" : "12041", + "id" : "12040", "name" : "SampleTask", - "created" : 1537205982.7214375, + "created" : 1538683720.4482203, "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/12041 +shell> curl -X DELETE --dump - http://localhost:8529/_api/tasks/12040 diff --git a/Documentation/Examples/RestTasksListAll.generated b/Documentation/Examples/RestTasksListAll.generated index ceeb54f4ba..e01fe73664 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" : 1537205977.322607, + "created" : 1538683715.277274, "type" : "periodic", "period" : 450, - "offset" : 383.447996, + "offset" : 280.290479, "command" : "(function (params) { require('@arangodb/statistics').garbageCollector(); } )(params);", "database" : "_system" }, { "id" : "statistics-average-collector", "name" : "statistics-average-collector", - "created" : 1537205977.3224692, + "created" : 1538683715.277067, "type" : "periodic", "period" : 900, "offset" : 20, @@ -28,7 +28,7 @@ x-content-type-options: nosniff { "id" : "statistics-collector", "name" : "statistics-collector", - "created" : 1537205977.3223238, + "created" : 1538683715.2768753, "type" : "periodic", "period" : 10, "offset" : 1, @@ -38,7 +38,7 @@ x-content-type-options: nosniff { "id" : "84", "name" : "user-defined task", - "created" : 1537205967.3655918, + "created" : 1538683705.3144176, "type" : "periodic", "period" : 1, "offset" : 0.000001, diff --git a/Documentation/Examples/RestTasksListOne.generated b/Documentation/Examples/RestTasksListOne.generated index 3c8c47e751..79317147a2 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" : 1537205977.3224692, + "created" : 1538683715.277067, "type" : "periodic", "period" : 900, "offset" : 20, diff --git a/Documentation/Examples/RestTasksPutWithId.generated b/Documentation/Examples/RestTasksPutWithId.generated index d1390c0b41..2cc935c634 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" : 1537205982.7357545, + "created" : 1538683720.4617145, "type" : "periodic", "period" : 2, "offset" : 0, diff --git a/Documentation/Examples/RestTraversalAny.generated b/Documentation/Examples/RestTraversalAny.generated index 9d7839037b..3fc8c81555 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" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzl2--_", + "_rev" : "_XiAwS1i--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzl2--B", + "_rev" : "_XiAwS1i--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzl2--D", + "_rev" : "_XiAwS1i--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzl2--F", + "_rev" : "_XiAwS1i--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" } ], @@ -62,7 +62,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" } ] @@ -74,7 +74,7 @@ x-content-type-options: nosniff "_id" : "knows/12122", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzl2--H", + "_rev" : "_XiAwS1m--_", "vertex" : "alice" } ], @@ -82,13 +82,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzl2--_", + "_rev" : "_XiAwS1i--B", "name" : "Bob" } ] @@ -100,7 +100,7 @@ x-content-type-options: nosniff "_id" : "knows/12122", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzl2--H", + "_rev" : "_XiAwS1m--_", "vertex" : "alice" }, { @@ -108,7 +108,7 @@ x-content-type-options: nosniff "_id" : "knows/12126", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgbzl6--_", + "_rev" : "_XiAwS1m--B", "vertex" : "bob" } ], @@ -116,19 +116,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzl2--_", + "_rev" : "_XiAwS1i--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzl2--B", + "_rev" : "_XiAwS1i--D", "name" : "Charlie" } ] @@ -140,7 +140,7 @@ x-content-type-options: nosniff "_id" : "knows/12122", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzl2--H", + "_rev" : "_XiAwS1m--_", "vertex" : "alice" }, { @@ -148,7 +148,7 @@ x-content-type-options: nosniff "_id" : "knows/12129", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgbzl6--B", + "_rev" : "_XiAwS1m--D", "vertex" : "bob" } ], @@ -156,19 +156,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzl2--_", + "_rev" : "_XiAwS1i--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzl2--D", + "_rev" : "_XiAwS1i--F", "name" : "Dave" } ] @@ -180,7 +180,7 @@ x-content-type-options: nosniff "_id" : "knows/12122", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzl2--H", + "_rev" : "_XiAwS1m--_", "vertex" : "alice" }, { @@ -188,7 +188,7 @@ x-content-type-options: nosniff "_id" : "knows/12135", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzl6--F", + "_rev" : "_XiAwS1m--H", "vertex" : "eve" } ], @@ -196,19 +196,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzl2--_", + "_rev" : "_XiAwS1i--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzl2--F", + "_rev" : "_XiAwS1i--H", "name" : "Eve" } ] @@ -220,7 +220,7 @@ x-content-type-options: nosniff "_id" : "knows/12122", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzl2--H", + "_rev" : "_XiAwS1m--_", "vertex" : "alice" }, { @@ -228,7 +228,7 @@ x-content-type-options: nosniff "_id" : "knows/12135", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzl6--F", + "_rev" : "_XiAwS1m--H", "vertex" : "eve" }, { @@ -236,7 +236,7 @@ x-content-type-options: nosniff "_id" : "knows/12132", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzl6--D", + "_rev" : "_XiAwS1m--F", "vertex" : "eve" } ], @@ -244,25 +244,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzl2--_", + "_rev" : "_XiAwS1i--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzl2--F", + "_rev" : "_XiAwS1i--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzly--_", + "_rev" : "_XiAwS1i--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalBackwardItemOrder.generated b/Documentation/Examples/RestTraversalBackwardItemOrder.generated index 79d8e48993..cd6999aacb 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" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzoq--_", + "_rev" : "_XiAwS4S--F", "name" : "Dave" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzom--F", + "_rev" : "_XiAwS4S--D", "name" : "Charlie" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzoq--_", + "_rev" : "_XiAwS4S--F", "name" : "Dave" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzom--F", + "_rev" : "_XiAwS4S--D", "name" : "Charlie" } ], @@ -89,7 +89,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" } ] @@ -101,7 +101,7 @@ x-content-type-options: nosniff "_id" : "knows/12212", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzoq--J", + "_rev" : "_XiAwS4W--H", "vertex" : "eve" } ], @@ -109,13 +109,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" } ] @@ -127,7 +127,7 @@ x-content-type-options: nosniff "_id" : "knows/12212", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzoq--J", + "_rev" : "_XiAwS4W--H", "vertex" : "eve" }, { @@ -135,7 +135,7 @@ x-content-type-options: nosniff "_id" : "knows/12215", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--L", + "_rev" : "_XiAwS4W--J", "vertex" : "eve" } ], @@ -143,19 +143,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" } ] @@ -167,7 +167,7 @@ x-content-type-options: nosniff "_id" : "knows/12212", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzoq--J", + "_rev" : "_XiAwS4W--H", "vertex" : "eve" }, { @@ -175,7 +175,7 @@ x-content-type-options: nosniff "_id" : "knows/12215", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--L", + "_rev" : "_XiAwS4W--J", "vertex" : "eve" }, { @@ -183,7 +183,7 @@ x-content-type-options: nosniff "_id" : "knows/12202", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--D", + "_rev" : "_XiAwS4W--B", "vertex" : "alice" } ], @@ -191,25 +191,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" } ] @@ -221,7 +221,7 @@ x-content-type-options: nosniff "_id" : "knows/12212", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzoq--J", + "_rev" : "_XiAwS4W--H", "vertex" : "eve" }, { @@ -229,7 +229,7 @@ x-content-type-options: nosniff "_id" : "knows/12215", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--L", + "_rev" : "_XiAwS4W--J", "vertex" : "eve" }, { @@ -237,7 +237,7 @@ x-content-type-options: nosniff "_id" : "knows/12209", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgbzoq--H", + "_rev" : "_XiAwS4W--F", "vertex" : "bob" } ], @@ -245,25 +245,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzoq--_", + "_rev" : "_XiAwS4S--F", "name" : "Dave" } ] @@ -275,7 +275,7 @@ x-content-type-options: nosniff "_id" : "knows/12212", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzoq--J", + "_rev" : "_XiAwS4W--H", "vertex" : "eve" }, { @@ -283,7 +283,7 @@ x-content-type-options: nosniff "_id" : "knows/12215", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--L", + "_rev" : "_XiAwS4W--J", "vertex" : "eve" }, { @@ -291,7 +291,7 @@ x-content-type-options: nosniff "_id" : "knows/12206", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgbzoq--F", + "_rev" : "_XiAwS4W--D", "vertex" : "bob" } ], @@ -299,25 +299,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzom--F", + "_rev" : "_XiAwS4S--D", "name" : "Charlie" } ] @@ -329,7 +329,7 @@ x-content-type-options: nosniff "_id" : "knows/12202", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--D", + "_rev" : "_XiAwS4W--B", "vertex" : "alice" } ], @@ -337,13 +337,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" } ] @@ -355,7 +355,7 @@ x-content-type-options: nosniff "_id" : "knows/12202", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--D", + "_rev" : "_XiAwS4W--B", "vertex" : "alice" }, { @@ -363,7 +363,7 @@ x-content-type-options: nosniff "_id" : "knows/12215", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--L", + "_rev" : "_XiAwS4W--J", "vertex" : "eve" } ], @@ -371,19 +371,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" } ] @@ -395,7 +395,7 @@ x-content-type-options: nosniff "_id" : "knows/12202", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--D", + "_rev" : "_XiAwS4W--B", "vertex" : "alice" }, { @@ -403,7 +403,7 @@ x-content-type-options: nosniff "_id" : "knows/12215", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--L", + "_rev" : "_XiAwS4W--J", "vertex" : "eve" }, { @@ -411,7 +411,7 @@ x-content-type-options: nosniff "_id" : "knows/12212", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzoq--J", + "_rev" : "_XiAwS4W--H", "vertex" : "eve" } ], @@ -419,25 +419,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzoq--B", + "_rev" : "_XiAwS4W--_", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" } ] @@ -449,7 +449,7 @@ x-content-type-options: nosniff "_id" : "knows/12202", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--D", + "_rev" : "_XiAwS4W--B", "vertex" : "alice" }, { @@ -457,7 +457,7 @@ x-content-type-options: nosniff "_id" : "knows/12209", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgbzoq--H", + "_rev" : "_XiAwS4W--F", "vertex" : "bob" } ], @@ -465,19 +465,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzoq--_", + "_rev" : "_XiAwS4S--F", "name" : "Dave" } ] @@ -489,7 +489,7 @@ x-content-type-options: nosniff "_id" : "knows/12202", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzoq--D", + "_rev" : "_XiAwS4W--B", "vertex" : "alice" }, { @@ -497,7 +497,7 @@ x-content-type-options: nosniff "_id" : "knows/12206", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgbzoq--F", + "_rev" : "_XiAwS4W--D", "vertex" : "bob" } ], @@ -505,19 +505,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzom--B", + "_rev" : "_XiAwS4S--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzom--D", + "_rev" : "_XiAwS4S--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzom--F", + "_rev" : "_XiAwS4S--D", "name" : "Charlie" } ] diff --git a/Documentation/Examples/RestTraversalDepthFirst.generated b/Documentation/Examples/RestTraversalDepthFirst.generated index cc598b5ef0..b899554aa6 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" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_XcgbzrO--D", + "_rev" : "_XiAwS62--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_XcgbzrO--F", + "_rev" : "_XiAwS62--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_XcgbzrO--D", + "_rev" : "_XiAwS62--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_XcgbzrO--F", + "_rev" : "_XiAwS62--F", "name" : "Dave" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" } ], @@ -89,7 +89,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" } ] @@ -101,7 +101,7 @@ x-content-type-options: nosniff "_id" : "knows/12297", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzrO--J", + "_rev" : "_XiAwS66--_", "vertex" : "alice" } ], @@ -109,13 +109,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" } ] @@ -127,7 +127,7 @@ x-content-type-options: nosniff "_id" : "knows/12297", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzrO--J", + "_rev" : "_XiAwS66--_", "vertex" : "alice" }, { @@ -135,7 +135,7 @@ x-content-type-options: nosniff "_id" : "knows/12301", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_XcgbzrO--L", + "_rev" : "_XiAwS66--B", "vertex" : "bob" } ], @@ -143,19 +143,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_XcgbzrO--D", + "_rev" : "_XiAwS62--D", "name" : "Charlie" } ] @@ -167,7 +167,7 @@ x-content-type-options: nosniff "_id" : "knows/12297", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzrO--J", + "_rev" : "_XiAwS66--_", "vertex" : "alice" }, { @@ -175,7 +175,7 @@ x-content-type-options: nosniff "_id" : "knows/12304", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_XcgbzrS--_", + "_rev" : "_XiAwS66--D", "vertex" : "bob" } ], @@ -183,19 +183,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_XcgbzrO--F", + "_rev" : "_XiAwS62--F", "name" : "Dave" } ] @@ -207,7 +207,7 @@ x-content-type-options: nosniff "_id" : "knows/12297", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzrO--J", + "_rev" : "_XiAwS66--_", "vertex" : "alice" }, { @@ -215,7 +215,7 @@ x-content-type-options: nosniff "_id" : "knows/12310", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_XcgbzrS--D", + "_rev" : "_XiAwS66--H", "vertex" : "eve" } ], @@ -223,19 +223,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" } ] @@ -247,7 +247,7 @@ x-content-type-options: nosniff "_id" : "knows/12297", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzrO--J", + "_rev" : "_XiAwS66--_", "vertex" : "alice" }, { @@ -255,7 +255,7 @@ x-content-type-options: nosniff "_id" : "knows/12310", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_XcgbzrS--D", + "_rev" : "_XiAwS66--H", "vertex" : "eve" }, { @@ -263,7 +263,7 @@ x-content-type-options: nosniff "_id" : "knows/12307", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_XcgbzrS--B", + "_rev" : "_XiAwS66--F", "vertex" : "eve" } ], @@ -271,25 +271,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" } ] @@ -301,7 +301,7 @@ x-content-type-options: nosniff "_id" : "knows/12307", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_XcgbzrS--B", + "_rev" : "_XiAwS66--F", "vertex" : "eve" } ], @@ -309,13 +309,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" } ] @@ -327,7 +327,7 @@ x-content-type-options: nosniff "_id" : "knows/12307", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_XcgbzrS--B", + "_rev" : "_XiAwS66--F", "vertex" : "eve" }, { @@ -335,7 +335,7 @@ x-content-type-options: nosniff "_id" : "knows/12310", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_XcgbzrS--D", + "_rev" : "_XiAwS66--H", "vertex" : "eve" } ], @@ -343,19 +343,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" } ] @@ -367,7 +367,7 @@ x-content-type-options: nosniff "_id" : "knows/12307", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_XcgbzrS--B", + "_rev" : "_XiAwS66--F", "vertex" : "eve" }, { @@ -375,7 +375,7 @@ x-content-type-options: nosniff "_id" : "knows/12310", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_XcgbzrS--D", + "_rev" : "_XiAwS66--H", "vertex" : "eve" }, { @@ -383,7 +383,7 @@ x-content-type-options: nosniff "_id" : "knows/12301", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_XcgbzrO--L", + "_rev" : "_XiAwS66--B", "vertex" : "bob" } ], @@ -391,25 +391,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_XcgbzrO--D", + "_rev" : "_XiAwS62--D", "name" : "Charlie" } ] @@ -421,7 +421,7 @@ x-content-type-options: nosniff "_id" : "knows/12307", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_XcgbzrS--B", + "_rev" : "_XiAwS66--F", "vertex" : "eve" }, { @@ -429,7 +429,7 @@ x-content-type-options: nosniff "_id" : "knows/12310", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_XcgbzrS--D", + "_rev" : "_XiAwS66--H", "vertex" : "eve" }, { @@ -437,7 +437,7 @@ x-content-type-options: nosniff "_id" : "knows/12304", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_XcgbzrS--_", + "_rev" : "_XiAwS66--D", "vertex" : "bob" } ], @@ -445,25 +445,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_XcgbzrO--F", + "_rev" : "_XiAwS62--F", "name" : "Dave" } ] @@ -475,7 +475,7 @@ x-content-type-options: nosniff "_id" : "knows/12307", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_XcgbzrS--B", + "_rev" : "_XiAwS66--F", "vertex" : "eve" }, { @@ -483,7 +483,7 @@ x-content-type-options: nosniff "_id" : "knows/12310", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_XcgbzrS--D", + "_rev" : "_XiAwS66--H", "vertex" : "eve" }, { @@ -491,7 +491,7 @@ x-content-type-options: nosniff "_id" : "knows/12297", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzrO--J", + "_rev" : "_XiAwS66--_", "vertex" : "alice" } ], @@ -499,25 +499,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_XcgbzrO--H", + "_rev" : "_XiAwS62--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzrO--B", + "_rev" : "_XiAwS62--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzrO--_", + "_rev" : "_XiAwS62--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalEdgeUniqueness.generated b/Documentation/Examples/RestTraversalEdgeUniqueness.generated index 57fa901c73..fa81335a41 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" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzt2--D", + "_rev" : "_XiAwS9a--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzt2--F", + "_rev" : "_XiAwS9a--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzt6--_", + "_rev" : "_XiAwS9a--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzt6--B", + "_rev" : "_XiAwS9a--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" } ], @@ -62,7 +62,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" } ] @@ -74,7 +74,7 @@ x-content-type-options: nosniff "_id" : "knows/12392", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--D", + "_rev" : "_XiAwS9a--J", "vertex" : "alice" } ], @@ -82,13 +82,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzt2--D", + "_rev" : "_XiAwS9a--B", "name" : "Bob" } ] @@ -100,7 +100,7 @@ x-content-type-options: nosniff "_id" : "knows/12392", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--D", + "_rev" : "_XiAwS9a--J", "vertex" : "alice" }, { @@ -108,7 +108,7 @@ x-content-type-options: nosniff "_id" : "knows/12396", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgbzt6--F", + "_rev" : "_XiAwS9e--_", "vertex" : "bob" } ], @@ -116,19 +116,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzt2--D", + "_rev" : "_XiAwS9a--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbzt2--F", + "_rev" : "_XiAwS9a--D", "name" : "Charlie" } ] @@ -140,7 +140,7 @@ x-content-type-options: nosniff "_id" : "knows/12392", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--D", + "_rev" : "_XiAwS9a--J", "vertex" : "alice" }, { @@ -148,7 +148,7 @@ x-content-type-options: nosniff "_id" : "knows/12399", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgbzt6--H", + "_rev" : "_XiAwS9e--B", "vertex" : "bob" } ], @@ -156,19 +156,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzt2--D", + "_rev" : "_XiAwS9a--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbzt6--_", + "_rev" : "_XiAwS9a--F", "name" : "Dave" } ] @@ -180,7 +180,7 @@ x-content-type-options: nosniff "_id" : "knows/12392", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--D", + "_rev" : "_XiAwS9a--J", "vertex" : "alice" }, { @@ -188,7 +188,7 @@ x-content-type-options: nosniff "_id" : "knows/12405", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--L", + "_rev" : "_XiAwS9e--F", "vertex" : "eve" } ], @@ -196,19 +196,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzt2--D", + "_rev" : "_XiAwS9a--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzt6--B", + "_rev" : "_XiAwS9a--H", "name" : "Eve" } ] @@ -220,7 +220,7 @@ x-content-type-options: nosniff "_id" : "knows/12392", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--D", + "_rev" : "_XiAwS9a--J", "vertex" : "alice" }, { @@ -228,7 +228,7 @@ x-content-type-options: nosniff "_id" : "knows/12405", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgbzt6--L", + "_rev" : "_XiAwS9e--F", "vertex" : "eve" }, { @@ -236,7 +236,7 @@ x-content-type-options: nosniff "_id" : "knows/12402", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbzt6--J", + "_rev" : "_XiAwS9e--D", "vertex" : "eve" } ], @@ -244,25 +244,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzt2--D", + "_rev" : "_XiAwS9a--B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbzt6--B", + "_rev" : "_XiAwS9a--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzt2--B", + "_rev" : "_XiAwS9a--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalFilterExclude.generated b/Documentation/Examples/RestTraversalFilterExclude.generated index db8edeb377..3330abd6cc 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" : "_XcgbzwS--_", + "_rev" : "_XiAwT_u--B", "name" : "Alice" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_XcgbzwS--F", + "_rev" : "_XiAwT_y--D", "name" : "Dave" } ], @@ -35,7 +35,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzwS--_", + "_rev" : "_XiAwT_u--B", "name" : "Alice" } ] @@ -47,7 +47,7 @@ x-content-type-options: nosniff "_id" : "knows/12472", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_XcgbzwW--_", + "_rev" : "_XiAwT_y--H", "vertex" : "alice" }, { @@ -55,7 +55,7 @@ x-content-type-options: nosniff "_id" : "knows/12479", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_XcgbzwW--D", + "_rev" : "_XiAwT_y--L", "vertex" : "bob" } ], @@ -63,19 +63,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_XcgbzwS--_", + "_rev" : "_XiAwT_u--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_XcgbzwS--B", + "_rev" : "_XiAwT_y--_", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_XcgbzwS--F", + "_rev" : "_XiAwT_y--D", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalFilterPrune.generated b/Documentation/Examples/RestTraversalFilterPrune.generated index d3ddd0aeaf..a9644f57c1 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" : "_Xcgbzye--B", + "_rev" : "_XiAwTB6--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzye--D", + "_rev" : "_XiAwTB6--D", "name" : "Bob" } ], @@ -35,7 +35,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzye--B", + "_rev" : "_XiAwTB6--B", "name" : "Alice" } ] @@ -47,7 +47,7 @@ x-content-type-options: nosniff "_id" : "knows/12541", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbzyi--B", + "_rev" : "_XiAwTC---F", "vertex" : "alice" } ], @@ -55,13 +55,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbzye--B", + "_rev" : "_XiAwTB6--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbzye--D", + "_rev" : "_XiAwTB6--D", "name" : "Bob" } ] diff --git a/Documentation/Examples/RestTraversalInbound.generated b/Documentation/Examples/RestTraversalInbound.generated index eceb20fd30..21575428b9 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" : "_Xcgbz0m--B", + "_rev" : "_XiAwTEG--B", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbz0q--B", + "_rev" : "_XiAwTEK--B", "name" : "Eve" } ], @@ -34,7 +34,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz0m--B", + "_rev" : "_XiAwTEG--B", "name" : "Alice" } ] @@ -46,7 +46,7 @@ x-content-type-options: nosniff "_id" : "knows/12615", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgbz0q--J", + "_rev" : "_XiAwTEK--J", "vertex" : "eve" } ], @@ -54,13 +54,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz0m--B", + "_rev" : "_XiAwTEG--B", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgbz0q--B", + "_rev" : "_XiAwTEK--B", "name" : "Eve" } ] diff --git a/Documentation/Examples/RestTraversalMaxDepth.generated b/Documentation/Examples/RestTraversalMaxDepth.generated index 06e003e945..693a18b990 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" : "_Xcgbz2y--B", + "_rev" : "_XiAwTGS--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz2y--D", + "_rev" : "_XiAwTGS--D", "name" : "Bob" } ], @@ -35,7 +35,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz2y--B", + "_rev" : "_XiAwTGS--B", "name" : "Alice" } ] @@ -47,7 +47,7 @@ x-content-type-options: nosniff "_id" : "knows/12670", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbz22--_", + "_rev" : "_XiAwTGW--B", "vertex" : "alice" } ], @@ -55,13 +55,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz2y--B", + "_rev" : "_XiAwTGS--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz2y--D", + "_rev" : "_XiAwTGS--D", "name" : "Bob" } ] diff --git a/Documentation/Examples/RestTraversalMinDepth.generated b/Documentation/Examples/RestTraversalMinDepth.generated index 8d00c7bbd6..ca2ed2fd3e 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" : "_Xcgbz7C--F", + "_rev" : "_XiAwTKi--F", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbz7C--H", + "_rev" : "_XiAwTKm--_", "name" : "Dave" } ], @@ -36,7 +36,7 @@ x-content-type-options: nosniff "_id" : "knows/12831", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbz7G--B", + "_rev" : "_XiAwTKm--D", "vertex" : "alice" }, { @@ -44,7 +44,7 @@ x-content-type-options: nosniff "_id" : "knows/12835", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgbz7G--D", + "_rev" : "_XiAwTKm--F", "vertex" : "bob" } ], @@ -52,19 +52,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz7C--B", + "_rev" : "_XiAwTKi--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz7C--D", + "_rev" : "_XiAwTKi--D", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbz7C--F", + "_rev" : "_XiAwTKi--F", "name" : "Charlie" } ] @@ -76,7 +76,7 @@ x-content-type-options: nosniff "_id" : "knows/12831", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbz7G--B", + "_rev" : "_XiAwTKm--D", "vertex" : "alice" }, { @@ -84,7 +84,7 @@ x-content-type-options: nosniff "_id" : "knows/12838", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgbz7G--F", + "_rev" : "_XiAwTKm--H", "vertex" : "bob" } ], @@ -92,19 +92,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz7C--B", + "_rev" : "_XiAwTKi--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz7C--D", + "_rev" : "_XiAwTKi--D", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbz7C--H", + "_rev" : "_XiAwTKm--_", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalOutbound.generated b/Documentation/Examples/RestTraversalOutbound.generated index f8adb239be..06692248b7 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" : "_Xcgbz9O--B", + "_rev" : "_XiAwTMu--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz9O--D", + "_rev" : "_XiAwTMu--D", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbz9O--F", + "_rev" : "_XiAwTMy--_", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbz9O--H", + "_rev" : "_XiAwTMy--B", "name" : "Dave" } ], @@ -46,7 +46,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz9O--B", + "_rev" : "_XiAwTMu--B", "name" : "Alice" } ] @@ -58,7 +58,7 @@ x-content-type-options: nosniff "_id" : "knows/12900", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbz9S--B", + "_rev" : "_XiAwTMy--F", "vertex" : "alice" } ], @@ -66,13 +66,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz9O--B", + "_rev" : "_XiAwTMu--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz9O--D", + "_rev" : "_XiAwTMu--D", "name" : "Bob" } ] @@ -84,7 +84,7 @@ x-content-type-options: nosniff "_id" : "knows/12900", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbz9S--B", + "_rev" : "_XiAwTMy--F", "vertex" : "alice" }, { @@ -92,7 +92,7 @@ x-content-type-options: nosniff "_id" : "knows/12904", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgbz9S--D", + "_rev" : "_XiAwTMy--H", "vertex" : "bob" } ], @@ -100,19 +100,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz9O--B", + "_rev" : "_XiAwTMu--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz9O--D", + "_rev" : "_XiAwTMu--D", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgbz9O--F", + "_rev" : "_XiAwTMy--_", "name" : "Charlie" } ] @@ -124,7 +124,7 @@ x-content-type-options: nosniff "_id" : "knows/12900", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgbz9S--B", + "_rev" : "_XiAwTMy--F", "vertex" : "alice" }, { @@ -132,7 +132,7 @@ x-content-type-options: nosniff "_id" : "knows/12907", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgbz9S--F", + "_rev" : "_XiAwTMy--J", "vertex" : "bob" } ], @@ -140,19 +140,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgbz9O--B", + "_rev" : "_XiAwTMu--B", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgbz9O--D", + "_rev" : "_XiAwTMu--D", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgbz9O--H", + "_rev" : "_XiAwTMy--B", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalPostorder.generated b/Documentation/Examples/RestTraversalPostorder.generated index 3decdf5c6a..3131aa000d 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" : "_Xcgb0_q--F", + "_rev" : "_XiAwTP---D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgb0_u--_", + "_rev" : "_XiAwTP---F", "name" : "Dave" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgb0_q--F", + "_rev" : "_XiAwTP---D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgb0_u--_", + "_rev" : "_XiAwTP---F", "name" : "Dave" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" } ], @@ -90,7 +90,7 @@ x-content-type-options: nosniff "_id" : "knows/12969", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--D", + "_rev" : "_XiAwTP---J", "vertex" : "alice" }, { @@ -98,7 +98,7 @@ x-content-type-options: nosniff "_id" : "knows/12973", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgb0_u--F", + "_rev" : "_XiAwTP---L", "vertex" : "bob" } ], @@ -106,19 +106,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgb0_q--F", + "_rev" : "_XiAwTP---D", "name" : "Charlie" } ] @@ -130,7 +130,7 @@ x-content-type-options: nosniff "_id" : "knows/12969", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--D", + "_rev" : "_XiAwTP---J", "vertex" : "alice" }, { @@ -138,7 +138,7 @@ x-content-type-options: nosniff "_id" : "knows/12976", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgb0_u--H", + "_rev" : "_XiAwTPC--_", "vertex" : "bob" } ], @@ -146,19 +146,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgb0_u--_", + "_rev" : "_XiAwTP---F", "name" : "Dave" } ] @@ -170,7 +170,7 @@ x-content-type-options: nosniff "_id" : "knows/12969", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--D", + "_rev" : "_XiAwTP---J", "vertex" : "alice" }, { @@ -178,7 +178,7 @@ x-content-type-options: nosniff "_id" : "knows/12982", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--L", + "_rev" : "_XiAwTPC--D", "vertex" : "eve" }, { @@ -186,7 +186,7 @@ x-content-type-options: nosniff "_id" : "knows/12979", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0_u--J", + "_rev" : "_XiAwTPC--B", "vertex" : "eve" } ], @@ -194,25 +194,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" } ] @@ -224,7 +224,7 @@ x-content-type-options: nosniff "_id" : "knows/12969", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--D", + "_rev" : "_XiAwTP---J", "vertex" : "alice" }, { @@ -232,7 +232,7 @@ x-content-type-options: nosniff "_id" : "knows/12982", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--L", + "_rev" : "_XiAwTPC--D", "vertex" : "eve" } ], @@ -240,19 +240,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" } ] @@ -264,7 +264,7 @@ x-content-type-options: nosniff "_id" : "knows/12969", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--D", + "_rev" : "_XiAwTP---J", "vertex" : "alice" } ], @@ -272,13 +272,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" } ] @@ -290,7 +290,7 @@ x-content-type-options: nosniff "_id" : "knows/12979", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0_u--J", + "_rev" : "_XiAwTPC--B", "vertex" : "eve" }, { @@ -298,7 +298,7 @@ x-content-type-options: nosniff "_id" : "knows/12982", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--L", + "_rev" : "_XiAwTPC--D", "vertex" : "eve" }, { @@ -306,7 +306,7 @@ x-content-type-options: nosniff "_id" : "knows/12973", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgb0_u--F", + "_rev" : "_XiAwTP---L", "vertex" : "bob" } ], @@ -314,25 +314,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgb0_q--F", + "_rev" : "_XiAwTP---D", "name" : "Charlie" } ] @@ -344,7 +344,7 @@ x-content-type-options: nosniff "_id" : "knows/12979", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0_u--J", + "_rev" : "_XiAwTPC--B", "vertex" : "eve" }, { @@ -352,7 +352,7 @@ x-content-type-options: nosniff "_id" : "knows/12982", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--L", + "_rev" : "_XiAwTPC--D", "vertex" : "eve" }, { @@ -360,7 +360,7 @@ x-content-type-options: nosniff "_id" : "knows/12976", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgb0_u--H", + "_rev" : "_XiAwTPC--_", "vertex" : "bob" } ], @@ -368,25 +368,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgb0_u--_", + "_rev" : "_XiAwTP---F", "name" : "Dave" } ] @@ -398,7 +398,7 @@ x-content-type-options: nosniff "_id" : "knows/12979", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0_u--J", + "_rev" : "_XiAwTPC--B", "vertex" : "eve" }, { @@ -406,7 +406,7 @@ x-content-type-options: nosniff "_id" : "knows/12982", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--L", + "_rev" : "_XiAwTPC--D", "vertex" : "eve" }, { @@ -414,7 +414,7 @@ x-content-type-options: nosniff "_id" : "knows/12969", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--D", + "_rev" : "_XiAwTP---J", "vertex" : "alice" } ], @@ -422,25 +422,25 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" } ] @@ -452,7 +452,7 @@ x-content-type-options: nosniff "_id" : "knows/12979", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0_u--J", + "_rev" : "_XiAwTPC--B", "vertex" : "eve" }, { @@ -460,7 +460,7 @@ x-content-type-options: nosniff "_id" : "knows/12982", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0_u--L", + "_rev" : "_XiAwTPC--D", "vertex" : "eve" } ], @@ -468,19 +468,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0_q--D", + "_rev" : "_XiAwTP---B", "name" : "Bob" } ] @@ -492,7 +492,7 @@ x-content-type-options: nosniff "_id" : "knows/12979", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0_u--J", + "_rev" : "_XiAwTPC--B", "vertex" : "eve" } ], @@ -500,13 +500,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0_u--B", + "_rev" : "_XiAwTP---H", "name" : "Eve" } ] @@ -517,7 +517,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0_q--B", + "_rev" : "_XiAwTP---_", "name" : "Alice" } ] diff --git a/Documentation/Examples/RestTraversalVisitorCountAndList.generated b/Documentation/Examples/RestTraversalVisitorCountAndList.generated index 98636afcfa..a3db45c9a6 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" : "_Xcgb0Ce--B", + "_rev" : "_XiAwTSG--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0Ce--D", + "_rev" : "_XiAwTSG--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgb0Ce--F", + "_rev" : "_XiAwTSG--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgb0Ci--_", + "_rev" : "_XiAwTSG--F", "name" : "Dave" } ] diff --git a/Documentation/Examples/RestTraversalVisitorExpander.generated b/Documentation/Examples/RestTraversalVisitorExpander.generated index 3ca70fe231..2e0f7fb43b 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" : "_Xcgb0Em--_", + "_rev" : "_XiAwTUO--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0Em--H", + "_rev" : "_XiAwTUO--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0Em--B", + "_rev" : "_XiAwTUO--B", "name" : "Bob" } ], @@ -40,7 +40,7 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0Em--_", + "_rev" : "_XiAwTUO--_", "name" : "Alice" } ] @@ -52,7 +52,7 @@ x-content-type-options: nosniff "_id" : "knows/13143", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0Eq--B", + "_rev" : "_XiAwTUS--F", "vertex" : "eve" } ], @@ -60,13 +60,13 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0Em--_", + "_rev" : "_XiAwTUO--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0Em--H", + "_rev" : "_XiAwTUO--H", "name" : "Eve" } ] @@ -78,7 +78,7 @@ x-content-type-options: nosniff "_id" : "knows/13143", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgb0Eq--B", + "_rev" : "_XiAwTUS--F", "vertex" : "eve" }, { @@ -86,7 +86,7 @@ x-content-type-options: nosniff "_id" : "knows/13146", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgb0Eq--D", + "_rev" : "_XiAwTUS--H", "vertex" : "eve" } ], @@ -94,19 +94,19 @@ x-content-type-options: nosniff { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgb0Em--_", + "_rev" : "_XiAwTUO--_", "name" : "Alice" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgb0Em--H", + "_rev" : "_XiAwTUO--H", "name" : "Eve" }, { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgb0Em--B", + "_rev" : "_XiAwTUO--B", "name" : "Bob" } ] diff --git a/Documentation/Examples/RestVersion.generated b/Documentation/Examples/RestVersion.generated index 1adfd0f3e7..b111563e0b 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.16", + "version" : "3.3.17", "license" : "community" } diff --git a/Documentation/Examples/RestVersionDetails.generated b/Documentation/Examples/RestVersionDetails.generated index 5a871d7014..b03a45da34 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.16", + "version" : "3.3.17", "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" : "2018-09-17 18:53:36", - "build-repository" : "heads/3.3-0-g4902fd283e-dirty", + "build-date" : "2018-10-04 21:19:20", + "build-repository" : "heads/3.3-0-gc98a44318b-dirty", "compiler" : "gcc [7.3.0]", "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.16 [linux] 64bit maintainer mode, using jemalloc, build heads/3.3-0-g4902fd283e-dirty, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.1.0g 2 Nov 2017", + "full-version-string" : "ArangoDB 3.3.17 [linux] 64bit maintainer mode, using jemalloc, build heads/3.3-0-gc98a44318b-dirty, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.1.0g 2 Nov 2017", "icu-version" : "58.1", "jemalloc" : "true", "maintainer-mode" : "true", @@ -34,7 +34,7 @@ x-content-type-options: nosniff "platform" : "linux", "reactor-type" : "epoll", "rocksdb-version" : "5.6.0", - "server-version" : "3.3.16", + "server-version" : "3.3.17", "sizeof int" : "4", "sizeof void*" : "8", "sse42" : "true", diff --git a/Documentation/Examples/collectionDatabaseCreateKey.generated b/Documentation/Examples/collectionDatabaseCreateKey.generated index 9c8db3f5fb..f2ca618439 100644 --- a/Documentation/Examples/collectionDatabaseCreateKey.generated +++ b/Documentation/Examples/collectionDatabaseCreateKey.generated @@ -5,17 +5,17 @@ arangosh> db.users.save({ name: "_id" : "users/10", "_key" : "10", - "_rev" : "_Xcgb0WS--_" + "_rev" : "_XiAwTmq--_" } arangosh> db.users.save({ name: "user 2" }); { "_id" : "users/15", "_key" : "15", - "_rev" : "_Xcgb0WS--B" + "_rev" : "_XiAwTmu--_" } arangosh> db.users.save({ name: "user 3" }); { "_id" : "users/20", "_key" : "20", - "_rev" : "_Xcgb0WW--_" + "_rev" : "_XiAwTmu--B" } diff --git a/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated b/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated index c60075e0b8..c3aff648d2 100644 --- a/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated +++ b/Documentation/Examples/collectionDatabaseCreateSpecialKey.generated @@ -4,7 +4,7 @@ arangosh> db.users.save({ name: "_id" : "users/15431", "_key" : "15431", - "_rev" : "_Xcgb0Ya--_" + "_rev" : "_XiAwTou--_" } arangosh> db.users.save({ name: "user 2", _key: "myuser" }); [ArangoError 1222: unexpected document key] @@ -12,5 +12,5 @@ arangosh> db.users.save({ name: "_id" : "users/15436", "_key" : "15436", - "_rev" : "_Xcgb0Ye--_" + "_rev" : "_XiAwToy--A" } diff --git a/Documentation/Examples/collectionDatabaseCreateSuccess.generated b/Documentation/Examples/collectionDatabaseCreateSuccess.generated index 26ecda4524..629a3a381d 100644 --- a/Documentation/Examples/collectionDatabaseCreateSuccess.generated +++ b/Documentation/Examples/collectionDatabaseCreateSuccess.generated @@ -1,5 +1,5 @@ arangosh> c = db._create("users"); -[ArangoCollection 15439, "users" (type document, status loaded)] +[ArangoCollection 15440, "users" (type document, status loaded)] arangosh> c.properties(); { "doCompact" : true, diff --git a/Documentation/Examples/collectionDatabaseTruncate.generated b/Documentation/Examples/collectionDatabaseTruncate.generated index 47c582b7ef..77490cf4f5 100644 --- a/Documentation/Examples/collectionDatabaseTruncate.generated +++ b/Documentation/Examples/collectionDatabaseTruncate.generated @@ -4,7 +4,7 @@ arangosh> col.save({ "Hello" : "_id" : "example/15465", "_key" : "15465", - "_rev" : "_Xcgb0eq--_" + "_rev" : "_XiAwTvO--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionDatabaseTruncateByObject.generated b/Documentation/Examples/collectionDatabaseTruncateByObject.generated index de607d1175..5283502503 100644 --- a/Documentation/Examples/collectionDatabaseTruncateByObject.generated +++ b/Documentation/Examples/collectionDatabaseTruncateByObject.generated @@ -4,7 +4,7 @@ arangosh> col.save({ "Hello" : "_id" : "example/15482", "_key" : "15482", - "_rev" : "_Xcgb0fq--_" + "_rev" : "_XiAwTwS--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionDatabaseTruncateName.generated b/Documentation/Examples/collectionDatabaseTruncateName.generated index 3262d50df5..0e007d1eeb 100644 --- a/Documentation/Examples/collectionDatabaseTruncateName.generated +++ b/Documentation/Examples/collectionDatabaseTruncateName.generated @@ -4,7 +4,7 @@ arangosh> col.save({ "Hello" : "_id" : "example/15499", "_key" : "15499", - "_rev" : "_Xcgb0gu--_" + "_rev" : "_XiAwTxS--_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/collectionFigures.generated b/Documentation/Examples/collectionFigures.generated index 8bc9db44d1..fa27189309 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" : "2018-09-17T17:39:38Z", + "time" : "2018-10-04T20:08:37Z", "count" : 0, "filesCombined" : 0, "bytesRead" : 0, diff --git a/Documentation/Examples/collectionFirstExample.generated b/Documentation/Examples/collectionFirstExample.generated index 5ba4dcb154..bbc6a4b238 100644 --- a/Documentation/Examples/collectionFirstExample.generated +++ b/Documentation/Examples/collectionFirstExample.generated @@ -1,7 +1,7 @@ arangosh> db.users.firstExample("name", "Angela"); { - "_key" : "15548", - "_id" : "users/15548", - "_rev" : "_Xcgb1pG--D", + "_key" : "15547", + "_id" : "users/15547", + "_rev" : "_XiAwT6m--_", "name" : "Angela" } diff --git a/Documentation/Examples/collectionFulltext.generated b/Documentation/Examples/collectionFulltext.generated index e41068f6da..8504db0eb8 100644 --- a/Documentation/Examples/collectionFulltext.generated +++ b/Documentation/Examples/collectionFulltext.generated @@ -3,7 +3,7 @@ arangosh> db.emails.ensureFulltextIndex("content""fields" : [ "content" ], - "id" : "emails/15556", + "id" : "emails/15555", "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/15559", - "_key" : "15559", - "_rev" : "_Xcgb1rK---" + "_id" : "emails/15558", + "_key" : "15558", + "_rev" : "_XiAwT8m--_" } arangosh> db.emails.save({ content: ........> "Hello Charlie, do Alice and Bob know about it?"}); { - "_id" : "emails/15563", - "_key" : "15563", - "_rev" : "_Xcgb1rK--A" + "_id" : "emails/15562", + "_key" : "15562", + "_rev" : "_XiAwT8m--B" } arangosh> db.emails.save({ content: "I think they don't know. Regards, Eve" }); { - "_id" : "emails/15566", - "_key" : "15566", - "_rev" : "_Xcgb1rK--C" + "_id" : "emails/15565", + "_key" : "15565", + "_rev" : "_XiAwT8q--_" } arangosh> db.emails.fulltext("content", "charlie,|eve").toArray(); [ { - "_key" : "15563", - "_id" : "emails/15563", - "_rev" : "_Xcgb1rK--A", + "_key" : "15562", + "_id" : "emails/15562", + "_rev" : "_XiAwT8m--B", "content" : "Hello Charlie, do Alice and Bob know about it?" }, { - "_key" : "15566", - "_id" : "emails/15566", - "_rev" : "_Xcgb1rK--C", + "_key" : "15565", + "_id" : "emails/15565", + "_rev" : "_XiAwT8q--_", "content" : "I think they don't know. Regards, Eve" } ] diff --git a/Documentation/Examples/collectionGetIndexes.generated b/Documentation/Examples/collectionGetIndexes.generated index 2394c9dd20..cf07f01273 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/15582", + "id" : "test/15581", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, @@ -31,7 +31,7 @@ arangosh> db.test.getIndexes(); "fields" : [ "skiplistAttribute" ], - "id" : "test/15576", + "id" : "test/15575", "sparse" : false, "type" : "skiplist", "unique" : true @@ -41,7 +41,7 @@ arangosh> db.test.getIndexes(); "fields" : [ "skiplistUniqueAttribute" ], - "id" : "test/15579", + "id" : "test/15578", "sparse" : false, "type" : "skiplist", "unique" : true @@ -52,7 +52,7 @@ arangosh> db.test.getIndexes(); "hashListAttribute", "hashListSecondAttribute.subAttribute" ], - "id" : "test/15582", + "id" : "test/15581", "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", diff --git a/Documentation/Examples/collectionLoad.generated b/Documentation/Examples/collectionLoad.generated index 94abc12489..c09e0fdba1 100644 --- a/Documentation/Examples/collectionLoad.generated +++ b/Documentation/Examples/collectionLoad.generated @@ -1,5 +1,5 @@ arangosh> col = db.example; -[ArangoCollection 15586, "example" (type document, status loaded)] +[ArangoCollection 15585, "example" (type document, status loaded)] arangosh> col.load(); arangosh> col; -[ArangoCollection 15586, "example" (type document, status loaded)] +[ArangoCollection 15585, "example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionLookupByKeys.generated b/Documentation/Examples/collectionLookupByKeys.generated index 06fa7ca316..31abf19d67 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" : "_Xcgb1yO--_", + "_rev" : "_XiAwUDy--_", "value" : 0 }, { "_key" : "test1", "_id" : "example/test1", - "_rev" : "_Xcgb1yO--B", + "_rev" : "_XiAwUDy--B", "value" : 1 }, { "_key" : "test2", "_id" : "example/test2", - "_rev" : "_Xcgb1yO--D", + "_rev" : "_XiAwUDy--D", "value" : 2 }, { "_key" : "test3", "_id" : "example/test3", - "_rev" : "_Xcgb1yO--F", + "_rev" : "_XiAwUDy--F", "value" : 3 }, { "_key" : "test4", "_id" : "example/test4", - "_rev" : "_Xcgb1yO--H", + "_rev" : "_XiAwUD2--_", "value" : 4 }, { "_key" : "test5", "_id" : "example/test5", - "_rev" : "_Xcgb1yO--J", + "_rev" : "_XiAwUD2--B", "value" : 5 }, { "_key" : "test6", "_id" : "example/test6", - "_rev" : "_Xcgb1yO--L", + "_rev" : "_XiAwUD2--D", "value" : 6 }, { "_key" : "test7", "_id" : "example/test7", - "_rev" : "_Xcgb1yO--N", + "_rev" : "_XiAwUD2--F", "value" : 7 }, { "_key" : "test8", "_id" : "example/test8", - "_rev" : "_Xcgb1yS--_", + "_rev" : "_XiAwUD2--H", "value" : 8 }, { "_key" : "test9", "_id" : "example/test9", - "_rev" : "_Xcgb1yS--B", + "_rev" : "_XiAwUD2--J", "value" : 9 } ] diff --git a/Documentation/Examples/collectionRename.generated b/Documentation/Examples/collectionRename.generated index 10c119aa75..b5eecf19bd 100644 --- a/Documentation/Examples/collectionRename.generated +++ b/Documentation/Examples/collectionRename.generated @@ -1,5 +1,5 @@ arangosh> c = db.example; -[ArangoCollection 15669, "example" (type document, status loaded)] +[ArangoCollection 15668, "example" (type document, status loaded)] arangosh> c.rename("better-example"); arangosh> c; -[ArangoCollection 15669, "better-example" (type document, status loaded)] +[ArangoCollection 15668, "better-example" (type document, status loaded)] diff --git a/Documentation/Examples/collectionTruncate.generated b/Documentation/Examples/collectionTruncate.generated index 9409a80b7b..b7865f343c 100644 --- a/Documentation/Examples/collectionTruncate.generated +++ b/Documentation/Examples/collectionTruncate.generated @@ -4,7 +4,7 @@ arangosh> col.save({ "Hello" : "_id" : "example/15679", "_key" : "15679", - "_rev" : "_Xcgb17y--_" + "_rev" : "_XiAwUL---_" } arangosh> col.count(); 1 diff --git a/Documentation/Examples/cursorHasNext.generated b/Documentation/Examples/cursorHasNext.generated index 458c16381e..72b4b4c419 100644 --- a/Documentation/Examples/cursorHasNext.generated +++ b/Documentation/Examples/cursorHasNext.generated @@ -3,30 +3,30 @@ arangosh> while (a.hasNext()) print(a.next( { "_key" : "15767", "_id" : "five/15767", - "_rev" : "_Xcgb2Cu--_", + "_rev" : "_XiAwURK--B", "name" : "two" } { "_key" : "15773", "_id" : "five/15773", - "_rev" : "_Xcgb2Cu--D", + "_rev" : "_XiAwURK--F", "name" : "four" } { "_key" : "15776", "_id" : "five/15776", - "_rev" : "_Xcgb2Cu--F", + "_rev" : "_XiAwURO--_", "name" : "five" } { "_key" : "15770", "_id" : "five/15770", - "_rev" : "_Xcgb2Cu--B", + "_rev" : "_XiAwURK--D", "name" : "three" } { "_key" : "15763", "_id" : "five/15763", - "_rev" : "_Xcgb2Cq--_", + "_rev" : "_XiAwURK--_", "name" : "one" } diff --git a/Documentation/Examples/cursorNext.generated b/Documentation/Examples/cursorNext.generated index 84c0f25d2d..7cbaa0ac60 100644 --- a/Documentation/Examples/cursorNext.generated +++ b/Documentation/Examples/cursorNext.generated @@ -2,6 +2,6 @@ arangosh> db.five.all().next(); { "_key" : "15784", "_id" : "five/15784", - "_rev" : "_Xcgb2Ee--_", + "_rev" : "_XiAwUSe--_", "name" : "one" } diff --git a/Documentation/Examples/dbPath.generated b/Documentation/Examples/dbPath.generated index bd5f6349cd..d4ae3232de 100644 --- a/Documentation/Examples/dbPath.generated +++ b/Documentation/Examples/dbPath.generated @@ -1,2 +1,2 @@ arangosh> require("@arangodb").db._path(); -/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/databases/database-1 +/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/databases/database-1 diff --git a/Documentation/Examples/dbVersion.generated b/Documentation/Examples/dbVersion.generated index f8e69a224a..d8a16bcf7e 100644 --- a/Documentation/Examples/dbVersion.generated +++ b/Documentation/Examples/dbVersion.generated @@ -1,2 +1,2 @@ arangosh> require("@arangodb").db._version(); -3.3.16 +3.3.17 diff --git a/Documentation/Examples/documentDocumentRemove.generated b/Documentation/Examples/documentDocumentRemove.generated index 6405915880..60d68ca131 100644 --- a/Documentation/Examples/documentDocumentRemove.generated +++ b/Documentation/Examples/documentDocumentRemove.generated @@ -2,20 +2,20 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15805", "_key" : "15805", - "_rev" : "_Xcgb2Fq--_" + "_rev" : "_XiAwUUy--_" } arangosh> db.example.document(a1); { "_key" : "15805", "_id" : "example/15805", - "_rev" : "_Xcgb2Fq--_", + "_rev" : "_XiAwUUy--_", "a" : 1 } arangosh> db.example.remove(a1); { "_id" : "example/15805", "_key" : "15805", - "_rev" : "_Xcgb2Fq--_" + "_rev" : "_XiAwUUy--_" } arangosh> db.example.document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentDocumentRemoveConflict.generated b/Documentation/Examples/documentDocumentRemoveConflict.generated index 8f96f59849..4e5b3cb7c4 100644 --- a/Documentation/Examples/documentDocumentRemoveConflict.generated +++ b/Documentation/Examples/documentDocumentRemoveConflict.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15817", "_key" : "15817", - "_rev" : "_Xcgb2G2--_" + "_rev" : "_XiAwUWG--_" } arangosh> a2 = db.example.replace(a1, { a : 2 }); { "_id" : "example/15817", "_key" : "15817", - "_rev" : "_Xcgb2G2--B", - "_oldRev" : "_Xcgb2G2--_" + "_rev" : "_XiAwUWG--B", + "_oldRev" : "_XiAwUWG--_" } arangosh> db.example.remove(a1); [ArangoError 1200: precondition failed] @@ -17,7 +17,7 @@ arangosh> db.example.remove(a1, true); { "_id" : "example/15817", "_key" : "15817", - "_rev" : "_Xcgb2G2--B" + "_rev" : "_XiAwUWG--B" } arangosh> db.example.document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentDocumentRemoveSimple.generated b/Documentation/Examples/documentDocumentRemoveSimple.generated index a68694fcbb..fae86333f2 100644 --- a/Documentation/Examples/documentDocumentRemoveSimple.generated +++ b/Documentation/Examples/documentDocumentRemoveSimple.generated @@ -2,20 +2,20 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15831", "_key" : "15831", - "_rev" : "_Xcgb2IC--_" + "_rev" : "_XiAwUXS--_" } arangosh> db.example.document(a1); { "_key" : "15831", "_id" : "example/15831", - "_rev" : "_Xcgb2IC--_", + "_rev" : "_XiAwUXS--_", "a" : 1 } arangosh> db.example.remove(a1); { "_id" : "example/15831", "_key" : "15831", - "_rev" : "_Xcgb2IC--_" + "_rev" : "_XiAwUXS--_" } arangosh> db.example.document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentDocumentUpdate.generated b/Documentation/Examples/documentDocumentUpdate.generated index c546d622ba..bc1673d196 100644 --- a/Documentation/Examples/documentDocumentUpdate.generated +++ b/Documentation/Examples/documentDocumentUpdate.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15843", "_key" : "15843", - "_rev" : "_Xcgb2J2--_" + "_rev" : "_XiAwUYe--_" } arangosh> a2 = db._update(a1, { b : 2 }); { "_id" : "example/15843", "_key" : "15843", - "_rev" : "_Xcgb2J6--_", - "_oldRev" : "_Xcgb2J2--_" + "_rev" : "_XiAwUYi--_", + "_oldRev" : "_XiAwUYe--_" } arangosh> a3 = db._update(a1, { c : 3 }); [ArangoError 1200: precondition failed] diff --git a/Documentation/Examples/documentsCollectionInsert.generated b/Documentation/Examples/documentsCollectionInsert.generated index 896b03adc4..05a0d56967 100644 --- a/Documentation/Examples/documentsCollectionInsert.generated +++ b/Documentation/Examples/documentsCollectionInsert.generated @@ -2,11 +2,11 @@ arangosh> db.example.insert({ Hello : "_id" : "example/15854", "_key" : "15854", - "_rev" : "_Xcgb2K2--_" + "_rev" : "_XiAwUZS--_" } arangosh> db.example.insert({ Hello : "World" }, true); { "_id" : "example/15858", "_key" : "15858", - "_rev" : "_Xcgb2K6--_" + "_rev" : "_XiAwUZW--_" } diff --git a/Documentation/Examples/documentsCollectionInsertMulti.generated b/Documentation/Examples/documentsCollectionInsertMulti.generated index f94105888c..e325b52c03 100644 --- a/Documentation/Examples/documentsCollectionInsertMulti.generated +++ b/Documentation/Examples/documentsCollectionInsertMulti.generated @@ -3,12 +3,12 @@ arangosh> db.example.insert([{ Hello : "_id" : "example/15865", "_key" : "15865", - "_rev" : "_Xcgb2M---_" + "_rev" : "_XiAwUaW--_" }, { "_id" : "example/15869", "_key" : "15869", - "_rev" : "_Xcgb2M---B" + "_rev" : "_XiAwUaW--B" } ] arangosh> db.example.insert([{ Hello : "World" }, {}], {waitForSync: true}); @@ -16,11 +16,11 @@ arangosh> db.example.insert([{ Hello : "_id" : "example/15873", "_key" : "15873", - "_rev" : "_Xcgb2MC--_" + "_rev" : "_XiAwUaW--D" }, { "_id" : "example/15877", "_key" : "15877", - "_rev" : "_Xcgb2MC--B" + "_rev" : "_XiAwUaW--F" } ] diff --git a/Documentation/Examples/documentsCollectionInsertSingle.generated b/Documentation/Examples/documentsCollectionInsertSingle.generated index 105547ed2f..b3c424c6e0 100644 --- a/Documentation/Examples/documentsCollectionInsertSingle.generated +++ b/Documentation/Examples/documentsCollectionInsertSingle.generated @@ -2,11 +2,11 @@ arangosh> db.example.insert({ Hello : "_id" : "example/15885", "_key" : "15885", - "_rev" : "_Xcgb2OS--_" + "_rev" : "_XiAwUb6--_" } arangosh> db.example.insert({ Hello : "World" }, {waitForSync: true}); { "_id" : "example/15889", "_key" : "15889", - "_rev" : "_Xcgb2OS--B" + "_rev" : "_XiAwUc---_" } diff --git a/Documentation/Examples/documentsCollectionName.generated b/Documentation/Examples/documentsCollectionName.generated index 42559ec838..4c0a660159 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" : "_Xcgb2Pi--_" + "_rev" : "_XiAwUdC--_" } diff --git a/Documentation/Examples/documentsCollectionNameValidByKey.generated b/Documentation/Examples/documentsCollectionNameValidByKey.generated index f9627b0a5d..6baaff4e23 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" : "_Xcgb2TS--_" + "_rev" : "_XiAwUgO--_" } diff --git a/Documentation/Examples/documentsCollectionNameValidByObject.generated b/Documentation/Examples/documentsCollectionNameValidByObject.generated index 507e8bffb4..fc4971c226 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" : "_Xcgb2UG--_" + "_rev" : "_XiAwUhO--_" } diff --git a/Documentation/Examples/documentsCollectionNameValidMulti.generated b/Documentation/Examples/documentsCollectionNameValidMulti.generated index a567b2be35..28dc132ce8 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" : "_Xcgb2VG--_" + "_rev" : "_XiAwUiO--_" }, { "_key" : "2873917", "_id" : "example/2873917", - "_rev" : "_Xcgb2VG--B" + "_rev" : "_XiAwUiO--B" } ] diff --git a/Documentation/Examples/documentsCollectionNameValidPlain.generated b/Documentation/Examples/documentsCollectionNameValidPlain.generated index 1dd0141009..5740bf8b02 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" : "_Xcgb2WO--_" + "_rev" : "_XiAwUjS--_" } diff --git a/Documentation/Examples/documentsCollectionRemoveConflict.generated b/Documentation/Examples/documentsCollectionRemoveConflict.generated index 18610e475f..26b2af8f65 100644 --- a/Documentation/Examples/documentsCollectionRemoveConflict.generated +++ b/Documentation/Examples/documentsCollectionRemoveConflict.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15950", "_key" : "15950", - "_rev" : "_Xcgb2XS--_" + "_rev" : "_XiAwUkW--_" } arangosh> a2 = db._replace(a1, { a : 2 }); { "_id" : "example/15950", "_key" : "15950", - "_rev" : "_Xcgb2XW--_", - "_oldRev" : "_Xcgb2XS--_" + "_rev" : "_XiAwUkW--B", + "_oldRev" : "_XiAwUkW--_" } arangosh> db._remove(a1); [ArangoError 1200: precondition failed] @@ -17,7 +17,7 @@ arangosh> db._remove(a1, {overwrite: "_id" : "example/15950", "_key" : "15950", - "_rev" : "_Xcgb2XW--_" + "_rev" : "_XiAwUkW--B" } arangosh> db._document(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentsCollectionRemoveSignature.generated b/Documentation/Examples/documentsCollectionRemoveSignature.generated index 8cf895076d..cc03dcc782 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" : "_Xcgb2Yi--_" + "_rev" : "_XiAwUla--_" } arangosh> db.example.remove("example/11265325374", ........> { overwrite: true, waitForSync: false}) { "_id" : "example/11265325374", "_key" : "11265325374", - "_rev" : "_Xcgb2Yi--_" + "_rev" : "_XiAwUla--_" } diff --git a/Documentation/Examples/documentsCollectionRemoveSuccess.generated b/Documentation/Examples/documentsCollectionRemoveSuccess.generated index a338ee3ad2..1a9155878f 100644 --- a/Documentation/Examples/documentsCollectionRemoveSuccess.generated +++ b/Documentation/Examples/documentsCollectionRemoveSuccess.generated @@ -2,13 +2,13 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15973", "_key" : "15973", - "_rev" : "_Xcgb2aG--_" + "_rev" : "_XiAwUma--_" } arangosh> db._remove(a1); { "_id" : "example/15973", "_key" : "15973", - "_rev" : "_Xcgb2aG--_" + "_rev" : "_XiAwUma--_" } arangosh> db._remove(a1); [ArangoError 1202: document not found] diff --git a/Documentation/Examples/documentsCollectionReplace.generated b/Documentation/Examples/documentsCollectionReplace.generated index cd7a206ae1..0520699279 100644 --- a/Documentation/Examples/documentsCollectionReplace.generated +++ b/Documentation/Examples/documentsCollectionReplace.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15985", "_key" : "15985", - "_rev" : "_Xcgb2bC--_" + "_rev" : "_XiAwUne--_" } arangosh> a2 = db.example.replace(a1, { a : 2 }); { "_id" : "example/15985", "_key" : "15985", - "_rev" : "_Xcgb2bC--B", - "_oldRev" : "_Xcgb2bC--_" + "_rev" : "_XiAwUne--B", + "_oldRev" : "_XiAwUne--_" } 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 5737250922..55fa4850e0 100644 --- a/Documentation/Examples/documentsCollectionReplace1.generated +++ b/Documentation/Examples/documentsCollectionReplace1.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/15996", "_key" : "15996", - "_rev" : "_Xcgb2cS--_" + "_rev" : "_XiAwUoi--_" } arangosh> a2 = db.example.replace(a1, { a : 2 }); { "_id" : "example/15996", "_key" : "15996", - "_rev" : "_Xcgb2cW--_", - "_oldRev" : "_Xcgb2cS--_" + "_rev" : "_XiAwUoi--B", + "_oldRev" : "_XiAwUoi--_" } 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 30a6231305..79dc8ef39d 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" : "_Xcgb2d6--B" + "_rev" : "_XiAwUpm--_" } arangosh> a2 = db.example.replace("example/3903044", { a : 2 }); { "_id" : "example/3903044", "_key" : "3903044", - "_rev" : "_Xcgb2d6--D", - "_oldRev" : "_Xcgb2d6--_" + "_rev" : "_XiAwUpm--B", + "_oldRev" : "_XiAwUpi--_" } diff --git a/Documentation/Examples/documentsCollectionUpdate.generated b/Documentation/Examples/documentsCollectionUpdate.generated index 1180ee8014..e0217a436d 100644 --- a/Documentation/Examples/documentsCollectionUpdate.generated +++ b/Documentation/Examples/documentsCollectionUpdate.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({"a" : "_id" : "example/16019", "_key" : "16019", - "_rev" : "_Xcgb2fC--_" + "_rev" : "_XiAwUqm--_" } arangosh> a2 = db.example.update(a1, {"b" : 2, "c" : 3}); { "_id" : "example/16019", "_key" : "16019", - "_rev" : "_Xcgb2fG--_", - "_oldRev" : "_Xcgb2fC--_" + "_rev" : "_XiAwUqq--_", + "_oldRev" : "_XiAwUqm--_" } arangosh> a3 = db.example.update(a1, {"d" : 4}); [ArangoError 1200: precondition failed] @@ -17,14 +17,14 @@ arangosh> a4 = db.example.update(a2, {"e" : { "_id" : "example/16019", "_key" : "16019", - "_rev" : "_Xcgb2fK--_", - "_oldRev" : "_Xcgb2fG--_" + "_rev" : "_XiAwUqq--C", + "_oldRev" : "_XiAwUqq--_" } arangosh> db.example.document(a4); { "_key" : "16019", "_id" : "example/16019", - "_rev" : "_Xcgb2fK--_", + "_rev" : "_XiAwUqq--C", "a" : 1, "c" : 3, "b" : 2, @@ -35,14 +35,14 @@ arangosh> a5 = db.example.update(a4, {"a" : { "_id" : "example/16019", "_key" : "16019", - "_rev" : "_Xcgb2fK--B", - "_oldRev" : "_Xcgb2fK--_" + "_rev" : "_XiAwUqu--_", + "_oldRev" : "_XiAwUqq--C" } arangosh> db.example.document(a5); { "_key" : "16019", "_id" : "example/16019", - "_rev" : "_Xcgb2fK--B", + "_rev" : "_XiAwUqu--_", "a" : 1, "c" : 9, "b" : 2, diff --git a/Documentation/Examples/documentsCollectionUpdateHandle.generated b/Documentation/Examples/documentsCollectionUpdateHandle.generated index aeb134fe89..ec651d55da 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" : "_Xcgb2gW--_" + "_rev" : "_XiAwUrq--B" } arangosh> a2 = db.example.update("example/18612115", { "x" : 1, "y" : 2 }); { "_id" : "example/18612115", "_key" : "18612115", - "_rev" : "_Xcgb2gW--B", - "_oldRev" : "_Xcgb2gS--_" + "_rev" : "_XiAwUrq--D", + "_oldRev" : "_XiAwUrq--_" } diff --git a/Documentation/Examples/documentsCollectionUpdateHandleArray.generated b/Documentation/Examples/documentsCollectionUpdateHandleArray.generated index 219a6a6808..9d7c07a38f 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" : "_Xcgb2he--B" + "_rev" : "_XiAwUsu--B" } arangosh> db.example.update("example/20774803", {"a" : { "four" : 4 }, ........> "b" : { "b1" : 1 }}); { "_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_Xcgb2he--D", - "_oldRev" : "_Xcgb2he--_" + "_rev" : "_XiAwUsy--_", + "_oldRev" : "_XiAwUsu--_" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_Xcgb2he--D", + "_rev" : "_XiAwUsy--_", "b" : { "b1" : 1 }, @@ -31,14 +31,14 @@ arangosh> db.example.update("example/20774803""_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_Xcgb2hi--_", - "_oldRev" : "_Xcgb2he--D" + "_rev" : "_XiAwUsy--B", + "_oldRev" : "_XiAwUsy--_" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_Xcgb2hi--_", + "_rev" : "_XiAwUsy--B", "a" : { "four" : 4 } diff --git a/Documentation/Examples/documentsCollectionUpdateHandleKeepNull.generated b/Documentation/Examples/documentsCollectionUpdateHandleKeepNull.generated index f75f8c47f0..8a1dcb8101 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" : "_Xcgb2iu--_" + "_rev" : "_XiAwUty--B" } arangosh> db.example.update("example/19988371", ........> { "b" : null, "c" : null, "d" : 3 }); { "_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_Xcgb2iu--B", - "_oldRev" : "_Xcgb2iq--_" + "_rev" : "_XiAwUt2--_", + "_oldRev" : "_XiAwUty--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_Xcgb2iu--B", + "_rev" : "_XiAwUt2--_", "d" : 3, "b" : null, "c" : null @@ -25,14 +25,14 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_Xcgb2iu--D", - "_oldRev" : "_Xcgb2iu--B" + "_rev" : "_XiAwUt2--B", + "_oldRev" : "_XiAwUt2--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_Xcgb2iu--D", + "_rev" : "_XiAwUt2--B", "d" : 3, "b" : null, "c" : null @@ -42,12 +42,12 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_Xcgb2iy--_", - "_oldRev" : "_Xcgb2iu--D" + "_rev" : "_XiAwUt6--_", + "_oldRev" : "_XiAwUt2--B" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_Xcgb2iy--_" + "_rev" : "_XiAwUt6--_" } diff --git a/Documentation/Examples/documentsCollection_UpdateDocument.generated b/Documentation/Examples/documentsCollection_UpdateDocument.generated index 9cccc93913..aa936a211e 100644 --- a/Documentation/Examples/documentsCollection_UpdateDocument.generated +++ b/Documentation/Examples/documentsCollection_UpdateDocument.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({"a" : "_id" : "example/16083", "_key" : "16083", - "_rev" : "_Xcgb2j6--_" + "_rev" : "_XiAwUuy--_" } arangosh> a2 = db.example.update(a1, {"b" : 2, "c" : 3}); { "_id" : "example/16083", "_key" : "16083", - "_rev" : "_Xcgb2j6--B", - "_oldRev" : "_Xcgb2j6--_" + "_rev" : "_XiAwUuy--B", + "_oldRev" : "_XiAwUuy--_" } arangosh> a3 = db.example.update(a1, {"d" : 4}); [ArangoError 1200: precondition failed] @@ -17,14 +17,14 @@ arangosh> a4 = db.example.update(a2, {"e" : { "_id" : "example/16083", "_key" : "16083", - "_rev" : "_Xcgb2k---_", - "_oldRev" : "_Xcgb2j6--B" + "_rev" : "_XiAwUu2--A", + "_oldRev" : "_XiAwUuy--B" } arangosh> db.example.document(a4); { "_key" : "16083", "_id" : "example/16083", - "_rev" : "_Xcgb2k---_", + "_rev" : "_XiAwUu2--A", "a" : 1, "c" : 3, "b" : 2, @@ -35,14 +35,14 @@ arangosh> a5 = db.example.update(a4, {"a" : { "_id" : "example/16083", "_key" : "16083", - "_rev" : "_Xcgb2k---B", - "_oldRev" : "_Xcgb2k---_" + "_rev" : "_XiAwUu6--_", + "_oldRev" : "_XiAwUu2--A" } arangosh> db.example.document(a5); { "_key" : "16083", "_id" : "example/16083", - "_rev" : "_Xcgb2k---B", + "_rev" : "_XiAwUu6--_", "a" : 1, "c" : 9, "b" : 2, diff --git a/Documentation/Examples/documentsCollection_UpdateHandleArray.generated b/Documentation/Examples/documentsCollection_UpdateHandleArray.generated index c527e1f4db..199c98be67 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" : "_Xcgb2lK--_" + "_rev" : "_XiAwUv2--B" } arangosh> db.example.update("example/20774803", {"a" : { "four" : 4 }, ........> "b" : { "b1" : 1 }}); { "_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_Xcgb2lK--B", - "_oldRev" : "_Xcgb2lG--_" + "_rev" : "_XiAwUv2--D", + "_oldRev" : "_XiAwUv2--_" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_Xcgb2lK--B", + "_rev" : "_XiAwUv2--D", "b" : { "b1" : 1 }, @@ -31,14 +31,14 @@ arangosh> db.example.update("example/20774803""_id" : "example/20774803", "_key" : "20774803", - "_rev" : "_Xcgb2lK--D", - "_oldRev" : "_Xcgb2lK--B" + "_rev" : "_XiAwUv6--_", + "_oldRev" : "_XiAwUv2--D" } arangosh> db.example.document("example/20774803"); { "_key" : "20774803", "_id" : "example/20774803", - "_rev" : "_Xcgb2lK--D", + "_rev" : "_XiAwUv6--_", "a" : { "four" : 4 } diff --git a/Documentation/Examples/documentsCollection_UpdateHandleKeepNull.generated b/Documentation/Examples/documentsCollection_UpdateHandleKeepNull.generated index a8b644b430..2b71df3314 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" : "_Xcgb2mS--B" + "_rev" : "_XiAwUw2--B" } arangosh> db.example.update("example/19988371", ........> { "b" : null, "c" : null, "d" : 3 }); { "_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_Xcgb2mW--_", - "_oldRev" : "_Xcgb2mS--_" + "_rev" : "_XiAwUw6--_", + "_oldRev" : "_XiAwUw2--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_Xcgb2mW--_", + "_rev" : "_XiAwUw6--_", "d" : 3, "b" : null, "c" : null @@ -25,14 +25,14 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_Xcgb2mW--B", - "_oldRev" : "_Xcgb2mW--_" + "_rev" : "_XiAwUw6--B", + "_oldRev" : "_XiAwUw6--_" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_Xcgb2mW--B", + "_rev" : "_XiAwUw6--B", "d" : 3, "b" : null, "c" : null @@ -42,12 +42,12 @@ arangosh> db.example.update("example/19988371""_id" : "example/19988371", "_key" : "19988371", - "_rev" : "_Xcgb2mW--D", - "_oldRev" : "_Xcgb2mW--B" + "_rev" : "_XiAwUx---_", + "_oldRev" : "_XiAwUw6--B" } arangosh> db.example.document("example/19988371"); { "_key" : "19988371", "_id" : "example/19988371", - "_rev" : "_Xcgb2mW--D" + "_rev" : "_XiAwUx---_" } diff --git a/Documentation/Examples/documentsCollection_UpdateHandleSingle.generated b/Documentation/Examples/documentsCollection_UpdateHandleSingle.generated index 3fa0761464..47f3bc54c9 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" : "_Xcgb2nS--B" + "_rev" : "_XiAwUx6--B" } arangosh> a2 = db.example.update("example/18612115", { "x" : 1, "y" : 2 }); { "_id" : "example/18612115", "_key" : "18612115", - "_rev" : "_Xcgb2nW--_", - "_oldRev" : "_Xcgb2nS--_" + "_rev" : "_XiAwUx6--D", + "_oldRev" : "_XiAwUx6--_" } diff --git a/Documentation/Examples/documentsDocumentName.generated b/Documentation/Examples/documentsDocumentName.generated index 3e5768ac9a..65e3aca502 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" : "_Xcgb2oW--_" + "_rev" : "_XiAwUz---_" } diff --git a/Documentation/Examples/documentsDocumentReplace.generated b/Documentation/Examples/documentsDocumentReplace.generated index eeba6aaa5b..38e0293d26 100644 --- a/Documentation/Examples/documentsDocumentReplace.generated +++ b/Documentation/Examples/documentsDocumentReplace.generated @@ -2,14 +2,14 @@ arangosh> a1 = db.example.insert({ a : "_id" : "example/16155", "_key" : "16155", - "_rev" : "_Xcgb2pa--_" + "_rev" : "_XiAwU0---_" } arangosh> a2 = db._replace(a1, { a : 2 }); { "_id" : "example/16155", "_key" : "16155", - "_rev" : "_Xcgb2pa--B", - "_oldRev" : "_Xcgb2pa--_" + "_rev" : "_XiAwU0---B", + "_oldRev" : "_XiAwU0---_" } arangosh> a3 = db._replace(a1, { a : 3 }); [ArangoError 1200: precondition failed] diff --git a/Documentation/Examples/ensureFulltextIndex.generated b/Documentation/Examples/ensureFulltextIndex.generated index 1d38d33554..911e628926 100644 --- a/Documentation/Examples/ensureFulltextIndex.generated +++ b/Documentation/Examples/ensureFulltextIndex.generated @@ -15,50 +15,50 @@ arangosh> db.example.save({ text : "_id" : "example/16181", "_key" : "16181", - "_rev" : "_Xcgb2vS--_" + "_rev" : "_XiAwU4q--_" } arangosh> db.example.save({ text : "quick brown fox", b : { c : 2 } }); { "_id" : "example/16185", "_key" : "16185", - "_rev" : "_Xcgb2vS--B" + "_rev" : "_XiAwU4q--B" } arangosh> db.example.save({ text : "brown fox jums", b : { c : 3 } }); { "_id" : "example/16188", "_key" : "16188", - "_rev" : "_Xcgb2vW--_" + "_rev" : "_XiAwU4q--D" } arangosh> db.example.save({ text : "fox jumps over", b : { c : 4 } }); { "_id" : "example/16191", "_key" : "16191", - "_rev" : "_Xcgb2vW--B" + "_rev" : "_XiAwU4u--_" } arangosh> db.example.save({ text : "jumps over the", b : { c : 5 } }); { "_id" : "example/16194", "_key" : "16194", - "_rev" : "_Xcgb2vW--D" + "_rev" : "_XiAwU4u--B" } arangosh> db.example.save({ text : "over the lazy", b : { c : 6 } }); { "_id" : "example/16197", "_key" : "16197", - "_rev" : "_Xcgb2va--_" + "_rev" : "_XiAwU4u--D" } arangosh> db.example.save({ text : "the lazy dog", b : { c : 7 } }); { "_id" : "example/16200", "_key" : "16200", - "_rev" : "_Xcgb2va--B" + "_rev" : "_XiAwU4u--F" } arangosh> db._query("FOR document IN FULLTEXT(example, 'text', 'the') RETURN document"); [ { "_key" : "16181", "_id" : "example/16181", - "_rev" : "_Xcgb2vS--_", + "_rev" : "_XiAwU4q--_", "text" : "the quick brown", "b" : { "c" : 1 @@ -67,7 +67,7 @@ arangosh> db._query("FOR document IN FULLTEXT(examp { "_key" : "16194", "_id" : "example/16194", - "_rev" : "_Xcgb2vW--D", + "_rev" : "_XiAwU4u--B", "text" : "jumps over the", "b" : { "c" : 5 @@ -76,7 +76,7 @@ arangosh> db._query("FOR document IN FULLTEXT(examp { "_key" : "16197", "_id" : "example/16197", - "_rev" : "_Xcgb2va--_", + "_rev" : "_XiAwU4u--D", "text" : "over the lazy", "b" : { "c" : 6 @@ -85,7 +85,7 @@ arangosh> db._query("FOR document IN FULLTEXT(examp { "_key" : "16200", "_id" : "example/16200", - "_rev" : "_Xcgb2va--B", + "_rev" : "_XiAwU4u--F", "text" : "the lazy dog", "b" : { "c" : 7 diff --git a/Documentation/Examples/ensureHashIndex.generated b/Documentation/Examples/ensureHashIndex.generated index f9d1d18be8..ce528fc9a7 100644 --- a/Documentation/Examples/ensureHashIndex.generated +++ b/Documentation/Examples/ensureHashIndex.generated @@ -16,17 +16,17 @@ arangosh> db.test.save({ a : "_id" : "test/16211", "_key" : "16211", - "_rev" : "_Xcgb2yC--_" + "_rev" : "_XiAwU6u--_" } arangosh> db.test.save({ a : 1 }); { "_id" : "test/16215", "_key" : "16215", - "_rev" : "_Xcgb2yG--_" + "_rev" : "_XiAwU6u--B" } arangosh> db.test.save({ a : null }); { "_id" : "test/16218", "_key" : "16218", - "_rev" : "_Xcgb2yG--B" + "_rev" : "_XiAwU6y--_" } diff --git a/Documentation/Examples/ensureHashIndexArray.generated b/Documentation/Examples/ensureHashIndexArray.generated index bd685723e7..b58e719e31 100644 --- a/Documentation/Examples/ensureHashIndexArray.generated +++ b/Documentation/Examples/ensureHashIndexArray.generated @@ -16,17 +16,17 @@ arangosh> db.test.save({ a : [ "_id" : "test/16228", "_key" : "16228", - "_rev" : "_Xcgb20S--_" + "_rev" : "_XiAwU8y--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { "_id" : "test/16232", "_key" : "16232", - "_rev" : "_Xcgb20W--_" + "_rev" : "_XiAwU82--_" } arangosh> db.test.save({ a : null }); { "_id" : "test/16235", "_key" : "16235", - "_rev" : "_Xcgb20W--B" + "_rev" : "_XiAwU82--B" } diff --git a/Documentation/Examples/ensurePersistent.generated b/Documentation/Examples/ensurePersistent.generated index 73916e4e42..8ae5b49dca 100644 --- a/Documentation/Examples/ensurePersistent.generated +++ b/Documentation/Examples/ensurePersistent.generated @@ -15,29 +15,29 @@ arangosh> db.names.save({ "first" : "_id" : "names/16245", "_key" : "16245", - "_rev" : "_Xcgb22y--_" + "_rev" : "_XiAwV-6--_" } arangosh> db.names.save({ "first" : "Tom" }); { "_id" : "names/16249", "_key" : "16249", - "_rev" : "_Xcgb22y--B" + "_rev" : "_XiAwV-6--B" } arangosh> db.names.save({ "first" : "John" }); { "_id" : "names/16252", "_key" : "16252", - "_rev" : "_Xcgb22y--D" + "_rev" : "_XiAwV_---_" } arangosh> db.names.save({ "first" : "Tim" }); { "_id" : "names/16255", "_key" : "16255", - "_rev" : "_Xcgb222--_" + "_rev" : "_XiAwV_---B" } arangosh> db.names.save({ "first" : "Tom" }); { "_id" : "names/16258", "_key" : "16258", - "_rev" : "_Xcgb222--B" + "_rev" : "_XiAwV_---D" } diff --git a/Documentation/Examples/ensureSkiplist.generated b/Documentation/Examples/ensureSkiplist.generated index bf179fc7d3..396c8d9add 100644 --- a/Documentation/Examples/ensureSkiplist.generated +++ b/Documentation/Examples/ensureSkiplist.generated @@ -15,29 +15,29 @@ arangosh> db.names.save({ "first" : "_id" : "names/16268", "_key" : "16268", - "_rev" : "_Xcgb25a--_" + "_rev" : "_XiAwVB---_" } arangosh> db.names.save({ "first" : "Tom" }); { "_id" : "names/16272", "_key" : "16272", - "_rev" : "_Xcgb25a--B" + "_rev" : "_XiAwVB---B" } arangosh> db.names.save({ "first" : "John" }); { "_id" : "names/16275", "_key" : "16275", - "_rev" : "_Xcgb25e--_" + "_rev" : "_XiAwVBC--_" } arangosh> db.names.save({ "first" : "Tim" }); { "_id" : "names/16278", "_key" : "16278", - "_rev" : "_Xcgb25e--B" + "_rev" : "_XiAwVBC--B" } arangosh> db.names.save({ "first" : "Tom" }); { "_id" : "names/16281", "_key" : "16281", - "_rev" : "_Xcgb25e--D" + "_rev" : "_XiAwVBC--D" } diff --git a/Documentation/Examples/ensureSkiplistArray.generated b/Documentation/Examples/ensureSkiplistArray.generated index 69fb561dcd..35f1b4c92e 100644 --- a/Documentation/Examples/ensureSkiplistArray.generated +++ b/Documentation/Examples/ensureSkiplistArray.generated @@ -4,7 +4,7 @@ arangosh> db.test.ensureIndex({ type: "fields" : [ "a[*]" ], - "id" : "test/16289", + "id" : "test/16288", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,19 +13,19 @@ arangosh> db.test.ensureIndex({ type: a : [ 1, 2 ] }); { - "_id" : "test/16292", - "_key" : "16292", - "_rev" : "_Xcgb272--_" + "_id" : "test/16291", + "_key" : "16291", + "_rev" : "_XiAwVDG--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { - "_id" : "test/16296", - "_key" : "16296", - "_rev" : "_Xcgb272--B" + "_id" : "test/16295", + "_key" : "16295", + "_rev" : "_XiAwVDG--B" } arangosh> db.test.save({ a : null }); { - "_id" : "test/16299", - "_key" : "16299", - "_rev" : "_Xcgb272--D" + "_id" : "test/16298", + "_key" : "16298", + "_rev" : "_XiAwVDG--D" } diff --git a/Documentation/Examples/ensureUniqueConstraint.generated b/Documentation/Examples/ensureUniqueConstraint.generated index 49751d3dee..45526be0b8 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/16306", + "id" : "test/16305", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, @@ -15,17 +15,17 @@ arangosh> db.test.ensureIndex({ type: a : 1, b : { c : 1 } }); { - "_id" : "test/16309", - "_key" : "16309", - "_rev" : "_Xcgb292--_" + "_id" : "test/16308", + "_key" : "16308", + "_rev" : "_XiAwVFK--_" } arangosh> db.test.save({ a : 1, b : { c : 1 } }); -[ArangoError 1210: unique constraint violated - in index 16306 of type hash over ["a","b.c"]; conflicting key: 16309] +[ArangoError 1210: unique constraint violated - in index 16305 of type hash over ["a","b.c"]; conflicting key: 16308] arangosh> db.test.save({ a : 1, b : { c : null } }); { - "_id" : "test/16315", - "_key" : "16315", - "_rev" : "_Xcgb296--_" + "_id" : "test/16314", + "_key" : "16314", + "_rev" : "_XiAwVFO--B" } arangosh> db.test.save({ a : 1 }); -[ArangoError 1210: unique constraint violated - in index 16306 of type hash over ["a","b.c"]; conflicting key: 16315] +[ArangoError 1210: unique constraint violated - in index 16305 of type hash over ["a","b.c"]; conflicting key: 16314] diff --git a/Documentation/Examples/ensureUniquePersistentMultiColmun.generated b/Documentation/Examples/ensureUniquePersistentMultiColmun.generated index 7ce34777c4..d750151e97 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/16324", + "id" : "ids/16323", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", @@ -14,21 +14,21 @@ arangosh> db.ids.ensureIndex({ type: "name" : { "first" : "hans", "last": "hansen" }}); { - "_id" : "ids/16327", - "_key" : "16327", - "_rev" : "_Xcgb3_6--_" + "_id" : "ids/16326", + "_key" : "16326", + "_rev" : "_XiAwVHO--_" } arangosh> db.ids.save({ "name" : { "first" : "jens", "last": "jensen" }}); { - "_id" : "ids/16331", - "_key" : "16331", - "_rev" : "_Xcgb3A---_" + "_id" : "ids/16330", + "_key" : "16330", + "_rev" : "_XiAwVHS--_" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "jensen" }}); { - "_id" : "ids/16334", - "_key" : "16334", - "_rev" : "_Xcgb3A---B" + "_id" : "ids/16333", + "_key" : "16333", + "_rev" : "_XiAwVHS--B" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "hansen" }}); -[ArangoError 1210: unique constraint violated - in index 16324 of type persistent over ["name.first","name.last"]; conflicting key: 16327] +[ArangoError 1210: unique constraint violated - in index 16323 of type persistent over ["name.first","name.last"]; conflicting key: 16326] diff --git a/Documentation/Examples/ensureUniquePersistentSingle.generated b/Documentation/Examples/ensureUniquePersistentSingle.generated index 46f830cd16..fa5f062f5f 100644 --- a/Documentation/Examples/ensureUniquePersistentSingle.generated +++ b/Documentation/Examples/ensureUniquePersistentSingle.generated @@ -4,7 +4,7 @@ arangosh> db.ids.ensureIndex({ type: "fields" : [ "myId" ], - "id" : "ids/16343", + "id" : "ids/16342", "isNewlyCreated" : true, "sparse" : false, "type" : "persistent", @@ -13,21 +13,21 @@ arangosh> db.ids.ensureIndex({ type: "myId": 123 }); { - "_id" : "ids/16346", - "_key" : "16346", - "_rev" : "_Xcgb3Cy--_" + "_id" : "ids/16345", + "_key" : "16345", + "_rev" : "_XiAwVJW--_" } arangosh> db.ids.save({ "myId": 456 }); { - "_id" : "ids/16350", - "_key" : "16350", - "_rev" : "_Xcgb3Cy--B" + "_id" : "ids/16349", + "_key" : "16349", + "_rev" : "_XiAwVJW--B" } arangosh> db.ids.save({ "myId": 789 }); { - "_id" : "ids/16353", - "_key" : "16353", - "_rev" : "_Xcgb3Cy--D" + "_id" : "ids/16352", + "_key" : "16352", + "_rev" : "_XiAwVJa--_" } arangosh> db.ids.save({ "myId": 123 }); -[ArangoError 1210: unique constraint violated - in index 16343 of type persistent over ["myId"]; conflicting key: 16346] +[ArangoError 1210: unique constraint violated - in index 16342 of type persistent over ["myId"]; conflicting key: 16345] diff --git a/Documentation/Examples/ensureUniqueSkiplist.generated b/Documentation/Examples/ensureUniqueSkiplist.generated index 89dd949c51..3f2c498714 100644 --- a/Documentation/Examples/ensureUniqueSkiplist.generated +++ b/Documentation/Examples/ensureUniqueSkiplist.generated @@ -4,7 +4,7 @@ arangosh> db.ids.ensureIndex({ type: "fields" : [ "myId" ], - "id" : "ids/16362", + "id" : "ids/16361", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,21 +13,21 @@ arangosh> db.ids.ensureIndex({ type: "myId": 123 }); { - "_id" : "ids/16365", - "_key" : "16365", - "_rev" : "_Xcgb3FW--_" + "_id" : "ids/16364", + "_key" : "16364", + "_rev" : "_XiAwVLa--_" } arangosh> db.ids.save({ "myId": 456 }); { - "_id" : "ids/16369", - "_key" : "16369", - "_rev" : "_Xcgb3Fa--_" + "_id" : "ids/16368", + "_key" : "16368", + "_rev" : "_XiAwVLe--_" } arangosh> db.ids.save({ "myId": 789 }); { - "_id" : "ids/16372", - "_key" : "16372", - "_rev" : "_Xcgb3Fa--B" + "_id" : "ids/16371", + "_key" : "16371", + "_rev" : "_XiAwVLe--B" } arangosh> db.ids.save({ "myId": 123 }); -[ArangoError 1210: unique constraint violated - in index 16362 of type skiplist over ["myId"]; conflicting key: 16365] +[ArangoError 1210: unique constraint violated - in index 16361 of type skiplist over ["myId"]; conflicting key: 16364] diff --git a/Documentation/Examples/ensureUniqueSkiplistMultiColmun.generated b/Documentation/Examples/ensureUniqueSkiplistMultiColmun.generated index 82abb353cf..163e8293c0 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/16381", + "id" : "ids/16380", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -14,20 +14,20 @@ arangosh> db.ids.ensureIndex({ type: "name" : { "first" : "hans", "last": "hansen" }}); { - "_id" : "ids/16384", - "_key" : "16384", - "_rev" : "_Xcgb3IO--_" + "_id" : "ids/16383", + "_key" : "16383", + "_rev" : "_XiAwVNi--_" } arangosh> db.ids.save({ "name" : { "first" : "jens", "last": "jensen" }}); { - "_id" : "ids/16388", - "_key" : "16388", - "_rev" : "_Xcgb3IO--B" + "_id" : "ids/16387", + "_key" : "16387", + "_rev" : "_XiAwVNi--B" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "jensen" }}); { - "_id" : "ids/16391", - "_key" : "16391", - "_rev" : "_Xcgb3IS--_" + "_id" : "ids/16390", + "_key" : "16390", + "_rev" : "_XiAwVNi--D" } -[ArangoError 1210: unique constraint violated - in index 16381 of type skiplist over ["name.first","name.last"]; conflicting key: 16384] +[ArangoError 1210: unique constraint violated - in index 16380 of type skiplist over ["name.first","name.last"]; conflicting key: 16383] diff --git a/Documentation/Examples/ensureUniqueSkiplistMultiColumn.generated b/Documentation/Examples/ensureUniqueSkiplistMultiColumn.generated index 13e0708910..b6b277e7d8 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/16400", + "id" : "ids/16399", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -14,21 +14,21 @@ arangosh> db.ids.ensureIndex({ type: "name" : { "first" : "hans", "last": "hansen" }}); { - "_id" : "ids/16403", - "_key" : "16403", - "_rev" : "_Xcgb3L---_" + "_id" : "ids/16402", + "_key" : "16402", + "_rev" : "_XiAwVPm--_" } arangosh> db.ids.save({ "name" : { "first" : "jens", "last": "jensen" }}); { - "_id" : "ids/16407", - "_key" : "16407", - "_rev" : "_Xcgb3L---B" + "_id" : "ids/16406", + "_key" : "16406", + "_rev" : "_XiAwVPq--_" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "jensen" }}); { - "_id" : "ids/16410", - "_key" : "16410", - "_rev" : "_Xcgb3L---D" + "_id" : "ids/16409", + "_key" : "16409", + "_rev" : "_XiAwVPq--B" } arangosh> db.ids.save({ "name" : { "first" : "hans", "last": "hansen" }}); -[ArangoError 1210: unique constraint violated - in index 16400 of type skiplist over ["name.first","name.last"]; conflicting key: 16403] +[ArangoError 1210: unique constraint violated - in index 16399 of type skiplist over ["name.first","name.last"]; conflicting key: 16402] diff --git a/Documentation/Examples/ensureUniqueSkiplistSingle.generated b/Documentation/Examples/ensureUniqueSkiplistSingle.generated index 10a32ab49f..2690b0e002 100644 --- a/Documentation/Examples/ensureUniqueSkiplistSingle.generated +++ b/Documentation/Examples/ensureUniqueSkiplistSingle.generated @@ -4,7 +4,7 @@ arangosh> db.ids.ensureIndex({ type: "fields" : [ "myId" ], - "id" : "ids/16419", + "id" : "ids/16418", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", @@ -13,21 +13,21 @@ arangosh> db.ids.ensureIndex({ type: "myId": 123 }); { - "_id" : "ids/16423", - "_key" : "16423", - "_rev" : "_Xcgb3Nq--_" + "_id" : "ids/16421", + "_key" : "16421", + "_rev" : "_XiAwVRq--_" } arangosh> db.ids.save({ "myId": 456 }); { - "_id" : "ids/16427", - "_key" : "16427", - "_rev" : "_Xcgb3Nq--B" + "_id" : "ids/16425", + "_key" : "16425", + "_rev" : "_XiAwVRu--_" } arangosh> db.ids.save({ "myId": 789 }); { - "_id" : "ids/16430", - "_key" : "16430", - "_rev" : "_Xcgb3Nq--D" + "_id" : "ids/16428", + "_key" : "16428", + "_rev" : "_XiAwVRu--B" } arangosh> db.ids.save({ "myId": 123 }); -[ArangoError 1210: unique constraint violated - in index 16419 of type skiplist over ["myId"]; conflicting key: 16423] +[ArangoError 1210: unique constraint violated - in index 16418 of type skiplist over ["myId"]; conflicting key: 16421] diff --git a/Documentation/Examples/ensureVertexCentricHashIndex.generated b/Documentation/Examples/ensureVertexCentricHashIndex.generated index 97adbb4c58..59bd33ccad 100644 --- a/Documentation/Examples/ensureVertexCentricHashIndex.generated +++ b/Documentation/Examples/ensureVertexCentricHashIndex.generated @@ -5,7 +5,7 @@ arangosh> db.collection.ensureIndex({ type: "_from", "type" ], - "id" : "collection/16439", + "id" : "collection/16437", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, diff --git a/Documentation/Examples/executeQuery.generated b/Documentation/Examples/executeQuery.generated index ccd8a31abf..40d2b4adb0 100644 --- a/Documentation/Examples/executeQuery.generated +++ b/Documentation/Examples/executeQuery.generated @@ -1,21 +1,21 @@ arangosh> result = db.users.all().toArray(); [ { - "_key" : "16453", - "_id" : "users/16453", - "_rev" : "_Xcgb3RG--D", + "_key" : "16451", + "_id" : "users/16451", + "_rev" : "_XiAwVU6--D", "name" : "Angela" }, { - "_key" : "16446", - "_id" : "users/16446", - "_rev" : "_Xcgb3RG--_", + "_key" : "16444", + "_id" : "users/16444", + "_rev" : "_XiAwVU6--_", "name" : "Gerhard" }, { - "_key" : "16450", - "_id" : "users/16450", - "_rev" : "_Xcgb3RG--B", + "_key" : "16448", + "_id" : "users/16448", + "_rev" : "_XiAwVU6--B", "name" : "Helmut" } ] diff --git a/Documentation/Examples/executeQueryBatchSize.generated b/Documentation/Examples/executeQueryBatchSize.generated index a10dcefb44..08d3c1d85c 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" : "16469", - "_id" : "users/16469", - "_rev" : "_Xcgb3SG--B", + "_key" : "16467", + "_id" : "users/16467", + "_rev" : "_XiAwVV6--D", "name" : "Angela" } { - "_key" : "16462", - "_id" : "users/16462", - "_rev" : "_Xcgb3SC--_", - "name" : "Gerhard" + "_key" : "16464", + "_id" : "users/16464", + "_rev" : "_XiAwVV6--B", + "name" : "Helmut" } { - "_key" : "16466", - "_id" : "users/16466", - "_rev" : "_Xcgb3SG--_", - "name" : "Helmut" + "_key" : "16460", + "_id" : "users/16460", + "_rev" : "_XiAwVV6--_", + "name" : "Gerhard" } SimpleQueryAll(users) arangosh> q = db.users.all(); q.execute(20); while (q.hasNext()) { print(q.next()); } { - "_key" : "16469", - "_id" : "users/16469", - "_rev" : "_Xcgb3SG--B", + "_key" : "16467", + "_id" : "users/16467", + "_rev" : "_XiAwVV6--D", "name" : "Angela" } { - "_key" : "16462", - "_id" : "users/16462", - "_rev" : "_Xcgb3SC--_", - "name" : "Gerhard" -} -{ - "_key" : "16466", - "_id" : "users/16466", - "_rev" : "_Xcgb3SG--_", + "_key" : "16464", + "_id" : "users/16464", + "_rev" : "_XiAwVV6--B", "name" : "Helmut" } +{ + "_key" : "16460", + "_id" : "users/16460", + "_rev" : "_XiAwVV6--_", + "name" : "Gerhard" +} SimpleQueryAll(users) diff --git a/Documentation/Examples/executeQueryNoBatchSize.generated b/Documentation/Examples/executeQueryNoBatchSize.generated index e13e8528f5..2f18b05266 100644 --- a/Documentation/Examples/executeQueryNoBatchSize.generated +++ b/Documentation/Examples/executeQueryNoBatchSize.generated @@ -1,22 +1,22 @@ arangosh> result = db.users.all().toArray(); [ { - "_key" : "16478", - "_id" : "users/16478", - "_rev" : "_Xcgb3Ty--_", + "_key" : "16483", + "_id" : "users/16483", + "_rev" : "_XiAwVX---D", + "name" : "Angela" + }, + { + "_key" : "16476", + "_id" : "users/16476", + "_rev" : "_XiAwVX---_", "name" : "Gerhard" }, { - "_key" : "16482", - "_id" : "users/16482", - "_rev" : "_Xcgb3Ty--B", + "_key" : "16480", + "_id" : "users/16480", + "_rev" : "_XiAwVX---B", "name" : "Helmut" - }, - { - "_key" : "16485", - "_id" : "users/16485", - "_rev" : "_Xcgb3Ty--D", - "name" : "Angela" } ] 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 52cb82531d..f4b6ce838a 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 16502, "myRelation" (type edge, status loaded)], - "female" : [ArangoCollection 16496, "female" (type document, status loaded)], - "male" : [ArangoCollection 16492, "male" (type document, status loaded)], - "sessions" : [ArangoCollection 16506, "sessions" (type document, status loaded)] + "myRelation" : [ArangoCollection 16500, "myRelation" (type edge, status loaded)], + "female" : [ArangoCollection 16494, "female" (type document, status loaded)], + "male" : [ArangoCollection 16490, "male" (type document, status loaded)], + "sessions" : [ArangoCollection 16504, "sessions" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphCreateGraphHowTo2.generated b/Documentation/Examples/generalGraphCreateGraphHowTo2.generated index 7aadd080ef..2b4ed14d08 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 16550, "shop" (type document, status loaded)], - "customer" : [ArangoCollection 16556, "customer" (type document, status loaded)], - "pet" : [ArangoCollection 16562, "pet" (type document, status loaded)] + "shop" : [ArangoCollection 16548, "shop" (type document, status loaded)], + "customer" : [ArangoCollection 16554, "customer" (type document, status loaded)], + "pet" : [ArangoCollection 16560, "pet" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphCreateGraphHowTo3.generated b/Documentation/Examples/generalGraphCreateGraphHowTo3.generated index afe4fecd96..7005500de9 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 16603, "isCustomer" (type edge, status loaded)], - "shop" : [ArangoCollection 16595, "shop" (type document, status loaded)], - "customer" : [ArangoCollection 16599, "customer" (type document, status loaded)], - "pet" : [ArangoCollection 16588, "pet" (type document, status loaded)] + "isCustomer" : [ArangoCollection 16601, "isCustomer" (type edge, status loaded)], + "shop" : [ArangoCollection 16593, "shop" (type document, status loaded)], + "customer" : [ArangoCollection 16597, "customer" (type document, status loaded)], + "pet" : [ArangoCollection 16586, "pet" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphCreateGraphSingle.generated b/Documentation/Examples/generalGraphCreateGraphSingle.generated index 709230c8b0..d2584cca7e 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 16646, "edges" (type edge, status loaded)], - "vertices" : [ArangoCollection 16641, "vertices" (type document, status loaded)] + "edges" : [ArangoCollection 16644, "edges" (type edge, status loaded)], + "vertices" : [ArangoCollection 16639, "vertices" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphDropGraphKeep.generated b/Documentation/Examples/generalGraphDropGraphKeep.generated index 7c5cc58670..0c963dfaf5 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 16733, "female" (type document, status loaded)] +[ArangoCollection 16731, "female" (type document, status loaded)] arangosh> db._collection("male"); -[ArangoCollection 16736, "male" (type document, status loaded)] +[ArangoCollection 16734, "male" (type document, status loaded)] arangosh> db._collection("relation"); -[ArangoCollection 16739, "relation" (type edge, status loaded)] +[ArangoCollection 16737, "relation" (type edge, status loaded)] diff --git a/Documentation/Examples/generalGraphEdgeCollectionRemove.generated b/Documentation/Examples/generalGraphEdgeCollectionRemove.generated index 57aeafb42d..c6bbebd827 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" : "_Xcgb3tK--_" + "_rev" : "_XiAwVx6--_" } arangosh> db._exists("relation/aliceAndDiana") true diff --git a/Documentation/Examples/generalGraphEdgeCollectionReplace.generated b/Documentation/Examples/generalGraphEdgeCollectionReplace.generated index 90eaf80b8f..aed72a2118 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" : "_Xcgb3w6--B" + "_rev" : "_XiAwV2e--H" } arangosh> graph.relation.replace("relation/aliceAndDiana", {type: "knows", _from: "female/alice", _to: "female/diana"}); { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_Xcgb3w6--D", - "_oldRev" : "_Xcgb3w6--B" + "_rev" : "_XiAwV2i--_", + "_oldRev" : "_XiAwV2e--H" } diff --git a/Documentation/Examples/generalGraphEdgeCollectionSave1.generated b/Documentation/Examples/generalGraphEdgeCollectionSave1.generated index c20086f022..3df95219d0 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" : "_Xcgb30G--N" + "_rev" : "_XiAwV6a--H" } diff --git a/Documentation/Examples/generalGraphEdgeCollectionUpdate.generated b/Documentation/Examples/generalGraphEdgeCollectionUpdate.generated index 646ff76736..279af09f5b 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" : "_Xcgb36a--H" + "_rev" : "_XiAwWD---D" } arangosh> graph.relation.update("relation/aliceAndDiana", {type: "quarreled", _key: "aliceAndDiana"}); { "_id" : "relation/aliceAndDiana", "_key" : "aliceAndDiana", - "_rev" : "_Xcgb36a--J", - "_oldRev" : "_Xcgb36a--H" + "_rev" : "_XiAwWD---F", + "_oldRev" : "_XiAwWD---D" } diff --git a/Documentation/Examples/generalGraphGetFromVertex.generated b/Documentation/Examples/generalGraphGetFromVertex.generated index 7518528960..314dc10fc5 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" : "_Xcgb4----B", + "_rev" : "_XiAwWGy--_", "name" : "Alice" } diff --git a/Documentation/Examples/generalGraphGetToVertex.generated b/Documentation/Examples/generalGraphGetToVertex.generated index a5beaf34f7..5ea70fa690 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" : "diana", - "_id" : "female/diana", - "_rev" : "_Xcgb4BW--D", - "name" : "Diana" + "_key" : "charly", + "_id" : "male/charly", + "_rev" : "_XiAwWLi--D", + "name" : "Charly" } diff --git a/Documentation/Examples/generalGraphLoadGraph.generated b/Documentation/Examples/generalGraphLoadGraph.generated index 3dd9aa0a89..c1a525cf6a 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 17275, "relation" (type edge, status loaded)], - "female" : [ArangoCollection 17269, "female" (type document, status loaded)], - "male" : [ArangoCollection 17272, "male" (type document, status loaded)] + "relation" : [ArangoCollection 17273, "relation" (type edge, status loaded)], + "female" : [ArangoCollection 17267, "female" (type document, status loaded)], + "male" : [ArangoCollection 17270, "male" (type document, status loaded)] } diff --git a/Documentation/Examples/generalGraphModulePaths1.generated b/Documentation/Examples/generalGraphModulePaths1.generated index 434eb3128b..342a24de37 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" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" }, "edges" : [ ], @@ -20,7 +20,7 @@ arangosh> g._paths(); { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" } ] @@ -29,13 +29,13 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, "edges" : [ ], @@ -43,7 +43,7 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" } ] @@ -52,13 +52,13 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, "destination" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" }, "edges" : [ @@ -67,7 +67,7 @@ arangosh> g._paths(); "_id" : "relation/21096", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_Xcgb8Ue--F", + "_rev" : "_XiAwaDy--H", "type" : "married", "vertex" : "alice" } @@ -76,13 +76,13 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" } ] @@ -91,13 +91,13 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" }, "edges" : [ @@ -106,7 +106,7 @@ arangosh> g._paths(); "_id" : "relation/21096", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_Xcgb8Ue--F", + "_rev" : "_XiAwaDy--H", "type" : "married", "vertex" : "alice" }, @@ -115,7 +115,7 @@ arangosh> g._paths(); "_id" : "relation/21106", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_Xcgb8Ue--L", + "_rev" : "_XiAwaD2--B", "type" : "friend", "vertex" : "bob" } @@ -124,19 +124,19 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" } ] @@ -145,13 +145,13 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, "destination" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" }, "edges" : [ @@ -160,7 +160,7 @@ arangosh> g._paths(); "_id" : "relation/21100", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_Xcgb8Ue--H", + "_rev" : "_XiAwaDy--J", "type" : "friend", "vertex" : "alice" } @@ -169,13 +169,13 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" } ] @@ -184,13 +184,13 @@ arangosh> g._paths(); "source" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" }, "edges" : [ @@ -199,7 +199,7 @@ arangosh> g._paths(); "_id" : "relation/21100", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_Xcgb8Ue--H", + "_rev" : "_XiAwaDy--J", "type" : "friend", "vertex" : "alice" }, @@ -208,7 +208,7 @@ arangosh> g._paths(); "_id" : "relation/21103", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_Xcgb8Ue--J", + "_rev" : "_XiAwaD2--_", "type" : "married", "vertex" : "charly" } @@ -217,19 +217,19 @@ arangosh> g._paths(); { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Ua--B", + "_rev" : "_XiAwaDy--_", "name" : "Alice" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" } ] @@ -238,13 +238,13 @@ arangosh> g._paths(); "source" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" }, "destination" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" }, "edges" : [ ], @@ -252,7 +252,7 @@ arangosh> g._paths(); { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" } ] @@ -261,13 +261,13 @@ arangosh> g._paths(); "source" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" }, "edges" : [ @@ -276,7 +276,7 @@ arangosh> g._paths(); "_id" : "relation/21106", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_Xcgb8Ue--L", + "_rev" : "_XiAwaD2--B", "type" : "friend", "vertex" : "bob" } @@ -285,13 +285,13 @@ arangosh> g._paths(); { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Ue--_", + "_rev" : "_XiAwaDy--B", "name" : "Bob" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" } ] @@ -300,13 +300,13 @@ arangosh> g._paths(); "source" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" }, "destination" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" }, "edges" : [ ], @@ -314,7 +314,7 @@ arangosh> g._paths(); { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" } ] @@ -323,13 +323,13 @@ arangosh> g._paths(); "source" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" }, "destination" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" }, "edges" : [ @@ -338,7 +338,7 @@ arangosh> g._paths(); "_id" : "relation/21103", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_Xcgb8Ue--J", + "_rev" : "_XiAwaD2--_", "type" : "married", "vertex" : "charly" } @@ -347,13 +347,13 @@ arangosh> g._paths(); { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Ue--B", + "_rev" : "_XiAwaDy--D", "name" : "Charly" }, { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Ue--D", + "_rev" : "_XiAwaDy--F", "name" : "Diana" } ] diff --git a/Documentation/Examples/generalGraphModulePaths2.generated b/Documentation/Examples/generalGraphModulePaths2.generated index 01a0765072..557b4c8253 100644 --- a/Documentation/Examples/generalGraphModulePaths2.generated +++ b/Documentation/Examples/generalGraphModulePaths2.generated @@ -6,13 +6,13 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, "destination" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Z---D", + "_rev" : "_XiAwaIW--D", "name" : "Charly" }, "edges" : [ @@ -21,7 +21,7 @@ arangosh> g._paths({direction : "_id" : "relation/21170", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_Xcgb8Z---L", + "_rev" : "_XiAwaIa--_", "type" : "married", "vertex" : "charly" } @@ -30,13 +30,13 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Z---D", + "_rev" : "_XiAwaIW--D", "name" : "Charly" } ] @@ -45,13 +45,13 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" }, "edges" : [ @@ -60,7 +60,7 @@ arangosh> g._paths({direction : "_id" : "relation/21170", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_Xcgb8Z---L", + "_rev" : "_XiAwaIa--_", "type" : "married", "vertex" : "charly" }, @@ -69,7 +69,7 @@ arangosh> g._paths({direction : "_id" : "relation/21167", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_Xcgb8Z---J", + "_rev" : "_XiAwaIW--J", "type" : "friend", "vertex" : "alice" } @@ -78,19 +78,19 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Z---D", + "_rev" : "_XiAwaIW--D", "name" : "Charly" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" } ] @@ -99,13 +99,13 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, "destination" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Z---B", + "_rev" : "_XiAwaIW--B", "name" : "Bob" }, "edges" : [ @@ -114,7 +114,7 @@ arangosh> g._paths({direction : "_id" : "relation/21173", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_Xcgb8Z---N", + "_rev" : "_XiAwaIa--B", "type" : "friend", "vertex" : "bob" } @@ -123,13 +123,13 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Z---B", + "_rev" : "_XiAwaIW--B", "name" : "Bob" } ] @@ -138,13 +138,13 @@ arangosh> g._paths({direction : "source" : { "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" }, "edges" : [ @@ -153,7 +153,7 @@ arangosh> g._paths({direction : "_id" : "relation/21173", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_Xcgb8Z---N", + "_rev" : "_XiAwaIa--B", "type" : "friend", "vertex" : "bob" }, @@ -162,7 +162,7 @@ arangosh> g._paths({direction : "_id" : "relation/21163", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_Xcgb8Z---H", + "_rev" : "_XiAwaIW--H", "type" : "married", "vertex" : "alice" } @@ -171,19 +171,19 @@ arangosh> g._paths({direction : "_key" : "diana", "_id" : "female/diana", - "_rev" : "_Xcgb8Z---F", + "_rev" : "_XiAwaIW--F", "name" : "Diana" }, { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Z---B", + "_rev" : "_XiAwaIW--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" } ] @@ -192,13 +192,13 @@ arangosh> g._paths({direction : "source" : { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Z---B", + "_rev" : "_XiAwaIW--B", "name" : "Bob" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" }, "edges" : [ @@ -207,7 +207,7 @@ arangosh> g._paths({direction : "_id" : "relation/21163", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_Xcgb8Z---H", + "_rev" : "_XiAwaIW--H", "type" : "married", "vertex" : "alice" } @@ -216,13 +216,13 @@ arangosh> g._paths({direction : "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgb8Z---B", + "_rev" : "_XiAwaIW--B", "name" : "Bob" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" } ] @@ -231,13 +231,13 @@ arangosh> g._paths({direction : "source" : { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Z---D", + "_rev" : "_XiAwaIW--D", "name" : "Charly" }, "destination" : { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" }, "edges" : [ @@ -246,7 +246,7 @@ arangosh> g._paths({direction : "_id" : "relation/21167", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_Xcgb8Z---J", + "_rev" : "_XiAwaIW--J", "type" : "friend", "vertex" : "alice" } @@ -255,13 +255,13 @@ arangosh> g._paths({direction : "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgb8Z---D", + "_rev" : "_XiAwaIW--D", "name" : "Charly" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgb8Z---_", + "_rev" : "_XiAwaIW--_", "name" : "Alice" } ] diff --git a/Documentation/Examples/generalGraphModuleShortestPaths1.generated b/Documentation/Examples/generalGraphModuleShortestPaths1.generated index 135b065c02..4e2d499766 100644 --- a/Documentation/Examples/generalGraphModuleShortestPaths1.generated +++ b/Documentation/Examples/generalGraphModuleShortestPaths1.generated @@ -14,7 +14,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "germanHighway/21854", "_from" : "germanCity/Hamburg", "_to" : "germanCity/Cologne", - "_rev" : "_Xcgb9GK--_", + "_rev" : "_XiAwa9S--B", "distance" : 500 } ], @@ -31,7 +31,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "germanHighway/21847", "_from" : "germanCity/Berlin", "_to" : "germanCity/Cologne", - "_rev" : "_Xcgb9GG--_", + "_rev" : "_XiAwa9O--_", "distance" : 850 } ], @@ -48,7 +48,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21874", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GO--_", + "_rev" : "_XiAwa9W--B", "distance" : 700 } ], @@ -65,7 +65,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21877", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgb9GO--B", + "_rev" : "_XiAwa9W--D", "distance" : 550 } ], @@ -82,7 +82,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "germanHighway/21854", "_from" : "germanCity/Hamburg", "_to" : "germanCity/Cologne", - "_rev" : "_Xcgb9GK--_", + "_rev" : "_XiAwa9S--B", "distance" : 500 } ], @@ -99,7 +99,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "germanHighway/21851", "_from" : "germanCity/Berlin", "_to" : "germanCity/Hamburg", - "_rev" : "_Xcgb9GG--B", + "_rev" : "_XiAwa9S--_", "distance" : 400 } ], @@ -116,7 +116,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21871", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GK--J", + "_rev" : "_XiAwa9W--_", "distance" : 1300 } ], @@ -133,7 +133,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21868", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgb9GK--H", + "_rev" : "_XiAwa9S--J", "distance" : 900 } ], @@ -150,7 +150,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "germanHighway/21847", "_from" : "germanCity/Berlin", "_to" : "germanCity/Cologne", - "_rev" : "_Xcgb9GG--_", + "_rev" : "_XiAwa9O--_", "distance" : 850 } ], @@ -167,7 +167,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "germanHighway/21851", "_from" : "germanCity/Berlin", "_to" : "germanCity/Hamburg", - "_rev" : "_Xcgb9GG--B", + "_rev" : "_XiAwa9S--_", "distance" : 400 } ], @@ -184,7 +184,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21861", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GK--D", + "_rev" : "_XiAwa9S--F", "distance" : 1100 } ], @@ -201,7 +201,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21865", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgb9GK--F", + "_rev" : "_XiAwa9S--H", "distance" : 1200 } ], @@ -218,7 +218,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21874", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GO--_", + "_rev" : "_XiAwa9W--B", "distance" : 700 } ], @@ -235,7 +235,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21871", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GK--J", + "_rev" : "_XiAwa9W--_", "distance" : 1300 } ], @@ -252,7 +252,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21861", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GK--D", + "_rev" : "_XiAwa9S--F", "distance" : 1100 } ], @@ -269,7 +269,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "frenchHighway/21857", "_from" : "frenchCity/Paris", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GK--B", + "_rev" : "_XiAwa9S--D", "distance" : 550 } ], @@ -286,7 +286,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21877", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgb9GO--B", + "_rev" : "_XiAwa9W--D", "distance" : 550 } ], @@ -303,7 +303,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21868", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgb9GK--H", + "_rev" : "_XiAwa9S--J", "distance" : 900 } ], @@ -320,7 +320,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "internationalHighway/21865", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgb9GK--F", + "_rev" : "_XiAwa9S--H", "distance" : 1200 } ], @@ -337,7 +337,7 @@ arangosh> g._shortestPath({}, {}, {weight : "_id" : "frenchHighway/21857", "_from" : "frenchCity/Paris", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9GK--B", + "_rev" : "_XiAwa9S--D", "distance" : 550 } ], diff --git a/Documentation/Examples/generalGraphModuleShortestPaths2.generated b/Documentation/Examples/generalGraphModuleShortestPaths2.generated index c3f01ab4f6..a775b15e67 100644 --- a/Documentation/Examples/generalGraphModuleShortestPaths2.generated +++ b/Documentation/Examples/generalGraphModuleShortestPaths2.generated @@ -14,7 +14,7 @@ arangosh> g._shortestPath([{_id: "_id" : "internationalHighway/21994", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgb9OC--J", + "_rev" : "_XiAwbGq--J", "distance" : 700 } ], diff --git a/Documentation/Examples/generalGraphVertexCollectionRemove.generated b/Documentation/Examples/generalGraphVertexCollectionRemove.generated index 8339b30dad..9f235784bc 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" : "_Xcgb9Si--D" + "_rev" : "_XiAwbMK--F" } arangosh> db._exists("male/kermit") true diff --git a/Documentation/Examples/generalGraphVertexCollectionReplace.generated b/Documentation/Examples/generalGraphVertexCollectionReplace.generated index 7e2c4045cd..2c0b6806f3 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" : "_Xcgb9V2--B" + "_rev" : "_XiAwbPy--F" } arangosh> graph.male.replace("male/john", {name: "John"}); { "_id" : "male/john", "_key" : "john", - "_rev" : "_Xcgb9V2--D", - "_oldRev" : "_Xcgb9V2--B" + "_rev" : "_XiAwbPy--H", + "_oldRev" : "_XiAwbPy--F" } diff --git a/Documentation/Examples/generalGraphVertexCollectionSave.generated b/Documentation/Examples/generalGraphVertexCollectionSave.generated index 2f6791b400..5394ce426e 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" : "_Xcgb9ZC--D" + "_rev" : "_XiAwbTy--P" } diff --git a/Documentation/Examples/generalGraphVertexCollectionUpdate.generated b/Documentation/Examples/generalGraphVertexCollectionUpdate.generated index 31319a8572..b9501554ed 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" : "_Xcgb9cm--D" + "_rev" : "_XiAwbY---_" } arangosh> graph.female.update("female/linda", {name: "Linda", _key: "linda"}); { "_id" : "female/linda", "_key" : "linda", - "_rev" : "_Xcgb9cm--F", - "_oldRev" : "_Xcgb9cm--D" + "_rev" : "_XiAwbY---B", + "_oldRev" : "_XiAwbY---_" } diff --git a/Documentation/Examples/geoIndexCreateForArrayAttribute.generated b/Documentation/Examples/geoIndexCreateForArrayAttribute.generated index 6c43c33601..63fce1bf63 100644 --- a/Documentation/Examples/geoIndexCreateForArrayAttribute.generated +++ b/Documentation/Examples/geoIndexCreateForArrayAttribute.generated @@ -25,7 +25,7 @@ arangosh> db.geo.near(0, "_key" : "23810", "_id" : "geo/23810", - "_rev" : "_Xcgc-Q2--B", + "_rev" : "_XiAwchC--F", "name" : "Name/0/0", "loc" : [ 0, @@ -35,7 +35,7 @@ arangosh> db.geo.near(0, "_key" : "23921", "_id" : "geo/23921", - "_rev" : "_Xcgc-RK--D", + "_rev" : "_XiAwchW--H", "name" : "Name/10/0", "loc" : [ 10, @@ -45,7 +45,7 @@ arangosh> db.geo.near(0, "_key" : "23699", "_id" : "geo/23699", - "_rev" : "_Xcgc-Qi--_", + "_rev" : "_XiAwcgu--D", "name" : "Name/-10/0", "loc" : [ -10, diff --git a/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated b/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated index 6e8a92f202..91cf63602d 100644 --- a/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated +++ b/Documentation/Examples/geoIndexCreateForArrayAttribute1.generated @@ -25,7 +25,7 @@ arangosh> db.geo.near(0, "_key" : "25937", "_id" : "geo/25937", - "_rev" : "_Xcgc-Ym--L", + "_rev" : "_XiAwcqm--L", "name" : "Name/0/0", "loc" : [ 0, @@ -35,7 +35,7 @@ arangosh> db.geo.near(0, "_key" : "26048", "_id" : "geo/26048", - "_rev" : "_Xcgc-Y2--N", + "_rev" : "_XiAwcq6--J", "name" : "Name/10/0", "loc" : [ 10, @@ -45,7 +45,7 @@ arangosh> db.geo.near(0, "_key" : "25826", "_id" : "geo/25826", - "_rev" : "_Xcgc-YW--F", + "_rev" : "_XiAwcqW--D", "name" : "Name/-10/0", "loc" : [ -10, diff --git a/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated b/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated index 2b50c58ac9..5dea62d4dd 100644 --- a/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated +++ b/Documentation/Examples/geoIndexCreateForArrayAttribute2.generated @@ -23,7 +23,7 @@ arangosh> db.geo2.near(0, "_key" : "28064", "_id" : "geo2/28064", - "_rev" : "_Xcgc-gO--B", + "_rev" : "_XiAwcyK--_", "name" : "Name/0/0", "location" : { "latitude" : 0, @@ -33,7 +33,7 @@ arangosh> db.geo2.near(0, "_key" : "28175", "_id" : "geo2/28175", - "_rev" : "_Xcgc-gi--D", + "_rev" : "_XiAwcya--L", "name" : "Name/10/0", "location" : { "latitude" : 10, @@ -43,7 +43,7 @@ arangosh> db.geo2.near(0, "_key" : "27953", "_id" : "geo2/27953", - "_rev" : "_Xcgc-f6--B", + "_rev" : "_XiAwcx2--F", "name" : "Name/-10/0", "location" : { "latitude" : -10, diff --git a/Documentation/Examples/geoIndexFilterOptimization.generated b/Documentation/Examples/geoIndexFilterOptimization.generated index 8f6d73c29f..617639526d 100644 --- a/Documentation/Examples/geoIndexFilterOptimization.generated +++ b/Documentation/Examples/geoIndexFilterOptimization.generated @@ -44,7 +44,7 @@ arangosh> db._query(query); { "_key" : "30185", "_id" : "geoFilter/30185", - "_rev" : "_Xcgc-nG--L", + "_rev" : "_XiAwc56--N", "name" : "Name/0/0", "latitude" : 0, "longitude" : 0 diff --git a/Documentation/Examples/geoIndexSimpleQuery.generated b/Documentation/Examples/geoIndexSimpleQuery.generated index e895f0b678..cdaeb70e24 100644 --- a/Documentation/Examples/geoIndexSimpleQuery.generated +++ b/Documentation/Examples/geoIndexSimpleQuery.generated @@ -28,7 +28,7 @@ arangosh> db.complex.near(0, "_key" : "32352", "_id" : "complex/32352", - "_rev" : "_Xcgc-te--F", + "_rev" : "_XiAwdBG--H", "name" : "Name/0/170", "home" : [ 0, @@ -42,7 +42,7 @@ arangosh> db.complex.near(0, "_key" : "32355", "_id" : "complex/32355", - "_rev" : "_Xcgc-te--H", + "_rev" : "_XiAwdBG--J", "name" : "Name/0/180", "home" : [ 0, @@ -56,7 +56,7 @@ arangosh> db.complex.near(0, "_key" : "32463", "_id" : "complex/32463", - "_rev" : "_Xcgc-ty--_", + "_rev" : "_XiAwdBW--_", "name" : "Name/10/170", "home" : [ 10, @@ -70,7 +70,7 @@ arangosh> db.complex.near(0, "_key" : "32241", "_id" : "complex/32241", - "_rev" : "_Xcgc-tK--N", + "_rev" : "_XiAwdA2--N", "name" : "Name/-10/170", "home" : [ -10, @@ -84,7 +84,7 @@ arangosh> db.complex.near(0, "_key" : "32247", "_id" : "complex/32247", - "_rev" : "_Xcgc-tO--B", + "_rev" : "_XiAwdA2--R", "name" : "Name/0/-180", "home" : [ 0, @@ -118,7 +118,7 @@ arangosh> db.complex.geo("work").near("_key" : "32352", "_id" : "complex/32352", - "_rev" : "_Xcgc-te--F", + "_rev" : "_XiAwdBG--H", "name" : "Name/0/170", "home" : [ 0, @@ -132,7 +132,7 @@ arangosh> db.complex.geo("work").near("_key" : "32355", "_id" : "complex/32355", - "_rev" : "_Xcgc-te--H", + "_rev" : "_XiAwdBG--J", "name" : "Name/0/180", "home" : [ 0, @@ -146,7 +146,7 @@ arangosh> db.complex.geo("work").near("_key" : "32463", "_id" : "complex/32463", - "_rev" : "_Xcgc-ty--_", + "_rev" : "_XiAwdBW--_", "name" : "Name/10/170", "home" : [ 10, @@ -160,7 +160,7 @@ arangosh> db.complex.geo("work").near("_key" : "32241", "_id" : "complex/32241", - "_rev" : "_Xcgc-tK--N", + "_rev" : "_XiAwdA2--N", "name" : "Name/-10/170", "home" : [ -10, @@ -174,7 +174,7 @@ arangosh> db.complex.geo("work").near("_key" : "32247", "_id" : "complex/32247", - "_rev" : "_Xcgc-tO--B", + "_rev" : "_XiAwdA2--R", "name" : "Name/0/-180", "home" : [ 0, diff --git a/Documentation/Examples/geoIndexSortOptimization.generated b/Documentation/Examples/geoIndexSortOptimization.generated index 88e57cdc11..bb7f08828c 100644 --- a/Documentation/Examples/geoIndexSortOptimization.generated +++ b/Documentation/Examples/geoIndexSortOptimization.generated @@ -45,7 +45,7 @@ arangosh> db._query(query); { "_key" : "34434", "_id" : "geoSort/34434", - "_rev" : "_Xcgc-2---_", + "_rev" : "_XiAwdKS--H", "name" : "Name/0/0", "latitude" : 0, "longitude" : 0 @@ -53,7 +53,7 @@ arangosh> db._query(query); { "_key" : "34323", "_id" : "geoSort/34323", - "_rev" : "_Xcgc-1u--B", + "_rev" : "_XiAwdK---N", "name" : "Name/-10/0", "latitude" : -10, "longitude" : 0 @@ -61,7 +61,7 @@ arangosh> db._query(query); { "_key" : "34545", "_id" : "geoSort/34545", - "_rev" : "_Xcgc-2K--P", + "_rev" : "_XiAwdKm--H", "name" : "Name/10/0", "latitude" : 10, "longitude" : 0 @@ -69,7 +69,7 @@ arangosh> db._query(query); { "_key" : "34431", "_id" : "geoSort/34431", - "_rev" : "_Xcgc-16--R", + "_rev" : "_XiAwdKS--F", "name" : "Name/0/-10", "latitude" : 0, "longitude" : -10 @@ -77,7 +77,7 @@ arangosh> db._query(query); { "_key" : "34437", "_id" : "geoSort/34437", - "_rev" : "_Xcgc-2---B", + "_rev" : "_XiAwdKS--J", "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 4d9c9c9560..55d63af1d0 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" : "_Xcgc-7S--F", + "_rev" : "_XiAwdRi--_", "population" : 80000, "isCapital" : false, "loc" : [ @@ -16,7 +16,7 @@ arangosh> db.frenchCity.toArray(); { "_key" : "Paris", "_id" : "frenchCity/Paris", - "_rev" : "_Xcgc-7W--_", + "_rev" : "_XiAwdRi--B", "population" : 4000000, "isCapital" : true, "loc" : [ @@ -30,7 +30,7 @@ arangosh> db.germanCity.toArray(); { "_key" : "Cologne", "_id" : "germanCity/Cologne", - "_rev" : "_Xcgc-7S--B", + "_rev" : "_XiAwdRe--B", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -41,7 +41,7 @@ arangosh> db.germanCity.toArray(); { "_key" : "Hamburg", "_id" : "germanCity/Hamburg", - "_rev" : "_Xcgc-7S--D", + "_rev" : "_XiAwdRe--D", "population" : 1000000, "isCapital" : false, "loc" : [ @@ -52,7 +52,7 @@ arangosh> db.germanCity.toArray(); { "_key" : "Berlin", "_id" : "germanCity/Berlin", - "_rev" : "_Xcgc-7S--_", + "_rev" : "_XiAwdRe--_", "population" : 3000000, "isCapital" : true, "loc" : [ @@ -68,7 +68,7 @@ arangosh> db.germanHighway.toArray(); "_id" : "germanHighway/35550", "_from" : "germanCity/Hamburg", "_to" : "germanCity/Cologne", - "_rev" : "_Xcgc-9e--D", + "_rev" : "_XiAwdTu--D", "distance" : 500 }, { @@ -76,7 +76,7 @@ arangosh> db.germanHighway.toArray(); "_id" : "germanHighway/35547", "_from" : "germanCity/Berlin", "_to" : "germanCity/Hamburg", - "_rev" : "_Xcgc-9e--B", + "_rev" : "_XiAwdTu--B", "distance" : 400 }, { @@ -84,7 +84,7 @@ arangosh> db.germanHighway.toArray(); "_id" : "germanHighway/35543", "_from" : "germanCity/Berlin", "_to" : "germanCity/Cologne", - "_rev" : "_Xcgc-9e--_", + "_rev" : "_XiAwdTu--_", "distance" : 850 } ] @@ -95,7 +95,7 @@ arangosh> db.frenchHighway.toArray(); "_id" : "frenchHighway/35553", "_from" : "frenchCity/Paris", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgc-9i--_", + "_rev" : "_XiAwdTu--F", "distance" : 550 } ] @@ -106,7 +106,7 @@ arangosh> db.internationalHighway.toArray(); "_id" : "internationalHighway/35564", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgc-9i--F", + "_rev" : "_XiAwdTy--_", "distance" : 900 }, { @@ -114,7 +114,7 @@ arangosh> db.internationalHighway.toArray(); "_id" : "internationalHighway/35573", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgc-9m--_", + "_rev" : "_XiAwdTy--F", "distance" : 550 }, { @@ -122,7 +122,7 @@ arangosh> db.internationalHighway.toArray(); "_id" : "internationalHighway/35557", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgc-9i--B", + "_rev" : "_XiAwdTu--H", "distance" : 1100 }, { @@ -130,7 +130,7 @@ arangosh> db.internationalHighway.toArray(); "_id" : "internationalHighway/35561", "_from" : "germanCity/Berlin", "_to" : "frenchCity/Paris", - "_rev" : "_Xcgc-9i--D", + "_rev" : "_XiAwdTu--J", "distance" : 1200 }, { @@ -138,7 +138,7 @@ arangosh> db.internationalHighway.toArray(); "_id" : "internationalHighway/35570", "_from" : "germanCity/Cologne", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgc-9i--J", + "_rev" : "_XiAwdTy--D", "distance" : 700 }, { @@ -146,7 +146,7 @@ arangosh> db.internationalHighway.toArray(); "_id" : "internationalHighway/35567", "_from" : "germanCity/Hamburg", "_to" : "frenchCity/Lyon", - "_rev" : "_Xcgc-9i--H", + "_rev" : "_XiAwdTy--B", "distance" : 1300 } ] diff --git a/Documentation/Examples/graph_create_knows_sample.generated b/Documentation/Examples/graph_create_knows_sample.generated index b88214474f..a337db9266 100644 --- a/Documentation/Examples/graph_create_knows_sample.generated +++ b/Documentation/Examples/graph_create_knows_sample.generated @@ -5,31 +5,31 @@ arangosh> db.persons.toArray() { "_key" : "bob", "_id" : "persons/bob", - "_rev" : "_Xcgc_BW--B", + "_rev" : "_XiAwdYe--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", - "_rev" : "_Xcgc_BW--D", + "_rev" : "_XiAwdYe--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", - "_rev" : "_Xcgc_BW--F", + "_rev" : "_XiAwdYe--F", "name" : "Dave" }, { "_key" : "eve", "_id" : "persons/eve", - "_rev" : "_Xcgc_BW--H", + "_rev" : "_XiAwdYe--H", "name" : "Eve" }, { "_key" : "alice", "_id" : "persons/alice", - "_rev" : "_Xcgc_BW--_", + "_rev" : "_XiAwdYe--_", "name" : "Alice" } ] @@ -40,7 +40,7 @@ arangosh> db.knows.toArray(); "_id" : "knows/35646", "_from" : "persons/bob", "_to" : "persons/charlie", - "_rev" : "_Xcgc_Ba--B", + "_rev" : "_XiAwdYe--L", "vertex" : "bob" }, { @@ -48,7 +48,7 @@ arangosh> db.knows.toArray(); "_id" : "knows/35649", "_from" : "persons/bob", "_to" : "persons/dave", - "_rev" : "_Xcgc_Ba--D", + "_rev" : "_XiAwdYi--_", "vertex" : "bob" }, { @@ -56,7 +56,7 @@ arangosh> db.knows.toArray(); "_id" : "knows/35642", "_from" : "persons/alice", "_to" : "persons/bob", - "_rev" : "_Xcgc_Ba--_", + "_rev" : "_XiAwdYe--J", "vertex" : "alice" }, { @@ -64,7 +64,7 @@ arangosh> db.knows.toArray(); "_id" : "knows/35655", "_from" : "persons/eve", "_to" : "persons/bob", - "_rev" : "_Xcgc_Ba--H", + "_rev" : "_XiAwdYi--D", "vertex" : "eve" }, { @@ -72,7 +72,7 @@ arangosh> db.knows.toArray(); "_id" : "knows/35652", "_from" : "persons/eve", "_to" : "persons/alice", - "_rev" : "_Xcgc_Ba--F", + "_rev" : "_XiAwdYi--B", "vertex" : "eve" } ] diff --git a/Documentation/Examples/graph_create_social_sample.generated b/Documentation/Examples/graph_create_social_sample.generated index 6ecac6a96a..f5c882b6cd 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" : "_Xcgc_EG--H", + "_rev" : "_XiAwdeG--B", "name" : "Diana" }, { "_key" : "alice", "_id" : "female/alice", - "_rev" : "_Xcgc_EG--B", + "_rev" : "_XiAwdeC--B", "name" : "Alice" } ] @@ -20,13 +20,13 @@ arangosh> db.male.toArray() { "_key" : "bob", "_id" : "male/bob", - "_rev" : "_Xcgc_EG--D", + "_rev" : "_XiAwdeC--D", "name" : "Bob" }, { "_key" : "charly", "_id" : "male/charly", - "_rev" : "_Xcgc_EG--F", + "_rev" : "_XiAwdeG--_", "name" : "Charly" } ] @@ -37,7 +37,7 @@ arangosh> db.relation.toArray() "_id" : "relation/35714", "_from" : "male/charly", "_to" : "female/diana", - "_rev" : "_Xcgc_EK--_", + "_rev" : "_XiAwdeG--H", "type" : "married", "vertex" : "charly" }, @@ -46,7 +46,7 @@ arangosh> db.relation.toArray() "_id" : "relation/35707", "_from" : "female/alice", "_to" : "male/bob", - "_rev" : "_Xcgc_EG--J", + "_rev" : "_XiAwdeG--D", "type" : "married", "vertex" : "alice" }, @@ -55,7 +55,7 @@ arangosh> db.relation.toArray() "_id" : "relation/35711", "_from" : "female/alice", "_to" : "male/charly", - "_rev" : "_Xcgc_EG--L", + "_rev" : "_XiAwdeG--F", "type" : "friend", "vertex" : "alice" }, @@ -64,7 +64,7 @@ arangosh> db.relation.toArray() "_id" : "relation/35717", "_from" : "male/bob", "_to" : "female/diana", - "_rev" : "_Xcgc_EK--B", + "_rev" : "_XiAwdeG--J", "type" : "friend", "vertex" : "bob" } diff --git a/Documentation/Examples/graph_create_traversal_sample.generated b/Documentation/Examples/graph_create_traversal_sample.generated index 7ac6a80563..0058dbe16d 100644 --- a/Documentation/Examples/graph_create_traversal_sample.generated +++ b/Documentation/Examples/graph_create_traversal_sample.generated @@ -5,67 +5,67 @@ arangosh> db.circles.toArray(); { "_key" : "I", "_id" : "circles/I", - "_rev" : "_Xcgc_Gq--J", + "_rev" : "_XiAwdhK--_", "label" : "9" }, { "_key" : "G", "_id" : "circles/G", - "_rev" : "_Xcgc_Gq--F", + "_rev" : "_XiAwdhG--L", "label" : "7" }, { "_key" : "F", "_id" : "circles/F", - "_rev" : "_Xcgc_Gq--D", + "_rev" : "_XiAwdhG--J", "label" : "6" }, { "_key" : "A", "_id" : "circles/A", - "_rev" : "_Xcgc_Gm--B", + "_rev" : "_XiAwdhG--_", "label" : "1" }, { "_key" : "E", "_id" : "circles/E", - "_rev" : "_Xcgc_Gq--B", + "_rev" : "_XiAwdhG--H", "label" : "5" }, { "_key" : "C", "_id" : "circles/C", - "_rev" : "_Xcgc_Gm--F", + "_rev" : "_XiAwdhG--D", "label" : "3" }, { "_key" : "D", "_id" : "circles/D", - "_rev" : "_Xcgc_Gq--_", + "_rev" : "_XiAwdhG--F", "label" : "4" }, { "_key" : "J", "_id" : "circles/J", - "_rev" : "_Xcgc_Gq--L", + "_rev" : "_XiAwdhK--B", "label" : "10" }, { "_key" : "B", "_id" : "circles/B", - "_rev" : "_Xcgc_Gm--D", + "_rev" : "_XiAwdhG--B", "label" : "2" }, { "_key" : "H", "_id" : "circles/H", - "_rev" : "_Xcgc_Gq--H", + "_rev" : "_XiAwdhG--N", "label" : "8" }, { "_key" : "K", "_id" : "circles/K", - "_rev" : "_Xcgc_Gq--N", + "_rev" : "_XiAwdhK--D", "label" : "11" } ] @@ -76,7 +76,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35789", "_from" : "circles/C", "_to" : "circles/D", - "_rev" : "_Xcgc_Gu--B", + "_rev" : "_XiAwdhK--J", "theFalse" : false, "theTruth" : true, "label" : "left_blorg" @@ -86,7 +86,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35782", "_from" : "circles/A", "_to" : "circles/B", - "_rev" : "_Xcgc_Gq--P", + "_rev" : "_XiAwdhK--F", "theFalse" : false, "theTruth" : true, "label" : "left_bar" @@ -96,7 +96,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35810", "_from" : "circles/J", "_to" : "circles/K", - "_rev" : "_Xcgc_Gu--P", + "_rev" : "_XiAwdhO--H", "theFalse" : false, "theTruth" : true, "label" : "right_zup" @@ -106,7 +106,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35807", "_from" : "circles/G", "_to" : "circles/J", - "_rev" : "_Xcgc_Gu--N", + "_rev" : "_XiAwdhO--F", "theFalse" : false, "theTruth" : true, "label" : "right_zip" @@ -116,7 +116,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35801", "_from" : "circles/G", "_to" : "circles/H", - "_rev" : "_Xcgc_Gu--J", + "_rev" : "_XiAwdhO--B", "theFalse" : false, "theTruth" : true, "label" : "right_blob" @@ -126,7 +126,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35804", "_from" : "circles/H", "_to" : "circles/I", - "_rev" : "_Xcgc_Gu--L", + "_rev" : "_XiAwdhO--D", "theFalse" : false, "theTruth" : true, "label" : "right_blub" @@ -136,7 +136,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35792", "_from" : "circles/B", "_to" : "circles/E", - "_rev" : "_Xcgc_Gu--D", + "_rev" : "_XiAwdhK--L", "theFalse" : false, "theTruth" : true, "label" : "left_blub" @@ -146,7 +146,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35795", "_from" : "circles/E", "_to" : "circles/F", - "_rev" : "_Xcgc_Gu--F", + "_rev" : "_XiAwdhK--N", "theFalse" : false, "theTruth" : true, "label" : "left_schubi" @@ -156,7 +156,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35786", "_from" : "circles/B", "_to" : "circles/C", - "_rev" : "_Xcgc_Gu--_", + "_rev" : "_XiAwdhK--H", "theFalse" : false, "theTruth" : true, "label" : "left_blarg" @@ -166,7 +166,7 @@ arangosh> db.edges.toArray(); "_id" : "edges/35798", "_from" : "circles/A", "_to" : "circles/G", - "_rev" : "_Xcgc_Gu--H", + "_rev" : "_XiAwdhO--_", "theFalse" : false, "theTruth" : true, "label" : "right_foo" diff --git a/Documentation/Examples/graph_create_world_sample.generated b/Documentation/Examples/graph_create_world_sample.generated index bb21e1f5ba..ee840cc16f 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" : "_Xcgc_Ja--N", + "_rev" : "_XiAwdkG--R", "name" : "Ottawa", "type" : "capital" }, { "_key" : "capital-yaounde", "_id" : "worldVertices/capital-yaounde", - "_rev" : "_Xcgc_Ji--B", + "_rev" : "_XiAwdkO--F", "name" : "Yaounde", "type" : "capital" }, { "_key" : "capital-algiers", "_id" : "worldVertices/capital-algiers", - "_rev" : "_Xcgc_JS--F", + "_rev" : "_XiAwdk---J", "name" : "Algiers", "type" : "capital" }, { "_key" : "continent-south-america", "_id" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_JC--_", + "_rev" : "_XiAwdju--J", "name" : "South America", "type" : "continent" }, { "_key" : "capital-andorra-la-vella", "_id" : "worldVertices/capital-andorra-la-vella", - "_rev" : "_Xcgc_JS--H", + "_rev" : "_XiAwdk---L", "name" : "Andorra la Vella", "type" : "capital" }, { "_key" : "country-people-s-republic-of-china", "_id" : "worldVertices/country-people-s-republic-of-china", - "_rev" : "_Xcgc_JS--D", + "_rev" : "_XiAwdk---H", "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" : "_Xcgc_Je--P", + "_rev" : "_XiAwdkO--_", "name" : "Tirana", "type" : "capital" }, { "_key" : "country-cote-d-ivoire", "_id" : "worldVertices/country-cote-d-ivoire", - "_rev" : "_Xcgc_JO--F", + "_rev" : "_XiAwdj6--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" : "_Xcgc_Je--L", + "_rev" : "_XiAwdkK--P", "name" : "Sofia", "type" : "capital" }, { "_key" : "capital-bridgetown", "_id" : "worldVertices/capital-bridgetown", - "_rev" : "_Xcgc_JW--B", + "_rev" : "_XiAwdkC--F", "name" : "Bridgetown", "type" : "capital" }, { "_key" : "country-chad", "_id" : "worldVertices/country-chad", - "_rev" : "_Xcgc_JO--_", + "_rev" : "_XiAwdj6--B", "name" : "Chad", "type" : "country", "code" : "TCD" @@ -85,35 +85,35 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-thimphu", "_id" : "worldVertices/capital-thimphu", - "_rev" : "_Xcgc_Je--N", + "_rev" : "_XiAwdkK--R", "name" : "Thimphu", "type" : "capital" }, { "_key" : "capital-santiago", "_id" : "worldVertices/capital-santiago", - "_rev" : "_Xcgc_Je--H", + "_rev" : "_XiAwdkK--L", "name" : "Santiago", "type" : "capital" }, { "_key" : "capital-manama", "_id" : "worldVertices/capital-manama", - "_rev" : "_Xcgc_Ja--H", + "_rev" : "_XiAwdkG--L", "name" : "Manama", "type" : "capital" }, { "_key" : "capital-zagreb", "_id" : "worldVertices/capital-zagreb", - "_rev" : "_Xcgc_Ji--D", + "_rev" : "_XiAwdkO--H", "name" : "Zagreb", "type" : "capital" }, { "_key" : "country-brazil", "_id" : "worldVertices/country-brazil", - "_rev" : "_Xcgc_JK--B", + "_rev" : "_XiAwdj2--J", "name" : "Brazil", "type" : "country", "code" : "BRA" @@ -121,7 +121,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-burundi", "_id" : "worldVertices/country-burundi", - "_rev" : "_Xcgc_JK--J", + "_rev" : "_XiAwdj2--R", "name" : "Burundi", "type" : "country", "code" : "BDI" @@ -129,14 +129,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-la-paz", "_id" : "worldVertices/capital-la-paz", - "_rev" : "_Xcgc_Ja--D", + "_rev" : "_XiAwdkG--H", "name" : "La Paz", "type" : "capital" }, { "_key" : "country-germany", "_id" : "worldVertices/country-germany", - "_rev" : "_Xcgc_JS--B", + "_rev" : "_XiAwdk---F", "name" : "Germany", "type" : "country", "code" : "DEU" @@ -144,7 +144,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-botswana", "_id" : "worldVertices/country-botswana", - "_rev" : "_Xcgc_JK--_", + "_rev" : "_XiAwdj2--H", "name" : "Botswana", "type" : "country", "code" : "BWA" @@ -152,14 +152,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-phnom-penh", "_id" : "worldVertices/capital-phnom-penh", - "_rev" : "_Xcgc_Je--_", + "_rev" : "_XiAwdkK--D", "name" : "Phnom Penh", "type" : "capital" }, { "_key" : "country-croatia", "_id" : "worldVertices/country-croatia", - "_rev" : "_Xcgc_JO--H", + "_rev" : "_XiAwdj6--J", "name" : "Croatia", "type" : "country", "code" : "HRV" @@ -167,7 +167,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-eritrea", "_id" : "worldVertices/country-eritrea", - "_rev" : "_Xcgc_JO--R", + "_rev" : "_XiAwdk---_", "name" : "Eritrea", "type" : "country", "code" : "ERI" @@ -175,7 +175,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-angola", "_id" : "worldVertices/country-angola", - "_rev" : "_Xcgc_JC--J", + "_rev" : "_XiAwdjy--D", "name" : "Angola", "type" : "country", "code" : "AGO" @@ -183,7 +183,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bahrain", "_id" : "worldVertices/country-bahrain", - "_rev" : "_Xcgc_JG--D", + "_rev" : "_XiAwdjy--P", "name" : "Bahrain", "type" : "country", "code" : "BHR" @@ -191,7 +191,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-argentina", "_id" : "worldVertices/country-argentina", - "_rev" : "_Xcgc_JC--N", + "_rev" : "_XiAwdjy--H", "name" : "Argentina", "type" : "country", "code" : "ARG" @@ -199,21 +199,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-canberra", "_id" : "worldVertices/capital-canberra", - "_rev" : "_Xcgc_JW--L", + "_rev" : "_XiAwdkC--P", "name" : "Canberra", "type" : "capital" }, { "_key" : "capital-bujumbura", "_id" : "worldVertices/capital-bujumbura", - "_rev" : "_Xcgc_JW--H", + "_rev" : "_XiAwdkC--L", "name" : "Bujumbura", "type" : "capital" }, { "_key" : "country-bangladesh", "_id" : "worldVertices/country-bangladesh", - "_rev" : "_Xcgc_JG--F", + "_rev" : "_XiAwdjy--R", "name" : "Bangladesh", "type" : "country", "code" : "BGD" @@ -221,7 +221,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-ecuador", "_id" : "worldVertices/country-ecuador", - "_rev" : "_Xcgc_JO--N", + "_rev" : "_XiAwdj6--P", "name" : "Ecuador", "type" : "country", "code" : "ECU" @@ -229,14 +229,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-africa", "_id" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_J---_", + "_rev" : "_XiAwdju--_", "name" : "Africa", "type" : "continent" }, { "_key" : "country-cambodia", "_id" : "worldVertices/country-cambodia", - "_rev" : "_Xcgc_JK--L", + "_rev" : "_XiAwdj2--T", "name" : "Cambodia", "type" : "country", "code" : "KHM" @@ -244,7 +244,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-chile", "_id" : "worldVertices/country-chile", - "_rev" : "_Xcgc_JO--B", + "_rev" : "_XiAwdj6--D", "name" : "Chile", "type" : "country", "code" : "CHL" @@ -252,7 +252,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bolivia", "_id" : "worldVertices/country-bolivia", - "_rev" : "_Xcgc_JG--N", + "_rev" : "_XiAwdj2--D", "name" : "Bolivia", "type" : "country", "code" : "BOL" @@ -260,7 +260,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-belgium", "_id" : "worldVertices/country-belgium", - "_rev" : "_Xcgc_JG--J", + "_rev" : "_XiAwdj2--_", "name" : "Belgium", "type" : "country", "code" : "BEL" @@ -268,14 +268,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-copenhagen", "_id" : "worldVertices/capital-copenhagen", - "_rev" : "_Xcgc_JW--N", + "_rev" : "_XiAwdkC--R", "name" : "Copenhagen", "type" : "capital" }, { "_key" : "country-cameroon", "_id" : "worldVertices/country-cameroon", - "_rev" : "_Xcgc_JK--N", + "_rev" : "_XiAwdj2--V", "name" : "Cameroon", "type" : "country", "code" : "CMR" @@ -283,42 +283,42 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-gaborone", "_id" : "worldVertices/capital-gaborone", - "_rev" : "_Xcgc_JW--R", + "_rev" : "_XiAwdkG--B", "name" : "Gaborone", "type" : "capital" }, { "_key" : "continent-australia", "_id" : "worldVertices/continent-australia", - "_rev" : "_Xcgc_J---D", + "_rev" : "_XiAwdju--D", "name" : "Australia", "type" : "continent" }, { "_key" : "world", "_id" : "worldVertices/world", - "_rev" : "_Xcgc_I6--_", + "_rev" : "_XiAwdjq--_", "name" : "World", "type" : "root" }, { "_key" : "capital-yamoussoukro", "_id" : "worldVertices/capital-yamoussoukro", - "_rev" : "_Xcgc_Ji--_", + "_rev" : "_XiAwdkO--D", "name" : "Yamoussoukro", "type" : "capital" }, { "_key" : "capital-brasilia", "_id" : "worldVertices/capital-brasilia", - "_rev" : "_Xcgc_JW--_", + "_rev" : "_XiAwdkC--D", "name" : "Brasilia", "type" : "capital" }, { "_key" : "country-antigua-and-barbuda", "_id" : "worldVertices/country-antigua-and-barbuda", - "_rev" : "_Xcgc_JC--L", + "_rev" : "_XiAwdjy--F", "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" : "_Xcgc_JS--L", + "_rev" : "_XiAwdk---P", "name" : "Bandar Seri Begawan", "type" : "capital" }, { "_key" : "capital-dhaka", "_id" : "worldVertices/capital-dhaka", - "_rev" : "_Xcgc_JW--P", + "_rev" : "_XiAwdkG--_", "name" : "Dhaka", "type" : "capital" }, { "_key" : "capital-saint-john-s", "_id" : "worldVertices/capital-saint-john-s", - "_rev" : "_Xcgc_Je--F", + "_rev" : "_XiAwdkK--J", "name" : "Saint John's", "type" : "capital" }, { "_key" : "country-burkina-faso", "_id" : "worldVertices/country-burkina-faso", - "_rev" : "_Xcgc_JK--H", + "_rev" : "_XiAwdj2--P", "name" : "Burkina Faso", "type" : "country", "code" : "BFA" @@ -355,14 +355,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-prague", "_id" : "worldVertices/capital-prague", - "_rev" : "_Xcgc_Je--B", + "_rev" : "_XiAwdkK--F", "name" : "Prague", "type" : "capital" }, { "_key" : "country-czech-republic", "_id" : "worldVertices/country-czech-republic", - "_rev" : "_Xcgc_JO--J", + "_rev" : "_XiAwdj6--L", "name" : "Czech Republic", "type" : "country", "code" : "CZE" @@ -370,7 +370,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-egypt", "_id" : "worldVertices/country-egypt", - "_rev" : "_Xcgc_JO--P", + "_rev" : "_XiAwdj6--R", "name" : "Egypt", "type" : "country", "code" : "EGY" @@ -378,14 +378,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-helsinki", "_id" : "worldVertices/capital-helsinki", - "_rev" : "_Xcgc_Ja--_", + "_rev" : "_XiAwdkG--D", "name" : "Helsinki", "type" : "capital" }, { "_key" : "country-bhutan", "_id" : "worldVertices/country-bhutan", - "_rev" : "_Xcgc_JG--L", + "_rev" : "_XiAwdj2--B", "name" : "Bhutan", "type" : "country", "code" : "BTN" @@ -393,7 +393,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-algeria", "_id" : "worldVertices/country-algeria", - "_rev" : "_Xcgc_JC--F", + "_rev" : "_XiAwdjy--_", "name" : "Algeria", "type" : "country", "code" : "DZA" @@ -401,7 +401,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-afghanistan", "_id" : "worldVertices/country-afghanistan", - "_rev" : "_Xcgc_JC--B", + "_rev" : "_XiAwdju--L", "name" : "Afghanistan", "type" : "country", "code" : "AFG" @@ -409,14 +409,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-paris", "_id" : "worldVertices/capital-paris", - "_rev" : "_Xcgc_Ja--R", + "_rev" : "_XiAwdkK--B", "name" : "Paris", "type" : "capital" }, { "_key" : "country-finland", "_id" : "worldVertices/country-finland", - "_rev" : "_Xcgc_JO--T", + "_rev" : "_XiAwdk---B", "name" : "Finland", "type" : "country", "code" : "FIN" @@ -424,7 +424,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-austria", "_id" : "worldVertices/country-austria", - "_rev" : "_Xcgc_JG--_", + "_rev" : "_XiAwdjy--L", "name" : "Austria", "type" : "country", "code" : "AUT" @@ -432,14 +432,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-brussels", "_id" : "worldVertices/capital-brussels", - "_rev" : "_Xcgc_JW--D", + "_rev" : "_XiAwdkC--H", "name" : "Brussels", "type" : "capital" }, { "_key" : "country-denmark", "_id" : "worldVertices/country-denmark", - "_rev" : "_Xcgc_JO--L", + "_rev" : "_XiAwdj6--N", "name" : "Denmark", "type" : "country", "code" : "DNK" @@ -447,7 +447,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-albania", "_id" : "worldVertices/country-albania", - "_rev" : "_Xcgc_JC--D", + "_rev" : "_XiAwdju--N", "name" : "Albania", "type" : "country", "code" : "ALB" @@ -455,28 +455,28 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-berlin", "_id" : "worldVertices/capital-berlin", - "_rev" : "_Xcgc_JS--P", + "_rev" : "_XiAwdkC--_", "name" : "Berlin", "type" : "capital" }, { "_key" : "capital-buenos-aires", "_id" : "worldVertices/capital-buenos-aires", - "_rev" : "_Xcgc_JW--F", + "_rev" : "_XiAwdkC--J", "name" : "Buenos Aires", "type" : "capital" }, { "_key" : "capital-quito", "_id" : "worldVertices/capital-quito", - "_rev" : "_Xcgc_Je--D", + "_rev" : "_XiAwdkK--H", "name" : "Quito", "type" : "capital" }, { "_key" : "country-france", "_id" : "worldVertices/country-france", - "_rev" : "_Xcgc_JS--_", + "_rev" : "_XiAwdk---D", "name" : "France", "type" : "country", "code" : "FRA" @@ -484,7 +484,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-colombia", "_id" : "worldVertices/country-colombia", - "_rev" : "_Xcgc_JO--D", + "_rev" : "_XiAwdj6--F", "name" : "Colombia", "type" : "country", "code" : "COL" @@ -492,7 +492,7 @@ arangosh> db.worldVertices.toArray(); { "_key" : "country-bulgaria", "_id" : "worldVertices/country-bulgaria", - "_rev" : "_Xcgc_JK--F", + "_rev" : "_XiAwdj2--N", "name" : "Bulgaria", "type" : "country", "code" : "BGR" @@ -500,21 +500,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-north-america", "_id" : "worldVertices/continent-north-america", - "_rev" : "_Xcgc_J---H", + "_rev" : "_XiAwdju--H", "name" : "North America", "type" : "continent" }, { "_key" : "capital-vienna", "_id" : "worldVertices/capital-vienna", - "_rev" : "_Xcgc_Je--R", + "_rev" : "_XiAwdkO--B", "name" : "Vienna", "type" : "capital" }, { "_key" : "country-bahamas", "_id" : "worldVertices/country-bahamas", - "_rev" : "_Xcgc_JG--B", + "_rev" : "_XiAwdjy--N", "name" : "Bahamas", "type" : "country", "code" : "BHS" @@ -522,14 +522,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-asia", "_id" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_J---B", + "_rev" : "_XiAwdju--B", "name" : "Asia", "type" : "continent" }, { "_key" : "country-barbados", "_id" : "worldVertices/country-barbados", - "_rev" : "_Xcgc_JG--H", + "_rev" : "_XiAwdjy--T", "name" : "Barbados", "type" : "country", "code" : "BRB" @@ -537,28 +537,28 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-n-djamena", "_id" : "worldVertices/capital-n-djamena", - "_rev" : "_Xcgc_Ja--L", + "_rev" : "_XiAwdkG--P", "name" : "N'Djamena", "type" : "capital" }, { "_key" : "capital-ouagadougou", "_id" : "worldVertices/capital-ouagadougou", - "_rev" : "_Xcgc_Ja--P", + "_rev" : "_XiAwdkK--_", "name" : "Ouagadougou", "type" : "capital" }, { "_key" : "capital-bogota", "_id" : "worldVertices/capital-bogota", - "_rev" : "_Xcgc_JS--R", + "_rev" : "_XiAwdkC--B", "name" : "Bogota", "type" : "capital" }, { "_key" : "country-brunei", "_id" : "worldVertices/country-brunei", - "_rev" : "_Xcgc_JK--D", + "_rev" : "_XiAwdj2--L", "name" : "Brunei", "type" : "country", "code" : "BRN" @@ -566,42 +566,42 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-asmara", "_id" : "worldVertices/capital-asmara", - "_rev" : "_Xcgc_JS--J", + "_rev" : "_XiAwdk---N", "name" : "Asmara", "type" : "capital" }, { "_key" : "capital-cairo", "_id" : "worldVertices/capital-cairo", - "_rev" : "_Xcgc_JW--J", + "_rev" : "_XiAwdkC--N", "name" : "Cairo", "type" : "capital" }, { "_key" : "capital-kabul", "_id" : "worldVertices/capital-kabul", - "_rev" : "_Xcgc_Ja--B", + "_rev" : "_XiAwdkG--F", "name" : "Kabul", "type" : "capital" }, { "_key" : "capital-nassau", "_id" : "worldVertices/capital-nassau", - "_rev" : "_Xcgc_Ja--J", + "_rev" : "_XiAwdkG--N", "name" : "Nassau", "type" : "capital" }, { "_key" : "capital-beijing", "_id" : "worldVertices/capital-beijing", - "_rev" : "_Xcgc_JS--N", + "_rev" : "_XiAwdk---R", "name" : "Beijing", "type" : "capital" }, { "_key" : "country-canada", "_id" : "worldVertices/country-canada", - "_rev" : "_Xcgc_JK--P", + "_rev" : "_XiAwdj6--_", "name" : "Canada", "type" : "country", "code" : "CAN" @@ -609,21 +609,21 @@ arangosh> db.worldVertices.toArray(); { "_key" : "continent-europe", "_id" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_J---F", + "_rev" : "_XiAwdju--F", "name" : "Europe", "type" : "continent" }, { "_key" : "capital-luanda", "_id" : "worldVertices/capital-luanda", - "_rev" : "_Xcgc_Ja--F", + "_rev" : "_XiAwdkG--J", "name" : "Luanda", "type" : "capital" }, { "_key" : "country-australia", "_id" : "worldVertices/country-australia", - "_rev" : "_Xcgc_JC--P", + "_rev" : "_XiAwdjy--J", "name" : "Australia", "type" : "country", "code" : "AUS" @@ -631,14 +631,14 @@ arangosh> db.worldVertices.toArray(); { "_key" : "capital-sarajevo", "_id" : "worldVertices/capital-sarajevo", - "_rev" : "_Xcgc_Je--J", + "_rev" : "_XiAwdkK--N", "name" : "Sarajevo", "type" : "capital" }, { "_key" : "country-andorra", "_id" : "worldVertices/country-andorra", - "_rev" : "_Xcgc_JC--H", + "_rev" : "_XiAwdjy--B", "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" : "_Xcgc_JG--P", + "_rev" : "_XiAwdj2--F", "name" : "Bosnia and Herzegovina", "type" : "country", "code" : "BIH" @@ -659,7 +659,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36154", "_from" : "worldVertices/country-germany", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jy--P", + "_rev" : "_XiAwdki--_", "type" : "is-in" }, { @@ -667,7 +667,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36046", "_from" : "worldVertices/country-algeria", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Jm--B", + "_rev" : "_XiAwdkS--H", "type" : "is-in" }, { @@ -675,7 +675,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36253", "_from" : "worldVertices/capital-santiago", "_to" : "worldVertices/country-chile", - "_rev" : "_Xcgc_KC--F", + "_rev" : "_XiAwdku--D", "type" : "is-in" }, { @@ -683,7 +683,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36079", "_from" : "worldVertices/country-belgium", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jq--F", + "_rev" : "_XiAwdkW--J", "type" : "is-in" }, { @@ -691,7 +691,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36130", "_from" : "worldVertices/country-croatia", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jy--_", + "_rev" : "_XiAwdke--D", "type" : "is-in" }, { @@ -699,7 +699,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36052", "_from" : "worldVertices/country-angola", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Jm--F", + "_rev" : "_XiAwdkS--L", "type" : "is-in" }, { @@ -707,7 +707,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36136", "_from" : "worldVertices/country-denmark", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jy--D", + "_rev" : "_XiAwdke--H", "type" : "is-in" }, { @@ -715,7 +715,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36031", "_from" : "worldVertices/continent-europe", "_to" : "worldVertices/world", - "_rev" : "_Xcgc_Ji--L", + "_rev" : "_XiAwdkO--P", "type" : "is-in" }, { @@ -723,7 +723,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36070", "_from" : "worldVertices/country-bahrain", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_Jq--_", + "_rev" : "_XiAwdkW--D", "type" : "is-in" }, { @@ -731,7 +731,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36172", "_from" : "worldVertices/capital-beijing", "_to" : "worldVertices/country-people-s-republic-of-china", - "_rev" : "_Xcgc_J2--J", + "_rev" : "_XiAwdki--L", "type" : "is-in" }, { @@ -739,7 +739,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36055", "_from" : "worldVertices/country-antigua-and-barbuda", "_to" : "worldVertices/continent-north-america", - "_rev" : "_Xcgc_Jm--H", + "_rev" : "_XiAwdkS--N", "type" : "is-in" }, { @@ -747,7 +747,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36220", "_from" : "worldVertices/capital-luanda", "_to" : "worldVertices/country-angola", - "_rev" : "_Xcgc_K---D", + "_rev" : "_XiAwdkq--D", "type" : "is-in" }, { @@ -755,7 +755,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36073", "_from" : "worldVertices/country-bangladesh", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_Jq--B", + "_rev" : "_XiAwdkW--F", "type" : "is-in" }, { @@ -763,7 +763,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36076", "_from" : "worldVertices/country-barbados", "_to" : "worldVertices/continent-north-america", - "_rev" : "_Xcgc_Jq--D", + "_rev" : "_XiAwdkW--H", "type" : "is-in" }, { @@ -771,7 +771,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36241", "_from" : "worldVertices/capital-phnom-penh", "_to" : "worldVertices/country-cambodia", - "_rev" : "_Xcgc_K---R", + "_rev" : "_XiAwdkq--R", "type" : "is-in" }, { @@ -779,7 +779,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36178", "_from" : "worldVertices/capital-bogota", "_to" : "worldVertices/country-colombia", - "_rev" : "_Xcgc_J2--N", + "_rev" : "_XiAwdki--P", "type" : "is-in" }, { @@ -787,7 +787,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36265", "_from" : "worldVertices/capital-tirana", "_to" : "worldVertices/country-albania", - "_rev" : "_Xcgc_KC--N", + "_rev" : "_XiAwdku--L", "type" : "is-in" }, { @@ -795,7 +795,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36025", "_from" : "worldVertices/continent-asia", "_to" : "worldVertices/world", - "_rev" : "_Xcgc_Ji--H", + "_rev" : "_XiAwdkO--L", "type" : "is-in" }, { @@ -803,7 +803,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36160", "_from" : "worldVertices/capital-algiers", "_to" : "worldVertices/country-algeria", - "_rev" : "_Xcgc_J2--B", + "_rev" : "_XiAwdki--D", "type" : "is-in" }, { @@ -811,7 +811,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36238", "_from" : "worldVertices/capital-paris", "_to" : "worldVertices/country-france", - "_rev" : "_Xcgc_K---P", + "_rev" : "_XiAwdkq--P", "type" : "is-in" }, { @@ -819,7 +819,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36145", "_from" : "worldVertices/country-eritrea", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Jy--J", + "_rev" : "_XiAwdke--N", "type" : "is-in" }, { @@ -827,7 +827,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36021", "_from" : "worldVertices/continent-africa", "_to" : "worldVertices/world", - "_rev" : "_Xcgc_Ji--F", + "_rev" : "_XiAwdkO--J", "type" : "is-in" }, { @@ -835,7 +835,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36037", "_from" : "worldVertices/continent-south-america", "_to" : "worldVertices/world", - "_rev" : "_Xcgc_Ji--P", + "_rev" : "_XiAwdkS--B", "type" : "is-in" }, { @@ -843,7 +843,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36100", "_from" : "worldVertices/country-bulgaria", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Ju--_", + "_rev" : "_XiAwdka--D", "type" : "is-in" }, { @@ -851,7 +851,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36115", "_from" : "worldVertices/country-canada", "_to" : "worldVertices/continent-north-america", - "_rev" : "_Xcgc_Ju--J", + "_rev" : "_XiAwdka--N", "type" : "is-in" }, { @@ -859,7 +859,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36169", "_from" : "worldVertices/capital-bandar-seri-begawan", "_to" : "worldVertices/country-brunei", - "_rev" : "_Xcgc_J2--H", + "_rev" : "_XiAwdki--J", "type" : "is-in" }, { @@ -867,7 +867,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36124", "_from" : "worldVertices/country-colombia", "_to" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_Ju--P", + "_rev" : "_XiAwdke--_", "type" : "is-in" }, { @@ -875,7 +875,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36187", "_from" : "worldVertices/capital-brussels", "_to" : "worldVertices/country-belgium", - "_rev" : "_Xcgc_J6--_", + "_rev" : "_XiAwdkm--B", "type" : "is-in" }, { @@ -883,7 +883,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36034", "_from" : "worldVertices/continent-north-america", "_to" : "worldVertices/world", - "_rev" : "_Xcgc_Ji--N", + "_rev" : "_XiAwdkS--_", "type" : "is-in" }, { @@ -891,7 +891,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36256", "_from" : "worldVertices/capital-sarajevo", "_to" : "worldVertices/country-bosnia-and-herzegovina", - "_rev" : "_Xcgc_KC--H", + "_rev" : "_XiAwdku--F", "type" : "is-in" }, { @@ -899,7 +899,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36193", "_from" : "worldVertices/capital-bujumbura", "_to" : "worldVertices/country-burundi", - "_rev" : "_Xcgc_J6--D", + "_rev" : "_XiAwdkm--F", "type" : "is-in" }, { @@ -907,7 +907,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36097", "_from" : "worldVertices/country-brunei", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_Jq--R", + "_rev" : "_XiAwdka--B", "type" : "is-in" }, { @@ -915,7 +915,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36277", "_from" : "worldVertices/capital-zagreb", "_to" : "worldVertices/country-croatia", - "_rev" : "_Xcgc_KG--B", + "_rev" : "_XiAwdky--_", "type" : "is-in" }, { @@ -923,7 +923,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36148", "_from" : "worldVertices/country-finland", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jy--L", + "_rev" : "_XiAwdke--P", "type" : "is-in" }, { @@ -931,7 +931,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36268", "_from" : "worldVertices/capital-vienna", "_to" : "worldVertices/country-austria", - "_rev" : "_Xcgc_KC--P", + "_rev" : "_XiAwdku--N", "type" : "is-in" }, { @@ -939,7 +939,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36247", "_from" : "worldVertices/capital-quito", "_to" : "worldVertices/country-ecuador", - "_rev" : "_Xcgc_KC--B", + "_rev" : "_XiAwdku--_", "type" : "is-in" }, { @@ -947,7 +947,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36121", "_from" : "worldVertices/country-chile", "_to" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_Ju--N", + "_rev" : "_XiAwdka--R", "type" : "is-in" }, { @@ -955,7 +955,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36118", "_from" : "worldVertices/country-chad", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Ju--L", + "_rev" : "_XiAwdka--P", "type" : "is-in" }, { @@ -963,7 +963,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36205", "_from" : "worldVertices/capital-dhaka", "_to" : "worldVertices/country-bangladesh", - "_rev" : "_Xcgc_J6--L", + "_rev" : "_XiAwdkm--N", "type" : "is-in" }, { @@ -971,7 +971,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36274", "_from" : "worldVertices/capital-yaounde", "_to" : "worldVertices/country-cameroon", - "_rev" : "_Xcgc_KG--_", + "_rev" : "_XiAwdku--R", "type" : "is-in" }, { @@ -979,7 +979,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36175", "_from" : "worldVertices/capital-berlin", "_to" : "worldVertices/country-germany", - "_rev" : "_Xcgc_J2--L", + "_rev" : "_XiAwdki--N", "type" : "is-in" }, { @@ -987,7 +987,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36250", "_from" : "worldVertices/capital-saint-john-s", "_to" : "worldVertices/country-antigua-and-barbuda", - "_rev" : "_Xcgc_KC--D", + "_rev" : "_XiAwdku--B", "type" : "is-in" }, { @@ -995,7 +995,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36199", "_from" : "worldVertices/capital-canberra", "_to" : "worldVertices/country-australia", - "_rev" : "_Xcgc_J6--H", + "_rev" : "_XiAwdkm--J", "type" : "is-in" }, { @@ -1003,7 +1003,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36157", "_from" : "worldVertices/country-people-s-republic-of-china", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_J2--_", + "_rev" : "_XiAwdki--B", "type" : "is-in" }, { @@ -1011,7 +1011,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36163", "_from" : "worldVertices/capital-andorra-la-vella", "_to" : "worldVertices/country-andorra", - "_rev" : "_Xcgc_J2--D", + "_rev" : "_XiAwdki--F", "type" : "is-in" }, { @@ -1019,7 +1019,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36088", "_from" : "worldVertices/country-bosnia-and-herzegovina", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jq--L", + "_rev" : "_XiAwdkW--P", "type" : "is-in" }, { @@ -1027,7 +1027,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36085", "_from" : "worldVertices/country-bolivia", "_to" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_Jq--J", + "_rev" : "_XiAwdkW--N", "type" : "is-in" }, { @@ -1035,7 +1035,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36139", "_from" : "worldVertices/country-ecuador", "_to" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_Jy--F", + "_rev" : "_XiAwdke--J", "type" : "is-in" }, { @@ -1043,7 +1043,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36190", "_from" : "worldVertices/capital-buenos-aires", "_to" : "worldVertices/country-argentina", - "_rev" : "_Xcgc_J6--B", + "_rev" : "_XiAwdkm--D", "type" : "is-in" }, { @@ -1051,7 +1051,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36244", "_from" : "worldVertices/capital-prague", "_to" : "worldVertices/country-czech-republic", - "_rev" : "_Xcgc_KC--_", + "_rev" : "_XiAwdkq--T", "type" : "is-in" }, { @@ -1059,7 +1059,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36103", "_from" : "worldVertices/country-burkina-faso", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Ju--B", + "_rev" : "_XiAwdka--F", "type" : "is-in" }, { @@ -1067,7 +1067,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36064", "_from" : "worldVertices/country-austria", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jm--N", + "_rev" : "_XiAwdkW--_", "type" : "is-in" }, { @@ -1075,7 +1075,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36217", "_from" : "worldVertices/capital-la-paz", "_to" : "worldVertices/country-bolivia", - "_rev" : "_Xcgc_K---B", + "_rev" : "_XiAwdkq--B", "type" : "is-in" }, { @@ -1083,7 +1083,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36067", "_from" : "worldVertices/country-bahamas", "_to" : "worldVertices/continent-north-america", - "_rev" : "_Xcgc_Jm--P", + "_rev" : "_XiAwdkW--B", "type" : "is-in" }, { @@ -1091,7 +1091,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36229", "_from" : "worldVertices/capital-n-djamena", "_to" : "worldVertices/country-chad", - "_rev" : "_Xcgc_K---J", + "_rev" : "_XiAwdkq--J", "type" : "is-in" }, { @@ -1099,7 +1099,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36211", "_from" : "worldVertices/capital-helsinki", "_to" : "worldVertices/country-finland", - "_rev" : "_Xcgc_J6--P", + "_rev" : "_XiAwdkm--R", "type" : "is-in" }, { @@ -1107,7 +1107,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36043", "_from" : "worldVertices/country-albania", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jm--_", + "_rev" : "_XiAwdkS--F", "type" : "is-in" }, { @@ -1115,7 +1115,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36226", "_from" : "worldVertices/capital-nassau", "_to" : "worldVertices/country-bahamas", - "_rev" : "_Xcgc_K---H", + "_rev" : "_XiAwdkq--H", "type" : "is-in" }, { @@ -1123,7 +1123,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36109", "_from" : "worldVertices/country-cambodia", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_Ju--F", + "_rev" : "_XiAwdka--J", "type" : "is-in" }, { @@ -1131,7 +1131,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36208", "_from" : "worldVertices/capital-gaborone", "_to" : "worldVertices/country-botswana", - "_rev" : "_Xcgc_J6--N", + "_rev" : "_XiAwdkm--P", "type" : "is-in" }, { @@ -1139,7 +1139,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36262", "_from" : "worldVertices/capital-thimphu", "_to" : "worldVertices/country-bhutan", - "_rev" : "_Xcgc_KC--L", + "_rev" : "_XiAwdku--J", "type" : "is-in" }, { @@ -1147,7 +1147,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36058", "_from" : "worldVertices/country-argentina", "_to" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_Jm--J", + "_rev" : "_XiAwdkS--P", "type" : "is-in" }, { @@ -1155,7 +1155,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36061", "_from" : "worldVertices/country-australia", "_to" : "worldVertices/continent-australia", - "_rev" : "_Xcgc_Jm--L", + "_rev" : "_XiAwdkS--R", "type" : "is-in" }, { @@ -1163,7 +1163,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36181", "_from" : "worldVertices/capital-brasilia", "_to" : "worldVertices/country-brazil", - "_rev" : "_Xcgc_J2--P", + "_rev" : "_XiAwdki--R", "type" : "is-in" }, { @@ -1171,7 +1171,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36271", "_from" : "worldVertices/capital-yamoussoukro", "_to" : "worldVertices/country-cote-d-ivoire", - "_rev" : "_Xcgc_KC--R", + "_rev" : "_XiAwdku--P", "type" : "is-in" }, { @@ -1179,7 +1179,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36196", "_from" : "worldVertices/capital-cairo", "_to" : "worldVertices/country-egypt", - "_rev" : "_Xcgc_J6--F", + "_rev" : "_XiAwdkm--H", "type" : "is-in" }, { @@ -1187,7 +1187,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36112", "_from" : "worldVertices/country-cameroon", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Ju--H", + "_rev" : "_XiAwdka--L", "type" : "is-in" }, { @@ -1195,7 +1195,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36214", "_from" : "worldVertices/capital-kabul", "_to" : "worldVertices/country-afghanistan", - "_rev" : "_Xcgc_K---_", + "_rev" : "_XiAwdkq--_", "type" : "is-in" }, { @@ -1203,7 +1203,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36127", "_from" : "worldVertices/country-cote-d-ivoire", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Ju--R", + "_rev" : "_XiAwdke--B", "type" : "is-in" }, { @@ -1211,7 +1211,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36232", "_from" : "worldVertices/capital-ottawa", "_to" : "worldVertices/country-canada", - "_rev" : "_Xcgc_K---L", + "_rev" : "_XiAwdkq--L", "type" : "is-in" }, { @@ -1219,7 +1219,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36094", "_from" : "worldVertices/country-brazil", "_to" : "worldVertices/continent-south-america", - "_rev" : "_Xcgc_Jq--P", + "_rev" : "_XiAwdka--_", "type" : "is-in" }, { @@ -1227,7 +1227,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36028", "_from" : "worldVertices/continent-australia", "_to" : "worldVertices/world", - "_rev" : "_Xcgc_Ji--J", + "_rev" : "_XiAwdkO--N", "type" : "is-in" }, { @@ -1235,7 +1235,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36133", "_from" : "worldVertices/country-czech-republic", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jy--B", + "_rev" : "_XiAwdke--F", "type" : "is-in" }, { @@ -1243,7 +1243,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36151", "_from" : "worldVertices/country-france", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jy--N", + "_rev" : "_XiAwdke--R", "type" : "is-in" }, { @@ -1251,7 +1251,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36049", "_from" : "worldVertices/country-andorra", "_to" : "worldVertices/continent-europe", - "_rev" : "_Xcgc_Jm--D", + "_rev" : "_XiAwdkS--J", "type" : "is-in" }, { @@ -1259,7 +1259,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36166", "_from" : "worldVertices/capital-asmara", "_to" : "worldVertices/country-eritrea", - "_rev" : "_Xcgc_J2--F", + "_rev" : "_XiAwdki--H", "type" : "is-in" }, { @@ -1267,7 +1267,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36091", "_from" : "worldVertices/country-botswana", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Jq--N", + "_rev" : "_XiAwdkW--R", "type" : "is-in" }, { @@ -1275,7 +1275,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36184", "_from" : "worldVertices/capital-bridgetown", "_to" : "worldVertices/country-barbados", - "_rev" : "_Xcgc_J2--R", + "_rev" : "_XiAwdkm--_", "type" : "is-in" }, { @@ -1283,7 +1283,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36082", "_from" : "worldVertices/country-bhutan", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_Jq--H", + "_rev" : "_XiAwdkW--L", "type" : "is-in" }, { @@ -1291,7 +1291,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36223", "_from" : "worldVertices/capital-manama", "_to" : "worldVertices/country-bahrain", - "_rev" : "_Xcgc_K---F", + "_rev" : "_XiAwdkq--F", "type" : "is-in" }, { @@ -1299,7 +1299,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36202", "_from" : "worldVertices/capital-copenhagen", "_to" : "worldVertices/country-denmark", - "_rev" : "_Xcgc_J6--J", + "_rev" : "_XiAwdkm--L", "type" : "is-in" }, { @@ -1307,7 +1307,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36142", "_from" : "worldVertices/country-egypt", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Jy--H", + "_rev" : "_XiAwdke--L", "type" : "is-in" }, { @@ -1315,7 +1315,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36259", "_from" : "worldVertices/capital-sofia", "_to" : "worldVertices/country-bulgaria", - "_rev" : "_Xcgc_KC--J", + "_rev" : "_XiAwdku--H", "type" : "is-in" }, { @@ -1323,7 +1323,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36235", "_from" : "worldVertices/capital-ouagadougou", "_to" : "worldVertices/country-burkina-faso", - "_rev" : "_Xcgc_K---N", + "_rev" : "_XiAwdkq--N", "type" : "is-in" }, { @@ -1331,7 +1331,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36106", "_from" : "worldVertices/country-burundi", "_to" : "worldVertices/continent-africa", - "_rev" : "_Xcgc_Ju--D", + "_rev" : "_XiAwdka--H", "type" : "is-in" }, { @@ -1339,7 +1339,7 @@ arangosh> db.worldEdges.toArray(); "_id" : "worldEdges/36040", "_from" : "worldVertices/country-afghanistan", "_to" : "worldVertices/continent-asia", - "_rev" : "_Xcgc_Ji--R", + "_rev" : "_XiAwdkS--D", "type" : "is-in" } ] diff --git a/Documentation/Examples/queryLimit.generated b/Documentation/Examples/queryLimit.generated index 1bebec67ed..1569cf62a0 100644 --- a/Documentation/Examples/queryLimit.generated +++ b/Documentation/Examples/queryLimit.generated @@ -3,31 +3,31 @@ arangosh> db.five.all().toArray(); { "_key" : "36806", "_id" : "five/36806", - "_rev" : "_Xcgc_Su--_", + "_rev" : "_XiAwdty--F", "name" : "four" }, { "_key" : "36796", "_id" : "five/36796", - "_rev" : "_Xcgc_Sq--_", + "_rev" : "_XiAwdty--_", "name" : "one" }, { "_key" : "36800", "_id" : "five/36800", - "_rev" : "_Xcgc_Sq--B", + "_rev" : "_XiAwdty--B", "name" : "two" }, { "_key" : "36803", "_id" : "five/36803", - "_rev" : "_Xcgc_Sq--D", + "_rev" : "_XiAwdty--D", "name" : "three" }, { "_key" : "36809", "_id" : "five/36809", - "_rev" : "_Xcgc_Su--B", + "_rev" : "_XiAwdt2--_", "name" : "five" } ] @@ -36,13 +36,13 @@ arangosh> db.five.all().limit(2).toArray(); { "_key" : "36806", "_id" : "five/36806", - "_rev" : "_Xcgc_Su--_", + "_rev" : "_XiAwdty--F", "name" : "four" }, { "_key" : "36796", "_id" : "five/36796", - "_rev" : "_Xcgc_Sq--_", + "_rev" : "_XiAwdty--_", "name" : "one" } ] diff --git a/Documentation/Examples/querySkip.generated b/Documentation/Examples/querySkip.generated index 70ff2d1870..7fcc1e8205 100644 --- a/Documentation/Examples/querySkip.generated +++ b/Documentation/Examples/querySkip.generated @@ -3,31 +3,31 @@ arangosh> db.five.all().toArray(); { "_key" : "36818", "_id" : "five/36818", - "_rev" : "_Xcgc_Tu--_", + "_rev" : "_XiAwduy--_", "name" : "one" }, { "_key" : "36831", "_id" : "five/36831", - "_rev" : "_Xcgc_Tu--H", + "_rev" : "_XiAwdu2--_", "name" : "five" }, { "_key" : "36825", "_id" : "five/36825", - "_rev" : "_Xcgc_Tu--D", + "_rev" : "_XiAwduy--D", "name" : "three" }, { "_key" : "36828", "_id" : "five/36828", - "_rev" : "_Xcgc_Tu--F", + "_rev" : "_XiAwduy--F", "name" : "four" }, { "_key" : "36822", "_id" : "five/36822", - "_rev" : "_Xcgc_Tu--B", + "_rev" : "_XiAwduy--B", "name" : "two" } ] @@ -36,13 +36,13 @@ arangosh> db.five.all().skip(3).toArray(); { "_key" : "36828", "_id" : "five/36828", - "_rev" : "_Xcgc_Tu--F", + "_rev" : "_XiAwduy--F", "name" : "four" }, { "_key" : "36822", "_id" : "five/36822", - "_rev" : "_Xcgc_Tu--B", + "_rev" : "_XiAwduy--B", "name" : "two" } ] diff --git a/Documentation/Examples/usingToArray.generated b/Documentation/Examples/usingToArray.generated index 4503ff4ecd..089cd774c3 100644 --- a/Documentation/Examples/usingToArray.generated +++ b/Documentation/Examples/usingToArray.generated @@ -6,31 +6,31 @@ arangosh> db.five.toArray() { "_key" : "36872", "_id" : "five/36872", - "_rev" : "_Xcgc_bu--_", + "_rev" : "_XiAwd3O--_", "value" : 0 }, { "_key" : "36879", "_id" : "five/36879", - "_rev" : "_Xcgc_bu--D", + "_rev" : "_XiAwd3O--D", "value" : 2 }, { "_key" : "36885", "_id" : "five/36885", - "_rev" : "_Xcgc_bu--H", + "_rev" : "_XiAwd3O--H", "value" : 4 }, { "_key" : "36876", "_id" : "five/36876", - "_rev" : "_Xcgc_bu--B", + "_rev" : "_XiAwd3O--B", "value" : 1 }, { "_key" : "36882", "_id" : "five/36882", - "_rev" : "_Xcgc_bu--F", + "_rev" : "_XiAwd3O--F", "value" : 3 } ] diff --git a/Documentation/Examples/working_with_date_time.generated b/Documentation/Examples/working_with_date_time.generated index 208ae63aca..9dcf320d24 100644 --- a/Documentation/Examples/working_with_date_time.generated +++ b/Documentation/Examples/working_with_date_time.generated @@ -7,21 +7,21 @@ arangosh> db._query("FOR d IN exampleTime FILTER d. { "_key" : "36903", "_id" : "exampleTime/36903", - "_rev" : "_Xcgc_c2--D", + "_rev" : "_XiAwd4a--F", "value" : 3, "ts" : "2014-05-08T11:19:09.522" }, { "_key" : "36897", "_id" : "exampleTime/36897", - "_rev" : "_Xcgc_c2--_", + "_rev" : "_XiAwd4a--B", "value" : 1, "ts" : "2014-05-07T21:19:09.522" }, { "_key" : "36900", "_id" : "exampleTime/36900", - "_rev" : "_Xcgc_c2--B", + "_rev" : "_XiAwd4a--D", "value" : 2, "ts" : "2014-05-08T04:19:09.522" } diff --git a/Documentation/man/man1/arangobench.1 b/Documentation/man/man1/arangobench.1 index caae2b00a9..39d5fd7353 100644 --- a/Documentation/man/man1/arangobench.1 +++ b/Documentation/man/man1/arangobench.1 @@ -1,4 +1,4 @@ -.TH arangobench 1 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangobench 1 "3.3.17" "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 2a04d9ad86..c23d33f808 100644 --- a/Documentation/man/man1/arangodump.1 +++ b/Documentation/man/man1/arangodump.1 @@ -1,4 +1,4 @@ -.TH arangodump 1 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangodump 1 "3.3.17" "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 a3a1fbaf3e..6a6f24c440 100644 --- a/Documentation/man/man1/arangoexport.1 +++ b/Documentation/man/man1/arangoexport.1 @@ -1,4 +1,4 @@ -.TH arangoexport 1 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangoexport 1 "3.3.17" "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 936982b5f1..4b71c7b573 100644 --- a/Documentation/man/man1/arangoimp.1 +++ b/Documentation/man/man1/arangoimp.1 @@ -1,4 +1,4 @@ -.TH arangoimp 1 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangoimp 1 "3.3.17" "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 e83f5835e9..f5c3a57be8 100644 --- a/Documentation/man/man1/arangorestore.1 +++ b/Documentation/man/man1/arangorestore.1 @@ -1,4 +1,4 @@ -.TH arangorestore 1 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangorestore 1 "3.3.17" "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 1a74fb4f82..9037cdf942 100644 --- a/Documentation/man/man1/arangosh.1 +++ b/Documentation/man/man1/arangosh.1 @@ -1,4 +1,4 @@ -.TH arangosh 1 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangosh 1 "3.3.17" "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 21f079c973..efa73d39c9 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.16" "ArangoDB" "ArangoDB" +.TH arango-dfdb 8 "3.3.17" "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 88633fb8e3..334efcc0f9 100644 --- a/Documentation/man/man8/arangod.8 +++ b/Documentation/man/man8/arangod.8 @@ -1,4 +1,4 @@ -.TH arangod 8 "3.3.16" "ArangoDB" "ArangoDB" +.TH arangod 8 "3.3.17" "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 40372e802f..7f725ca53e 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.16" "ArangoDB" "ArangoDB" +.TH foxx-manager 8 "3.3.17" "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 3b2dadeb6e..fdc2e9c3ec 100644 --- a/Documentation/man/man8/rcarangod.8 +++ b/Documentation/man/man8/rcarangod.8 @@ -1,4 +1,4 @@ -.TH rcarangod 8 "3.3.16" "ArangoDB" "ArangoDB" +.TH rcarangod 8 "3.3.17" "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 f4c3f7658e..94aa59db6d 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 ("16" == "devel") { +if ("17" == "devel") { mainBranch = "devel" } else { diff --git a/VERSION b/VERSION index 272a1ca301..e9f0bde544 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.3.16 +3.3.17 diff --git a/VERSIONS b/VERSIONS index f0016595d1..d832015e63 100644 --- a/VERSIONS +++ b/VERSIONS @@ -6,4 +6,4 @@ GCHANGE_FREQ "weekly" GPRIORITY "0.8" BROWSEABLE_VERSIONS "'devel', '3.4', '3.3', '3.2', '3.1', '3.0', '2.8'" STARTER_REV "0.13.3" -SYNCER_REV "0.5.3" +SYNCER_REV "0.6.0" diff --git a/js/apps/system/_admin/aardvark/APP/api-docs.json b/js/apps/system/_admin/aardvark/APP/api-docs.json index 909bcd83e6..0a92d02731 100644 --- a/js/apps/system/_admin/aardvark/APP/api-docs.json +++ b/js/apps/system/_admin/aardvark/APP/api-docs.json @@ -2890,7 +2890,7 @@ }, "/_admin/statistics": { "get": { - "description": "\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\" : 1537205972.860168, \n  \"enabled\" : true, \n  \"system\" : { \n    \"minorPageFaults\" : 80792, \n    \"majorPageFaults\" : 301, \n    \"userTime\" : 2.46, \n    \"systemTime\" : 0.47, \n    \"numberOfThreads\" : 44, \n    \"residentSize\" : 451125248, \n    \"residentSizePercent\" : 0.027018268694619086, \n    \"virtualSize\" : 3720945664 \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\" : 2.858102560043335, \n      \"count\" : 4172, \n      \"counts\" : [ \n        4109, \n        62, \n        0, \n        0, \n        1, \n        0, \n        0 \n      ] \n    }, \n    \"requestTime\" : { \n      \"sum\" : 0.030713796615600586, \n      \"count\" : 4172, \n      \"counts\" : [ \n        4171, \n        1, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"queueTime\" : { \n      \"sum\" : 0.026005983352661133, \n      \"count\" : 1216, \n      \"counts\" : [ \n        1216, \n        0, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"ioTime\" : { \n      \"sum\" : 2.8013827800750732, \n      \"count\" : 4172, \n      \"counts\" : [ \n        4111, \n        60, \n        0, \n        0, \n        1, \n        0, \n        0 \n      ] \n    }, \n    \"bytesSent\" : { \n      \"sum\" : 1875173, \n      \"count\" : 4172, \n      \"counts\" : [ \n        318, \n        3492, \n        343, \n        19, \n        0, \n        0 \n      ] \n    }, \n    \"bytesReceived\" : { \n      \"sum\" : 900648, \n      \"count\" : 4172, \n      \"counts\" : [ \n        3836, \n        336, \n        0, \n        0, \n        0, \n        0 \n      ] \n    } \n  }, \n  \"http\" : { \n    \"requestsTotal\" : 4172, \n    \"requestsAsync\" : 9, \n    \"requestsGet\" : 1092, \n    \"requestsHead\" : 0, \n    \"requestsPost\" : 2851, \n    \"requestsPut\" : 72, \n    \"requestsPatch\" : 3, \n    \"requestsDelete\" : 154, \n    \"requestsOptions\" : 0, \n    \"requestsOther\" : 0 \n  }, \n  \"server\" : { \n    \"uptime\" : 6.2932679653167725, \n    \"physicalMemory\" : 16697044992, \n    \"v8Context\" : { \n      \"available\" : 5, \n      \"busy\" : 4, \n      \"dirty\" : 0, \n      \"free\" : 1, \n      \"max\" : 16 \n    }, \n    \"threads\" : { \n      \"running\" : 5, \n      \"working\" : 4, \n      \"blocked\" : 0 \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\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\" : 1538683711.0433867, \n  \"enabled\" : true, \n  \"system\" : { \n    \"minorPageFaults\" : 81865, \n    \"majorPageFaults\" : 5, \n    \"userTime\" : 2.46, \n    \"systemTime\" : 0.44, \n    \"numberOfThreads\" : 44, \n    \"residentSize\" : 452980736, \n    \"residentSizePercent\" : 0.027129395423982815, \n    \"virtualSize\" : 3734065152 \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\" : 2.8232412338256836, \n      \"count\" : 4177, \n      \"counts\" : [ \n        4134, \n        41, \n        1, \n        0, \n        1, \n        0, \n        0 \n      ] \n    }, \n    \"requestTime\" : { \n      \"sum\" : 0.030626296997070312, \n      \"count\" : 4177, \n      \"counts\" : [ \n        4176, \n        1, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"queueTime\" : { \n      \"sum\" : 0.029483795166015625, \n      \"count\" : 1218, \n      \"counts\" : [ \n        1218, \n        0, \n        0, \n        0, \n        0, \n        0, \n        0 \n      ] \n    }, \n    \"ioTime\" : { \n      \"sum\" : 2.7631311416625977, \n      \"count\" : 4177, \n      \"counts\" : [ \n        4135, \n        40, \n        1, \n        0, \n        1, \n        0, \n        0 \n      ] \n    }, \n    \"bytesSent\" : { \n      \"sum\" : 1879039, \n      \"count\" : 4177, \n      \"counts\" : [ \n        321, \n        3492, \n        345, \n        19, \n        0, \n        0 \n      ] \n    }, \n    \"bytesReceived\" : { \n      \"sum\" : 901495, \n      \"count\" : 4177, \n      \"counts\" : [ \n        3841, \n        336, \n        0, \n        0, \n        0, \n        0 \n      ] \n    } \n  }, \n  \"http\" : { \n    \"requestsTotal\" : 4177, \n    \"requestsAsync\" : 9, \n    \"requestsGet\" : 1096, \n    \"requestsHead\" : 0, \n    \"requestsPost\" : 2851, \n    \"requestsPut\" : 72, \n    \"requestsPatch\" : 3, \n    \"requestsDelete\" : 155, \n    \"requestsOptions\" : 0, \n    \"requestsOther\" : 0 \n  }, \n  \"server\" : { \n    \"uptime\" : 6.834890842437744, \n    \"physicalMemory\" : 16697044992, \n    \"v8Context\" : { \n      \"available\" : 5, \n      \"busy\" : 4, \n      \"dirty\" : 0, \n      \"free\" : 1, \n      \"max\" : 16 \n    }, \n    \"threads\" : { \n      \"running\" : 5, \n      \"working\" : 4, \n      \"blocked\" : 0 \n    } \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -3175,7 +3175,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\nx-content-type-options: nosniff\ncontent-type: multipart/form-data; boundary=SomeBoundaryValue\nx-arango-errors: 1\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: 60\\r\\n\\r\\n{\\\"server\\\":\\\"arango\\\",\\\"version\\\":\\\"3.3.16\\\",\\\"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: 324\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"status\\\":3,\\\"statusString\\\":\\\"loaded\\\",\\\"name\\\":\\\"products\\\",\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"type\\\":2,\\\"indexBuckets\\\":8,\\\"globallyUniqueId\\\":\\\"hAA9FCEE3AF93/9839\\\",\\\"doCompact\\\":true,\\\"waitForSync\\\":false,\\\"id\\\":\\\"9839\\\",\\\"isSystem\\\":false,\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false}\\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: 831\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"statusString\\\":\\\"loaded\\\",\\\"name\\\":\\\"products\\\",\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false,\\\"isSystem\\\":false,\\\"status\\\":3,\\\"count\\\":0,\\\"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\\\":\\\"2018-09-17T17:39:32Z\\\",\\\"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},\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"hAA9FCEE3AF93/9839\\\",\\\"type\\\":2,\\\"indexBuckets\\\":8,\\\"waitForSync\\\":false,\\\"id\\\":\\\"9839\\\"}\\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\\\":\\\"9839\\\"}\\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\nx-content-type-options: nosniff\ncontent-type: \nx-arango-errors: 2\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\nx-content-type-options: nosniff\ncontent-type: multipart/form-data; boundary=SomeBoundaryValue\nx-arango-errors: 1\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: 60\\r\\n\\r\\n{\\\"server\\\":\\\"arango\\\",\\\"version\\\":\\\"3.3.17\\\",\\\"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: 324\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"status\\\":3,\\\"statusString\\\":\\\"loaded\\\",\\\"name\\\":\\\"products\\\",\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"type\\\":2,\\\"indexBuckets\\\":8,\\\"globallyUniqueId\\\":\\\"h3CED0815C6B6/9839\\\",\\\"doCompact\\\":true,\\\"waitForSync\\\":false,\\\"id\\\":\\\"9839\\\",\\\"isSystem\\\":false,\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false}\\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: 831\\r\\n\\r\\n{\\\"code\\\":200,\\\"error\\\":false,\\\"statusString\\\":\\\"loaded\\\",\\\"name\\\":\\\"products\\\",\\\"keyOptions\\\":{\\\"type\\\":\\\"traditional\\\",\\\"allowUserKeys\\\":true,\\\"lastValue\\\":0},\\\"journalSize\\\":33554432,\\\"isVolatile\\\":false,\\\"isSystem\\\":false,\\\"status\\\":3,\\\"count\\\":0,\\\"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\\\":\\\"2018-10-04T20:08:31Z\\\",\\\"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},\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"h3CED0815C6B6/9839\\\",\\\"type\\\":2,\\\"indexBuckets\\\":8,\\\"waitForSync\\\":false,\\\"id\\\":\\\"9839\\\"}\\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\\\":\\\"9839\\\"}\\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\nx-content-type-options: nosniff\ncontent-type: \nx-arango-errors: 2\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", @@ -3230,7 +3230,7 @@ }, "/_api/collection": { "get": { - "description": "\n\nReturns an object with an attribute *collections* containing an\narray of all collection descriptions. The same information is also\navailable in the *names* as an object with the collection names\nas keys.\n\nBy providing the optional query parameter *excludeSystem* with a value of\n*true*, all system collections will be excluded from the response.\n\n\n\n\n**Example:**\n Return information about all collections:\n\n
shell> curl --dump - http://localhost:8529/_api/collection\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      \"id\" : \"28\", \n      \"name\" : \"_statisticsRaw\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_statisticsRaw\" \n    }, \n    { \n      \"id\" : \"11\", \n      \"name\" : \"_modules\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_modules\" \n    }, \n    { \n      \"id\" : \"45\", \n      \"name\" : \"_queues\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_queues\" \n    }, \n    { \n      \"id\" : \"26\", \n      \"name\" : \"_aqlfunctions\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_aqlfunctions\" \n    }, \n    { \n      \"id\" : \"60\", \n      \"name\" : \"_appbundles\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_appbundles\" \n    }, \n    { \n      \"id\" : \"2\", \n      \"name\" : \"_graphs\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_graphs\" \n    }, \n    { \n      \"id\" : \"13\", \n      \"name\" : \"_routing\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_routing\" \n    }, \n    { \n      \"id\" : \"47\", \n      \"name\" : \"_jobs\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_jobs\" \n    }, \n    { \n      \"id\" : \"98\", \n      \"name\" : \"animals\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : false, \n      \"globallyUniqueId\" : \"hAA9FCEE3AF93/98\" \n    }, \n    { \n      \"id\" : \"43\", \n      \"name\" : \"_frontend\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_frontend\" \n    }, \n    { \n      \"id\" : \"6\", \n      \"name\" : \"_users\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_users\" \n    }, \n    { \n      \"id\" : \"33\", \n      \"name\" : \"_statistics\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_statistics\" \n    }, \n    { \n      \"id\" : \"38\", \n      \"name\" : \"_statistics15\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_statistics15\" \n    }, \n    { \n      \"id\" : \"55\", \n      \"name\" : \"_apps\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_apps\" \n    }, \n    { \n      \"id\" : \"92\", \n      \"name\" : \"demo\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : false, \n      \"globallyUniqueId\" : \"hAA9FCEE3AF93/92\" \n    } \n  ] \n}\n
\n\n\n\n\n", + "description": "\n\nReturns an object with an attribute *collections* containing an\narray of all collection descriptions. The same information is also\navailable in the *names* as an object with the collection names\nas keys.\n\nBy providing the optional query parameter *excludeSystem* with a value of\n*true*, all system collections will be excluded from the response.\n\n\n\n\n**Example:**\n Return information about all collections:\n\n
shell> curl --dump - http://localhost:8529/_api/collection\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      \"id\" : \"28\", \n      \"name\" : \"_statisticsRaw\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_statisticsRaw\" \n    }, \n    { \n      \"id\" : \"11\", \n      \"name\" : \"_modules\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_modules\" \n    }, \n    { \n      \"id\" : \"45\", \n      \"name\" : \"_queues\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_queues\" \n    }, \n    { \n      \"id\" : \"26\", \n      \"name\" : \"_aqlfunctions\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_aqlfunctions\" \n    }, \n    { \n      \"id\" : \"60\", \n      \"name\" : \"_appbundles\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_appbundles\" \n    }, \n    { \n      \"id\" : \"2\", \n      \"name\" : \"_graphs\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_graphs\" \n    }, \n    { \n      \"id\" : \"13\", \n      \"name\" : \"_routing\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_routing\" \n    }, \n    { \n      \"id\" : \"47\", \n      \"name\" : \"_jobs\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_jobs\" \n    }, \n    { \n      \"id\" : \"98\", \n      \"name\" : \"animals\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : false, \n      \"globallyUniqueId\" : \"h3CED0815C6B6/98\" \n    }, \n    { \n      \"id\" : \"43\", \n      \"name\" : \"_frontend\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_frontend\" \n    }, \n    { \n      \"id\" : \"6\", \n      \"name\" : \"_users\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_users\" \n    }, \n    { \n      \"id\" : \"33\", \n      \"name\" : \"_statistics\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_statistics\" \n    }, \n    { \n      \"id\" : \"38\", \n      \"name\" : \"_statistics15\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_statistics15\" \n    }, \n    { \n      \"id\" : \"55\", \n      \"name\" : \"_apps\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : true, \n      \"globallyUniqueId\" : \"_apps\" \n    }, \n    { \n      \"id\" : \"92\", \n      \"name\" : \"demo\", \n      \"status\" : 3, \n      \"type\" : 2, \n      \"isSystem\" : false, \n      \"globallyUniqueId\" : \"h3CED0815C6B6/92\" \n    } \n  ] \n}\n
\n\n\n\n\n", "parameters": [ { "description": "Whether or not system collections should be excluded from the result.\n\n", @@ -3253,7 +3253,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Collections/JSF_get_api_collections.md" }, "post": { - "description": "\n**A JSON object with these properties is required:**\n\n - **journalSize**: The maximal size of a journal or datafile in bytes. The value \n must be at least `1048576` (1 MiB). (The default is a configuration parameter)\n This option is meaningful for the MMFiles storage engine only.\n - **replicationFactor**: (The default is *1*): in a cluster, this attribute determines how many copies \n of each shard are kept on different DBServers. The value 1 means that only one \n copy (no synchronous replication) is kept. A value of k means that k-1 replicas \n are kept. Any two copies reside on different DBServers. Replication between them is \n synchronous, that is, every write operation to the \"leader\" copy will be replicated \n to all \"follower\" replicas, before the write operation is reported successful.\n If a server fails, this is detected automatically and one of the servers holding \n copies take over, usually without an error being reported.\n - **keyOptions**:\n - **allowUserKeys**: if set to *true*, then it is allowed to supply own key values in the\n *_key* attribute of a document. If set to *false*, then the key generator\n will solely be responsible for generating keys and supplying own key values\n in the *_key* attribute of documents is considered an error.\n - **type**: specifies the type of the key generator. The currently available generators are\n *traditional* and *autoincrement*.\n - **increment**: increment value for *autoincrement* key generator. Not used for other key\n generator types.\n - **offset**: Initial offset value for *autoincrement* key generator.\n Not used for other key generator types.\n - **name**: The name of the collection.\n - **waitForSync**: If *true* then the data is synchronized to disk before returning from a\n document create, update, replace or removal operation. (default: false)\n - **doCompact**: whether or not the collection will be compacted (default is *true*)\n This option is meaningful for the MMFiles storage engine only.\n - **isVolatile**: If *true* then the collection data is kept in-memory only and not made persistent.\n Unloading the collection will cause the collection data to be discarded. Stopping\n or re-starting the server will also cause full loss of data in the\n collection. Setting this option will make the resulting collection be\n slightly faster than regular collections because ArangoDB does not\n enforce any synchronization to disk and does not calculate any CRC\n checksums for datafiles (as there are no datafiles). This option \n should therefore be used for cache-type collections only, and not \n for data that cannot be re-created otherwise.\n (The default is *false*)\n This option is meaningful for the MMFiles storage engine only.\n - **shardKeys**: (The default is *[ \"_key\" ]*): in a cluster, this attribute determines\n which document attributes are used to determine the target shard for documents.\n Documents are sent to shards based on the values of their shard key attributes.\n The values of all shard key attributes in a document are hashed,\n and the hash value is used to determine the target shard.\n **Note**: Values of shard key attributes cannot be changed once set.\n This option is meaningless in a single server setup.\n - **numberOfShards**: (The default is *1*): in a cluster, this value determines the\n number of shards to create for the collection. In a single\n server setup, this option is meaningless.\n - **isSystem**: If *true*, create a system collection. In this case *collection-name*\n should start with an underscore. End users should normally create non-system\n collections only. API implementors may be required to create system\n collections in very special occasions, but normally a regular collection will do.\n (The default is *false*)\n - **type**: (The default is *2*): the type of the collection to create.\n The following values for *type* are valid:\n - *2*: document collection\n - *3*: edges collection\n - **indexBuckets**: The number of buckets into which indexes using a hash\n table are split. The default is 16 and this number has to be a\n power of 2 and less than or equal to 1024. \n For very large collections one should increase this to avoid long pauses \n when the hash table has to be initially built or resized, since buckets \n are resized individually and can be initially built in parallel. For \n example, 64 might be a sensible value for a collection with 100\n 000 000 documents. Currently, only the edge index respects this\n value, but other index types might follow in future ArangoDB versions. \n Changes (see below) are applied when the collection is loaded the next \n time.\n This option is meaningful for the MMFiles storage engine only.\n - **distributeShardsLike**: (The default is *\"\"*): in an enterprise cluster, this attribute binds\n the specifics of sharding for the newly created collection to follow that of a\n specified existing collection. \n **Note**: Using this parameter has consequences for the prototype\n collection. It can no longer be dropped, before sharding imitating\n collections are dropped. Equally, backups and restores of imitating\n collections alone will generate warnings, which can be overridden,\n about missing sharding prototype. \n\n\n\n\nCreates a new collection with a given name. The request must contain an\nobject with the following attributes.\n\n\n\n\n\n**Example:**\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \"testCollectionBasics\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"testCollectionBasics\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/9845\", \n  \"doCompact\" : true, \n  \"waitForSync\" : false, \n  \"id\" : \"9845\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\nshell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \"testCollectionEdges\", \n  \"type\" : 3 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"testCollectionEdges\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 3, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/9848\", \n  \"doCompact\" : true, \n  \"waitForSync\" : false, \n  \"id\" : \"9848\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\n
\n\n\n\n\n**Example:**\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \"testCollectionUsers\", \n  \"keyOptions\" : { \n    \"type\" : \"autoincrement\", \n    \"increment\" : 5, \n    \"allowUserKeys\" : 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  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"testCollectionUsers\", \n  \"keyOptions\" : { \n    \"type\" : \"autoincrement\", \n    \"allowUserKeys\" : true, \n    \"offset\" : 0, \n    \"increment\" : 5, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/9853\", \n  \"doCompact\" : true, \n  \"waitForSync\" : false, \n  \"id\" : \"9853\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\n
\n\n\n\n\n", + "description": "\n**A JSON object with these properties is required:**\n\n - **journalSize**: The maximal size of a journal or datafile in bytes. The value \n must be at least `1048576` (1 MiB). (The default is a configuration parameter)\n This option is meaningful for the MMFiles storage engine only.\n - **replicationFactor**: (The default is *1*): in a cluster, this attribute determines how many copies \n of each shard are kept on different DBServers. The value 1 means that only one \n copy (no synchronous replication) is kept. A value of k means that k-1 replicas \n are kept. Any two copies reside on different DBServers. Replication between them is \n synchronous, that is, every write operation to the \"leader\" copy will be replicated \n to all \"follower\" replicas, before the write operation is reported successful.\n If a server fails, this is detected automatically and one of the servers holding \n copies take over, usually without an error being reported.\n - **keyOptions**:\n - **allowUserKeys**: if set to *true*, then it is allowed to supply own key values in the\n *_key* attribute of a document. If set to *false*, then the key generator\n will solely be responsible for generating keys and supplying own key values\n in the *_key* attribute of documents is considered an error.\n - **type**: specifies the type of the key generator. The currently available generators are\n *traditional* and *autoincrement*.\n - **increment**: increment value for *autoincrement* key generator. Not used for other key\n generator types.\n - **offset**: Initial offset value for *autoincrement* key generator.\n Not used for other key generator types.\n - **name**: The name of the collection.\n - **waitForSync**: If *true* then the data is synchronized to disk before returning from a\n document create, update, replace or removal operation. (default: false)\n - **doCompact**: whether or not the collection will be compacted (default is *true*)\n This option is meaningful for the MMFiles storage engine only.\n - **isVolatile**: If *true* then the collection data is kept in-memory only and not made persistent.\n Unloading the collection will cause the collection data to be discarded. Stopping\n or re-starting the server will also cause full loss of data in the\n collection. Setting this option will make the resulting collection be\n slightly faster than regular collections because ArangoDB does not\n enforce any synchronization to disk and does not calculate any CRC\n checksums for datafiles (as there are no datafiles). This option \n should therefore be used for cache-type collections only, and not \n for data that cannot be re-created otherwise.\n (The default is *false*)\n This option is meaningful for the MMFiles storage engine only.\n - **shardKeys**: (The default is *[ \"_key\" ]*): in a cluster, this attribute determines\n which document attributes are used to determine the target shard for documents.\n Documents are sent to shards based on the values of their shard key attributes.\n The values of all shard key attributes in a document are hashed,\n and the hash value is used to determine the target shard.\n **Note**: Values of shard key attributes cannot be changed once set.\n This option is meaningless in a single server setup.\n - **numberOfShards**: (The default is *1*): in a cluster, this value determines the\n number of shards to create for the collection. In a single\n server setup, this option is meaningless.\n - **isSystem**: If *true*, create a system collection. In this case *collection-name*\n should start with an underscore. End users should normally create non-system\n collections only. API implementors may be required to create system\n collections in very special occasions, but normally a regular collection will do.\n (The default is *false*)\n - **type**: (The default is *2*): the type of the collection to create.\n The following values for *type* are valid:\n - *2*: document collection\n - *3*: edges collection\n - **indexBuckets**: The number of buckets into which indexes using a hash\n table are split. The default is 16 and this number has to be a\n power of 2 and less than or equal to 1024. \n For very large collections one should increase this to avoid long pauses \n when the hash table has to be initially built or resized, since buckets \n are resized individually and can be initially built in parallel. For \n example, 64 might be a sensible value for a collection with 100\n 000 000 documents. Currently, only the edge index respects this\n value, but other index types might follow in future ArangoDB versions. \n Changes (see below) are applied when the collection is loaded the next \n time.\n This option is meaningful for the MMFiles storage engine only.\n - **distributeShardsLike**: (The default is *\"\"*): in an enterprise cluster, this attribute binds\n the specifics of sharding for the newly created collection to follow that of a\n specified existing collection. \n **Note**: Using this parameter has consequences for the prototype\n collection. It can no longer be dropped, before sharding imitating\n collections are dropped. Equally, backups and restores of imitating\n collections alone will generate warnings, which can be overridden,\n about missing sharding prototype. \n\n\n\n\nCreates a new collection with a given name. The request must contain an\nobject with the following attributes.\n\n\n\n\n\n**Example:**\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \"testCollectionBasics\" \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"testCollectionBasics\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/9845\", \n  \"doCompact\" : true, \n  \"waitForSync\" : false, \n  \"id\" : \"9845\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\nshell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \"testCollectionEdges\", \n  \"type\" : 3 \n}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"testCollectionEdges\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 3, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/9848\", \n  \"doCompact\" : true, \n  \"waitForSync\" : false, \n  \"id\" : \"9848\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\n
\n\n\n\n\n**Example:**\n \n\n
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/collection <<EOF\n{ \n  \"name\" : \"testCollectionUsers\", \n  \"keyOptions\" : { \n    \"type\" : \"autoincrement\", \n    \"increment\" : 5, \n    \"allowUserKeys\" : 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  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"testCollectionUsers\", \n  \"keyOptions\" : { \n    \"type\" : \"autoincrement\", \n    \"allowUserKeys\" : true, \n    \"offset\" : 0, \n    \"increment\" : 5, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/9853\", \n  \"doCompact\" : true, \n  \"waitForSync\" : false, \n  \"id\" : \"9853\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -3357,7 +3357,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/9869\", \n  \"isSystem\" : false, \n  \"revision\" : \"_XcgbqBC--_\", \n  \"type\" : 2, \n  \"checksum\" : \"14951968784156385188\", \n  \"id\" : \"9869\", \n  \"name\" : \"products\", \n  \"status\" : 3 \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/9878\", \n  \"isSystem\" : false, \n  \"revision\" : \"_XcgbqCG--_\", \n  \"type\" : 2, \n  \"checksum\" : \"7182653171256674187\", \n  \"id\" : \"9878\", \n  \"name\" : \"products\", \n  \"status\" : 3 \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/9869\", \n  \"isSystem\" : false, \n  \"revision\" : \"_XiAwJtO--_\", \n  \"type\" : 2, \n  \"checksum\" : \"14951968784156385188\", \n  \"id\" : \"9869\", \n  \"name\" : \"products\", \n  \"status\" : 3 \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/checksum\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/9878\", \n  \"isSystem\" : false, \n  \"revision\" : \"_XiAwJua--_\", \n  \"type\" : 2, \n  \"checksum\" : \"7182653171256674187\", \n  \"id\" : \"9878\", \n  \"name\" : \"products\", \n  \"status\" : 3 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3400,7 +3400,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/count\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10189 \n  }, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"status\" : 3, \n  \"count\" : 100, \n  \"doCompact\" : true, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/9887\", \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"waitForSync\" : true, \n  \"id\" : \"9887\", \n  \"isSystem\" : false \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/count\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10189 \n  }, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"status\" : 3, \n  \"count\" : 100, \n  \"doCompact\" : true, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/9887\", \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"waitForSync\" : true, \n  \"id\" : \"9887\", \n  \"isSystem\" : false \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3429,7 +3429,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\n#### HTTP 200\n*A json document with these Properties is returned:*\n\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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/figures\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10198 \n  }, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"isSystem\" : false, \n  \"status\" : 3, \n  \"count\" : 1, \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\" : \"2018-09-17T17:39:33Z\", \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\" : 10200, \n    \"uncollectedLogfileEntries\" : 0 \n  }, \n  \"doCompact\" : true, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10194\", \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"waitForSync\" : false, \n  \"id\" : \"10194\" \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\n#### HTTP 200\n*A json document with these Properties is returned:*\n\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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/figures\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 10198 \n  }, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"isSystem\" : false, \n  \"status\" : 3, \n  \"count\" : 1, \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\" : \"2018-10-04T20:08:31Z\", \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\" : 10200, \n    \"uncollectedLogfileEntries\" : 0 \n  }, \n  \"doCompact\" : true, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10194\", \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"waitForSync\" : false, \n  \"id\" : \"10194\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3468,7 +3468,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/load\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10232\", \n  \"count\" : 0, \n  \"status\" : 3, \n  \"id\" : \"10232\", \n  \"isSystem\" : false, \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/load\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10231\", \n  \"count\" : 0, \n  \"status\" : 3, \n  \"id\" : \"10231\", \n  \"isSystem\" : false, \n  \"name\" : \"products\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3529,7 +3529,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/10216/properties\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/10216/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10216\", \n  \"doCompact\" : true, \n  \"waitForSync\" : true, \n  \"id\" : \"10216\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10221\", \n  \"doCompact\" : true, \n  \"waitForSync\" : true, \n  \"id\" : \"10221\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \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/10215/properties\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/10215/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10215\", \n  \"doCompact\" : true, \n  \"waitForSync\" : true, \n  \"id\" : \"10215\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10220\", \n  \"doCompact\" : true, \n  \"waitForSync\" : true, \n  \"id\" : \"10220\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3556,7 +3556,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Collections/JSA_get_api_collection_properties.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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10243\", \n  \"doCompact\" : true, \n  \"waitForSync\" : true, \n  \"id\" : \"10243\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/properties\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"type\" : 2, \n  \"indexBuckets\" : 8, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10242\", \n  \"doCompact\" : true, \n  \"waitForSync\" : true, \n  \"id\" : \"10242\", \n  \"isSystem\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3585,7 +3585,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products1/rename\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"name\" : \"newname\", \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10250\", \n  \"isSystem\" : false, \n  \"id\" : \"10250\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products1/rename\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"name\" : \"newname\", \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10249\", \n  \"isSystem\" : false, \n  \"id\" : \"10249\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection to rename.\n\n", @@ -3614,7 +3614,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/revision\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"isSystem\" : false, \n  \"waitForSync\" : false, \n  \"id\" : \"10226\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"revision\" : \"0\", \n  \"indexBuckets\" : 8, \n  \"type\" : 2, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10226\", \n  \"doCompact\" : true, \n  \"status\" : 3 \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/revision\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"journalSize\" : 33554432, \n  \"isVolatile\" : false, \n  \"isSystem\" : false, \n  \"waitForSync\" : false, \n  \"id\" : \"10225\", \n  \"keyOptions\" : { \n    \"type\" : \"traditional\", \n    \"allowUserKeys\" : true, \n    \"lastValue\" : 0 \n  }, \n  \"revision\" : \"0\", \n  \"indexBuckets\" : 8, \n  \"type\" : 2, \n  \"statusString\" : \"loaded\", \n  \"name\" : \"products\", \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10225\", \n  \"doCompact\" : true, \n  \"status\" : 3 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3672,7 +3672,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/truncate\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10256\", \n  \"isSystem\" : false, \n  \"id\" : \"10256\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/truncate\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 3, \n  \"name\" : \"products\", \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10255\", \n  \"isSystem\" : false, \n  \"id\" : \"10255\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the collection.\n\n", @@ -3701,7 +3701,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/unload\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 4, \n  \"name\" : \"products\", \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"hAA9FCEE3AF93/10261\", \n  \"isSystem\" : false, \n  \"id\" : \"10261\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\nlocation: /_api/collection/products/unload\n\n{ \n  \"code\" : 200, \n  \"error\" : false, \n  \"status\" : 4, \n  \"name\" : \"products\", \n  \"type\" : 2, \n  \"globallyUniqueId\" : \"h3CED0815C6B6/10260\", \n  \"isSystem\" : false, \n  \"id\" : \"10260\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "\n", @@ -3730,7 +3730,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 - **skipInaccessibleCollections**: AQL queries (especially graph traversals) will treat collection to which a user has no access rights as if these collections were empty. Instead of returning a forbidden access error, your queries will execute normally. This is intended to help with certain use-cases: A graph contains several collections and different users execute AQL queries on that graph. You can now naturally limit the accessible results by changing the access rights of users on collections. This feature is only available in the Enterprise Edition.\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\n#### HTTP 201\n*A json document with these Properties is returned:*\n\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\n#### HTTP 400\n*A json document with these Properties is returned:*\n\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\" : \"10315\", \n      \"_id\" : \"products/10315\", \n      \"_rev\" : \"_Xcgbrya--_\", \n      \"hello1\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10319\", \n      \"_id\" : \"products/10319\", \n      \"_rev\" : \"_Xcgbrya--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.00011730194091796875 \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\" : \"10306\", \n      \"_id\" : \"products/10306\", \n      \"_rev\" : \"_Xcgbrxa--D\", \n      \"hello5\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10300\", \n      \"_id\" : \"products/10300\", \n      \"_rev\" : \"_Xcgbrxa--_\", \n      \"hello3\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10309\", \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.00011229515075683594 \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.00030994415283203125 \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.00011539459228515625 \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.0001456737518310547 \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.00010824203491210938 \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 - **skipInaccessibleCollections**: AQL queries (especially graph traversals) will treat collection to which a user has no access rights as if these collections were empty. Instead of returning a forbidden access error, your queries will execute normally. This is intended to help with certain use-cases: A graph contains several collections and different users execute AQL queries on that graph. You can now naturally limit the accessible results by changing the access rights of users on collections. This feature is only available in the Enterprise Edition.\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\n#### HTTP 201\n*A json document with these Properties is returned:*\n\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\n#### HTTP 400\n*A json document with these Properties is returned:*\n\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\" : \"10315\", \n      \"_id\" : \"products/10315\", \n      \"_rev\" : \"_XiAwLE6--_\", \n      \"hello1\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10319\", \n      \"_id\" : \"products/10319\", \n      \"_rev\" : \"_XiAwLE6--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.00010275840759277344 \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\" : \"10306\", \n      \"_id\" : \"products/10306\", \n      \"_rev\" : \"_XiAwLD6--D\", \n      \"hello5\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10300\", \n      \"_id\" : \"products/10300\", \n      \"_rev\" : \"_XiAwLD6--_\", \n      \"hello3\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10309\", \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.00011467933654785156 \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.0003058910369873047 \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.00012564659118652344 \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.00012969970703125 \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.00011324882507324219 \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", @@ -3777,7 +3777,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\" : \"10332\", \n      \"_id\" : \"products/10332\", \n      \"_rev\" : \"_Xcgbrzi--_\", \n      \"hello2\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10338\", \n      \"_id\" : \"products/10338\", \n      \"_rev\" : \"_Xcgbrzi--D\", \n      \"hello4\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10344\", \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.00008344650268554688 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/cursor/10344\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\" : \"10332\", \n      \"_id\" : \"products/10332\", \n      \"_rev\" : \"_XiAwLGC--B\", \n      \"hello2\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10338\", \n      \"_id\" : \"products/10338\", \n      \"_rev\" : \"_XiAwLGG--B\", \n      \"hello4\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10344\", \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.00008702278137207031 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/cursor/10344\n\n
\n\n\n\n\n", "parameters": [ { "description": "The id of the cursor\n\n", @@ -3804,7 +3804,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Cursors/JSF_post_api_cursor_delete.md" }, "put": { - "description": "\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/10399\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\" : \"10393\", \n      \"_id\" : \"products/10393\", \n      \"_rev\" : \"_Xcgbr3u--D\", \n      \"hello4\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10387\", \n      \"_id\" : \"products/10387\", \n      \"_rev\" : \"_Xcgbr3u--_\", \n      \"hello2\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10399\", \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.00011205673217773438 \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\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/10399\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\" : \"10393\", \n      \"_id\" : \"products/10393\", \n      \"_rev\" : \"_XiAwLKO--F\", \n      \"hello4\" : \"world1\" \n    }, \n    { \n      \"_key\" : \"10387\", \n      \"_id\" : \"products/10387\", \n      \"_rev\" : \"_XiAwLKO--B\", \n      \"hello2\" : \"world1\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"10399\", \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.00010824203491210938 \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", @@ -3893,7 +3893,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\" : \"/tmp/arangosh_hTzdn0/tmp-25318-2270172583/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\" : \"/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/databases/database-1\", \n    \"isSystem\" : true \n  } \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -3971,7 +3971,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/10563\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XcgbsQe--_\"\nlocation: /_db/_system/_api/document/products/10563\n\n{ \n  \"_id\" : \"products/10563\", \n  \"_key\" : \"10563\", \n  \"_rev\" : \"_XcgbsQe--_\" \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/10584\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: \"_XcgbsPe--B\"' --dump - http://localhost:8529/_api/document/products/10551\n\nHTTP/1.1 412 Precondition Failed\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsPe--_\"\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10551\", \n  \"_key\" : \"10551\", \n  \"_rev\" : \"_XcgbsPe--_\" \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/10562\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XiAwLji--_\"\nlocation: /_db/_system/_api/document/products/10562\n\n{ \n  \"_id\" : \"products/10562\", \n  \"_key\" : \"10562\", \n  \"_rev\" : \"_XiAwLji--_\" \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/10583\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: \"_XiAwLie--B\"' --dump - http://localhost:8529/_api/document/products/10550\n\nHTTP/1.1 412 Precondition Failed\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLie--_\"\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10550\", \n  \"_key\" : \"10550\", \n  \"_rev\" : \"_XiAwLie--_\" \n}\n
\n\n\n\n", "parameters": [ { "description": "A JSON array of strings or documents.\n\n", @@ -4119,7 +4119,7 @@ "x-filename": "/home/jenkins/stable-3.3/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\nx-content-type-options: nosniff\netag: \"_XcgbsZ---_\"\nlocation: /_db/_system/_api/document/products/10638\n\n{ \n  \"_id\" : \"products/10638\", \n  \"_key\" : \"10638\", \n  \"_rev\" : \"_XcgbsZ---_\" \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\nx-content-type-options: nosniff\netag: \"_XcgbsWy--_\"\nlocation: /_db/_system/_api/document/products/10626\n\n{ \n  \"_id\" : \"products/10626\", \n  \"_key\" : \"10626\", \n  \"_rev\" : \"_XcgbsWy--_\" \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\nx-content-type-options: nosniff\netag: \"_Xcgbscu--_\"\nlocation: /_db/_system/_api/document/products/10668\n\n{ \n  \"_id\" : \"products/10668\", \n  \"_key\" : \"10668\", \n  \"_rev\" : \"_Xcgbscu--_\" \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/10646\", \n    \"_key\" : \"10646\", \n    \"_rev\" : \"_Xcgbsae--_\" \n  }, \n  { \n    \"_id\" : \"products/10650\", \n    \"_key\" : \"10650\", \n    \"_rev\" : \"_Xcgbsae--B\" \n  }, \n  { \n    \"_id\" : \"products/10652\", \n    \"_key\" : \"10652\", \n    \"_rev\" : \"_Xcgbsae--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\nx-content-type-options: nosniff\netag: \"_Xcgbsbi--_\"\nlocation: /_db/_system/_api/document/products/10660\n\n{ \n  \"_id\" : \"products/10660\", \n  \"_key\" : \"10660\", \n  \"_rev\" : \"_Xcgbsbi--_\", \n  \"new\" : { \n    \"_key\" : \"10660\", \n    \"_id\" : \"products/10660\", \n    \"_rev\" : \"_Xcgbsbi--_\", \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\nx-content-type-options: nosniff\netag: \"_XiAwLry--_\"\nlocation: /_db/_system/_api/document/products/10637\n\n{ \n  \"_id\" : \"products/10637\", \n  \"_key\" : \"10637\", \n  \"_rev\" : \"_XiAwLry--_\" \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\nx-content-type-options: nosniff\netag: \"_XiAwLpu--_\"\nlocation: /_db/_system/_api/document/products/10625\n\n{ \n  \"_id\" : \"products/10625\", \n  \"_key\" : \"10625\", \n  \"_rev\" : \"_XiAwLpu--_\" \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\nx-content-type-options: nosniff\netag: \"_XiAwLve--_\"\nlocation: /_db/_system/_api/document/products/10667\n\n{ \n  \"_id\" : \"products/10667\", \n  \"_key\" : \"10667\", \n  \"_rev\" : \"_XiAwLve--_\" \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/10645\", \n    \"_key\" : \"10645\", \n    \"_rev\" : \"_XiAwLtW--_\" \n  }, \n  { \n    \"_id\" : \"products/10649\", \n    \"_key\" : \"10649\", \n    \"_rev\" : \"_XiAwLtW--B\" \n  }, \n  { \n    \"_id\" : \"products/10651\", \n    \"_key\" : \"10651\", \n    \"_rev\" : \"_XiAwLtW--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\nx-content-type-options: nosniff\netag: \"_XiAwLua--_\"\nlocation: /_db/_system/_api/document/products/10659\n\n{ \n  \"_id\" : \"products/10659\", \n  \"_key\" : \"10659\", \n  \"_rev\" : \"_XiAwLua--_\", \n  \"new\" : { \n    \"_key\" : \"10659\", \n    \"_id\" : \"products/10659\", \n    \"_rev\" : \"_XiAwLua--_\", \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", @@ -4268,7 +4268,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/10529\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XcgbsNO--_\"\nlocation: /_db/_system/_api/document/products/10529\n\n{ \n  \"_id\" : \"products/10529\", \n  \"_key\" : \"10529\", \n  \"_rev\" : \"_XcgbsNO--_\" \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/10573\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: \"_XcgbsOa--B\"' --dump - http://localhost:8529/_api/document/products/10539\n\nHTTP/1.1 412 Precondition Failed\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsOa--_\"\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10539\", \n  \"_key\" : \"10539\", \n  \"_rev\" : \"_XcgbsOa--_\" \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/10528\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XiAwLfy--_\"\nlocation: /_db/_system/_api/document/products/10528\n\n{ \n  \"_id\" : \"products/10528\", \n  \"_key\" : \"10528\", \n  \"_rev\" : \"_XiAwLfy--_\" \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/10572\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: \"_XiAwLha--B\"' --dump - http://localhost:8529/_api/document/products/10538\n\nHTTP/1.1 412 Precondition Failed\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLha--_\"\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10538\", \n  \"_key\" : \"10538\", \n  \"_rev\" : \"_XiAwLha--_\" \n}\n
\n\n\n\n", "parameters": [ { "description": "Removes the document identified by *document-handle*.\n\n", @@ -4328,7 +4328,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_DELETE.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/10676\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbseW--_\"\n\n{ \n  \"_key\" : \"10676\", \n  \"_id\" : \"products/10676\", \n  \"_rev\" : \"_XcgbseW--_\", \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: \"_Xcgbsii--_\"' --dump - http://localhost:8529/_api/document/products/10724\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/10675\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLxC--_\"\n\n{ \n  \"_key\" : \"10675\", \n  \"_id\" : \"products/10675\", \n  \"_rev\" : \"_XiAwLxC--_\", \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: \"_XiAwL1O--_\"' --dump - http://localhost:8529/_api/document/products/10723\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", @@ -4373,7 +4373,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ.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/10715\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/10714\n\n
\n\n\n\n\n\n", "parameters": [ { "description": "The handle of the document.\n\n", @@ -4418,7 +4418,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_READ_HEAD.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\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/10595 <<EOF\n{ \n  \"hello\" : \"world\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XcgbsUy--B\"\nlocation: /_db/_system/_api/document/products/10595\n\n{ \n  \"_id\" : \"products/10595\", \n  \"_key\" : \"10595\", \n  \"_rev\" : \"_XcgbsUy--B\", \n  \"_oldRev\" : \"_XcgbsUy--_\" \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10595 <<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\nx-content-type-options: nosniff\netag: \"_XcgbsU2--_\"\nlocation: /_db/_system/_api/document/products/10595\n\n{ \n  \"_id\" : \"products/10595\", \n  \"_key\" : \"10595\", \n  \"_rev\" : \"_XcgbsU2--_\", \n  \"_oldRev\" : \"_XcgbsUy--B\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10595\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsU2--_\"\n\n{ \n  \"_key\" : \"10595\", \n  \"_id\" : \"products/10595\", \n  \"_rev\" : \"_XcgbsU2--_\", \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/10595?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\nx-content-type-options: nosniff\netag: \"_XcgbsV---_\"\nlocation: /_db/_system/_api/document/products/10595\n\n{ \n  \"_id\" : \"products/10595\", \n  \"_key\" : \"10595\", \n  \"_rev\" : \"_XcgbsV---_\", \n  \"_oldRev\" : \"_XcgbsU2--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10595\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsV---_\"\n\n{ \n  \"_key\" : \"10595\", \n  \"_id\" : \"products/10595\", \n  \"_rev\" : \"_XcgbsV---_\", \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/10611\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsVy--_\"\n\n{ \n  \"_key\" : \"10611\", \n  \"_id\" : \"products/10611\", \n  \"_rev\" : \"_XcgbsVy--_\", \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/10611?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/10611\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsV2--_\"\n\n{ \n  \"_key\" : \"10611\", \n  \"_id\" : \"products/10611\", \n  \"_rev\" : \"_XcgbsV2--_\", \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/10611?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\nx-content-type-options: nosniff\netag: \"_XcgbsV6--_\"\nlocation: /_db/_system/_api/document/products/10611\n\n{ \n  \"_id\" : \"products/10611\", \n  \"_key\" : \"10611\", \n  \"_rev\" : \"_XcgbsV6--_\", \n  \"_oldRev\" : \"_XcgbsV2--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10611\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XcgbsV6--_\"\n\n{ \n  \"_key\" : \"10611\", \n  \"_id\" : \"products/10611\", \n  \"_rev\" : \"_XcgbsV6--_\", \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/10594 <<EOF\n{ \n  \"hello\" : \"world\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XiAwLnq--B\"\nlocation: /_db/_system/_api/document/products/10594\n\n{ \n  \"_id\" : \"products/10594\", \n  \"_key\" : \"10594\", \n  \"_rev\" : \"_XiAwLnq--B\", \n  \"_oldRev\" : \"_XiAwLnq--_\" \n}\nshell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/document/products/10594 <<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\nx-content-type-options: nosniff\netag: \"_XiAwLnu--_\"\nlocation: /_db/_system/_api/document/products/10594\n\n{ \n  \"_id\" : \"products/10594\", \n  \"_key\" : \"10594\", \n  \"_rev\" : \"_XiAwLnu--_\", \n  \"_oldRev\" : \"_XiAwLnq--B\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10594\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLnu--_\"\n\n{ \n  \"_key\" : \"10594\", \n  \"_id\" : \"products/10594\", \n  \"_rev\" : \"_XiAwLnu--_\", \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/10594?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\nx-content-type-options: nosniff\netag: \"_XiAwLn2--_\"\nlocation: /_db/_system/_api/document/products/10594\n\n{ \n  \"_id\" : \"products/10594\", \n  \"_key\" : \"10594\", \n  \"_rev\" : \"_XiAwLn2--_\", \n  \"_oldRev\" : \"_XiAwLnu--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10594\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLn2--_\"\n\n{ \n  \"_key\" : \"10594\", \n  \"_id\" : \"products/10594\", \n  \"_rev\" : \"_XiAwLn2--_\", \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/10610\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLou--_\"\n\n{ \n  \"_key\" : \"10610\", \n  \"_id\" : \"products/10610\", \n  \"_rev\" : \"_XiAwLou--_\", \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/10610?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/10610\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLoy--_\"\n\n{ \n  \"_key\" : \"10610\", \n  \"_id\" : \"products/10610\", \n  \"_rev\" : \"_XiAwLoy--_\", \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/10610?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\nx-content-type-options: nosniff\netag: \"_XiAwLo2--_\"\nlocation: /_db/_system/_api/document/products/10610\n\n{ \n  \"_id\" : \"products/10610\", \n  \"_key\" : \"10610\", \n  \"_rev\" : \"_XiAwLo2--_\", \n  \"_oldRev\" : \"_XiAwLoy--_\" \n}\nshell> curl --dump - http://localhost:8529/_api/document/products/10610\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwLo2--_\"\n\n{ \n  \"_key\" : \"10610\", \n  \"_id\" : \"products/10610\", \n  \"_rev\" : \"_XiAwLo2--_\", \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", @@ -4520,7 +4520,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Documents/REST_DOCUMENT_UPDATE.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/10733 <<EOF\n{\"Hello\": \"you\"}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_Xcgbsji--B\"\nlocation: /_db/_system/_api/document/products/10733\n\n{ \n  \"_id\" : \"products/10733\", \n  \"_key\" : \"10733\", \n  \"_rev\" : \"_Xcgbsji--B\", \n  \"_oldRev\" : \"_Xcgbsji--_\" \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/10755 <<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: \"_Xcgbskm--B\"' --data-binary @- --dump - http://localhost:8529/_api/document/products/10743 <<EOF\n{\"other\":\"content\"}\nEOF\n\nHTTP/1.1 412 Precondition Failed\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_Xcgbskm--_\"\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10743\", \n  \"_key\" : \"10743\", \n  \"_rev\" : \"_Xcgbskm--_\" \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/10732 <<EOF\n{\"Hello\": \"you\"}\nEOF\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\netag: \"_XiAwL2O--B\"\nlocation: /_db/_system/_api/document/products/10732\n\n{ \n  \"_id\" : \"products/10732\", \n  \"_key\" : \"10732\", \n  \"_rev\" : \"_XiAwL2O--B\", \n  \"_oldRev\" : \"_XiAwL2O--_\" \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/10754 <<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: \"_XiAwL3S--_\"' --data-binary @- --dump - http://localhost:8529/_api/document/products/10742 <<EOF\n{\"other\":\"content\"}\nEOF\n\nHTTP/1.1 412 Precondition Failed\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: \"_XiAwL3O--_\"\n\n{ \n  \"error\" : true, \n  \"code\" : 412, \n  \"errorNum\" : 1200, \n  \"errorMessage\" : \"precondition failed\", \n  \"_id\" : \"products/10742\", \n  \"_key\" : \"10742\", \n  \"_rev\" : \"_XiAwL3O--_\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "A JSON representation of a single document.\n\n", @@ -4610,7 +4610,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\" : \"_XcgbsnS--B\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_XcgbsnS--D\", \n      \"$label\" : \"v4 -> v1\" \n    }, \n    { \n      \"_key\" : \"5\", \n      \"_id\" : \"edges/5\", \n      \"_from\" : \"vertices/1\", \n      \"_to\" : \"vertices/3\", \n      \"_rev\" : \"_XcgbsnS--_\", \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\" : \"_XcgbspW--_\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_XcgbspW--B\", \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\" : \"_Xcgbsra--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\" : \"_XiAwL56--D\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_XiAwL56--F\", \n      \"$label\" : \"v4 -> v1\" \n    }, \n    { \n      \"_key\" : \"5\", \n      \"_id\" : \"edges/5\", \n      \"_from\" : \"vertices/1\", \n      \"_to\" : \"vertices/3\", \n      \"_rev\" : \"_XiAwL56--B\", \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\" : \"_XiAwL8---J\", \n      \"$label\" : \"v2 -> v1\" \n    }, \n    { \n      \"_key\" : \"7\", \n      \"_id\" : \"edges/7\", \n      \"_from\" : \"vertices/4\", \n      \"_to\" : \"vertices/1\", \n      \"_rev\" : \"_XiAwL8C--_\", \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\" : \"_XiAwM-m--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", @@ -4656,7 +4656,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:59400\" \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:51427\" \n  } \n]\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -4703,7 +4703,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        \"projections\" : [ ], \n        \"producesResult\" : true \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\" : 30, \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        \"projections\" : [ ], \n        \"producesResult\" : true, \n        \"indexes\" : [ \n          { \n            \"id\" : \"10858\", \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        \"needsGatherNodeSort\" : true, \n        \"indexCoversProjections\" : 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\" : 30, \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          \"projections\" : [ ], \n          \"producesResult\" : true, \n          \"indexes\" : [ \n            { \n              \"id\" : \"10897\", \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          \"needsGatherNodeSort\" : true, \n          \"indexCoversProjections\" : 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\" : 29, \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          \"projections\" : [ ], \n          \"producesResult\" : true, \n          \"indexes\" : [ \n            { \n              \"id\" : \"10841\", \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          \"needsGatherNodeSort\" : false, \n          \"indexCoversProjections\" : 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\" : 30, \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\" : 30, \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\" : 30, \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        \"projections\" : [ ], \n        \"producesResult\" : true \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\" : 30, \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        \"projections\" : [ ], \n        \"producesResult\" : true, \n        \"indexes\" : [ \n          { \n            \"id\" : \"10857\", \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        \"needsGatherNodeSort\" : true, \n        \"indexCoversProjections\" : 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\" : 30, \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          \"projections\" : [ ], \n          \"producesResult\" : true, \n          \"indexes\" : [ \n            { \n              \"id\" : \"10896\", \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          \"needsGatherNodeSort\" : true, \n          \"indexCoversProjections\" : 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\" : 29, \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          \"projections\" : [ ], \n          \"producesResult\" : true, \n          \"indexes\" : [ \n            { \n              \"id\" : \"10840\", \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          \"needsGatherNodeSort\" : false, \n          \"indexCoversProjections\" : 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\" : 30, \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\" : 30, \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\" : 30, \n    \"rulesSkipped\" : 0, \n    \"plansCreated\" : 1 \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -5451,7 +5451,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\" : \"_XcgbnaG--_\", \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\" : \"_XcgbnXq--_\", \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\" : \"_XiAwHPW--_\", \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\" : \"_XiAwHN---_\", \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": { @@ -5466,7 +5466,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbm5m--_\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\" : \"_Xcgbm5m--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbm8q--_\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\" : \"_Xcgbm8q--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwGua--_\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\" : \"_XiAwGua--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwGxe--_\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\" : \"_XiAwGxe--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -5536,7 +5536,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_drop_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgbnRC--_\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\" : \"_XcgbnRC--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHGO--_\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\" : \"_XiAwHGO--_\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5592,7 +5592,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_edge_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbmt---_\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\" : \"_Xcgbmt---_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwGhi--_\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\" : \"_XiAwGhi--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5636,7 +5636,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbmpy--_\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/7987\", \n    \"_key\" : \"7987\", \n    \"_rev\" : \"_Xcgbmpy--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwGdO--_\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/7987\", \n    \"_key\" : \"7987\", \n    \"_rev\" : \"_XiAwGdO--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5708,7 +5708,7 @@ }, "/_api/gharial/{graph-name}/edge/{collection-name}/{edge-key}": { "delete": { - "description": "\n\nRemoves an edge from the collection.\n\n\n\n\n**Example:**\n \n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/relation/8334\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"removed\" : true, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", + "description": "\n\nRemoves an edge from the collection.\n\n\n\n\n**Example:**\n \n\n
shell> curl -X DELETE --dump - http://localhost:8529/_api/gharial/social/edge/relation/8337\n\nHTTP/1.1 202 Accepted\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"error\" : false, \n  \"removed\" : true, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5770,7 +5770,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_delete_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/8614\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgbnN2--H\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_key\" : \"8614\", \n    \"_id\" : \"relation/8614\", \n    \"_from\" : \"male/charly\", \n    \"_to\" : \"female/diana\", \n    \"_rev\" : \"_XcgbnN2--H\", \n    \"type\" : \"married\", \n    \"vertex\" : \"charly\" \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/8617\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHDK--F\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_key\" : \"8617\", \n    \"_id\" : \"relation/8617\", \n    \"_from\" : \"male/bob\", \n    \"_to\" : \"female/diana\", \n    \"_rev\" : \"_XiAwHDK--F\", \n    \"type\" : \"friend\", \n    \"vertex\" : \"bob\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5822,7 +5822,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_get_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/9179 <<EOF\n{ \n  \"since\" : \"01.01.2001\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbnv2--_\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9179\", \n    \"_key\" : \"9179\", \n    \"_rev\" : \"_Xcgbnv2--_\", \n    \"_oldRev\" : \"_Xcgbnvq--L\" \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/9173 <<EOF\n{ \n  \"since\" : \"01.01.2001\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHiC--_\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9173\", \n    \"_key\" : \"9173\", \n    \"_rev\" : \"_XiAwHiC--_\", \n    \"_oldRev\" : \"_XiAwHhy--J\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5893,7 +5893,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_modify_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/9250 <<EOF\n{ \n  \"type\" : \"divorced\", \n  \"_from\" : \"female/alice\", \n  \"_to\" : \"male/bob\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgbnzS--_\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9250\", \n    \"_key\" : \"9250\", \n    \"_rev\" : \"_XcgbnzS--_\", \n    \"_oldRev\" : \"_XcgbnzK--F\" \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/9240 <<EOF\n{ \n  \"type\" : \"divorced\", \n  \"_from\" : \"female/alice\", \n  \"_to\" : \"male/bob\" \n}\nEOF\n\nHTTP/1.1 202 Accepted\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHli--_\n\n{ \n  \"error\" : false, \n  \"edge\" : { \n    \"_id\" : \"relation/9240\", \n    \"_key\" : \"9240\", \n    \"_rev\" : \"_XiAwHli--_\", \n    \"_oldRev\" : \"_XiAwHlW--H\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -5968,7 +5968,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgbnK---_\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\" : \"_XcgbnK---_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwH_a--_\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\" : \"_XiAwH_a--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6016,7 +6016,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_edge_definition_remove_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgboA6--_\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\" : \"_XcgboA6--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHwe--_\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\" : \"_XiAwHwe--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6095,7 +6095,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_list_vertex_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbm1e--_\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\" : \"_Xcgbm1e--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwGqa--_\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\" : \"_XiAwGqa--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6127,7 +6127,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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbn3m--_\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\" : \"_Xcgbn3m--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHpG--_\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\" : \"_XiAwHpG--_\" \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": [ { "description": "The name of the graph.\n\n", @@ -6175,7 +6175,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_collection_remove_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbmya--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"male/8142\", \n    \"_key\" : \"8142\", \n    \"_rev\" : \"_Xcgbmya--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwGnO--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"male/8142\", \n    \"_key\" : \"8142\", \n    \"_rev\" : \"_XiAwGnO--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6295,7 +6295,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_delete_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgbnUW--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_key\" : \"alice\", \n    \"_id\" : \"female/alice\", \n    \"_rev\" : \"_XcgbnUW--_\", \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHJm--B\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_key\" : \"alice\", \n    \"_id\" : \"female/alice\", \n    \"_rev\" : \"_XiAwHJm--B\", \n    \"name\" : \"Alice\" \n  }, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6347,7 +6347,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_get_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _Xcgbnrm--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_Xcgbnrm--_\", \n    \"_oldRev\" : \"_Xcgbnra--B\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwHem--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_XiAwHem--_\", \n    \"_oldRev\" : \"_XiAwHea--_\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6427,7 +6427,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Graph/JSF_general_graph_vertex_modify_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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XcgboHu--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_XcgboHu--_\", \n    \"_oldRev\" : \"_XcgboHW--_\" \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\nx-content-type-options: nosniff\ncontent-type: application/json; charset=utf-8\netag: _XiAwH1i--_\n\n{ \n  \"error\" : false, \n  \"vertex\" : { \n    \"_id\" : \"female/alice\", \n    \"_key\" : \"alice\", \n    \"_rev\" : \"_XiAwH1i--_\", \n    \"_oldRev\" : \"_XiAwH1K---\" \n  }, \n  \"code\" : 202 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The name of the graph.\n\n", @@ -6703,7 +6703,7 @@ }, "/_api/index": { "get": { - "description": "\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/11155\", \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/11158\", \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/11155\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"name\" \n      ], \n      \"id\" : \"products/11155\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"hash\", \n      \"unique\" : false \n    }, \n    \"products/11158\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"price\" \n      ], \n      \"id\" : \"products/11158\", \n      \"sparse\" : true, \n      \"type\" : \"skiplist\", \n      \"unique\" : false \n    } \n  } \n}\n
\n\n\n\n\n", + "description": "\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/11154\", \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/11157\", \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/11154\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"name\" \n      ], \n      \"id\" : \"products/11154\", \n      \"selectivityEstimate\" : 1, \n      \"sparse\" : false, \n      \"type\" : \"hash\", \n      \"unique\" : false \n    }, \n    \"products/11157\" : { \n      \"deduplicate\" : true, \n      \"fields\" : [ \n        \"price\" \n      ], \n      \"id\" : \"products/11157\", \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", @@ -6728,7 +6728,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/11180\", \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/11179\", \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", @@ -6813,7 +6813,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/11173\", \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/11166\", \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/11172\", \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/11165\", \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", @@ -6853,7 +6853,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/11208\", \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/11187\", \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/11215\", \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/11207\", \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/11186\", \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/11214\", \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", @@ -6896,7 +6896,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/11194\", \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/11222\", \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/11193\", \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/11221\", \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", @@ -6939,7 +6939,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/11201\", \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/11229\", \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/11200\", \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/11228\", \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", @@ -6982,7 +6982,7 @@ }, "/_api/index/{index-handle}": { "delete": { - "description": "\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/11236\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"products/11236\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\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/11235\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\nx-content-type-options: nosniff\n\n{ \n  \"id\" : \"products/11235\", \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "description": "The index handle.\n\n", @@ -7038,7 +7038,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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652061\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596652061\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652061\ncontent-type: application/json; charset=utf-8\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.16\", \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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652066\ncontent-type: text/plain; charset=utf-8\n\nshell> curl --dump - http://localhost:8529/_api/job/153720596652066\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421476\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421476\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421476\ncontent-type: application/json; charset=utf-8\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.17\", \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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421481\ncontent-type: text/plain; charset=utf-8\n\nshell> curl --dump - http://localhost:8529/_api/job/153868370421481\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", @@ -7068,7 +7068,7 @@ "x-filename": "/home/jenkins/stable-3.3/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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652034\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596652034\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652034\ncontent-type: application/json; charset=utf-8\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.16\", \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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652039\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596652039\n\nHTTP/1.1 400 Bad Request\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652039\ncontent-type: application/json; charset=utf-8\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421449\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421449\n\nHTTP/1.1 200 OK\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421449\ncontent-type: application/json; charset=utf-8\n\n{ \n  \"server\" : \"arango\", \n  \"version\" : \"3.3.17\", \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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421454\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421454\n\nHTTP/1.1 400 Bad Request\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421454\ncontent-type: application/json; charset=utf-8\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", @@ -7100,7 +7100,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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596651997\ncontent-type: text/plain; charset=utf-8\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  \"153720596651997\" \n]\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153720596651997/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  \"153720596651997\" \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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421412\ncontent-type: text/plain; charset=utf-8\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  \"153868370421412\" \n]\nshell> curl -X PUT --dump - http://localhost:8529/_api/job/153868370421412/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  \"153868370421412\" \n]\n
\n\n\n\n\n", "parameters": [ { "description": "The async job id.\n\n", @@ -7132,7 +7132,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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652006\ncontent-type: text/plain; charset=utf-8\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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652011\ncontent-type: text/plain; charset=utf-8\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\" : 1537205971.2168665, \n  \"error\" : false, \n  \"code\" : 200 \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1537205971.2168665\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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652020\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/153720596652020\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421421\ncontent-type: text/plain; charset=utf-8\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421426\ncontent-type: text/plain; charset=utf-8\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\" : 1538683709.4013479, \n  \"error\" : false, \n  \"code\" : 200 \n}\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1538683709.4013479\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421435\ncontent-type: text/plain; charset=utf-8\n\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/153868370421435\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", @@ -7169,7 +7169,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/job/JSF_job_delete.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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652044\ncontent-type: text/plain; charset=utf-8\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  \"153720596652044\" \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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652049\ncontent-type: text/plain; charset=utf-8\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\nx-content-type-options: nosniff\nx-arango-async-id: 153720596652054\ncontent-type: text/plain; charset=utf-8\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  \"153720596652054\" \n]\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/153720596652054\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421459\ncontent-type: text/plain; charset=utf-8\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  \"153868370421459\" \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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421464\ncontent-type: text/plain; charset=utf-8\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\nx-content-type-options: nosniff\nx-arango-async-id: 153868370421469\ncontent-type: text/plain; charset=utf-8\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  \"153868370421469\" \n]\nshell> curl -X DELETE --dump - http://localhost:8529/_api/job/153868370421469\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", @@ -7498,7 +7498,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    \"phase\" : \"running\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-09-17T17:39:26Z\", \n      \"message\" : \"applier initially created for database '_system'\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 0, \n    \"totalFailedConnects\" : 0, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-09-17T17:39:36Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.16\", \n    \"serverId\" : \"187603347550099\" \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    \"phase\" : \"running\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-10-04T20:08:24Z\", \n      \"message\" : \"applier initially created for database '_system'\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 0, \n    \"totalFailedConnects\" : 0, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-10-04T20:08:34Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.17\", \n    \"serverId\" : \"66988740560566\" \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", @@ -7532,7 +7532,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    \"phase\" : \"inactive\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-09-17T17:39:37Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 1 \n    }, \n    \"totalRequests\" : 2, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-09-17T17:39:37Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.16\", \n    \"serverId\" : \"187603347550099\" \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    \"phase\" : \"running\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-09-17T17:39:37Z\", \n      \"message\" : \"fetching master state information\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 2, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-09-17T17:39:37Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.16\", \n    \"serverId\" : \"187603347550099\" \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    \"phase\" : \"inactive\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-10-04T20:08:35Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 1 \n    }, \n    \"totalRequests\" : 2, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-10-04T20:08:35Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.17\", \n    \"serverId\" : \"66988740560566\" \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    \"phase\" : \"running\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-10-04T20:08:35Z\", \n      \"message\" : \"fetching master state information\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 2, \n    \"totalFailedConnects\" : 1, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-10-04T20:08:35Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.17\", \n    \"serverId\" : \"66988740560566\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7555,7 +7555,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    \"phase\" : \"inactive\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-09-17T17:39:38Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 6, \n    \"totalFailedConnects\" : 3, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-09-17T17:39:38Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.16\", \n    \"serverId\" : \"187603347550099\" \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    \"phase\" : \"inactive\", \n    \"lastAppliedContinuousTick\" : null, \n    \"lastProcessedContinuousTick\" : null, \n    \"lastAvailableContinuousTick\" : null, \n    \"safeResumeTick\" : null, \n    \"progress\" : { \n      \"time\" : \"2018-10-04T20:08:36Z\", \n      \"message\" : \"applier shut down\", \n      \"failedConnects\" : 0 \n    }, \n    \"totalRequests\" : 6, \n    \"totalFailedConnects\" : 3, \n    \"totalEvents\" : 0, \n    \"totalResyncs\" : 0, \n    \"totalOperationsExcluded\" : 0, \n    \"lastError\" : { \n      \"errorNum\" : 0 \n    }, \n    \"time\" : \"2018-10-04T20:08:36Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.17\", \n    \"serverId\" : \"66988740560566\" \n  }, \n  \"endpoint\" : \"tcp://127.0.0.1:8529\", \n  \"database\" : \"_system\" \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7713,7 +7713,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\nx-content-type-options: nosniff\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 0\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\nx-content-type-options: nosniff\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 11269\n\n\"{\\\"tick\\\":\\\"11263\\\",\\\"type\\\":2300,\\\"data\\\":{\\\"_id\\\":\\\"testCollection/123456\\\",\\\"_key\\\":\\\"123456\\\",\\\"_rev\\\":\\\"_XcgbvHK--_\\\",\\\"b\\\":1,\\\"c\\\":false,\\\"d\\\":\\\"additional value\\\"}}\\n{\\\"tick\\\":\\\"11267\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"foobar\\\",\\\"_rev\\\":\\\"_XcgbvHK--D\\\"}}\\n{\\\"tick\\\":\\\"11269\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"abcdef\\\",\\\"_rev\\\":\\\"_XcgbvHK--F\\\"}}\\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\nx-content-type-options: nosniff\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 0\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\nx-content-type-options: nosniff\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lastincluded: 11268\n\n\"{\\\"tick\\\":\\\"11262\\\",\\\"type\\\":2300,\\\"data\\\":{\\\"_id\\\":\\\"testCollection/123456\\\",\\\"_key\\\":\\\"123456\\\",\\\"_rev\\\":\\\"_XiAwOmC--D\\\",\\\"b\\\":1,\\\"c\\\":false,\\\"d\\\":\\\"additional value\\\"}}\\n{\\\"tick\\\":\\\"11266\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"foobar\\\",\\\"_rev\\\":\\\"_XiAwOmG--B\\\"}}\\n{\\\"tick\\\":\\\"11268\\\",\\\"type\\\":2302,\\\"data\\\":{\\\"_key\\\":\\\"abcdef\\\",\\\"_rev\\\":\\\"_XiAwOmG--D\\\"}}\\n\"\n
\n\n\n\n\n", "parameters": [ { "description": "The name or id of the collection to dump.\n\n", @@ -7802,7 +7802,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        { \n          \"id\" : \"58\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"mount\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"55\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_apps\", \n        \"id\" : \"55\", \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\" : \"58\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"mount\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 73 \n        }, \n        \"name\" : \"_apps\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"55\", \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\" : \"2\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"2\", \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\" : \"2\", \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\" : 9749 \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        { \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\" : 11247 \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\" : \"hAA9FCEE3AF93/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\" : \"hAA9FCEE3AF93/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\" : \"11285\", \n    \"lastUncommittedLogTick\" : \"11288\", \n    \"totalEvents\" : 3840, \n    \"time\" : \"2018-09-17T17:39:39Z\" \n  }, \n  \"tick\" : \"11288\" \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\" : \"11293\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"name\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : false, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        }, \n        { \n          \"id\" : \"11296\", \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\" : \"11289\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"hAA9FCEE3AF93/11289\", \n        \"id\" : \"11289\", \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\" : \"11293\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"name\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          }, \n          { \n            \"id\" : \"11296\", \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\" : \"11289\", \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\" : \"11302\", \n          \"type\" : \"fulltext\", \n          \"fields\" : [ \n            \"text\" \n          ], \n          \"unique\" : false, \n          \"sparse\" : true, \n          \"minLength\" : 10 \n        }, \n        { \n          \"id\" : \"11305\", \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\" : \"11298\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"hAA9FCEE3AF93/11298\", \n        \"id\" : \"11298\", \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\" : \"11302\", \n            \"type\" : \"fulltext\", \n            \"fields\" : [ \n              \"text\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : true, \n            \"minLength\" : 10 \n          }, \n          { \n            \"id\" : \"11305\", \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\" : \"11298\", \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        { \n          \"id\" : \"58\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"mount\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"55\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_apps\", \n        \"id\" : \"55\", \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\" : \"58\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"mount\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 73 \n        }, \n        \"name\" : \"_apps\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"55\", \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\" : \"2\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"2\", \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\" : \"2\", \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\" : 9749 \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        { \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\" : 11247 \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\" : \"hAA9FCEE3AF93/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\" : \"hAA9FCEE3AF93/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\" : \"11285\", \n    \"lastUncommittedLogTick\" : \"11306\", \n    \"totalEvents\" : 3846, \n    \"time\" : \"2018-09-17T17:39:39Z\" \n  }, \n  \"tick\" : \"11306\" \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        { \n          \"id\" : \"58\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"mount\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"55\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_apps\", \n        \"id\" : \"55\", \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\" : \"58\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"mount\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 73 \n        }, \n        \"name\" : \"_apps\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"55\", \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\" : \"2\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"2\", \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\" : \"2\", \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\" : 9749 \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        { \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\" : 11246 \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\" : \"h3CED0815C6B6/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\" : \"h3CED0815C6B6/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\" : \"11284\", \n    \"lastUncommittedLogTick\" : \"11287\", \n    \"totalEvents\" : 3840, \n    \"time\" : \"2018-10-04T20:08:37Z\" \n  }, \n  \"tick\" : \"11287\" \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\" : \"11292\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"name\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : false, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        }, \n        { \n          \"id\" : \"11295\", \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\" : \"11288\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"h3CED0815C6B6/11288\", \n        \"id\" : \"11288\", \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\" : \"11292\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"name\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : false, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          }, \n          { \n            \"id\" : \"11295\", \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\" : \"11288\", \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\" : \"11301\", \n          \"type\" : \"fulltext\", \n          \"fields\" : [ \n            \"text\" \n          ], \n          \"unique\" : false, \n          \"sparse\" : true, \n          \"minLength\" : 10 \n        }, \n        { \n          \"id\" : \"11304\", \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\" : \"11297\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"h3CED0815C6B6/11297\", \n        \"id\" : \"11297\", \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\" : \"11301\", \n            \"type\" : \"fulltext\", \n            \"fields\" : [ \n              \"text\" \n            ], \n            \"unique\" : false, \n            \"sparse\" : true, \n            \"minLength\" : 10 \n          }, \n          { \n            \"id\" : \"11304\", \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\" : \"11297\", \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        { \n          \"id\" : \"58\", \n          \"type\" : \"hash\", \n          \"fields\" : [ \n            \"mount\" \n          ], \n          \"selectivityEstimate\" : 1, \n          \"unique\" : true, \n          \"sparse\" : false, \n          \"deduplicate\" : true \n        } \n      ], \n      \"parameters\" : { \n        \"allowUserKeys\" : true, \n        \"cid\" : \"55\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_apps\", \n        \"id\" : \"55\", \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\" : \"58\", \n            \"type\" : \"hash\", \n            \"fields\" : [ \n              \"mount\" \n            ], \n            \"selectivityEstimate\" : 1, \n            \"unique\" : true, \n            \"sparse\" : false, \n            \"deduplicate\" : true \n          } \n        ], \n        \"isSmart\" : false, \n        \"isSystem\" : true, \n        \"isVolatile\" : false, \n        \"journalSize\" : 2097152, \n        \"keyOptions\" : { \n          \"type\" : \"traditional\", \n          \"allowUserKeys\" : true, \n          \"lastValue\" : 73 \n        }, \n        \"name\" : \"_apps\", \n        \"numberOfShards\" : 1, \n        \"planId\" : \"55\", \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\" : \"2\", \n        \"count\" : 0, \n        \"deleted\" : false, \n        \"doCompact\" : true, \n        \"globallyUniqueId\" : \"_graphs\", \n        \"id\" : \"2\", \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\" : \"2\", \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\" : 9749 \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        { \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\" : 11246 \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\" : \"h3CED0815C6B6/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\" : \"h3CED0815C6B6/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\" : \"11298\", \n    \"lastUncommittedLogTick\" : \"11305\", \n    \"totalEvents\" : 3846, \n    \"time\" : \"2018-10-04T20:08:37Z\" \n  }, \n  \"tick\" : \"11305\" \n}\n
\n\n\n\n\n", "parameters": [ { "description": "Include system collections in the result. The default value is *true*.\n\n", @@ -7859,7 +7859,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=11321\n\nHTTP/1.1 204 No Content\nx-arango-replication-frompresent: true\nx-arango-replication-lastscanned: 11321\nx-content-type-options: nosniff\nx-arango-replication-lastincluded: 0\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lasttick: 11321\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=11321\n\nHTTP/1.1 200 OK\nx-arango-replication-frompresent: true\nx-arango-replication-lastscanned: 11334\nx-content-type-options: nosniff\nx-arango-replication-lastincluded: 11334\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lasttick: 11334\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"11323\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11322\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"11322\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"hAA9FCEE3AF93/11322\\\",\\\"id\\\":\\\"11322\\\",\\\"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\\\":\\\"11322\\\",\\\"replicationFactor\\\":1,\\\"shardKeys\\\":[\\\"_key\\\"],\\\"shards\\\":{},\\\"status\\\":3,\\\"type\\\":2,\\\"version\\\":6,\\\"waitForSync\\\":false}}\\n{\\\"tick\\\":\\\"11327\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11322\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p1\\\",\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_Xcgbx4i--_\\\",\\\"name\\\":\\\"flux compensator\\\"}}\\n{\\\"tick\\\":\\\"11329\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11322\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_Xcgbx4i--B\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"hybrid hovercraft\\\"}}\\n{\\\"tick\\\":\\\"11331\\\",\\\"type\\\":2302,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11322\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_Xcgbx4i--D\\\"}}\\n{\\\"tick\\\":\\\"11333\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11322\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_Xcgbx4m--_\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"broken hovercraft\\\"}}\\n{\\\"tick\\\":\\\"11334\\\",\\\"type\\\":2001,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11322\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"cuid\\\":\\\"hAA9FCEE3AF93/11322\\\",\\\"id\\\":\\\"11322\\\",\\\"name\\\":\\\"products\\\"}}\\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=11308&chunkSize=400\n\nHTTP/1.1 200 OK\nx-arango-replication-frompresent: true\nx-arango-replication-lastscanned: 11310\nx-content-type-options: nosniff\nx-arango-replication-lastincluded: 11310\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: true\nx-arango-replication-lasttick: 11321\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"11310\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11309\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"11309\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"hAA9FCEE3AF93/11309\\\",\\\"id\\\":\\\"11309\\\",\\\"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\\\":\\\"11309\\\",\\\"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=11320\n\nHTTP/1.1 204 No Content\nx-arango-replication-frompresent: true\nx-arango-replication-lastscanned: 11320\nx-content-type-options: nosniff\nx-arango-replication-lastincluded: 0\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lasttick: 11320\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=11320\n\nHTTP/1.1 200 OK\nx-arango-replication-frompresent: true\nx-arango-replication-lastscanned: 11333\nx-content-type-options: nosniff\nx-arango-replication-lastincluded: 11333\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: false\nx-arango-replication-lasttick: 11333\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"11322\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11321\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"11321\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"h3CED0815C6B6/11321\\\",\\\"id\\\":\\\"11321\\\",\\\"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\\\":\\\"11321\\\",\\\"replicationFactor\\\":1,\\\"shardKeys\\\":[\\\"_key\\\"],\\\"shards\\\":{},\\\"status\\\":3,\\\"type\\\":2,\\\"version\\\":6,\\\"waitForSync\\\":false}}\\n{\\\"tick\\\":\\\"11326\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11321\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p1\\\",\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_XiAwRIu--_\\\",\\\"name\\\":\\\"flux compensator\\\"}}\\n{\\\"tick\\\":\\\"11328\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11321\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_XiAwRIy--_\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"hybrid hovercraft\\\"}}\\n{\\\"tick\\\":\\\"11330\\\",\\\"type\\\":2302,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11321\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_key\\\":\\\"p1\\\",\\\"_rev\\\":\\\"_XiAwRIy--B\\\"}}\\n{\\\"tick\\\":\\\"11332\\\",\\\"type\\\":2300,\\\"tid\\\":\\\"0\\\",\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11321\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"_id\\\":\\\"_unknown/p2\\\",\\\"_key\\\":\\\"p2\\\",\\\"_rev\\\":\\\"_XiAwRIy--D\\\",\\\"hp\\\":5100,\\\"name\\\":\\\"broken hovercraft\\\"}}\\n{\\\"tick\\\":\\\"11333\\\",\\\"type\\\":2001,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11321\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"cuid\\\":\\\"h3CED0815C6B6/11321\\\",\\\"id\\\":\\\"11321\\\",\\\"name\\\":\\\"products\\\"}}\\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=11307&chunkSize=400\n\nHTTP/1.1 200 OK\nx-arango-replication-frompresent: true\nx-arango-replication-lastscanned: 11309\nx-content-type-options: nosniff\nx-arango-replication-lastincluded: 11309\ncontent-type: application/x-arango-dump; charset=utf-8\nx-arango-replication-checkmore: true\nx-arango-replication-lasttick: 11320\nx-arango-replication-active: true\n\n\"{\\\"tick\\\":\\\"11309\\\",\\\"type\\\":2000,\\\"database\\\":\\\"1\\\",\\\"cid\\\":\\\"11308\\\",\\\"cname\\\":\\\"products\\\",\\\"data\\\":{\\\"allowUserKeys\\\":true,\\\"cid\\\":\\\"11308\\\",\\\"count\\\":0,\\\"deleted\\\":false,\\\"doCompact\\\":true,\\\"globallyUniqueId\\\":\\\"h3CED0815C6B6/11308\\\",\\\"id\\\":\\\"11308\\\",\\\"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\\\":\\\"11308\\\",\\\"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", @@ -7920,7 +7920,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 - *expires*: date and time when this client would expire without an established connection\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\" : \"11334\", \n    \"lastUncommittedLogTick\" : \"11334\", \n    \"totalEvents\" : 3860, \n    \"time\" : \"2018-09-17T17:39:42Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.16\", \n    \"serverId\" : \"187603347550099\" \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 - *expires*: date and time when this client would expire without an established connection\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\" : \"11333\", \n    \"lastUncommittedLogTick\" : \"11333\", \n    \"totalEvents\" : 3860, \n    \"time\" : \"2018-10-04T20:08:39Z\" \n  }, \n  \"server\" : { \n    \"version\" : \"3.3.17\", \n    \"serverId\" : \"66988740560566\" \n  }, \n  \"clients\" : [ ] \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -7943,7 +7943,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\" : \"/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-3.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"5\", \n    \"tickMax\" : \"10200\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-85.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10215\", \n    \"tickMax\" : \"10271\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-91.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10277\", \n    \"tickMax\" : \"11269\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-10203.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"11276\", \n    \"tickMax\" : \"11282\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_hTzdn0/tmp-25318-2270172583/data/journals/logfile-10274.db\", \n    \"status\" : \"open\", \n    \"tickMin\" : \"11288\", \n    \"tickMax\" : \"11334\" \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\" : \"/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-3.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"5\", \n    \"tickMax\" : \"10200\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-85.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10214\", \n    \"tickMax\" : \"10270\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-91.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"10277\", \n    \"tickMax\" : \"11268\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-10273.db\", \n    \"status\" : \"collected\", \n    \"tickMin\" : \"11275\", \n    \"tickMax\" : \"11281\" \n  }, \n  { \n    \"datafile\" : \"/tmp/arangosh_fgN2uR/tmp-19343-2239968769/data/journals/logfile-10274.db\", \n    \"status\" : \"open\", \n    \"tickMin\" : \"11287\", \n    \"tickMax\" : \"11333\" \n  } \n]\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -8008,7 +8008,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\" : \"187603347550099\" \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\" : \"66988740560566\" \n}\n
\n\n\n\n\n", "parameters": [], "responses": { "200": { @@ -8070,7 +8070,7 @@ }, "/_api/simple/all": { "put": { - "description": "\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\" : \"11385\", \n      \"_id\" : \"products/11385\", \n      \"_rev\" : \"_Xcgby8C--_\", \n      \"Hello3\" : \"World3\" \n    }, \n    { \n      \"_key\" : \"11388\", \n      \"_id\" : \"products/11388\", \n      \"_rev\" : \"_Xcgby8C--B\", \n      \"Hello4\" : \"World4\" \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.00012135505676269531 \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\" : \"11366\", \n      \"_id\" : \"products/11366\", \n      \"_rev\" : \"_Xcgby7G--F\", \n      \"Hello4\" : \"World4\" \n    }, \n    { \n      \"_key\" : \"11356\", \n      \"_id\" : \"products/11356\", \n      \"_rev\" : \"_Xcgby7G--_\", \n      \"Hello1\" : \"World1\" \n    }, \n    { \n      \"_key\" : \"11369\", \n      \"_id\" : \"products/11369\", \n      \"_rev\" : \"_Xcgby7G--H\", \n      \"Hello5\" : \"World5\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"11372\", \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.00014591217041015625 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n", + "description": "\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\" : \"11390\", \n      \"_id\" : \"products/11390\", \n      \"_rev\" : \"_XiAwSLu--_\", \n      \"Hello5\" : \"World5\" \n    }, \n    { \n      \"_key\" : \"11381\", \n      \"_id\" : \"products/11381\", \n      \"_rev\" : \"_XiAwSLq--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.0001227855682373047 \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\" : \"11362\", \n      \"_id\" : \"products/11362\", \n      \"_rev\" : \"_XiAwSKq--B\", \n      \"Hello3\" : \"World3\" \n    }, \n    { \n      \"_key\" : \"11359\", \n      \"_id\" : \"products/11359\", \n      \"_rev\" : \"_XiAwSKq--_\", \n      \"Hello2\" : \"World2\" \n    }, \n    { \n      \"_key\" : \"11365\", \n      \"_id\" : \"products/11365\", \n      \"_rev\" : \"_XiAwSKq--D\", \n      \"Hello4\" : \"World4\" \n    } \n  ], \n  \"hasMore\" : true, \n  \"id\" : \"11371\", \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.00011444091796875 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"cached\" : false \n}\n
\n\n\n\n\n", "parameters": [ { "description": "Contains the query.\n\n", @@ -8105,7 +8105,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 collection that should be queried\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/10704\", \n    \"/_db/_system/_api/document/products/10707\", \n    \"/_db/_system/_api/document/products/10700\" \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.00014734268188476562 \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/10685\", \n    \"products/10692\", \n    \"products/10689\" \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.0001404285430908203 \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 collection that should be queried\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/10699\", \n    \"/_db/_system/_api/document/products/10703\", \n    \"/_db/_system/_api/document/products/10706\" \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.00015020370483398438 \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/10684\", \n    \"products/10688\", \n    \"products/10691\" \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.0001373291015625 \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": [ { "description": "The name of the collection.\n**This parameter is only for an easier migration path from old versions.**\nIn ArangoDB versions < 3.0, the URL path was */_api/document* and\nthis was passed in via the query parameter \"collection\".\nThis combination was removed. The collection name can be passed to\n*/_api/simple/all-keys* as body parameter (preferred) or as query parameter.\n\n", @@ -8142,7 +8142,7 @@ }, "/_api/simple/any": { "put": { - "description": "\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\" : \"11403\", \n    \"_id\" : \"products/11403\", \n    \"_rev\" : \"_Xcgby9C--B\", \n    \"Hello2\" : \"World2\" \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", + "description": "\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\" : \"11408\", \n    \"_id\" : \"products/11408\", \n    \"_rev\" : \"_XiAwSMy--F\", \n    \"Hello4\" : \"World4\" \n  }, \n  \"error\" : false, \n  \"code\" : 200 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -8175,7 +8175,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\" : \"11420\", \n      \"_id\" : \"products/11420\", \n      \"_rev\" : \"_Xcgbz-C--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11430\", \n      \"_id\" : \"products/11430\", \n      \"_rev\" : \"_Xcgbz-G--D\", \n      \"a\" : { \n        \"k\" : 2, \n        \"j\" : 2 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11424\", \n      \"_id\" : \"products/11424\", \n      \"_rev\" : \"_Xcgbz-G--_\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11427\", \n      \"_id\" : \"products/11427\", \n      \"_rev\" : \"_Xcgbz-G--B\", \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 4, \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.00016498565673828125 \n    }, \n    \"warnings\" : [ ] \n  }, \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\" : \"11442\", \n      \"_id\" : \"products/11442\", \n      \"_rev\" : \"_Xcgbz_G--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11438\", \n      \"_id\" : \"products/11438\", \n      \"_rev\" : \"_Xcgbz_G--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \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\" : 2, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00017499923706054688 \n    }, \n    \"warnings\" : [ ] \n  }, \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\" : \"11460\", \n      \"_id\" : \"products/11460\", \n      \"_rev\" : \"_XcgbzAK--_\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 1, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 4, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 3, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00015616416931152344 \n    }, \n    \"warnings\" : [ ] \n  }, \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\" : \"11429\", \n      \"_id\" : \"products/11429\", \n      \"_rev\" : \"_XiAwSOC--F\", \n      \"a\" : { \n        \"k\" : 2, \n        \"j\" : 2 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11419\", \n      \"_id\" : \"products/11419\", \n      \"_rev\" : \"_XiAwSOC--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11423\", \n      \"_id\" : \"products/11423\", \n      \"_rev\" : \"_XiAwSOC--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11426\", \n      \"_id\" : \"products/11426\", \n      \"_rev\" : \"_XiAwSOC--D\", \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 4, \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.0001685619354248047 \n    }, \n    \"warnings\" : [ ] \n  }, \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\" : \"11441\", \n      \"_id\" : \"products/11441\", \n      \"_rev\" : \"_XiAwSO6--B\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    }, \n    { \n      \"_key\" : \"11437\", \n      \"_id\" : \"products/11437\", \n      \"_rev\" : \"_XiAwSO6--_\", \n      \"a\" : { \n        \"k\" : 1, \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \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\" : 2, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.000133514404296875 \n    }, \n    \"warnings\" : [ ] \n  }, \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\" : \"11459\", \n      \"_id\" : \"products/11459\", \n      \"_rev\" : \"_XiAwSQ---_\", \n      \"a\" : { \n        \"j\" : 1 \n      }, \n      \"i\" : 1 \n    } \n  ], \n  \"hasMore\" : false, \n  \"count\" : 1, \n  \"cached\" : false, \n  \"extra\" : { \n    \"stats\" : { \n      \"writesExecuted\" : 0, \n      \"writesIgnored\" : 0, \n      \"scannedFull\" : 4, \n      \"scannedIndex\" : 0, \n      \"filtered\" : 3, \n      \"httpRequests\" : 0, \n      \"executionTime\" : 0.00019073486328125 \n    }, \n    \"warnings\" : [ ] \n  }, \n  \"error\" : false, \n  \"code\" : 201 \n}\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -8208,7 +8208,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\" : \"11478\", \n    \"_id\" : \"products/11478\", \n    \"_rev\" : \"_XcgbzBO--_\", \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\" : \"11477\", \n    \"_id\" : \"products/11477\", \n    \"_rev\" : \"_XiAwSR---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", "parameters": [ { "in": "body", @@ -8241,7 +8241,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\" : \"11510\", \n      \"_id\" : \"products/11510\", \n      \"_rev\" : \"_XcgbzDS--_\", \n      \"text\" : \"this text contains word\" \n    }, \n    { \n      \"_key\" : \"11514\", \n      \"_id\" : \"products/11514\", \n      \"_rev\" : \"_XcgbzDS--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", + "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\" : \"11509\", \n      \"_id\" : \"products/11509\", \n      \"_rev\" : \"_XiAwSTG--_\", \n      \"text\" : \"this text contains word\" \n    }, \n    { \n      \"_key\" : \"11513\", \n      \"_id\" : \"products/11513\", \n      \"_rev\" : \"_XiAwSTG--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", @@ -8274,7 +8274,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\" : \"_XcgbzFW--_\", \n      \"value\" : 0 \n    }, \n    { \n      \"_key\" : \"test1\", \n      \"_id\" : \"test/test1\", \n      \"_rev\" : \"_XcgbzFW--B\", \n      \"value\" : 1 \n    }, \n    { \n      \"_key\" : \"test2\", \n      \"_id\" : \"test/test2\", \n      \"_rev\" : \"_XcgbzFa--_\", \n      \"value\" : 2 \n    }, \n    { \n      \"_key\" : \"test3\", \n      \"_id\" : \"test/test3\", \n      \"_rev\" : \"_XcgbzFa--B\", \n      \"value\" : 3 \n    }, \n    { \n      \"_key\" : \"test4\", \n      \"_id\" : \"test/test4\", \n      \"_rev\" : \"_XcgbzFa--D\", \n      \"value\" : 4 \n    }, \n    { \n      \"_key\" : \"test5\", \n      \"_id\" : \"test/test5\", \n      \"_rev\" : \"_XcgbzFa--F\", \n      \"value\" : 5 \n    }, \n    { \n      \"_key\" : \"test6\", \n      \"_id\" : \"test/test6\", \n      \"_rev\" : \"_XcgbzFa--H\", \n      \"value\" : 6 \n    }, \n    { \n      \"_key\" : \"test7\", \n      \"_id\" : \"test/test7\", \n      \"_rev\" : \"_XcgbzFa--J\", \n      \"value\" : 7 \n    }, \n    { \n      \"_key\" : \"test8\", \n      \"_id\" : \"test/test8\", \n      \"_rev\" : \"_XcgbzFa--L\", \n      \"value\" : 8 \n    }, \n    { \n      \"_key\" : \"test9\", \n      \"_id\" : \"test/test9\", \n      \"_rev\" : \"_XcgbzFa--N\", \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\" : \"_XiAwSVK--_\", \n      \"value\" : 0 \n    }, \n    { \n      \"_key\" : \"test1\", \n      \"_id\" : \"test/test1\", \n      \"_rev\" : \"_XiAwSVK--B\", \n      \"value\" : 1 \n    }, \n    { \n      \"_key\" : \"test2\", \n      \"_id\" : \"test/test2\", \n      \"_rev\" : \"_XiAwSVK--D\", \n      \"value\" : 2 \n    }, \n    { \n      \"_key\" : \"test3\", \n      \"_id\" : \"test/test3\", \n      \"_rev\" : \"_XiAwSVO--_\", \n      \"value\" : 3 \n    }, \n    { \n      \"_key\" : \"test4\", \n      \"_id\" : \"test/test4\", \n      \"_rev\" : \"_XiAwSVO--B\", \n      \"value\" : 4 \n    }, \n    { \n      \"_key\" : \"test5\", \n      \"_id\" : \"test/test5\", \n      \"_rev\" : \"_XiAwSVO--D\", \n      \"value\" : 5 \n    }, \n    { \n      \"_key\" : \"test6\", \n      \"_id\" : \"test/test6\", \n      \"_rev\" : \"_XiAwSVO--F\", \n      \"value\" : 6 \n    }, \n    { \n      \"_key\" : \"test7\", \n      \"_id\" : \"test/test7\", \n      \"_rev\" : \"_XiAwSVO--H\", \n      \"value\" : 7 \n    }, \n    { \n      \"_key\" : \"test8\", \n      \"_id\" : \"test/test8\", \n      \"_rev\" : \"_XiAwSVO--J\", \n      \"value\" : 8 \n    }, \n    { \n      \"_key\" : \"test9\", \n      \"_id\" : \"test/test9\", \n      \"_rev\" : \"_XiAwSVO--L\", \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", @@ -8307,7 +8307,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\" : \"11604\", \n      \"_id\" : \"products/11604\", \n      \"_rev\" : \"_XcgbzIe--_\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"11598\", \n      \"_id\" : \"products/11598\", \n      \"_rev\" : \"_XcgbzIa--H\", \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/11642\", \n      \"_key\" : \"11642\", \n      \"_rev\" : \"_XcgbzKe--H\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/11648\", \n      \"_key\" : \"11648\", \n      \"_rev\" : \"_XcgbzKi--B\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/11639\", \n      \"_key\" : \"11639\", \n      \"_rev\" : \"_XcgbzKe--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 - **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\" : \"11603\", \n      \"_id\" : \"products/11603\", \n      \"_rev\" : \"_XiAwSYS--H\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"11597\", \n      \"_id\" : \"products/11597\", \n      \"_rev\" : \"_XiAwSYS--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}\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/11641\", \n      \"_key\" : \"11641\", \n      \"_rev\" : \"_XiAwSaW--F\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/11647\", \n      \"_key\" : \"11647\", \n      \"_rev\" : \"_XiAwSaW--J\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/11638\", \n      \"_key\" : \"11638\", \n      \"_rev\" : \"_XiAwSaW--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", "parameters": [ { "in": "body", @@ -8340,7 +8340,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\" : \"11677\", \n      \"_id\" : \"products/11677\", \n      \"_rev\" : \"_XcgbzMi--B\", \n      \"i\" : 2 \n    }, \n    { \n      \"_key\" : \"11680\", \n      \"_id\" : \"products/11680\", \n      \"_rev\" : \"_XcgbzMi--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\" : \"11676\", \n      \"_id\" : \"products/11676\", \n      \"_rev\" : \"_XiAwSca--_\", \n      \"i\" : 2 \n    }, \n    { \n      \"_key\" : \"11679\", \n      \"_id\" : \"products/11679\", \n      \"_rev\" : \"_XiAwSca--B\", \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", @@ -8505,7 +8505,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\" : \"11933\", \n      \"_id\" : \"products/11933\", \n      \"_rev\" : \"_XcgbzZW--H\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"11927\", \n      \"_id\" : \"products/11927\", \n      \"_rev\" : \"_XcgbzZW--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/11971\", \n      \"_key\" : \"11971\", \n      \"_rev\" : \"_Xcgbzba--F\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/11977\", \n      \"_key\" : \"11977\", \n      \"_rev\" : \"_Xcgbzba--J\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/11968\", \n      \"_key\" : \"11968\", \n      \"_rev\" : \"_Xcgbzba--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 - **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\" : \"11932\", \n      \"_id\" : \"products/11932\", \n      \"_rev\" : \"_XiAwSpO--H\", \n      \"name\" : \"Name/0.002/\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"11926\", \n      \"_id\" : \"products/11926\", \n      \"_rev\" : \"_XiAwSpO--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/11970\", \n      \"_key\" : \"11970\", \n      \"_rev\" : \"_XiAwSrS--H\", \n      \"loc\" : [ \n        -0.002, \n        0 \n      ], \n      \"name\" : \"Name/-0.002/\" \n    }, \n    { \n      \"distance\" : 222.38985328911744, \n      \"_id\" : \"products/11976\", \n      \"_key\" : \"11976\", \n      \"_rev\" : \"_XiAwSrW--_\", \n      \"loc\" : [ \n        0.002, \n        0 \n      ], \n      \"name\" : \"Name/0.002/\" \n    }, \n    { \n      \"distance\" : 444.779706578235, \n      \"_id\" : \"products/11967\", \n      \"_key\" : \"11967\", \n      \"_rev\" : \"_XiAwSrS--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", "parameters": [ { "in": "body", @@ -8538,7 +8538,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\" : \"12030\", \n      \"_id\" : \"products/12030\", \n      \"_rev\" : \"_Xcgbzdi--F\", \n      \"name\" : \"Name/0.008/\", \n      \"loc\" : [ \n        0.008, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12027\", \n      \"_id\" : \"products/12027\", \n      \"_rev\" : \"_Xcgbzdi--D\", \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\" : \"12029\", \n      \"_id\" : \"products/12029\", \n      \"_rev\" : \"_XiAwSta--J\", \n      \"name\" : \"Name/0.008/\", \n      \"loc\" : [ \n        0.008, \n        0 \n      ] \n    }, \n    { \n      \"_key\" : \"12026\", \n      \"_id\" : \"products/12026\", \n      \"_rev\" : \"_XiAwSta--H\", \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", @@ -8571,7 +8571,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\" : \"12041\", \n  \"name\" : \"SampleTask\", \n  \"created\" : 1537205982.7214375, \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/12041\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\" : \"12040\", \n  \"name\" : \"SampleTask\", \n  \"created\" : 1538683720.4482203, \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/12040\n\n
\n\n\n\n\n", "parameters": [ { "in": "body", @@ -8598,7 +8598,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\" : 1537205977.322607, \n    \"type\" : \"periodic\", \n    \"period\" : 450, \n    \"offset\" : 383.447996, \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\" : 1537205977.3224692, \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\" : 1537205977.3223238, \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\" : 1537205967.3655918, \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\" : 1538683715.277274, \n    \"type\" : \"periodic\", \n    \"period\" : 450, \n    \"offset\" : 280.290479, \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\" : 1538683715.277067, \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\" : 1538683715.2768753, \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\" : 1538683705.3144176, \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": { @@ -8639,7 +8639,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Administration/JSF_delete_api_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\" : 1537205977.3224692, \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\" : 1538683715.277067, \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", @@ -8663,7 +8663,7 @@ "x-filename": "/home/jenkins/stable-3.3/Documentation/DocuBlocks/Rest/Administration/JSF_get_api_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\" : 1537205982.7357545, \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\" : 1538683720.4617145, \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", @@ -8734,7 +8734,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 its 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\" : \"_Xcgbz9O--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbz9O--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_Xcgbz9O--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgbz9O--H\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz9O--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12900\", \n              \"_id\" : \"knows/12900\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz9S--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz9O--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz9O--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12900\", \n              \"_id\" : \"knows/12900\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz9S--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12904\", \n              \"_id\" : \"knows/12904\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbz9S--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz9O--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz9O--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbz9O--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12900\", \n              \"_id\" : \"knows/12900\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz9S--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12907\", \n              \"_id\" : \"knows/12907\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbz9S--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz9O--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz9O--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbz9O--H\", \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\" : \"_Xcgbz0m--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgbz0q--B\", \n          \"name\" : \"Eve\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz0m--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12615\", \n              \"_id\" : \"knows/12615\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz0q--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz0m--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbz0q--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\" : \"_Xcgbzly--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbzl2--_\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_Xcgbzl2--B\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgbzl2--D\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgbzl2--F\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgbzly--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--H\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--_\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--H\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12126\", \n              \"_id\" : \"knows/12126\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzl6--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzl2--B\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--H\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12129\", \n              \"_id\" : \"knows/12129\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzl6--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzl2--D\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--H\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12135\", \n              \"_id\" : \"knows/12135\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl6--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzl2--F\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--H\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12135\", \n              \"_id\" : \"knows/12135\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl6--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12132\", \n              \"_id\" : \"knows/12132\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzl6--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzl2--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzl2--F\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzly--_\", \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\" : \"_XcgbzwS--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XcgbzwS--F\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzwS--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12472\", \n              \"_id\" : \"knows/12472\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzwW--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12479\", \n              \"_id\" : \"knows/12479\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XcgbzwW--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzwS--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzwS--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XcgbzwS--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 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\" : \"_Xcgbzye--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbzye--D\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzye--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12541\", \n              \"_id\" : \"knows/12541\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzyi--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzye--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzye--D\", \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\" : \"_Xcgbz7C--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgbz7C--H\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12831\", \n              \"_id\" : \"knows/12831\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz7G--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12835\", \n              \"_id\" : \"knows/12835\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbz7G--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz7C--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz7C--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbz7C--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12831\", \n              \"_id\" : \"knows/12831\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz7G--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12838\", \n              \"_id\" : \"knows/12838\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbz7G--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz7C--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz7C--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbz7C--H\", \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\" : \"_Xcgbz2y--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbz2y--D\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz2y--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12670\", \n              \"_id\" : \"knows/12670\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz22--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbz2y--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbz2y--D\", \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\" : \"_Xcgb0Ce--B\", \n        \"name\" : \"Alice\" \n      }, \n      { \n        \"_key\" : \"bob\", \n        \"_id\" : \"persons/bob\", \n        \"_rev\" : \"_Xcgb0Ce--D\", \n        \"name\" : \"Bob\" \n      }, \n      { \n        \"_key\" : \"charlie\", \n        \"_id\" : \"persons/charlie\", \n        \"_rev\" : \"_Xcgb0Ce--F\", \n        \"name\" : \"Charlie\" \n      }, \n      { \n        \"_key\" : \"dave\", \n        \"_id\" : \"persons/dave\", \n        \"_rev\" : \"_Xcgb0Ci--_\", \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\" : \"_Xcgb0Em--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgb0Em--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgb0Em--B\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0Em--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13143\", \n              \"_id\" : \"knows/13143\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0Eq--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0Em--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0Em--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13143\", \n              \"_id\" : \"knows/13143\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0Eq--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13146\", \n              \"_id\" : \"knows/13146\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0Eq--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0Em--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0Em--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0Em--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 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\" : \"_XcgbzrO--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XcgbzrO--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XcgbzrO--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XcgbzrO--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XcgbzrO--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XcgbzrO--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XcgbzrO--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XcgbzrO--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XcgbzrO--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XcgbzrO--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XcgbzrO--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--J\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12301\", \n              \"_id\" : \"knows/12301\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XcgbzrO--L\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XcgbzrO--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12304\", \n              \"_id\" : \"knows/12304\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XcgbzrS--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XcgbzrO--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrS--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrS--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrS--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrS--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrS--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrS--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrS--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrS--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12301\", \n              \"_id\" : \"knows/12301\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XcgbzrO--L\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XcgbzrO--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrS--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrS--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12304\", \n              \"_id\" : \"knows/12304\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XcgbzrS--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XcgbzrO--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrS--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrS--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--J\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XcgbzrO--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XcgbzrO--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XcgbzrO--_\", \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\" : \"_Xcgb0_q--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgb0_u--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgb0_q--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgb0_u--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgb0_q--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_Xcgb0_q--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgb0_u--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgb0_q--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgb0_q--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgb0_u--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgb0_q--B\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12973\", \n              \"_id\" : \"knows/12973\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgb0_u--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgb0_q--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12976\", \n              \"_id\" : \"knows/12976\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgb0_u--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgb0_u--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_u--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--L\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_u--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12973\", \n              \"_id\" : \"knows/12973\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgb0_u--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgb0_q--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_u--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12976\", \n              \"_id\" : \"knows/12976\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgb0_u--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgb0_u--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_u--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_u--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_u--L\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgb0_q--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_u--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgb0_u--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgb0_q--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 *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\" : \"_Xcgbzom--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgbzoq--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbzom--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgbzom--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgbzoq--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_Xcgbzom--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbzom--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgbzoq--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgbzom--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgbzoq--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_Xcgbzom--F\", \n          \"name\" : \"Charlie\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzoq--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzoq--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--L\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzoq--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzoq--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12209\", \n              \"_id\" : \"knows/12209\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzoq--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzoq--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzoq--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12206\", \n              \"_id\" : \"knows/12206\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzoq--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzom--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--L\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzoq--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzoq--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12209\", \n              \"_id\" : \"knows/12209\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzoq--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzoq--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzoq--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12206\", \n              \"_id\" : \"knows/12206\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzoq--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzom--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzom--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzom--F\", \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\" : \"_Xcgbzt2--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_Xcgbzt2--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_Xcgbzt2--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_Xcgbzt6--_\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_Xcgbzt6--B\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_Xcgbzt2--B\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--D\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt2--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12396\", \n              \"_id\" : \"knows/12396\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzt6--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt2--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_Xcgbzt2--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12399\", \n              \"_id\" : \"knows/12399\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzt6--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt2--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_Xcgbzt6--_\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12405\", \n              \"_id\" : \"knows/12405\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--L\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt2--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzt6--B\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12405\", \n              \"_id\" : \"knows/12405\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt6--L\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12402\", \n              \"_id\" : \"knows/12402\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt6--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_Xcgbzt2--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_Xcgbzt6--B\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_Xcgbzt2--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 its 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\" : \"_XiAwTMu--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwTMu--D\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwTMy--_\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwTMy--B\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTMu--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12900\", \n              \"_id\" : \"knows/12900\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTMy--F\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTMu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTMu--D\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12900\", \n              \"_id\" : \"knows/12900\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTMy--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12904\", \n              \"_id\" : \"knows/12904\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTMy--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTMu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTMu--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTMy--_\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12900\", \n              \"_id\" : \"knows/12900\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTMy--F\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12907\", \n              \"_id\" : \"knows/12907\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTMy--J\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTMu--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTMu--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTMy--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\" : \"_XiAwTEG--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwTEK--B\", \n          \"name\" : \"Eve\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTEG--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12615\", \n              \"_id\" : \"knows/12615\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTEK--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTEG--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTEK--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\" : \"_XiAwS1i--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwS1i--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwS1i--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwS1i--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwS1i--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwS1i--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1i--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12126\", \n              \"_id\" : \"knows/12126\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS1m--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1i--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS1i--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12129\", \n              \"_id\" : \"knows/12129\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS1m--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1i--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS1i--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12135\", \n              \"_id\" : \"knows/12135\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1i--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS1i--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12122\", \n              \"_id\" : \"knows/12122\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12135\", \n              \"_id\" : \"knows/12135\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1m--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12132\", \n              \"_id\" : \"knows/12132\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1m--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS1i--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS1i--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS1i--_\", \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\" : \"_XiAwT_u--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwT_y--D\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwT_u--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12472\", \n              \"_id\" : \"knows/12472\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwT_y--H\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12479\", \n              \"_id\" : \"knows/12479\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwT_y--L\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwT_u--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwT_y--_\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwT_y--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\" : \"_XiAwTB6--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwTB6--D\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTB6--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12541\", \n              \"_id\" : \"knows/12541\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTC---F\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTB6--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTB6--D\", \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\" : \"_XiAwTKi--F\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwTKm--_\", \n          \"name\" : \"Dave\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12831\", \n              \"_id\" : \"knows/12831\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTKm--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12835\", \n              \"_id\" : \"knows/12835\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTKm--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTKi--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTKi--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTKi--F\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12831\", \n              \"_id\" : \"knows/12831\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTKm--D\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12838\", \n              \"_id\" : \"knows/12838\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTKm--H\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTKi--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTKi--D\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTKm--_\", \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\" : \"_XiAwTGS--B\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwTGS--D\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTGS--B\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12670\", \n              \"_id\" : \"knows/12670\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTGW--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTGS--B\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTGS--D\", \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\" : \"_XiAwTSG--_\", \n        \"name\" : \"Alice\" \n      }, \n      { \n        \"_key\" : \"bob\", \n        \"_id\" : \"persons/bob\", \n        \"_rev\" : \"_XiAwTSG--B\", \n        \"name\" : \"Bob\" \n      }, \n      { \n        \"_key\" : \"charlie\", \n        \"_id\" : \"persons/charlie\", \n        \"_rev\" : \"_XiAwTSG--D\", \n        \"name\" : \"Charlie\" \n      }, \n      { \n        \"_key\" : \"dave\", \n        \"_id\" : \"persons/dave\", \n        \"_rev\" : \"_XiAwTSG--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\" : \"_XiAwTUO--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwTUO--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwTUO--B\", \n          \"name\" : \"Bob\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTUO--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13143\", \n              \"_id\" : \"knows/13143\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTUS--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTUO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTUO--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"13143\", \n              \"_id\" : \"knows/13143\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTUS--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"13146\", \n              \"_id\" : \"knows/13146\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTUS--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTUO--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTUO--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTUO--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 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\" : \"_XiAwS62--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwS62--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwS62--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwS62--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwS62--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwS62--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwS62--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwS62--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwS62--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwS62--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwS62--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12301\", \n              \"_id\" : \"knows/12301\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS66--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS62--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12304\", \n              \"_id\" : \"knows/12304\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS66--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS62--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--_\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS66--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS66--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS66--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS66--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12301\", \n              \"_id\" : \"knows/12301\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS66--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS62--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS66--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12304\", \n              \"_id\" : \"knows/12304\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS66--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS62--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12307\", \n              \"_id\" : \"knows/12307\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS66--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12310\", \n              \"_id\" : \"knows/12310\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12297\", \n              \"_id\" : \"knows/12297\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS66--_\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS62--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS62--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS62--_\", \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\" : \"_XiAwTP---D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwTP---F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwTP---_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwTP---H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwTP---B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwTP---D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwTP---F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwTP---_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwTP---B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwTP---H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwTP---_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12973\", \n              \"_id\" : \"knows/12973\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTP---L\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTP---D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12976\", \n              \"_id\" : \"knows/12976\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTPC--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTP---F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTPC--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTPC--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTPC--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---J\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTPC--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTPC--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12973\", \n              \"_id\" : \"knows/12973\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTP---L\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwTP---D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTPC--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTPC--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12976\", \n              \"_id\" : \"knows/12976\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTPC--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwTP---F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTPC--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTPC--D\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12969\", \n              \"_id\" : \"knows/12969\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---J\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTPC--B\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12982\", \n              \"_id\" : \"knows/12982\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTPC--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwTP---B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12979\", \n              \"_id\" : \"knows/12979\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTPC--B\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwTP---H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwTP---_\", \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\" : \"_XiAwS4S--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwS4W--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwS4S--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwS4S--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwS4S--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwS4S--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwS4S--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwS4W--_\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwS4S--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwS4S--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwS4S--D\", \n          \"name\" : \"Charlie\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4W--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4W--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4W--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4W--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12209\", \n              \"_id\" : \"knows/12209\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS4W--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS4S--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4W--H\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12206\", \n              \"_id\" : \"knows/12206\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS4W--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS4S--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--B\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--J\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12215\", \n              \"_id\" : \"knows/12215\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--J\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12212\", \n              \"_id\" : \"knows/12212\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4W--H\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS4W--_\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12209\", \n              \"_id\" : \"knows/12209\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS4W--F\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS4S--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12202\", \n              \"_id\" : \"knows/12202\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4W--B\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12206\", \n              \"_id\" : \"knows/12206\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS4W--D\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS4S--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS4S--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS4S--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\" : \"_XiAwS9a--_\", \n          \"name\" : \"Alice\" \n        }, \n        { \n          \"_key\" : \"bob\", \n          \"_id\" : \"persons/bob\", \n          \"_rev\" : \"_XiAwS9a--B\", \n          \"name\" : \"Bob\" \n        }, \n        { \n          \"_key\" : \"charlie\", \n          \"_id\" : \"persons/charlie\", \n          \"_rev\" : \"_XiAwS9a--D\", \n          \"name\" : \"Charlie\" \n        }, \n        { \n          \"_key\" : \"dave\", \n          \"_id\" : \"persons/dave\", \n          \"_rev\" : \"_XiAwS9a--F\", \n          \"name\" : \"Dave\" \n        }, \n        { \n          \"_key\" : \"eve\", \n          \"_id\" : \"persons/eve\", \n          \"_rev\" : \"_XiAwS9a--H\", \n          \"name\" : \"Eve\" \n        }, \n        { \n          \"_key\" : \"alice\", \n          \"_id\" : \"persons/alice\", \n          \"_rev\" : \"_XiAwS9a--_\", \n          \"name\" : \"Alice\" \n        } \n      ], \n      \"paths\" : [ \n        { \n          \"edges\" : [ ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \n              \"name\" : \"Alice\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--J\", \n              \"vertex\" : \"alice\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--B\", \n              \"name\" : \"Bob\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12396\", \n              \"_id\" : \"knows/12396\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS9e--_\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"charlie\", \n              \"_id\" : \"persons/charlie\", \n              \"_rev\" : \"_XiAwS9a--D\", \n              \"name\" : \"Charlie\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12399\", \n              \"_id\" : \"knows/12399\", \n              \"_from\" : \"persons/bob\", \n              \"_to\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS9e--B\", \n              \"vertex\" : \"bob\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"dave\", \n              \"_id\" : \"persons/dave\", \n              \"_rev\" : \"_XiAwS9a--F\", \n              \"name\" : \"Dave\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12405\", \n              \"_id\" : \"knows/12405\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9e--F\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS9a--H\", \n              \"name\" : \"Eve\" \n            } \n          ] \n        }, \n        { \n          \"edges\" : [ \n            { \n              \"_key\" : \"12392\", \n              \"_id\" : \"knows/12392\", \n              \"_from\" : \"persons/alice\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--J\", \n              \"vertex\" : \"alice\" \n            }, \n            { \n              \"_key\" : \"12405\", \n              \"_id\" : \"knows/12405\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9e--F\", \n              \"vertex\" : \"eve\" \n            }, \n            { \n              \"_key\" : \"12402\", \n              \"_id\" : \"knows/12402\", \n              \"_from\" : \"persons/eve\", \n              \"_to\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9e--D\", \n              \"vertex\" : \"eve\" \n            } \n          ], \n          \"vertices\" : [ \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \n              \"name\" : \"Alice\" \n            }, \n            { \n              \"_key\" : \"bob\", \n              \"_id\" : \"persons/bob\", \n              \"_rev\" : \"_XiAwS9a--B\", \n              \"name\" : \"Bob\" \n            }, \n            { \n              \"_key\" : \"eve\", \n              \"_id\" : \"persons/eve\", \n              \"_rev\" : \"_XiAwS9a--H\", \n              \"name\" : \"Eve\" \n            }, \n            { \n              \"_key\" : \"alice\", \n              \"_id\" : \"persons/alice\", \n              \"_rev\" : \"_XiAwS9a--_\", \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", @@ -9316,7 +9316,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\n#### HTTP 200\n*A json document with these Properties is returned:*\n\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.16\", \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.16\", \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\" : \"2018-09-17 18:53:36\", \n    \"build-repository\" : \"heads/3.3-0-g4902fd283e-dirty\", \n    \"compiler\" : \"gcc [7.3.0]\", \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.16 [linux] 64bit maintainer mode, using jemalloc, build heads/3.3-0-g4902fd283e-dirty, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.1.0g  2 Nov 2017\", \n    \"icu-version\" : \"58.1\", \n    \"jemalloc\" : \"true\", \n    \"maintainer-mode\" : \"true\", \n    \"ndebug\" : \"true\", \n    \"openssl-version\" : \"OpenSSL 1.1.0g  2 Nov 2017\", \n    \"optimisation flags\" : \"-march=haswell -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mfma -mbmi2 -mavx2 -mno-sse4a -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi\", \n    \"platform\" : \"linux\", \n    \"reactor-type\" : \"epoll\", \n    \"rocksdb-version\" : \"5.6.0\", \n    \"server-version\" : \"3.3.16\", \n    \"sizeof int\" : \"4\", \n    \"sizeof void*\" : \"8\", \n    \"sse42\" : \"true\", \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\" : \"c54ebb83e5eb4257b9e0f7201ba87ded\" \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\n#### HTTP 200\n*A json document with these Properties is returned:*\n\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.17\", \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.17\", \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\" : \"2018-10-04 21:19:20\", \n    \"build-repository\" : \"heads/3.3-0-gc98a44318b-dirty\", \n    \"compiler\" : \"gcc [7.3.0]\", \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.17 [linux] 64bit maintainer mode, using jemalloc, build heads/3.3-0-gc98a44318b-dirty, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 5.7.492.77, OpenSSL 1.1.0g  2 Nov 2017\", \n    \"icu-version\" : \"58.1\", \n    \"jemalloc\" : \"true\", \n    \"maintainer-mode\" : \"true\", \n    \"ndebug\" : \"true\", \n    \"openssl-version\" : \"OpenSSL 1.1.0g  2 Nov 2017\", \n    \"optimisation flags\" : \"-march=haswell -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mfma -mbmi2 -mavx2 -mno-sse4a -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi\", \n    \"platform\" : \"linux\", \n    \"reactor-type\" : \"epoll\", \n    \"rocksdb-version\" : \"5.6.0\", \n    \"server-version\" : \"3.3.17\", \n    \"sizeof int\" : \"4\", \n    \"sizeof void*\" : \"8\", \n    \"sse42\" : \"true\", \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\" : \"c54ebb83e5eb4257b9e0f7201ba87ded\" \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 b/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js index 5047f3d854..80da7b22e2 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js @@ -1,6 +1,6 @@ !function(){"use strict";var a=null;window.isCoordinator=function(b){null===a?$.ajax("cluster/amICoordinator",{async:!0,success:function(c){a=c,b(!1,c)},error:function(c){a=c,b(!0,c)}}):b(!1,a)},window.versionHelper={fromString:function(a){var b=a.replace(/-[a-zA-Z0-9_-]*$/g,"").split(".");return{major:parseInt(b[0],10)||0,minor:parseInt(b[1],10)||0,patch:parseInt(b[2],10)||0,toString:function(){return this.major+"."+this.minor+"."+this.patch}}},toString:function(a){return a.major+"."+a.minor+"."+a.patch}},window.arangoHelper={alphabetColors:{a:"rgb(0,0,180)",b:"rgb(175,13,102)",c:"rgb(146,248,70)",d:"rgb(255,200,47)",e:"rgb(255,118,0)",f:"rgb(185,185,185)",g:"rgb(235,235,222)",h:"rgb(100,100,100)",i:"rgb(255,255,0)",j:"rgb(55,19,112)",k:"rgb(255,255,150)",l:"rgb(202,62,94)",m:"rgb(205,145,63)",n:"rgb(12,75,100)",o:"rgb(255,0,0)",p:"rgb(175,155,50)",q:"rgb(0,0,0)",r:"rgb(37,70,25)",s:"rgb(121,33,135)",t:"rgb(83,140,208)",u:"rgb(0,154,37)",v:"rgb(178,220,205)",w:"rgb(255,152,213)",x:"rgb(0,0,74)",y:"rgb(175,200,74)",z:"rgb(63,25,12)"},statusColors:{fatal:"#ad5148",info:"rgb(88, 214, 141)",error:"rgb(236, 112, 99)",warning:"#ffb075",debug:"rgb(64, 74, 83)"},getCurrentJwt:function(){return sessionStorage.getItem("jwt")},getCurrentJwtUsername:function(){return sessionStorage.getItem("jwtUser")},setCurrentJwt:function(a,b){sessionStorage.setItem("jwt",a),sessionStorage.setItem("jwtUser",b)},checkJwt:function(){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/version"),contentType:"application/json",processData:!1,async:!0,error:function(a){401===a.status&&window.App.navigate("login",{trigger:!0})}})},getCoordinatorShortName:function(a){var b;return window.clusterHealth&&_.each(window.clusterHealth,function(c,d){a===d&&(b=c.ShortName)}),b},getDatabaseShortName:function(a){return this.getCoordinatorShortName(a)},getDatabaseServerId:function(a){var b;return window.clusterHealth&&_.each(window.clusterHealth,function(c,d){a===c.ShortName&&(b=d)}),b},lastNotificationMessage:null,CollectionTypes:{},systemAttributes:function(){return{_id:!0,_rev:!0,_key:!0,_bidirectional:!0,_vertices:!0,_from:!0,_to:!0,$id:!0}},getCurrentSub:function(){return window.App.naviView.activeSubMenu},parseError:function(a,b){var c;try{c=JSON.parse(b.responseText).errorMessage}catch(d){c=d}this.arangoError(a,c)},setCheckboxStatus:function(a){_.each($(a).find("ul").find("li"),function(a){$(a).hasClass("nav-header")||($(a).find("input").attr("checked")?$(a).find("i").hasClass("css-round-label")?$(a).find("i").addClass("fa-dot-circle-o"):$(a).find("i").addClass("fa-check-square-o"):$(a).find("i").hasClass("css-round-label")?$(a).find("i").addClass("fa-circle-o"):$(a).find("i").addClass("fa-square-o"))})},parseInput:function(a){var b,c=$(a).val();try{b=JSON.parse(c)}catch(d){b=c}return b},calculateCenterDivHeight:function(){var a=$(".navbar").height(),b=$(".footer").height(),c=$(window).height();return c-b-a-110},createTooltips:function(a,b){var c=this,d={arrow:!0,animation:"fade",animateFill:!1,multiple:!1,hideDuration:1};if(b&&(d.position=b),a||(a=".tippy"),"object"==typeof a)_.each(a,function(a){c.lastTooltips=new Tippy(a,d)});else{if(a.indexOf(",")>-1){var e=a.split(",");_.each(e,function(a){c.lastTooltips=new Tippy(a,d)})}this.lastTooltips=new Tippy(a,d)}},fixTooltips:function(a,b){arangoHelper.createTooltips(a,b)},currentDatabase:function(a){return frontendConfig.db?a(!1,frontendConfig.db):a(!0,void 0),frontendConfig.db},allHotkeys:{jsoneditor:{name:"AQL editor",content:[{label:"Execute Query",letter:"Ctrl/Cmd + Return"},{label:"Execute Selected Query",letter:"Ctrl/Cmd + Alt + Return"},{label:"Explain Query",letter:"Ctrl/Cmd + Shift + Return"},{label:"Save Query",letter:"Ctrl/Cmd + Shift + S"},{label:"Open search",letter:"Ctrl + Space"},{label:"Toggle comments",letter:"Ctrl/Cmd + Shift + C"},{label:"Undo",letter:"Ctrl/Cmd + Z"},{label:"Redo",letter:"Ctrl/Cmd + Shift + Z"},{label:"Increase Font Size",letter:"Shift + Alt + Up"},{label:"Decrease Font Size",letter:"Shift + Alt + Down"}]},doceditor:{name:"Document editor",content:[{label:"Insert",letter:"Ctrl + Insert"},{label:"Save",letter:"Ctrl + Return, Cmd + Return"},{label:"Append",letter:"Ctrl + Shift + Insert"},{label:"Duplicate",letter:"Ctrl + D"},{label:"Remove",letter:"Ctrl + Delete"}]},modals:{name:"Modal",content:[{label:"Submit",letter:"Return"},{label:"Close",letter:"Esc"},{label:"Navigate buttons",letter:"Arrow keys"},{label:"Navigate content",letter:"Tab"}]}},hotkeysFunctions:{scrollDown:function(){window.scrollBy(0,180)},scrollUp:function(){window.scrollBy(0,-180)},showHotkeysModal:function(){var a=[],b=window.arangoHelper.allHotkeys;window.modalView.show("modalHotkeys.ejs","Keyboard Shortcuts",a,b)}},buildSubNavBar:function(a){$("#subNavigationBar .bottom").html("");var b;_.each(a,function(a,c){b="",a.active&&(b+=" active"),a.disabled&&(b+=" disabled"),$("#subNavigationBar .bottom").append('"),a.disabled||$("#subNavigationBar .bottom").children().last().bind("click",function(){window.App.navigate(a.route,{trigger:!0})})})},buildUserSubNav:function(a,b){var c={General:{route:"#user/"+encodeURIComponent(a)},Permissions:{route:"#user/"+encodeURIComponent(a)+"/permission"}};c[b].active=!0,this.buildSubNavBar(c)},buildGraphSubNav:function(a,b){var c={Content:{route:"#graph/"+encodeURIComponent(a)},Settings:{route:"#graph/"+encodeURIComponent(a)+"/settings"}};c[b].active=!0,this.buildSubNavBar(c)},buildNodeSubNav:function(a,b,c){var d={Dashboard:{route:"#node/"+encodeURIComponent(a)}};d[b].active=!0,d[c].disabled=!0,this.buildSubNavBar(d)},buildNodesSubNav:function(a,b){var c={Overview:{route:"#nodes"},Shards:{route:"#shards"}};c[a].active=!0,b&&(c[b].disabled=!0),this.buildSubNavBar(c)},buildServicesSubNav:function(a,b){var c={Store:{route:"#services/install"},Upload:{route:"#services/install/upload"},New:{route:"#services/install/new"},GitHub:{route:"#services/install/github"},Remote:{route:"#services/install/remote"}};c[a].active=!0,b&&(c[b].disabled=!0),this.buildSubNavBar(c)},scaleability:void 0,buildCollectionSubNav:function(a,b){var c="#collection/"+encodeURIComponent(a),d={Content:{route:c+"/documents/1"},Indexes:{route:"#cIndices/"+encodeURIComponent(a)},Info:{route:"#cInfo/"+encodeURIComponent(a)},Settings:{route:"#cSettings/"+encodeURIComponent(a)}};d[b].active=!0,this.buildSubNavBar(d)},enableKeyboardHotkeys:function(a){var b=window.arangoHelper.hotkeysFunctions;a===!0&&($(document).on("keydown",null,"j",b.scrollDown),$(document).on("keydown",null,"k",b.scrollUp))},databaseAllowed:function(a){var b=function(b,c){b?arangoHelper.arangoError("",""):$.ajax({type:"GET",cache:!1,url:this.databaseUrl("/_api/database/",c),contentType:"application/json",processData:!1,success:function(){a(!1,!0)},error:function(){a(!0,!1)}})}.bind(this);this.currentDatabase(b)},arangoNotification:function(a,b,c){window.App.notificationList.add({title:a,content:b,info:c,type:"success"})},arangoError:function(a,b,c){$("#offlinePlaceholder").is(":visible")||window.App.notificationList.add({title:a,content:b,info:c,type:"error"})},arangoWarning:function(a,b,c){window.App.notificationList.add({title:a,content:b,info:c,type:"warning"})},arangoMessage:function(a,b,c){window.App.notificationList.add({title:a,content:b,info:c,type:"message"})},hideArangoNotifications:function(){$.noty.clearQueue(),$.noty.closeAll()},openDocEditor:function(a,b,c){var d=a.split("/"),e=this,f=new window.DocumentView({collection:window.App.arangoDocumentStore});f.breadcrumb=function(){},f.colid=d[0],f.docid=d[1],f.el=".arangoFrame .innerDiv",f.render(),f.setType(b),$(".arangoFrame .headerBar").remove(),$(".arangoFrame .outerDiv").prepend(''),$(".arangoFrame .outerDiv").click(function(){e.closeDocEditor()}),$(".arangoFrame .innerDiv").click(function(a){a.stopPropagation()}),$(".fa-times").click(function(){e.closeDocEditor()}),$(".arangoFrame").show(),f.customView=!0,f.customDeleteFunction=function(){window.modalView.hide(),$(".arangoFrame").hide()},f.customSaveFunction=function(a){e.closeDocEditor(),c&&c(a)},$(".arangoFrame #deleteDocumentButton").click(function(){f.deleteDocumentModal()}),$(".arangoFrame #saveDocumentButton").click(function(){f.saveDocument()}),$(".arangoFrame #deleteDocumentButton").css("display","none")},closeDocEditor:function(){$(".arangoFrame .outerDiv .fa-times").remove(),$(".arangoFrame").hide()},addAardvarkJob:function(a,b){$.ajax({cache:!1,type:"POST",url:this.databaseUrl("/_admin/aardvark/job"),data:JSON.stringify(a),contentType:"application/json",processData:!1,success:function(a){b&&b(!1,a)},error:function(a){b&&b(!0,a)}})},deleteAardvarkJob:function(a,b){$.ajax({cache:!1,type:"DELETE",url:this.databaseUrl("/_admin/aardvark/job/"+encodeURIComponent(a)),contentType:"application/json",processData:!1,success:function(a){b&&b(!1,a)},error:function(a){b&&b(!0,a)}})},deleteAllAardvarkJobs:function(a){$.ajax({cache:!1,type:"DELETE",url:this.databaseUrl("/_admin/aardvark/job"),contentType:"application/json",processData:!1,success:function(b){a&&a(!1,b)},error:function(b){a&&a(!0,b)}})},getAardvarkJobs:function(a){$.ajax({cache:!1,type:"GET",url:this.databaseUrl("/_admin/aardvark/job"),contentType:"application/json",processData:!1,success:function(b){a&&a(!1,b)},error:function(b){a&&a(!0,b)}})},getPendingJobs:function(a){$.ajax({cache:!1,type:"GET",url:this.databaseUrl("/_api/job/pending"),contentType:"application/json",processData:!1,success:function(b){a(!1,b)},error:function(b){a(!0,b)}})},syncAndReturnUninishedAardvarkJobs:function(a,b){var c=function(c,d){if(c)b(!0);else{var e=function(c,e){if(c)arangoHelper.arangoError("","");else{var f=[];e.length>0?_.each(d,function(b){if(b.type===a||void 0===b.type){var c=!1;_.each(e,function(a){b.id===a&&(c=!0)}),c?f.push({collection:b.collection,id:b.id,type:b.type,desc:b.desc}):window.arangoHelper.deleteAardvarkJob(b.id)}}):d.length>0&&this.deleteAllAardvarkJobs(),b(!1,f)}}.bind(this);this.getPendingJobs(e)}}.bind(this);this.getAardvarkJobs(c)},getRandomToken:function(){return Math.round((new Date).getTime())},isSystemAttribute:function(a){var b=this.systemAttributes();return b[a]},isSystemCollection:function(a){return"_"===a.name.substr(0,1)},setDocumentStore:function(a){this.arangoDocumentStore=a},collectionApiType:function(a,b,c){if(b||void 0===this.CollectionTypes[a]){var d=function(b,c,d){b?(arangoHelper.arangoError("Error","Could not detect collection type"),d&&d(b)):(this.CollectionTypes[a]=c.type,3===this.CollectionTypes[a]?d(!1,"edge",c):d(!1,"document",c))}.bind(this);this.arangoDocumentStore.getCollectionInfo(a,d,c)}else 3===this.CollectionTypes[a]?c(!1,"edge"):c(!1,"document")},collectionType:function(a){if(!a||""===a.name)return"-";var b;return b=2===a.type?"document":3===a.type?"edge":"unknown",this.isSystemCollection(a)&&(b+=" (system)"),b},formatDT:function(a){var b=function(a){return a<10?"0"+a:a};return a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate())+" "+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())},escapeHtml:function(a){return String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},backendUrl:function(a){return frontendConfig.basePath+a},databaseUrl:function(a,b){if("/_db/"===a.substr(0,5))throw new Error("Calling databaseUrl with a databased url ("+a+") doesn't make any sense");return b||(b="_system",frontendConfig.db&&(b=frontendConfig.db)),this.backendUrl("/_db/"+encodeURIComponent(b)+a)},showAuthDialog:function(){var a=!0,b=localStorage.getItem("authenticationNotification");return"false"===b&&(a=!1),a},doNotShowAgain:function(){localStorage.setItem("authenticationNotification",!1)},renderEmpty:function(a,b){b?$("#content").html(''):$("#content").html('")},initSigma:function(){try{sigma.classes.graph.addMethod("neighbors",function(a){var b,c={},d=this.allNeighborsIndex[a]||{};for(b in d)c[b]=this.nodesIndex[b];return c}),sigma.classes.graph.addMethod("getNodeEdges",function(a){var b=this.edges(),c=[];return _.each(b,function(b){b.source!==a&&b.target!==a||c.push(b.id)}),c}),sigma.classes.graph.addMethod("getNodeEdgesCount",function(a){return this.allNeighborsCount[a]}),sigma.classes.graph.addMethod("getNodesCount",function(){return this.nodesArray.length})}catch(a){}},downloadLocalBlob:function(a,b){var c;if("csv"===b&&(c="text/csv; charset=utf-8"),"json"===b&&(c="application/json; charset=utf-8"),c){var d=new Blob([a],{type:c}),e=window.URL.createObjectURL(d),f=document.createElement("a");document.body.appendChild(f),f.style="display: none",f.href=e,f.download="results-"+window.frontendConfig.db+"."+b,f.click(),window.setTimeout(function(){window.URL.revokeObjectURL(e),document.body.removeChild(f)},500)}},download:function(a,b){$.ajax(a).success(function(a,c,d){if(b)return void b(a);var e=new Blob([JSON.stringify(a)],{type:d.getResponseHeader("Content-Type")||"application/octet-stream"}),f=window.URL.createObjectURL(e),g=document.createElement("a");document.body.appendChild(g),g.style="display: none",g.href=f,g.download=d.getResponseHeader("Content-Disposition").replace(/.* filename="([^")]*)"/,"$1"),g.click(),window.setTimeout(function(){window.URL.revokeObjectURL(f),document.body.removeChild(g)},500)})},downloadPost:function(a,b,c,d){var e=new XMLHttpRequest;e.onreadystatechange=function(){if(4===this.readyState&&200===this.status){c&&c();var a=document.createElement("a");a.download=this.getResponseHeader("Content-Disposition").replace(/.* filename="([^")]*)"/,"$1"),document.body.appendChild(a);var b=window.URL.createObjectURL(this.response);a.href=b,a.click(),window.setTimeout(function(){window.URL.revokeObjectURL(b),document.body.removeChild(a)},500)}else 4===this.readyState&&void 0!==d&&d(this.status,this.statusText)},e.open("POST",a),window.arangoHelper.getCurrentJwt()&&e.setRequestHeader("Authorization","bearer "+window.arangoHelper.getCurrentJwt()),e.responseType="blob",e.send(b)},checkCollectionPermissions:function(a,b){var c=arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(window.App.userCollection.activeUser)+"/database/"+encodeURIComponent(frontendConfig.db)+"/"+encodeURIComponent(a));$.ajax({type:"GET",url:c,contentType:"application/json",success:function(a){"ro"===a.result&&b()},error:function(a){arangoHelper.arangoError("User","Could not fetch collection permissions.")}})},checkDatabasePermissions:function(a,b){var c=arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(window.App.userCollection.activeUser)+"/database/"+encodeURIComponent(frontendConfig.db));$.ajax({type:"GET",url:c,contentType:"application/json",success:function(c){"ro"===c.result?a&&a(!0):"rw"===c.result?b&&b(!1):"none"===c.result&&(frontendConfig.authenticationEnabled||b&&b(!1))},error:function(a){arangoHelper.arangoError("User","Could not fetch collection permissions.")}})},getFoxxFlag:function(){var a;return $("#new-app-replace").prop("checked")?a=!0:$("#new-app-teardown").prop("checked")&&(a=!1),a},createMountPointModal:function(a,b,c){var d,e=[],f=[];window.App.replaceApp&&(d=window.App.replaceAppData.mount,d=d.substr(1,d.length)),f.push(window.modalView.createTextEntry("new-app-mount","Mountpoint",d,"The path the app will be mounted. Is not allowed to start with _","mountpoint",!1,[{rule:Joi.string().required(),msg:""}])),f.push(window.modalView.createCheckboxEntry("new-app-teardown","Run setup?",!0,"Should this app's setup script be executed after installing the app?",!0)),window.App.replaceApp?(f.push(window.modalView.createCheckboxEntry("new-app-replace","Keep configuration and dependency files?",!0,"Should this app's configuration be saved before replacing the app?",!1)),e.push(window.modalView.createSuccessButton("Replace",a))):e.push(window.modalView.createSuccessButton("Install",a));var g="Create Foxx Service";window.App.replaceApp&&(g="Replace Foxx Service ("+window.App.replaceAppData.mount+")"),window.modalView.show("modalTable.ejs",g,e,f),window.App.replaceApp?($("#new-app-mount").attr("disabled","true"),$("#new-app-replace").attr("checked",!1),$("#new-app-replace").on("click",function(){$("#new-app-replace").prop("checked")?$("#new-app-teardown").attr("disabled",!0):$("#new-app-teardown").attr("disabled",!1)})):window.modalView.modalBindValidation({id:"new-app-mount",validateInput:function(){return[{rule:Joi.string().regex(/^((APP[^\/]+|(?!APP)[a-zA-Z0-9_\-%]+))+$/i),msg:"May not contain /APP"},{rule:Joi.string().regex(/^([a-zA-Z0-9_\-%]+)+$/),msg:"Can only contain [a-zA-Z0-9_-%]"},{rule:Joi.string().regex(/([^_]|_open\/)/),msg:"Mountpoints with _ are reserved for internal use"},{rule:Joi.string().regex(/[^\/]$/),msg:"May not end with /"},{rule:Joi.string().required().min(1),msg:"Has to be non-empty"}]}})}}}(),function(){"use strict";if(!window.hasOwnProperty("TEST_BUILD")){var a=function(){var a={};return a.createTemplate=function(a){var b=$("#"+a.replace(".","\\.")).html();return{render:function(a){var c=_.template(b);return c=c(a)}}},a};window.templateEngine=new a}}(),function(){"use strict";window.dygraphConfig={defaultFrame:12e5,zeropad:function(a){return a<10?"0"+a:a},xAxisFormat:function(a){if(a===-1)return"";var b=new Date(a);return this.zeropad(b.getHours())+":"+this.zeropad(b.getMinutes())+":"+this.zeropad(b.getSeconds())},mergeObjects:function(a,b,c){c||(c=[]);var d,e={};return c.forEach(function(c){var d=a[c],f=b[c];void 0===d&&(d={}),void 0===f&&(f={}),e[c]=_.extend(d,f)}),d=_.extend(a,b),Object.keys(e).forEach(function(a){d[a]=e[a]}),d},mapStatToFigure:{pageFaults:["times","majorPageFaultsPerSecond","minorPageFaultsPerSecond"],systemUserTime:["times","systemTimePerSecond","userTimePerSecond"],totalTime:["times","avgQueueTime","avgRequestTime","avgIoTime"],dataTransfer:["times","bytesSentPerSecond","bytesReceivedPerSecond"],requests:["times","getsPerSecond","putsPerSecond","postsPerSecond","deletesPerSecond","patchesPerSecond","headsPerSecond","optionsPerSecond","othersPerSecond"]},colors:["rgb(95, 194, 135)","rgb(238, 190, 77)","#81ccd8","#7ca530","#3c3c3c","#aa90bd","#e1811d","#c7d4b2","#d0b2d4"],figureDependedOptions:{clusterRequestsPerSecond:{showLabelsOnHighlight:!0,title:"",header:"Cluster Requests per Second",stackedGraph:!0,div:"lineGraphLegend",labelsKMG2:!1,axes:{y:{valueFormatter:function(a){return parseFloat(a.toPrecision(3))},axisLabelFormatter:function(a){return 0===a?0:parseFloat(a.toPrecision(3))}}}},pageFaults:{header:"Page Faults",visibility:[!0,!1],labels:["datetime","Major Page","Minor Page"],div:"pageFaultsChart",labelsKMG2:!1,axes:{y:{valueFormatter:function(a){return parseFloat(a.toPrecision(3))},axisLabelFormatter:function(a){return 0===a?0:parseFloat(a.toPrecision(3))}}}},systemUserTime:{div:"systemUserTimeChart",header:"System and User Time",labels:["datetime","System Time","User Time"],stackedGraph:!0,labelsKMG2:!1,axes:{y:{valueFormatter:function(a){return parseFloat(a.toPrecision(3))},axisLabelFormatter:function(a){return 0===a?0:parseFloat(a.toPrecision(3))}}}},totalTime:{div:"totalTimeChart",header:"Total Time",labels:["datetime","Queue","Computation","I/O"],labelsKMG2:!1,axes:{y:{valueFormatter:function(a){return parseFloat(a.toPrecision(3))},axisLabelFormatter:function(a){return 0===a?0:parseFloat(a.toPrecision(3))}}},stackedGraph:!0},dataTransfer:{header:"Data Transfer",labels:["datetime","Bytes sent","Bytes received"],stackedGraph:!0,div:"dataTransferChart"},requests:{header:"Requests",labels:["datetime","Reads","Writes"],stackedGraph:!0,div:"requestsChart",axes:{y:{valueFormatter:function(a){return parseFloat(a.toPrecision(3))},axisLabelFormatter:function(a){return 0===a?0:parseFloat(a.toPrecision(3))}}}}},getDashBoardFigures:function(a){var b=[],c=this;return Object.keys(this.figureDependedOptions).forEach(function(d){"clusterRequestsPerSecond"!==d&&(c.figureDependedOptions[d].div||a)&&b.push(d)}),b},getDefaultConfig:function(a){var b=this,c={digitsAfterDecimal:1,drawGapPoints:!0,fillGraph:!0,fillAlpha:.85,showLabelsOnHighlight:!1,strokeWidth:0,lineWidth:0,strokeBorderWidth:0,includeZero:!0,highlightCircleSize:2.5,labelsSeparateLines:!0,strokeBorderColor:"rgba(0,0,0,0)",interactionModel:{},maxNumberWidth:10,colors:[this.colors[0]],xAxisLabelWidth:"50",rightGap:15,showRangeSelector:!1,rangeSelectorHeight:50,rangeSelectorPlotStrokeColor:"#365300",rangeSelectorPlotFillColor:"",pixelsPerLabel:50,labelsKMG2:!0,dateWindow:[(new Date).getTime()-this.defaultFrame,(new Date).getTime()],axes:{x:{valueFormatter:function(a){return b.xAxisFormat(a)}},y:{ticker:Dygraph.numericLinearTicks}}};return this.figureDependedOptions[a]&&(c=this.mergeObjects(c,this.figureDependedOptions[a],["axes"]),c.div&&c.labels&&(c.colors=this.getColors(c.labels),c.labelsDiv=document.getElementById(c.div+"Legend"),c.legend="always",c.showLabelsOnHighlight=!0)),c},getDetailChartConfig:function(a){var b=_.extend(this.getDefaultConfig(a),{showRangeSelector:!0,interactionModel:null,showLabelsOnHighlight:!0,highlightCircleSize:2.5,legend:"always",labelsDiv:"div#detailLegend.dashboard-legend-inner"});return"pageFaults"===a&&(b.visibility=[!0,!0]),b.labels||(b.labels=["datetime",b.header],b.colors=this.getColors(b.labels)),b},getColors:function(a){var b;return b=this.colors.concat([]),b.slice(0,a.length-1)}}}(),function(){"use strict";window.arangoCollectionModel=Backbone.Model.extend({idAttribute:"name",urlRoot:arangoHelper.databaseUrl("/_api/collection"),defaults:{id:"",name:"",status:"",type:"",isSystem:!1,picture:"",locked:!1,desc:void 0},getProperties:function(a){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/collection/"+encodeURIComponent(this.get("id"))+"/properties"),contentType:"application/json",processData:!1,success:function(b){a(!1,b)},error:function(b){a(!0,b)}})},getFigures:function(a){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/figures"),contentType:"application/json",processData:!1,success:function(b){a(!1,b)},error:function(){a(!0)}})},getRevision:function(a,b){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/revision"),contentType:"application/json",processData:!1,success:function(c){a(!1,c,b)},error:function(){a(!0)}})},getIndex:function(a){var b=this;$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/index/?collection="+this.get("id")),contentType:"application/json",processData:!1,success:function(c){a(!1,c,b.get("id"))},error:function(c){a(!0,c,b.get("id"))}})},createIndex:function(a,b){var c=this;$.ajax({cache:!1,type:"POST",url:arangoHelper.databaseUrl("/_api/index?collection="+c.get("id")),headers:{"x-arango-async":"store"},data:JSON.stringify(a),contentType:"application/json",processData:!1,success:function(a,d,e){e.getResponseHeader("x-arango-async-id")?(window.arangoHelper.addAardvarkJob({id:e.getResponseHeader("x-arango-async-id"),type:"index",desc:"Creating Index",collection:c.get("id")}),b(!1,a)):b(!0,a)},error:function(a){b(!0,a)}})},deleteIndex:function(a,b){var c=this;$.ajax({cache:!1,type:"DELETE",url:arangoHelper.databaseUrl("/_api/index/"+this.get("name")+"/"+encodeURIComponent(a)),headers:{"x-arango-async":"store"},success:function(a,d,e){e.getResponseHeader("x-arango-async-id")?(window.arangoHelper.addAardvarkJob({id:e.getResponseHeader("x-arango-async-id"),type:"index",desc:"Removing Index",collection:c.get("id")}),b(!1,a)):b(!0,a)},error:function(a){b(!0,a)}}),b()},truncateCollection:function(){var a=this;$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/truncate"),success:function(){arangoHelper.arangoNotification("Collection truncated."),$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_admin/wal/flush?waitForSync=true&waitForCollector=true"),success:function(){$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+a.get("id")+"/rotate"),success:function(){},error:function(){}})},error:function(){}})},error:function(a){arangoHelper.arangoError("Collection error: "+a.responseJSON.errorMessage)}})},warmupCollection:function(){$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/loadIndexesIntoMemory"),success:function(){arangoHelper.arangoNotification("Loading indexes into memory.")},error:function(a){arangoHelper.arangoError("Collection error: "+a.responseJSON.errorMessage)}})},loadCollection:function(a){$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/load"),success:function(){a(!1)},error:function(){a(!0)}}),a()},unloadCollection:function(a){$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/unload?flush=true"),success:function(){a(!1)},error:function(){a(!0)}}),a()},renameCollection:function(a,b){var c=this;$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/rename"),data:JSON.stringify({name:a}),contentType:"application/json",processData:!1,success:function(){c.set("name",a),b(!1)},error:function(a){b(!0,a)}})},changeCollection:function(a,b,c,d,e){var f=!1;"true"===a?a=!0:"false"===a&&(a=!1);var g={waitForSync:a,journalSize:parseInt(b,10),indexBuckets:parseInt(c,10)};return d&&(g.replicationFactor=parseInt(d,10)),$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/collection/"+this.get("id")+"/properties"),data:JSON.stringify(g),contentType:"application/json",processData:!1,success:function(){e(!1)},error:function(a){e(!0,a)}}),f}})}(),window.DatabaseModel=Backbone.Model.extend({idAttribute:"name",initialize:function(){"use strict"},isNew:function(){"use strict";return!1},sync:function(a,b,c){"use strict";return"update"===a&&(a="create"),Backbone.sync(a,b,c)},url:arangoHelper.databaseUrl("/_api/database"),defaults:{}}),window.arangoDocumentModel=Backbone.Model.extend({initialize:function(){"use strict"},urlRoot:arangoHelper.databaseUrl("/_api/document"),defaults:{_id:"",_rev:"",_key:""},getSorted:function(){"use strict";var a=this,b=Object.keys(a.attributes).sort(function(a,b){var c=arangoHelper.isSystemAttribute(a),d=arangoHelper.isSystemAttribute(b);return c!==d?c?-1:1:a10)||(window.setTimeout(function(){a._retryCount=0},1e4),window.App.clusterUnreachable(),!1)},successFullTry:function(){this._retryCount=0},failureTry:function(a,b,c){401===c.status?window.App.requestAuth():(window.App.clusterPlan.rotateCoordinator(),this._retryCount++,a())}})}(),function(){"use strict";window.PaginatedCollection=Backbone.Collection.extend({page:0,pagesize:10,totalAmount:null,getPage:function(){return this.page+1},setPage:function(a){return a>=this.getLastPageNumber()&&null!==this.totalAmount?void(this.page=this.getLastPageNumber()-1):a<1?void(this.page=0):void(this.page=a-1)},getLastPageNumber:function(){return Math.max(Math.ceil(this.totalAmount/this.pagesize),1)},getOffset:function(){return this.page*this.pagesize},getPageSize:function(){return this.pagesize},setPageSize:function(a){if("all"===a)this.pagesize="all";else try{a=parseInt(a,10),this.pagesize=a}catch(b){}},setToFirst:function(){this.page=0},setToLast:function(){this.setPage(this.getLastPageNumber())},setToPrev:function(){this.setPage(this.getPage()-1)},setToNext:function(){this.setPage(this.getPage()+1)},setTotal:function(a){this.totalAmount=a},getTotal:function(){return this.totalAmount},setTotalMinusOne:function(){this.totalAmount--}})}(),window.ClusterStatisticsCollection=Backbone.Collection.extend({model:window.Statistics,url:"/_admin/statistics",updateUrl:function(){this.url=window.App.getNewRoute(this.host)+this.url},initialize:function(a,b){this.host=b.host,window.App.registerForUpdate(this)}}),function(){"use strict";window.ArangoCollections=Backbone.Collection.extend({url:arangoHelper.databaseUrl("/_api/collection"),model:arangoCollectionModel,searchOptions:{searchPhrase:null,includeSystem:!1,includeDocument:!0,includeEdge:!0,includeLoaded:!0,includeUnloaded:!0,sortBy:"name",sortOrder:1},translateStatus:function(a){switch(a){case 0:return"corrupted";case 1:return"new born collection";case 2:return"unloaded";case 3:return"loaded";case 4:return"unloading";case 5:return"deleted";case 6:return"loading";default:return}},translateTypePicture:function(a){var b="";switch(a){case"document":b+="fa-file-text-o";break;case"edge":b+="fa-share-alt";break;case"unknown":b+="fa-question";break;default:b+="fa-cogs"}return b},parse:function(a){var b=this;return _.each(a.result,function(a){a.isSystem=arangoHelper.isSystemCollection(a),a.type=arangoHelper.collectionType(a),a.status=b.translateStatus(a.status),a.picture=b.translateTypePicture(a.type)}),a.result},getPosition:function(a){var b,c=this.getFiltered(this.searchOptions),d=null,e=null;for(b=0;b0&&(d=c[b-1]),b0){var e,f=d.get("name").toLowerCase();for(e=0;e0&&(c.journalSize=a.journalSize),c.isSystem=a.isSystem,c.type=parseInt(a.collType,10),a.shards&&(c.numberOfShards=a.shards,c.shardKeys=a.shardBy),a.replicationFactor){c.replicationFactor=a.replicationFactor;var d=new RegExp(/^[0-9]+$/);d.test(a.replicationFactor)&&(c.replicationFactor=JSON.parse(a.replicationFactor))}$.ajax({cache:!1,type:"POST",url:arangoHelper.databaseUrl("/_api/collection"),data:JSON.stringify(c),contentType:"application/json",processData:!1,success:function(a){b(!1,a)},error:function(a){b(!0,a)}})}})}(),function(){"use strict";window.ArangoDatabase=Backbone.Collection.extend({model:window.DatabaseModel,sortOptions:{desc:!1},url:arangoHelper.databaseUrl("/_api/database"),comparator:function(a,b){var c=a.get("name").toLowerCase(),d=b.get("name").toLowerCase();return this.sortOptions.desc===!0?cd?-1:0:c>d?1:c0&&(e.options={fullCount:!0});var g=function(b){$.ajax({cache:!1,type:"PUT",url:arangoHelper.databaseUrl("/_api/job/"+encodeURIComponent(b)),contentType:"application/json",success:function(c,d,h){201===h.status?(window.progressView.toShow=!1,f.clearDocuments(),c.extra&&c.extra.stats&&void 0!==c.extra.stats.fullCount&&f.setTotal(c.extra.stats.fullCount),0!==f.getTotal()&&_.each(c.result,function(a){f.add({id:a._id,rev:a._rev,key:a._key,content:a})}),f.lastQuery=e,a(!1,c)):204===h.status&&(f.checkCursorTimer=window.setTimeout(function(){g(b)},500))},error:function(b){a(!1,b)}})};$.ajax({cache:!1,type:"POST",url:arangoHelper.databaseUrl("/_api/cursor"),data:JSON.stringify(e),headers:{"x-arango-async":"store"},contentType:"application/json",success:function(b,c,d){if(d.getResponseHeader("x-arango-async-id")){var e=d.getResponseHeader("x-arango-async-id"),h=function(){$.ajax({url:arangoHelper.databaseUrl("/_api/job/"+encodeURIComponent(e)+"/cancel"),type:"PUT",success:function(){window.clearTimeout(f.checkCursorTimer),arangoHelper.arangoNotification("Documents","Canceled operation."),$(".dataTables_empty").text("Canceled."),window.progressView.hide()}})};window.progressView.showWithDelay(1e3,"Fetching documents...",h),g(e)}else a(!0,b)},error:function(b){a(!1,b)}})},clearDocuments:function(){this.reset()},buildDownloadDocumentQuery:function(){var a,b,c;return c={"@collection":this.collectionID},a="FOR x in @@collection",a+=this.setFiltersForQuery(c),this.getTotal()0&&(a+=" SORT x."+this.getSort()),a+=" RETURN x",b={query:a,bindVars:c}},uploadDocuments:function(a,b){$.ajax({type:"POST",url:arangoHelper.databaseUrl("/_api/import?type=auto&collection="+encodeURIComponent(this.collectionID)+"&createCollection=false"),data:a,processData:!1,contentType:"json",dataType:"json",complete:function(a){if(4===a.readyState&&201===a.status)b(!1);else try{var c=JSON.parse(a.responseText);if(c.errors>0){var d="At least one error occurred during upload";b(!1,d)}}catch(e){console.log(e)}},error:function(a){b(!0,a.responseJSON.errorMessage)}})}})}(),function(){"use strict";window.ArangoLogs=window.PaginatedCollection.extend({upto:!1,loglevel:0,totalPages:0,parse:function(a){var b=[];return _.each(a.lid,function(c,d){b.push({level:a.level[d],lid:c,topic:a.topic[d],text:a.text[d],timestamp:a.timestamp[d],totalAmount:a.totalAmount})}),this.totalAmount=a.totalAmount,this.totalPages=Math.ceil(this.totalAmount/this.pagesize),b},initialize:function(a){a.upto===!0&&(this.upto=!0),this.loglevel=a.loglevel},model:window.newArangoLog,url:function(){var a,b,c,d=this.totalAmount-(this.page+1)*this.pagesize;return d<0&&this.page===this.totalPages-1?(d=0,c=this.totalAmount%this.pagesize):c=this.pagesize,0===this.totalAmount&&(c=1),a=this.upto?"upto":"level",b="/_admin/log?"+a+"="+this.loglevel+"&size="+c+"&offset="+d,this.lastInverseOffset=d,arangoHelper.databaseUrl(b)}})}(),function(){"use strict";window.ArangoQueries=Backbone.Collection.extend({getQueryPath:function(){return frontendConfig.db+"-"+this.username+"-queries"},initialize:function(a,b){var c=this;$.ajax("whoAmI?_="+Date.now(),{async:!0}).done(function(a){this.activeUser===!1||null===this.activeUser?c.activeUser="root":c.activeUser=a.user})},fetch:function(a){a=_.extend({parse:!0},a);var b=this,c=a.success;return frontendConfig.ldapEnabled?(this.fetchLocalQueries(),void(a.success=function(d){c&&c.call(a.context,b,d,a)}())):(frontendConfig.authenticationEnabled&&window.App.currentUser?this.url=arangoHelper.databaseUrl(frontendConfig.basePath+"/_api/user/"+encodeURIComponent(window.App.currentUser)):this.url=arangoHelper.databaseUrl(frontendConfig.basePath+"/_api/user/"),Backbone.Collection.prototype.fetch.call(this,a))},fetchLocalQueries:function(){this.reset();var a=this,b=sessionStorage.getItem(this.getQueryPath());try{b=JSON.parse(b),_.each(b,function(b,c){a.add(b)})}catch(c){}},url:arangoHelper.databaseUrl("/_api/user/"),model:ArangoQuery,activeUser:null,parse:function(a){var b,c=this;if(this.activeUser!==!1&&null!==this.activeUser||(this.activeUser="root"),a.user===c.activeUser)try{a.extra.queries&&(b=a.extra.queries)}catch(d){}else a.result&&a.result instanceof Array&&_.each(a.result,function(a){a.user===c.activeUser&&(b=a.extra.queries)});return b},saveLocalCollectionQueries:function(a,b){sessionStorage.setItem(this.getQueryPath(),JSON.stringify(a)),b&&b(!1,a)},saveCollectionQueries:function(a){var b=[];this.each(function(a){b.push({value:a.attributes.value,parameter:a.attributes.parameter,name:a.attributes.name})}),frontendConfig.ldapEnabled?this.saveLocalCollectionQueries(b,a):(this.activeUser!==!1&&null!==this.activeUser||(this.activeUser="root"),$.ajax({cache:!1,type:"PATCH",url:arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(this.activeUser)),data:JSON.stringify({extra:{queries:b}}),contentType:"application/json",processData:!1,success:function(b){a(!1,b)},error:function(){a(!0)}}))},downloadLocalQueries:function(){arangoHelper.downloadLocalBlob(JSON.stringify(this.toJSON()),"json")},saveImportQueries:function(a,b){var c=this;if(0===this.activeUser)return!1;if(frontendConfig.ldapEnabled){if(a){var d=new FileReader;d.readAsText(a,"UTF-8"),d.onload=function(a){try{var d=JSON.parse(a.target.result);_.each(d,function(a,b){a.name&&a.value&&a.parameter&&c.add(a)}),c.saveCollectionQueries(),b&&b()}catch(e){arangoHelper.arangoError("Query error","Queries could not be imported."),window.modalView.hide()}},d.onerror=function(a){window.modalView.hide(),arangoHelper.arangoError("Query error","Queries could not be imported.")}}}else window.progressView.show("Fetching documents..."),$.ajax({cache:!1,type:"POST",url:"query/upload/"+encodeURIComponent(this.activeUser),data:a,contentType:"application/json",processData:!1,success:function(){window.progressView.hide(),arangoHelper.arangoNotification("Queries successfully imported."),b()},error:function(){window.progressView.hide(),arangoHelper.arangoError("Query error","queries could not be imported")}})}})}(),window.ArangoReplication=Backbone.Collection.extend({model:window.Replication,url:"../api/user",getLogState:function(a){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/replication/logger-state"),contentType:"application/json",processData:!1,success:function(b){a(!1,b)},error:function(b){a(!0,b)}})},getApplyState:function(a){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/replication/applier-state"),contentType:"application/json",processData:!1,success:function(b){a(!1,b)},error:function(b){a(!0,b)}})}}),window.StatisticsCollection=Backbone.Collection.extend({model:window.Statistics,url:"/_admin/statistics"}),window.StatisticsDescriptionCollection=Backbone.Collection.extend({model:window.StatisticsDescription,url:"/_admin/statistics-description",parse:function(a){return a}}),window.ArangoUsers=Backbone.Collection.extend({model:window.Users,activeUser:null,activeUserSettings:{query:{},shell:{},testing:!0},sortOptions:{desc:!1},authOptions:{ro:!1},fetch:function(a){return a.fetchAllUsers?this.url=arangoHelper.databaseUrl(frontendConfig.basePath+"/_api/user/"):frontendConfig.authenticationEnabled&&window.App.currentUser?this.url=arangoHelper.databaseUrl(frontendConfig.basePath+"/_api/user/"+encodeURIComponent(window.App.currentUser)):this.url=arangoHelper.databaseUrl(frontendConfig.basePath+"/_api/user/"),Backbone.Collection.prototype.fetch.call(this,a)},url:frontendConfig.basePath+"/_api/user",comparator:function(a,b){var c=a.get("user").toLowerCase(),d=b.get("user").toLowerCase();return this.sortOptions.desc===!0?cd?-1:0:c>d?1:cd?-1:0):(c=a.get("mount"),d=b.get("mount"),c>d?1:cd?-1:0):(c=a.get("mount"),d=b.get("mount"),c>d?1:cd?-1:0:c>d?1:c
  • '),$(this.paginationDiv).append('
    ')}})}(),function(){"use strict";window.ApplicationDetailView=Backbone.View.extend({el:"#content",divs:["#readme","#swagger","#app-info","#sideinformation","#information","#settings"],navs:["#service-info","#service-api","#service-readme","#service-settings"],template:templateEngine.createTemplate("serviceDetailView.ejs"),remove:function(){return this.$el.empty().off(),this.stopListening(),this.unbind(),delete this.el,this},events:{"click .open":"openApp","click .delete":"deleteApp","click #app-deps":"showDepsDialog","click #app-switch-mode":"toggleDevelopment","click #app-scripts [data-script]":"runScript","click #app-tests":"runTests","click #app-replace":"replaceApp","click #download-app":"downloadApp","click .subMenuEntries li":"changeSubview","click #jsonLink":"toggleSwagger","mouseenter #app-scripts":"showDropdown","mouseleave #app-scripts":"hideDropdown"},resize:function(a){a?$(".innerContent").css("height","auto"):($(".innerContent").height($(".centralRow").height()-150),$("#swagger iframe").height($(".centralRow").height()-150),$("#swagger #swaggerJsonContent").height($(".centralRow").height()-150))},toggleSwagger:function(){var a=function(a){$("#jsonLink").html("JSON"),this.jsonEditor.setValue(JSON.stringify(a,null,"\t"),1),$("#swaggerJsonContent").show(),$("#swagger iframe").hide()}.bind(this);if("Swagger"===$("#jsonLink").html()){var b=arangoHelper.databaseUrl("/_admin/aardvark/foxxes/docs/swagger.json?mount="+encodeURIComponent(this.model.get("mount")));arangoHelper.download(b,a)}else $("#swaggerJsonContent").hide(),$("#swagger iframe").show(),$("#jsonLink").html("Swagger")},changeSubview:function(a){if(_.each(this.navs,function(a){$(a).removeClass("active")}),$(a.currentTarget).addClass("active"),_.each(this.divs,function(a){$(".headerButtonBar").hide(),$(a).hide()}),"service-readme"===a.currentTarget.id)this.resize(!0),$("#readme").show();else if("service-api"===a.currentTarget.id){this.resize(),$("#swagger").show(),$("#swaggerIframe").remove();var b=window.location.pathname.split("/"),c=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/"+b[1]+"/"+b[2]+"/_admin/aardvark/foxxes/docs/index.html?mount="+this.model.get("mount"),d=$("')},toggleViews:function(a){var b=this,c=a.currentTarget.id.split("-")[0],d=["community","documentation","swagger"];_.each(d,function(a){c!==a?$("#"+a).hide():("swagger"===c?(b.renderSwagger(),$("#swagger iframe").css("height","100%"),$("#swagger iframe").css("width","100%"),$("#swagger iframe").css("margin-top","-13px"),b.resize()):b.resize(!0),$("#"+a).show())}),$(".subMenuEntries").children().removeClass("active"),$("#"+c+"-support").addClass("active")}})}(),function(){"use strict";window.TableView=Backbone.View.extend({template:templateEngine.createTemplate("tableView.ejs"),loading:templateEngine.createTemplate("loadingTableView.ejs"),initialize:function(a){this.rowClickCallback=a.rowClick},events:{"click .pure-table-body .pure-table-row":"rowClick","click .deleteButton":"removeClick"},rowClick:function(a){this.hasOwnProperty("rowClickCallback")&&this.rowClickCallback(a)},removeClick:function(a){this.hasOwnProperty("removeClickCallback")&&(this.removeClickCallback(a),a.stopPropagation())},setRowClick:function(a){this.rowClickCallback=a},setRemoveClick:function(a){this.removeClickCallback=a},render:function(){$(this.el).html(this.template.render({docs:this.collection}))},drawLoading:function(){$(this.el).html(this.loading.render({}))}})}(),function(){"use strict";window.UserBarView=Backbone.View.extend({events:{"change #userBarSelect":"navigateBySelect","click .tab":"navigateByTab","mouseenter .dropdown":"showDropdown","mouseleave .dropdown":"hideDropdown","click #userLogoutIcon":"userLogout","click #userLogout":"userLogout"},initialize:function(a){arangoHelper.checkDatabasePermissions(this.setUserCollectionMode.bind(this)),this.userCollection=a.userCollection,this.userCollection.fetch({cache:!1,async:!0}),this.userCollection.bind("change:extra",this.render.bind(this))},setUserCollectionMode:function(a){a&&(this.userCollection.authOptions.ro=!0)},template:templateEngine.createTemplate("userBarView.ejs"),navigateBySelect:function(){var a=$("#arangoCollectionSelect").find("option:selected").val();window.App.navigate(a,{trigger:!0})},navigateByTab:function(a){var b=a.target||a.srcElement;b=$(b).closest("a");var c=b.attr("id");return"user"===c?($("#user_dropdown").slideToggle(200),void a.preventDefault()):(window.App.navigate(c,{trigger:!0}),void a.preventDefault())},toggleUserMenu:function(){$("#userBar .subBarDropdown").toggle()},showDropdown:function(){$("#user_dropdown").fadeIn(1)},hideDropdown:function(){$("#user_dropdown").fadeOut(1)},render:function(){if(frontendConfig.authenticationEnabled!==!1){var a=this,b=function(b,c){if(b)arangoHelper.arangoErro("User","Could not fetch user.");else{var d=null,e=null,f=!1,g=null;if(c!==!1){var h=function(){return frontendConfig.ldapEnabled&&a.userCollection.add({name:window.App.currentUser,user:window.App.currentUser,username:window.App.currentUser,active:!0,img:void 0}),g=a.userCollection.findWhere({user:c}),g.set({loggedIn:!0}),e=g.get("extra").name,d=g.get("extra").img,f=g.get("active"),d=d?"https://s.gravatar.com/avatar/"+d+"?s=80":"img/default_user.png",e||(e=""),a.$el=$("#userBar"),a.$el.html(a.template.render({img:d,name:e,username:c,active:f})),a.delegateEvents(),a.$el};0===a.userCollection.models.length?a.userCollection.fetch({success:function(){h(b,c)}}):h(b,c)}}};$("#userBar").on("click",function(){a.toggleUserMenu()}),this.userCollection.whoAmI(b)}},userLogout:function(){var a=function(a){a?arangoHelper.arangoError("User","Logout error"):this.userCollection.logout()}.bind(this);this.userCollection.whoAmI(a)}})}(),function(){"use strict";window.UserManagementView=Backbone.View.extend({el:"#content",el2:"#userManagementThumbnailsIn",template:templateEngine.createTemplate("userManagementView.ejs"),remove:function(){return this.$el.empty().off(),this.stopListening(),this.unbind(),delete this.el,this},events:{"click #createUser":"createUser","click #submitCreateUser":"submitCreateUser","click #userManagementThumbnailsIn .tile":"editUser","click #submitEditUser":"submitEditUser","click #userManagementToggle":"toggleView","keyup #userManagementSearchInput":"search","click #userManagementSearchSubmit":"search","click #callEditUserPassword":"editUserPassword","click #submitEditUserPassword":"submitEditUserPassword","click #submitEditCurrentUserProfile":"submitEditCurrentUserProfile","click .css-label":"checkBoxes","change #userSortDesc":"sorting"},dropdownVisible:!1,initialize:function(){var a=this,b=function(a,b){frontendConfig.authenticationEnabled===!0&&(a||null===b?arangoHelper.arangoError("User","Could not fetch user data"):this.currentUser=this.collection.findWhere({user:b}))}.bind(this);this.collection.fetch({fetchAllUsers:!0,cache:!1,success:function(){a.collection.whoAmI(b)}})},checkBoxes:function(a){var b=a.currentTarget.id;$("#"+b).click()},sorting:function(){$("#userSortDesc").is(":checked")?this.collection.setSortingDesc(!0):this.collection.setSortingDesc(!1),$("#userManagementDropdown").is(":visible")?this.dropdownVisible=!0:this.dropdownVisible=!1,this.render()},render:function(a){var b=!1;$("#userManagementDropdown").is(":visible")&&(b=!0);var c=function(){this.collection.sort(),$(this.el).html(this.template.render({collection:this.collection,searchString:""})),b===!0&&($("#userManagementDropdown2").show(),$("#userSortDesc").attr("checked",this.collection.sortOptions.desc),$("#userManagementToggle").toggleClass("activated"),$("#userManagementDropdown").show()),a&&this.editCurrentUser(),arangoHelper.setCheckboxStatus("#userManagementDropdown")}.bind(this);return this.collection.fetch({fetchAllUsers:!0,cache:!1,success:function(){c()}}),this},search:function(){var a,b,c,d;a=$("#userManagementSearchInput"),b=$("#userManagementSearchInput").val(),d=this.collection.filter(function(a){return a.get("user").indexOf(b)!==-1}),$(this.el).html(this.template.render({collection:d,searchString:b})),a=$("#userManagementSearchInput"),c=a.val().length,a.focus(),a[0].setSelectionRange(c,c)},createUser:function(a){a.preventDefault(),this.createCreateUserModal()},submitCreateUser:function(){var a=this,b=$("#newUsername").val(),c=$("#newName").val(),d=$("#newPassword").val(),e=$("#newStatus").is(":checked");if(this.validateUserInfo(c,b,d,e)){var f={user:b,passwd:d,active:e,extra:{name:c}};frontendConfig.isEnterprise&&$("#newRole").is(":checked")&&(f.user=":role:"+b,delete f.passwd),this.collection.create(f,{wait:!0,error:function(a,b){arangoHelper.parseError("User",b,a)},success:function(){a.updateUserManagement(),window.modalView.hide()}})}},validateUserInfo:function(a,b,c,d){return""!==b||(arangoHelper.arangoError("You have to define an username"),$("#newUsername").closest("th").css("backgroundColor","red"),!1)},updateUserManagement:function(){var a=this;this.collection.fetch({fetchAllUsers:!0,cache:!1,success:function(){a.render()}})},editUser:function(a){if("createUser"!==$(a.currentTarget).find("a").attr("id")){$(a.currentTarget).hasClass("tile")&&(a.currentTarget=$(a.currentTarget).find(".fa")),this.collection.fetch({fetchAllUsers:!0,cache:!1});var b=this.evaluateUserName($(a.currentTarget).attr("id"),"_edit-user");""===b&&(b=$(a.currentTarget).attr("id")),window.App.navigate("user/"+encodeURIComponent(b),{trigger:!0})}},toggleView:function(){$("#userSortDesc").attr("checked",this.collection.sortOptions.desc),$("#userManagementToggle").toggleClass("activated"),$("#userManagementDropdown2").slideToggle(200)},createCreateUserModal:function(){var a=[],b=[];b.push(window.modalView.createTextEntry("newUsername","Username","",!1,"Username",!0,[{rule:Joi.string().regex(/^[a-zA-Z0-9\-_]*$/),msg:'Only symbols, "_" and "-" are allowed.'},{rule:Joi.string().required(),msg:"No username given."}])),b.push(window.modalView.createTextEntry("newName","Name","",!1,"Name",!1)),b.push(window.modalView.createPasswordEntry("newPassword","Password","",!1,"",!1)),frontendConfig.isEnterprise&&b.push(window.modalView.createCheckboxEntry("newRole","Role",!1,!1,!1)),b.push(window.modalView.createCheckboxEntry("newStatus","Active","active",!1,!0)),a.push(window.modalView.createSuccessButton("Create",this.submitCreateUser.bind(this))),window.modalView.show("modalTable.ejs","Create New User",a,b),frontendConfig.isEnterprise&&$("#newRole").on("change",function(){$("#newRole").is(":checked")?$("#newPassword").attr("disabled",!0):$("#newPassword").attr("disabled",!1)})},evaluateUserName:function(a,b){if(a){var c=a.lastIndexOf(b);return a.substring(0,c)}},updateUserProfile:function(){var a=this;this.collection.fetch({fetchAllUsers:!0,cache:!1,success:function(){a.render()}})}})}(),function(){"use strict";window.UserPermissionView=Backbone.View.extend({el:"#content",template:templateEngine.createTemplate("userPermissionView.ejs"),initialize:function(a){this.username=a.username},remove:function(){return this.$el.empty().off(),this.stopListening(),this.unbind(),delete this.el,this},events:{"click #userPermissionView .dbCheckbox":"setDBPermission","click #userPermissionView .collCheckbox":"setCollPermission","click .db-row":"toggleAccordion"},render:function(a,b){var c=this;this.collection.fetch({fetchAllUsers:!0,success:function(){c.continueRender(a,b)}})},toggleAccordion:function(a){if(!($(a.target).attr("type")||$(a.target).parent().hasClass("noAction")||$(a.target).hasClass("inner")||$(a.target).is("span"))){var b=$(a.currentTarget).find(".collection-row").is(":visible"),c=$(a.currentTarget).attr("id").split("-")[0];$(".collection-row").hide(),$(".db-label").css("font-weight",200),$(".db-label").css("color","#8a969f"),$(a.currentTarget).find(".collection-row").children().length>4?($(".db-row .fa-caret-down").hide(),$(".db-row .fa-caret-right").show(),b?$(a.currentTarget).find(".collection-row").hide():($(a.currentTarget).find(".collection-row").fadeIn("fast"),$(a.currentTarget).find(".db-label").css("font-weight",600),$(a.currentTarget).find(".db-label").css("color","rgba(64, 74, 83, 1)"),$(a.currentTarget).find(".fa-caret-down").show(),$(a.currentTarget).find(".fa-caret-right").hide())):($(".db-row .fa-caret-down").hide(),$(".db-row .fa-caret-right").show(),arangoHelper.arangoNotification("Permissions",'No collections in "'+c+'" available.'))}},setCollPermission:function(a){var b,c=$(a.currentTarget).attr("db"),d=$(a.currentTarget).attr("collection");b=$(a.currentTarget).hasClass("readOnly")?"ro":$(a.currentTarget).hasClass("readWrite")?"rw":$(a.currentTarget).hasClass("noAccess")?"none":"undefined",this.sendCollPermission(this.currentUser.get("user"),c,d,b)},setDBPermission:function(a){var b,c=$(a.currentTarget).attr("name");if(b=$(a.currentTarget).hasClass("readOnly")?"ro":$(a.currentTarget).hasClass("readWrite")?"rw":$(a.currentTarget).hasClass("noAccess")?"none":"undefined","_system"===c){var d=[],e=[];e.push(window.modalView.createReadOnlyEntry("db-system-revoke-button","Caution","You are changing the _system database permission. Really continue?",void 0,void 0,!1)),d.push(window.modalView.createSuccessButton("Ok",this.sendDBPermission.bind(this,this.currentUser.get("user"),c,b))),d.push(window.modalView.createCloseButton("Cancel",this.rollbackInputButton.bind(this,c))),window.modalView.show("modalTable.ejs","Change _system Database Permission",d,e)}else this.sendDBPermission(this.currentUser.get("user"),c,b)},rollbackInputButton:function(a,b){var c;_.each($(".collection-row"),function(a,b){$(a).is(":visible")&&(c=$(a).parent().attr("id"))}),c?this.render(c,b):this.render(),window.modalView.hide()},sendCollPermission:function(a,b,c,d){var e=this;"undefined"===d?this.revokeCollPermission(a,b,c):$.ajax({type:"PUT",url:arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(a)+"/database/"+encodeURIComponent(b)+"/"+encodeURIComponent(c)),contentType:"application/json",data:JSON.stringify({grant:d})}).success(function(a){e.styleDefaultRadios(null,!0)}).error(function(a){e.rollbackInputButton(null,a)})},revokeCollPermission:function(a,b,c){var d=this;$.ajax({type:"DELETE",url:arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(a)+"/database/"+encodeURIComponent(b)+"/"+encodeURIComponent(c)),contentType:"application/json"}).success(function(a){d.styleDefaultRadios(null,!0)}).error(function(a){d.rollbackInputButton(null,a)})},sendDBPermission:function(a,b,c){var d=this;"undefined"===c?this.revokeDBPermission(a,b):$.ajax({type:"PUT",url:arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(a)+"/database/"+encodeURIComponent(b)),contentType:"application/json",data:JSON.stringify({grant:c})}).success(function(a){d.styleDefaultRadios(null,!0)}).error(function(a){d.rollbackInputButton(null,a)})},revokeDBPermission:function(a,b){var c=this;$.ajax({type:"DELETE",url:arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(a)+"/database/"+encodeURIComponent(b)),contentType:"application/json"}).success(function(a){c.styleDefaultRadios(null,!0)}).error(function(a){c.rollbackInputButton(null,a)})},continueRender:function(a,b){var c=this;this.currentUser=this.collection.findWhere({user:this.username}),this.breadcrumb();var d=arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(c.currentUser.get("user"))+"/database?full=true");$.ajax({type:"GET",url:d,contentType:"application/json",success:function(d){c.finishRender(d.result,a,b)},error:function(a){arangoHelper.arangoError("User","Could not fetch user permissions")}})},finishRender:function(a,b,c){var d=_.pairs(a);d.sort(),d=_.object(d),$(this.el).html(this.template.render({permissions:d})),$(".noAction").first().appendTo(".pure-table-body"),$(".pure-table-body").height(window.innerHeight-200),b&&$("#"+b).click(),c&&c.responseJSON&&c.responseJSON.errorMessage&&arangoHelper.arangoError("User",c.responseJSON.errorMessage),this.styleDefaultRadios(a),arangoHelper.createTooltips(),this.checkRoot()},checkRoot:function(){"root"===this.currentUser.get("user")&&$("#_system-db #___-collection input").attr("disabled","true")},styleDefaultRadios:function(a,b){var c=this,d=function(a){$(".db-row input").css("box-shadow","none");var b="rgba(0, 0, 0, 0.3) 0px 1px 4px 4px";_.each(a,function(a,c){if(a.collections){var d=a.collections["*"];_.each(a.collections,function(a,e){"_"!==e.charAt(0)&&"*"!==e.charAt(0)&&"undefined"===a&&("rw"===d?$("#"+c+"-db #"+e+"-collection .readWrite").css("box-shadow",b):"ro"===d?$("#"+c+"-db #"+e+"-collection .readOnly").css("box-shadow",b):"none"===d&&$("#"+c+"-db #"+e+"-collection .noAccess").css("box-shadow",b))})}})};if(b){var e=arangoHelper.databaseUrl("/_api/user/"+encodeURIComponent(c.currentUser.get("user"))+"/database?full=true");$.ajax({type:"GET",url:e,contentType:"application/json",success:function(a){d(a.result)},error:function(a){arangoHelper.arangoError("User","Could not fetch user permissions")}})}else d(a);window.modalView.hide()},breadcrumb:function(){var a=this;window.App.naviView?($("#subNavigationBar .breadcrumb").html("User: "+this.currentUser.get("user")),arangoHelper.buildUserSubNav(a.currentUser.get("user"),"Permissions")):window.setTimeout(function(){a.breadcrumb()},100)}})}(),function(){"use strict";window.UserView=Backbone.View.extend({el:"#content",initialize:function(a){this.username=a.username},render:function(){var a=this;this.collection.fetch({fetchAllUsers:!0,success:function(){a.continueRender()}})},editCurrentUser:function(){this.createEditCurrentUserModal(this.currentUser.get("user"),this.currentUser.get("extra").name,this.currentUser.get("extra").img)},continueRender:function(){this.currentUser=this.collection.findWhere({user:this.username}),this.breadcrumb(),this.currentUser.get("loggedIn")?this.editCurrentUser():this.createEditUserModal(this.currentUser.get("user"),this.currentUser.get("extra").name,this.currentUser.get("active"))},createEditUserPasswordModal:function(){var a=[],b=[];b.push(window.modalView.createPasswordEntry("newCurrentPassword","New Password","",!1,"new password",!1)),b.push(window.modalView.createPasswordEntry("confirmCurrentPassword","Confirm New Password","",!1,"confirm new password",!1)),a.push(window.modalView.createSuccessButton("Save",this.submitEditUserPassword.bind(this))),window.modalView.show("modalTable.ejs","Edit User Password",a,b)},createEditCurrentUserModal:function(a,b,c){var d=[],e=[];e.push(window.modalView.createReadOnlyEntry("id_username","Username",a)),e.push(window.modalView.createTextEntry("editCurrentName","Name",b,!1,"Name",!1)),e.push(window.modalView.createTextEntry("editCurrentUserProfileImg","Gravatar account (Mail)",c,"Mailaddress or its md5 representation of your gravatar account.The address will be converted into a md5 string. Only the md5 string will be stored, not the mailaddress.","myAccount(at)gravatar.com")),":role:"===this.username.substring(0,6)?d.push(window.modalView.createDisabledButton("Change Password")):d.push(window.modalView.createNotificationButton("Change Password",this.editUserPassword.bind(this))),d.push(window.modalView.createSuccessButton("Save",this.submitEditCurrentUserProfile.bind(this))),window.modalView.show("modalTable.ejs","Edit User Profile",d,e,null,null,this.events,null,null,"content")},parseImgString:function(a){return a.indexOf("@")===-1?a:CryptoJS.MD5(a).toString()},createEditUserModal:function(a,b,c){var d,e;e=[{type:window.modalView.tables.READONLY,label:"Username",value:_.escape(a)},{type:window.modalView.tables.TEXT,label:"Name",value:b,id:"editName",placeholder:"Name"},{type:window.modalView.tables.CHECKBOX,label:"Active",value:"active",checked:c,id:"editStatus"}],d=[],d.push({title:"Delete",type:window.modalView.buttons.DELETE,callback:this.submitDeleteUser.bind(this,a)}),":role:"===this.username.substring(0,6)?d.push({title:"Change Password",type:window.modalView.buttons.DISABLED,callback:this.createEditUserPasswordModal.bind(this,a)}):d.push({title:"Change Password",type:window.modalView.buttons.NOTIFICATION,callback:this.createEditUserPasswordModal.bind(this,a)}),d.push({title:"Save",type:window.modalView.buttons.SUCCESS,callback:this.submitEditUser.bind(this,a)}),window.modalView.show("modalTable.ejs","Edit User",d,e,null,null,this.events,null,null,"content")},validateStatus:function(a){return""!==a},submitDeleteUser:function(a){var b=this.collection.findWhere({user:a});b.destroy({wait:!0}),window.App.navigate("#users",{trigger:!0})},submitEditCurrentUserProfile:function(){var a=$("#editCurrentName").val(),b=$("#editCurrentUserProfileImg").val();b=this.parseImgString(b);var c=function(a){a?arangoHelper.arangoError("User","Could not edit user settings"):(arangoHelper.arangoNotification("User","Changes confirmed."),this.updateUserProfile())}.bind(this);this.currentUser.setExtras(a,b,c),window.modalView.hide()},submitEditUserPassword:function(){var a=$("#newCurrentPassword").val(),b=$("#confirmCurrentPassword").val();$("#newCurrentPassword").val(""),$("#confirmCurrentPassword").val(""),$("#newCurrentPassword").closest("th").css("backgroundColor","white"),$("#confirmCurrentPassword").closest("th").css("backgroundColor","white");var c=!1;a!==b&&(arangoHelper.arangoError("User","New passwords do not match."),c=!0),c||(this.currentUser.setPassword(a),arangoHelper.arangoNotification("User","Password changed."),window.modalView.hide())},editUserPassword:function(){window.modalView.hide(),this.createEditUserPasswordModal()},submitEditUser:function(a){var b=$("#editName").val(),c=$("#editStatus").is(":checked");if(!this.validateStatus(c))return void $("#editStatus").closest("th").css("backgroundColor","red");var d=this.collection.findWhere({user:a});d.save({extra:{name:b},active:c},{type:"PATCH",success:function(){arangoHelper.arangoNotification("User",d.get("user")+" updated.")},error:function(){arangoHelper.arangoError("User","Could not update "+d.get("user")+".")}})},breadcrumb:function(){var a=this;window.App.naviView?($("#subNavigationBar .breadcrumb").html("User: "+this.username),arangoHelper.buildUserSubNav(a.currentUser.get("user"),"General")):window.setTimeout(function(){a.breadcrumb()},100)}})}(),function(){"use strict";window.WorkMonitorView=Backbone.View.extend({el:"#content",id:"#workMonitorContent",template:templateEngine.createTemplate("workMonitorView.ejs"),table:templateEngine.createTemplate("arangoTable.ejs"),initialize:function(){},events:{},tableDescription:{id:"workMonitorTable",titles:["Type","Database","Task ID","Started","Url","User","Description","Method"],rows:[],unescaped:[!1,!1,!1,!1,!1,!1,!1,!1]},render:function(){var a=this;this.$el.html(this.template.render({})),this.collection.fetch({success:function(){a.parseTableData(),$(a.id).append(a.table.render({content:a.tableDescription}))}})},parseTableData:function(){var a=this;this.collection.each(function(b){if("AQL query"===b.get("type")){var c=b.get("parent");if(c)try{a.tableDescription.rows.push([b.get("type"),"(p) "+c.database,"(p) "+c.taskId,"(p) "+c.startTime,"(p) "+c.url,"(p) "+c.user,b.get("description"),"(p) "+c.method])}catch(d){console.log("some parse error")}}else"thread"!==b.get("type")&&a.tableDescription.rows.push([b.get("type"),b.get("database"),b.get("taskId"),b.get("startTime"),b.get("url"),b.get("user"),b.get("description"),b.get("method")])})}})}(),function(){"use strict";window.Router=Backbone.Router.extend({toUpdate:[],dbServers:[],isCluster:void 0,lastRoute:void 0,routes:{"":"cluster",dashboard:"dashboard",replication:"replication","replication/applier/:endpoint/:database":"applier",collections:"collections","new":"newCollection",login:"login","collection/:colid/documents/:pageid":"documents","cIndices/:colname":"cIndices","cSettings/:colname":"cSettings","cInfo/:colname":"cInfo","collection/:colid/:docid":"document",shell:"shell",queries:"query",workMonitor:"workMonitor",databases:"databases",settings:"databases",services:"applications","services/install":"installService","services/install/new":"installNewService","services/install/github":"installGitHubService","services/install/upload":"installUploadService","services/install/remote":"installUrlService","service/:mount":"applicationDetail","store/:name":"storeDetail",graphs:"graphManagement","graphs/:name":"showGraph",users:"userManagement","user/:name":"userView","user/:name/permission":"userPermission",userProfile:"userProfile",cluster:"cluster",nodes:"nodes",shards:"shards","node/:name":"node","nodeInfo/:id":"nodeInfo",logs:"logger",helpus:"helpUs","graph/:name":"graph","graph/:name/settings":"graphSettings",support:"support"},execute:function(a,b){if("#queries"===this.lastRoute&&(this.queryView.removeInputEditors(),this.queryView.cleanupGraphs(),this.queryView.removeResults()),this.lastRoute){var c=this.lastRoute.split("/")[0],d=this.lastRoute.split("/")[1],e=this.lastRoute.split("/")[2];"#service"!==c&&(window.App.replaceApp?"install"!==d&&e&&(window.App.replaceApp=!1):window.App.replaceApp=!1),"#collection"===this.lastRoute.substr(0,11)&&3===this.lastRoute.split("/").length&&this.documentView.cleanupEditor(),"#dasboard"!==this.lastRoute&&"#node"!==window.location.hash.substr(0,5)||d3.selectAll("svg > *").remove(),"#logger"===this.lastRoute&&(this.loggerView.logLevelView&&this.loggerView.logLevelView.remove(),this.loggerView.logTopicView&&this.loggerView.logTopicView.remove())}this.lastRoute=window.location.hash,$("#subNavigationBar .breadcrumb").html(""),$("#subNavigationBar .bottom").html(""),$("#loadingScreen").hide(),$("#content").show(),a&&a.apply(this,b),"#services"===this.lastRoute&&(window.App.replaceApp=!1),this.graphViewer&&this.graphViewer.graphSettingsView&&this.graphViewer.graphSettingsView.hide(),this.queryView&&this.queryView.graphViewer&&this.queryView.graphViewer.graphSettingsView&&this.queryView.graphViewer.graphSettingsView.hide()},listenerFunctions:{},listener:function(a){_.each(window.App.listenerFunctions,function(b,c){b(a)})},checkUser:function(){var a=this;if("#login"!==window.location.hash){var b=function(){this.initOnce(),$(".bodyWrapper").show(),$(".navbar").show()}.bind(this),c=function(c,d){frontendConfig.authenticationEnabled?(a.currentUser=d,c||null===d?"#login"!==window.location.hash&&this.navigate("login",{trigger:!0}):b()):b()}.bind(this);frontendConfig.authenticationEnabled?this.userCollection.whoAmI(c):(this.initOnce(),$(".bodyWrapper").show(),$(".navbar").show())}},waitForInit:function(a,b,c){this.initFinished?(b||a(!0),b&&!c&&a(b,!0),b&&c&&a(b,c,!0)):setTimeout(function(){b||a(!1),b&&!c&&a(b,!1),b&&c&&a(b,c,!1)},350)},initFinished:!1,initialize:function(){frontendConfig.isCluster===!0&&(this.isCluster=!0),document.addEventListener("keyup",this.listener,!1),window.modalView=new window.ModalView,this.foxxList=new window.FoxxCollection,window.foxxInstallView=new window.FoxxInstallView({collection:this.foxxList}),this.foxxRepo=new window.FoxxRepository,this.foxxRepo.fetch({success:function(){a.serviceInstallView&&(a.serviceInstallView.collection=a.foxxRepo)}}),window.progressView=new window.ProgressView;var a=this;this.userCollection=new window.ArangoUsers,this.initOnce=function(){this.initOnce=function(){};var b=function(b,c){a=this,c===!0&&a.coordinatorCollection.fetch({success:function(){a.fetchDBS()}}),b&&console.log(b)}.bind(this);window.isCoordinator(b),frontendConfig.isCluster===!1&&(this.initFinished=!0),this.arangoDatabase=new window.ArangoDatabase,this.currentDB=new window.CurrentDatabase,this.arangoCollectionsStore=new window.ArangoCollections,this.arangoDocumentStore=new window.ArangoDocument,this.coordinatorCollection=new window.ClusterCoordinators,arangoHelper.setDocumentStore(this.arangoDocumentStore),this.arangoCollectionsStore.fetch({cache:!1}),window.spotlightView=new window.SpotlightView({collection:this.arangoCollectionsStore}),this.footerView=new window.FooterView({collection:a.coordinatorCollection}),this.notificationList=new window.NotificationCollection,this.currentDB.fetch({cache:!1,success:function(){a.naviView=new window.NavigationView({database:a.arangoDatabase,currentDB:a.currentDB,notificationCollection:a.notificationList,userCollection:a.userCollection,isCluster:a.isCluster}),a.naviView.render()}}),this.queryCollection=new window.ArangoQueries,this.footerView.render(),window.checkVersion(),this.userConfig=new window.UserConfig({ldapEnabled:frontendConfig.ldapEnabled}),this.userConfig.fetch(),this.documentsView=new window.DocumentsView({collection:new window.ArangoDocuments,documentStore:this.arangoDocumentStore,collectionsStore:this.arangoCollectionsStore}),arangoHelper.initSigma()}.bind(this),$(window).resize(function(){a.handleResize()}),$(window).scroll(function(){})},handleScroll:function(){$(window).scrollTop()>50?($(".navbar > .secondary").css("top",$(window).scrollTop()),$(".navbar > .secondary").css("position","absolute"),$(".navbar > .secondary").css("z-index","10"),$(".navbar > .secondary").css("width",$(window).width())):($(".navbar > .secondary").css("top","0"),$(".navbar > .secondary").css("position","relative"),$(".navbar > .secondary").css("width",""))},cluster:function(a){return this.checkUser(),a?this.isCluster===!1||void 0===this.isCluster?void("_system"===this.currentDB.get("name")?(this.routes[""]="dashboard",this.navigate("#dashboard",{trigger:!0})):(this.routes[""]="collections",this.navigate("#collections",{trigger:!0}))):(this.clusterView||(this.clusterView=new window.ClusterView({coordinators:this.coordinatorCollection,dbServers:this.dbServers})),void this.clusterView.render()):void this.waitForInit(this.cluster.bind(this))},node:function(a,b){return this.checkUser(),b&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):(this.nodeView&&this.nodeView.remove(),this.nodeView=new window.NodeView({coordid:a,coordinators:this.coordinatorCollection,dbServers:this.dbServers}),void this.nodeView.render()):void this.waitForInit(this.node.bind(this),a)},nodeInfo:function(a,b){return this.checkUser(),b&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):(this.nodeInfoView&&this.nodeInfoView.remove(),this.nodeInfoView=new window.NodeInfoView({nodeId:a,coordinators:this.coordinatorCollection,dbServers:this.dbServers[0]}),void this.nodeInfoView.render()):void this.waitForInit(this.nodeInfo.bind(this),a)},shards:function(a){return this.checkUser(),a&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):(this.shardsView&&this.shardsView.remove(),this.shardsView=new window.ShardsView({dbServers:this.dbServers}),void this.shardsView.render()):void this.waitForInit(this.shards.bind(this))},nodes:function(a){return this.checkUser(),a&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):(this.nodesView&&this.nodesView.remove(),this.nodesView=new window.NodesView({}),void this.nodesView.render()):void this.waitForInit(this.nodes.bind(this))},cNodes:function(a){return this.checkUser(),a&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):(this.nodesView=new window.NodesView({coordinators:this.coordinatorCollection,dbServers:this.dbServers[0],toRender:"coordinator"}),void this.nodesView.render()):void this.waitForInit(this.cNodes.bind(this))},dNodes:function(a){return this.checkUser(),a&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):0===this.dbServers.length?void this.navigate("#cNodes",{trigger:!0}):(this.nodesView=new window.NodesView({coordinators:this.coordinatorCollection,dbServers:this.dbServers[0],toRender:"dbserver"}),void this.nodesView.render()):void this.waitForInit(this.dNodes.bind(this))},sNodes:function(a){return this.checkUser(),a&&void 0!==this.isCluster?this.isCluster===!1?(this.routes[""]="dashboard",void this.navigate("#dashboard",{trigger:!0})):(this.scaleView=new window.ScaleView({coordinators:this.coordinatorCollection,dbServers:this.dbServers[0] }),void this.scaleView.render()):void this.waitForInit(this.sNodes.bind(this))},addAuth:function(a){var b=this.clusterPlan.get("user");if(!b)return a.abort(),void(this.isCheckingUser||this.requestAuth());var c=b.name,d=b.passwd,e=c.concat(":",d);a.setRequestHeader("Authorization","Basic "+btoa(e))},logger:function(a,b){if(this.checkUser(),!b)return void this.waitForInit(this.logger.bind(this),a);if(!this.loggerView){var c=new window.ArangoLogs({upto:!0,loglevel:4});this.loggerView=new window.LoggerView({collection:c})}this.loggerView.render()},applicationDetail:function(a,b){if(this.checkUser(),!b)return void this.waitForInit(this.applicationDetail.bind(this),a);var c=function(){this.hasOwnProperty("applicationDetailView")&&this.applicationDetailView.remove(),this.applicationDetailView=new window.ApplicationDetailView({model:this.foxxList.get(decodeURIComponent(a))}),this.applicationDetailView.model=this.foxxList.get(decodeURIComponent(a)),this.applicationDetailView.render("swagger")}.bind(this);0===this.foxxList.length?this.foxxList.fetch({cache:!1,success:function(){c()}}):c()},storeDetail:function(a,b){if(this.checkUser(),!b)return void this.waitForInit(this.storeDetail.bind(this),a);var c=function(){this.hasOwnProperty("storeDetailView")&&this.storeDetailView.remove(),this.storeDetailView=new window.StoreDetailView({model:this.foxxRepo.get(decodeURIComponent(a)),collection:this.foxxList}),this.storeDetailView.model=this.foxxRepo.get(decodeURIComponent(a)),this.storeDetailView.render()}.bind(this);0===this.foxxRepo.length?this.foxxRepo.fetch({cache:!1,success:function(){c()}}):c()},login:function(){var a=function(a,b){this.loginView||(this.loginView=new window.LoginView({collection:this.userCollection})),a||null===b?this.loginView.render():this.loginView.render(!0)}.bind(this);this.userCollection.whoAmI(a)},collections:function(a){if(this.checkUser(),!a)return void this.waitForInit(this.collections.bind(this));var b=this;this.collectionsView&&this.collectionsView.remove(),this.collectionsView=new window.CollectionsView({collection:this.arangoCollectionsStore}),this.arangoCollectionsStore.fetch({cache:!1,success:function(){b.collectionsView.render()}})},cIndices:function(a,b){var c=this;return this.checkUser(),b?void this.arangoCollectionsStore.fetch({cache:!1,success:function(){c.indicesView=new window.IndicesView({collectionName:a,collection:c.arangoCollectionsStore.findWhere({name:a})}),c.indicesView.render()}}):void this.waitForInit(this.cIndices.bind(this),a)},cSettings:function(a,b){var c=this;return this.checkUser(),b?void this.arangoCollectionsStore.fetch({cache:!1,success:function(){c.settingsView=new window.SettingsView({collectionName:a,collection:c.arangoCollectionsStore.findWhere({name:a})}),c.settingsView.render()}}):void this.waitForInit(this.cSettings.bind(this),a)},cInfo:function(a,b){var c=this;return this.checkUser(),b?void this.arangoCollectionsStore.fetch({cache:!1,success:function(){c.infoView=new window.InfoView({collectionName:a,collection:c.arangoCollectionsStore.findWhere({name:a})}),c.infoView.render()}}):void this.waitForInit(this.cInfo.bind(this),a)},documents:function(a,b,c){return this.checkUser(),c?(this.documentsView&&this.documentsView.unbindEvents(),this.documentsView||(this.documentsView=new window.DocumentsView({collection:new window.ArangoDocuments,documentStore:this.arangoDocumentStore,collectionsStore:this.arangoCollectionsStore})),this.documentsView.setCollectionId(a,b),this.documentsView.render(),void this.documentsView.delegateEvents()):void this.waitForInit(this.documents.bind(this),a,b)},document:function(a,b,c){if(this.checkUser(),!c)return void this.waitForInit(this.document.bind(this),a,b);var d;this.documentView&&(this.documentView.defaultMode&&(d=this.documentView.defaultMode),this.documentView.remove()),this.documentView=new window.DocumentView({collection:this.arangoDocumentStore}),this.documentView.colid=a,this.documentView.defaultMode=d;var e=window.location.hash.split("/")[2],f=(e.split("%").length-1)%3;decodeURI(e)!==e&&0!==f&&(e=decodeURIComponent(e)),this.documentView.docid=e,this.documentView.render();var g=function(a,b){a?console.log("Error","Could not fetch collection type"):this.documentView.setType()}.bind(this);arangoHelper.collectionApiType(a,null,g)},query:function(a){return this.checkUser(),a?(this.queryView||(this.queryView=new window.QueryView({collection:this.queryCollection})),void this.queryView.render()):void this.waitForInit(this.query.bind(this))},graph:function(a,b){return this.checkUser(),b?(this.graphViewer&&(this.graphViewer.graphSettingsView&&this.graphViewer.graphSettingsView.remove(),this.graphViewer.killCurrentGraph(),this.graphViewer.unbind(),this.graphViewer.remove()),this.graphViewer=new window.GraphViewer({name:a,documentStore:this.arangoDocumentStore,collection:new window.GraphCollection,userConfig:this.userConfig}),void this.graphViewer.render()):void this.waitForInit(this.graph.bind(this),a)},graphSettings:function(a,b){return this.checkUser(),b?(this.graphSettingsView&&this.graphSettingsView.remove(),this.graphSettingsView=new window.GraphSettingsView({name:a,userConfig:this.userConfig}),void this.graphSettingsView.render()):void this.waitForInit(this.graphSettings.bind(this),a)},helpUs:function(a){return this.checkUser(),a?(this.testView||(this.helpUsView=new window.HelpUsView({})),void this.helpUsView.render()):void this.waitForInit(this.helpUs.bind(this))},support:function(a){return this.checkUser(),a?(this.testView||(this.supportView=new window.SupportView({})),void this.supportView.render()):void this.waitForInit(this.support.bind(this))},workMonitor:function(a){return this.checkUser(),a?(this.workMonitorCollection||(this.workMonitorCollection=new window.WorkMonitorCollection),this.workMonitorView||(this.workMonitorView=new window.WorkMonitorView({collection:this.workMonitorCollection})),void this.workMonitorView.render()):void this.waitForInit(this.workMonitor.bind(this))},queryManagement:function(a){return this.checkUser(),a?(this.queryManagementView&&this.queryManagementView.remove(),this.queryManagementView=new window.QueryManagementView({collection:void 0}),void this.queryManagementView.render()):void this.waitForInit(this.queryManagement.bind(this))},databases:function(a){if(this.checkUser(),!a)return void this.waitForInit(this.databases.bind(this));var b=function(a){a?(arangoHelper.arangoError("DB","Could not get list of allowed databases"),this.navigate("#",{trigger:!0}),$("#databaseNavi").css("display","none"),$("#databaseNaviSelect").css("display","none")):(this.databaseView&&this.databaseView.remove(),this.databaseView=new window.DatabaseView({users:this.userCollection,collection:this.arangoDatabase}),this.databaseView.render())}.bind(this);arangoHelper.databaseAllowed(b)},dashboard:function(a){return this.checkUser(),a?(void 0===this.dashboardView&&(this.dashboardView=new window.DashboardView({dygraphConfig:window.dygraphConfig,database:this.arangoDatabase})),void this.dashboardView.render()):void this.waitForInit(this.dashboard.bind(this))},replication:function(a){return this.checkUser(),a?(this.replicationView||(this.replicationView=new window.ReplicationView({})),void this.replicationView.render()):void this.waitForInit(this.replication.bind(this))},applier:function(a,b,c){return this.checkUser(),c?(void 0===this.applierView&&(this.applierView=new window.ApplierView({})),this.applierView.endpoint=atob(a),this.applierView.database=atob(b),void this.applierView.render()):void this.waitForInit(this.applier.bind(this),a,b)},graphManagement:function(a){return this.checkUser(),a?(this.graphManagementView&&this.graphManagementView.undelegateEvents(),this.graphManagementView=new window.GraphManagementView({collection:new window.GraphCollection,collectionCollection:this.arangoCollectionsStore}),void this.graphManagementView.render()):void this.waitForInit(this.graphManagement.bind(this))},showGraph:function(a,b){return this.checkUser(),b?void(this.graphManagementView?this.graphManagementView.loadGraphViewer(a):(this.graphManagementView=new window.GraphManagementView({collection:new window.GraphCollection,collectionCollection:this.arangoCollectionsStore}),this.graphManagementView.render(a,!0))):void this.waitForInit(this.showGraph.bind(this),a)},applications:function(a){return this.checkUser(),a?(void 0===this.applicationsView&&(this.applicationsView=new window.ApplicationsView({collection:this.foxxList})),void this.applicationsView.reload()):void this.waitForInit(this.applications.bind(this))},installService:function(a){return this.checkUser(),a?(window.modalView.clearValidators(),this.serviceInstallView&&this.serviceInstallView.remove(),this.serviceInstallView=new window.ServiceInstallView({collection:this.foxxRepo,functionsCollection:this.foxxList}),void this.serviceInstallView.render()):void this.waitForInit(this.installService.bind(this))},installNewService:function(a){return this.checkUser(),a?(window.modalView.clearValidators(),this.serviceNewView&&this.serviceNewView.remove(),this.serviceNewView=new window.ServiceInstallNewView({collection:this.foxxList}),void this.serviceNewView.render()):void this.waitForInit(this.installNewService.bind(this))},installGitHubService:function(a){return this.checkUser(),a?(window.modalView.clearValidators(),this.serviceGitHubView&&this.serviceGitHubView.remove(),this.serviceGitHubView=new window.ServiceInstallGitHubView({collection:this.foxxList}),void this.serviceGitHubView.render()):void this.waitForInit(this.installGitHubService.bind(this))},installUrlService:function(a){return this.checkUser(),a?(window.modalView.clearValidators(),this.serviceUrlView&&this.serviceUrlView.remove(),this.serviceUrlView=new window.ServiceInstallUrlView({collection:this.foxxList}),void this.serviceUrlView.render()):void this.waitForInit(this.installUrlService.bind(this))},installUploadService:function(a){return this.checkUser(),a?(window.modalView.clearValidators(),this.serviceUploadView&&this.serviceUploadView.remove(),this.serviceUploadView=new window.ServiceInstallUploadView({collection:this.foxxList}),void this.serviceUploadView.render()):void this.waitForInit(this.installUploadService.bind(this))},handleSelectDatabase:function(a){return this.checkUser(),a?void this.naviView.handleSelectDatabase():void this.waitForInit(this.handleSelectDatabase.bind(this))},handleResize:function(){this.dashboardView&&this.dashboardView.resize(),this.graphManagementView&&"graphs"===Backbone.history.getFragment()&&this.graphManagementView.handleResize($("#content").width()),this.queryView&&"queries"===Backbone.history.getFragment()&&this.queryView.resize(),this.naviView&&this.naviView.resize(),this.graphViewer&&Backbone.history.getFragment().indexOf("graph")>-1&&this.graphViewer.resize(),this.documentsView&&Backbone.history.getFragment().indexOf("documents")>-1&&this.documentsView.resize(),this.documentView&&Backbone.history.getFragment().indexOf("collection")>-1&&this.documentView.resize()},userPermission:function(a,b){this.checkUser(),b||null===b?(this.userPermissionView&&this.userPermissionView.remove(),this.userPermissionView=new window.UserPermissionView({collection:this.userCollection,databases:this.arangoDatabase,username:a}),this.userPermissionView.render()):b===!1&&this.waitForInit(this.userPermissionView.bind(this),a)},userView:function(a,b){this.checkUser(),b||null===b?(this.userView=new window.UserView({collection:this.userCollection,username:a}),this.userView.render()):b===!1&&this.waitForInit(this.userView.bind(this),a)},userManagement:function(a){return this.checkUser(),a?(this.userManagementView&&this.userManagementView.remove(),this.userManagementView=new window.UserManagementView({collection:this.userCollection}),void this.userManagementView.render()):void this.waitForInit(this.userManagement.bind(this))},userProfile:function(a){return this.checkUser(),a?(this.userManagementView||(this.userManagementView=new window.UserManagementView({collection:this.userCollection})),void this.userManagementView.render(!0)):void this.waitForInit(this.userProfile.bind(this))},fetchDBS:function(a){var b=this,c=!1;this.coordinatorCollection.each(function(a){b.dbServers.push(new window.ClusterServers([],{host:a.get("address")}))}),this.initFinished=!0,_.each(this.dbServers,function(b){b.fetch({success:function(){c===!1&&a&&(a(),c=!0)}})})},getNewRoute:function(a){return"http://"+a},registerForUpdate:function(a){this.toUpdate.push(a),a.updateUrl()}})}(),function(){"use strict";var a=function(a,b){var c=[];c.push(window.modalView.createSuccessButton("Download Page",function(){window.open("https://www.arangodb.com/download","_blank"),window.modalView.hide()}));var d=[],e=window.modalView.createReadOnlyEntry.bind(window.modalView);d.push(e("current","Current",a.toString())),b.major&&d.push(e("major","Major",b.major.version)),b.minor&&d.push(e("minor","Minor",b.minor.version)),b.bugfix&&d.push(e("bugfix","Bugfix",b.bugfix.version)),window.modalView.show("modalTable.ejs","New Version Available",c,d)};window.checkVersion=function(){$.ajax({type:"GET",cache:!1,url:arangoHelper.databaseUrl("/_api/version"),contentType:"application/json",processData:!1,async:!0,success:function(b){var c=window.versionHelper.fromString(b.version);$(".navbar #currentVersion").html(b.version.substr(0,7)+''),window.parseVersions=function(b){return _.isEmpty(b)?void $("#currentVersion").addClass("up-to-date"):($("#currentVersion").addClass("out-of-date"),$("#currentVersion .fa").removeClass("fa-check-circle").addClass("fa-exclamation-circle"),void $("#currentVersion").click(function(){a(c,b)}))},$.ajax({type:"GET",async:!0,crossDomain:!0,timeout:3e3,dataType:"jsonp",url:"https://www.arangodb.com/repositories/versions.php?jsonp=parseVersions&version="+encodeURIComponent(c.toString())})}})}}(),function(){"use strict";window.hasOwnProperty("TEST_BUILD")||($(document).ajaxSend(function(a,b,c){var d=window.arangoHelper.getCurrentJwt();d&&b.setRequestHeader("Authorization","bearer "+d)}),$.ajaxSetup({error:function(a,b,c){401===a.status&&arangoHelper.checkJwt()}}),$(document).ready(function(){window.App=new window.Router,Backbone.history.start(),window.App.handleResize()}),$(document).click(function(a){a.stopPropagation(),$(a.target).hasClass("subBarDropdown")||$(a.target).hasClass("dropdown-header")||$(a.target).hasClass("dropdown-footer")||$(a.target).hasClass("toggle")||$("#userInfo").is(":visible")&&$(".subBarDropdown").hide()}),$("body").on("keyup",function(a){27===a.keyCode&&window.modalView&&window.modalView.hide()}))}(); \ No newline at end of file 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 410c9fc9a0..5045875ba8 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 5fa8ec6f61..91fb89d7b1 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 @@ -3459,4 +3459,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 91a3f4a882..e26e0e359e 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